hdl.xfrm: Add Assert and Assume abstract methods for StatementVisitor, implement for children.
This commit is contained in:
parent
2412650f56
commit
f77dc40256
2 changed files with 39 additions and 0 deletions
|
|
@ -297,6 +297,12 @@ class _StatementCompiler(StatementVisitor):
|
|||
lhs(state, normalize(rhs(state), shape))
|
||||
return run
|
||||
|
||||
def on_Assert(self, stmt):
|
||||
raise NotImplementedError("Asserts not yet implemented for Simulator backend.") # :nocov:
|
||||
|
||||
def on_Assume(self, stmt):
|
||||
pass # :nocov:
|
||||
|
||||
def on_Switch(self, stmt):
|
||||
test = self.rrhs_compiler(stmt.test)
|
||||
cases = []
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue