mirror of
https://github.com/myhdl/myhdl.git
synced 2024-12-14 07:44:38 +08:00
Fixed issue #3
This commit is contained in:
parent
09e8a6384e
commit
bda7504d5e
@ -220,7 +220,7 @@ class _SigNameVisitor(ast.NodeVisitor):
|
|||||||
elif self.context == OUTPUT:
|
elif self.context == OUTPUT:
|
||||||
self.outputs.add(id)
|
self.outputs.add(id)
|
||||||
elif self.context == INOUT:
|
elif self.context == INOUT:
|
||||||
raise AlwaysSeqError(_error.SigAugAssign % id)
|
raise AlwaysSeqError(_error.SigAugAssign, id)
|
||||||
else:
|
else:
|
||||||
raise AssertionError("bug in always_seq")
|
raise AssertionError("bug in always_seq")
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user