3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-04-07 18:05:24 +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]