Re: [myhdl-list] Driving constants
Brought to you by:
jandecaluwe
From: Sébastien B. <seb...@mi...> - 2011-09-05 08:52:00
|
On 09/05/2011 10:01 AM, Jan Decaluwe wrote: > What would probably work is if such a method returns > an empty list, explicitly indicating that it has no > generators to contribute. Then how will MyHDL get the constant values to use, if all it gets from the method is an empty list? What about making the generator yield a special object, which would mean "empty sensitivity list/only driving constants"? Then the @always_comb decorator can automatically use that special object when it detects an empty sensitivity list, which makes the whole thing transparent from the normal user's point of view. |