Re: [myhdl-list] Migen logic design toolbox - now with simulator
Brought to you by:
jandecaluwe
From: Jan D. <ja...@ja...> - 2012-03-19 13:27:39
|
On 03/19/2012 10:06 AM, Sébastien Bourdeauducq wrote: > For sequential test bench code, you can use e.g. Python generators as in > the Wishbone example from the doc. Sure, one can argue that Migen is for synthesizable code only, and for the rest we have Python, so that's OK, isn't it? Well, no. Look at the test bench code versus Migen code and note that the modeling paradigm is entirely different. But in practice, today's high-level model that is part of the verification environment becomes tomorrow's synthesizable model and vice versa. Very often, this even happens within the same project. Refinements may be necessary, but always within the same modeling paradigm. Having to switch between modeling paradigms depending on the particular view is unnatural and leads no needless modeling effort duplication. The great advantage of the event-driven paradigm is that it is general enough to provide a single modeling paradigm for any type of logic. -- Jan Decaluwe - Resources bvba - http://www.jandecaluwe.com Python as a HDL: http://www.myhdl.org VHDL development, the modern way: http://www.sigasi.com World-class digital design: http://www.easics.com |