Re: [myhdl-list] Driving constants
Brought to you by:
jandecaluwe
From: Jan L. <jan...@et...> - 2011-09-04 20:35:43
|
Could you just use a clock everywhere? Am 04.09.2011 um 11:26 schrieb Sébastien Bourdeauducq: > 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. -- Jan Langer Professorship Circuit and System Design Chemnitz University of Technology, Reichenhainer Str. 70, 09126 Chemnitz Phone: +49 37209 688001, Fax: +49 371 531-833158, Mobile: +49 162 9847325 http://www.tu-chemnitz.de/etit/sse |