1
0
mirror of https://github.com/myhdl/myhdl.git synced 2024-12-14 07:44:38 +08:00

error handling

This commit is contained in:
jand 2006-09-15 14:21:58 +00:00
parent 627e8f2e11
commit 80c742a99f

View File

@ -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)