We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 69457bc + c74ce6d commit fbef761Copy full SHA for fbef761
veriloggen/seq/reset_visitor.py
@@ -62,6 +62,8 @@ def visit_Cat(self, node):
62
for v in node.vars:
63
val = self.visit(v)
64
width = v.bit_length()
65
+ if width is None:
66
+ width = 1
67
if val is None:
68
right = vtypes.IntX(width)
69
elif isinstance(val.right, int):
0 commit comments