Re: [myhdl-list] Driving constants
Brought to you by:
jandecaluwe
From: Sébastien B. <seb...@mi...> - 2011-09-04 09:29:26
|
On 09/03/2011 10:16 PM, Jan Decaluwe wrote: > I don't see what's messy about it. Ok, then here is some more background: I have an abstract class FunctionalUnit which implements dataflow processing units. This abstract class creates handshaking signals (ack, strobe) common to all functional units which are used to control the flow of data. The method ImplementControl is overloaded by derived classes to implement the actual handshaking logic, and returns instances. Now, when some functional units need to drive handshaking signals constants, and if it is not possible to build "constant drivers" instances, it becomes messy. |