mirror of
https://github.com/myhdl/myhdl.git
synced 2024-12-14 07:44:38 +08:00
error handling
This commit is contained in:
parent
627e8f2e11
commit
80c742a99f
@ -473,9 +473,9 @@ class _ConvertVisitor(_ToVerilogMixin):
|
||||
elif ds < 0:
|
||||
pre, suf = "resize(", ", %s)" % ts
|
||||
else:
|
||||
assertNotImplementedError
|
||||
raise NotImplementedError
|
||||
else:
|
||||
assertNotImplementedError
|
||||
assert NotImplementedError
|
||||
self.write(pre)
|
||||
self.write("%s(" % op)
|
||||
self.write(prel)
|
||||
|
Loading…
x
Reference in New Issue
Block a user