Re: [myhdl-list] Driving constants
Brought to you by:
jandecaluwe
From: Jan L. <jan...@et...> - 2011-09-04 21:59:59
|
Am 04.09.2011 um 23:37 schrieb Sébastien Bourdeauducq: > On 09/04/2011 10:35 PM, Jan Langer wrote: >> Could you just use a clock everywhere? > > Huh? How is that related? > > There is indeed a clock everywhere - the whole generated circuit is > synchronous - but I still need (synchronous) strobe and acknowledgment > signals to control the flow of data. This practice is very common in > digital design, e.g. Wishbone and many other interconnect buses have > similar systems. As I understood, you need a always_comb block that just drives a constant. And since your sensitivity list is empty it does not work. So my idea was to put the clock edge into the sensitivity list and you get a clocked process that drives a constant, which in your case will get optimized away and behave as a normal constant. -- 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 |