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
1 changed files with 1 additions and 1 deletions

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]