Re: [myhdl-list] MyHDL and synthesize to non HDL
Brought to you by:
jandecaluwe
From:
<joa...@em...> - 2006-12-13 09:38:44
|
Jan Decaluwe wrote: > I've looked at some AVR examples very briefly. > > As I understand it, you can use C to program the AVR > architecture by referring to symbols representing registers > and hardware primitives. So it's a "low-level" kind of C code > in the sense that you couldn't use it for anything else than > to program AVR controllers. We are therefore not really > talking about MyHDL to C, but MyHDL to AVR. > Yes. > Integrating generic C code based on a functional interface > in Python code would be trivial. But again, this doesn't seem > our case here. The hardware interface is embedded in the AVR C > code in the way the register symbols are set up and used. > Yes, exactly. > In short, while I don't exclude that meaningful things could be > done, I don't immediately see what and how (and in a reasonable > development time) O.k., thanks for clearing things up. So MyHDL is very valuable for me for describing the connection from the wire into the AVR via UART, Port or USI (simple shiftregister base serial communication hardware) and simulating a 1-wire network based on that. For the final coding however I'll have to derive C manually. It's o.k. this way, I just did not want to spend time on things that would be to difficult to achieve. But MyHDL is still useful here too because of the easy simulation of modification to the algorithms. Joachim |