mirror of
https://github.com/myhdl/myhdl.git
synced 2024-12-14 07:44:38 +08:00
trace print bugs
This commit is contained in:
parent
98f4a42759
commit
31c8cbc580
@ -101,6 +101,10 @@ class Signal(object):
|
||||
self._max = val._max
|
||||
self._nrbits = val._len
|
||||
self._setNextVal = self._setNextIntbv
|
||||
if self._nrbits:
|
||||
self._printVcd = self._printVcdVec
|
||||
else:
|
||||
self._printVcd = self._printVcdHex
|
||||
elif val is None:
|
||||
self._type = None
|
||||
self._setNextVal = self._setNext
|
||||
|
@ -266,7 +266,7 @@ def _writeVcdSigs(f, instances):
|
||||
if w == 1:
|
||||
print >> f, "$var reg 1 %s %s $end" % (s._code, n)
|
||||
else:
|
||||
print >> f, "$var reg %s %s %s $end" % (w, s.code, n)
|
||||
print >> f, "$var reg %s %s %s $end" % (w, s._code, n)
|
||||
else:
|
||||
print >> f, "$var real 1 %s %s $end" % (s._code, n)
|
||||
for i in range(curlevel):
|
||||
|
Loading…
x
Reference in New Issue
Block a user