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