Re: [myhdl-list] Example of MyHDL for Python Developers Documentation
Brought to you by:
jandecaluwe
From: Norbo <Nor...@gm...> - 2012-05-07 12:43:55
|
> I don't want to start a discussion about the merits of your point > of view, but again I point out that heavy MyHDL users, myself included, > see things entirely differently. > > I developed MyHDL because I wanted to do modeling and verification > in python, and stock python didn't give me the fine-grained threading > and event-driven paradigm needed. At that time, it was not clear if > it was desirable or even possible to do conversion as a path to > synthesis. > > If synthesizable code would be all it did, I wouldn't see the point. For me, synthesizable code is also a key aspect in Myhdl. Back in University and in two Jobs where i worked with VHDL the major job to do was to implement several Filters or Signalprocessing piplines where lookuptables occoured. Normally i used Matlab or Python (with pylab) to calculate these Filter coeffiecents or lookuptable values. The question then was how to get these values to the VHDL design. This is really a pain because in some stages of development these coeffiecents or lookuptable values change quite often, and every time they change i had to copy and paste them, change signal value ranges, array ranges, etc... --> with Myhdl i can use these values directly from the python code where i calculated them and let the signal value range, array range, etc.. be adjusted automatically. For me this is really extremly usfull and really simplifies the process. I think that fast signal processing piplines with lookuptables and filter design is a key area for hardware description languages and FPGAs. The other key area is maybe special bus interfaces, for them i didn't see a point of synthesisable Myhdl either. --> I couldn't think of any other case right now where a standard microcontroller or DSP wouldn't be enough. Back in University we also did some golden model checking for a cordic VHDL core design, by using SystemC with tlm and doing coSimulation. This is where the pain really starts. This is where Myhdl really starts to shine. If we would have used Myhdl back then, i think we really could have skipped half a year. greetings Norbo |