Re: [myhdl-list] When to use @always, @instance and @always_comb
Brought to you by:
jandecaluwe
From: Jan D. <ja...@ja...> - 2012-05-02 15:12:03
|
On 04/27/2012 02:52 AM, Christopher Lozinski wrote: > You can see the long term version of this page at: > > http://wiki.myhdlclass.com:8080/WhenToUse > > The different modelling options in MyHDL are very confusing. I get the > idea of digital circuits as blocks that have inputs and outputs. But > there are three different ways to represent them in MyHDL, @always(), > @instance(), and @always_comb() Which should I use? If there is confusion, I believe it is in the mindset that MyHDL is for implementation only. This keeps coming up. I have tried to clarify the issue once and for all explictly by rephrasing an item in the "What MyHDL is not" page: http://myhdl.org/doku.php/whatitisnot?&#myhdl_is_not_only_for_implementation -- 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 |