1
0
mirror of https://github.com/myhdl/myhdl.git synced 2024-12-14 07:44:38 +08:00

tracing for DelayedSignal

This commit is contained in:
jand 2003-07-24 20:08:20 +00:00
parent 554f9206dc
commit 93c874c59e

View File

@ -40,7 +40,6 @@ from myhdl._intbv import intbv
from myhdl._bin import bin
_schedule = _futureEvents.append
def posedge(sig):
@ -406,6 +405,8 @@ class DelayedSignal(Signal):
waiters.extend(self._negedgeWaiters[:])
del self._negedgeWaiters[:]
self._val = copy(next)
if self._tracing:
self._printVcd()
return waiters
else:
return []