[myhdl-list] Signals only read and written from custom __vhdl__
Brought to you by:
jandecaluwe
From: Sigve T. <pu...@tj...> - 2010-10-06 13:37:05
|
Hi everybody, I have problems with myhdl not generating all the needed signal declarations in VHDL. What I have found so far, is that if a signal is written from a custom __vhdl__ block and only read from custom __vhdl__ blocks, I need to call _markUsed() on the signal to have the signal declaration generated in VHDL. and _markRead() to suppress the myhdl warning on signal not being read anywhere in the design. Is this the correct way to do this? I feel a bit bad when using private functions on objects, is there a official way to achieve something similar? Regards, Sigve |