1
0
mirror of synced 2026-01-26 20:23:59 +00:00

Bugfix in smtio.py VCD file generator

Signed-off-by: Clifford Wolf <clifford@clifford.at>
This commit is contained in:
Clifford Wolf
2018-03-29 12:45:31 +02:00
parent 665eec3d53
commit a48c7e5abf

View File

@@ -991,7 +991,7 @@ class MkVcd:
for i in range(len(uipath)):
uipath[i] = re.sub(r"\[([^\]]*)\]", r"<\1>", uipath[i])
while uipath[:len(scope)] != scope[:-1]:
while uipath[:len(scope)] != scope:
print("$upscope $end", file=self.f)
scope = scope[:-1]