Skip to content

Commit

Permalink
Set magma opts for assume test
Browse files Browse the repository at this point in the history
  • Loading branch information
leonardt committed Nov 17, 2023
1 parent 076603f commit d730f71
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions tests/test_property.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@

def requires_ncsim(test_fn):
def wrapper(test_fn, *args, **kwargs):
if not shutil.which("ncsim"):
return pytest.skip("need ncsim for SVA test")
# if not shutil.which("ncsim"):
# return pytest.skip("need ncsim for SVA test")
return test_fn(*args, **kwargs)
return decorator.decorator(wrapper, test_fn)

Expand Down Expand Up @@ -702,6 +702,8 @@ class Main(m.Circuit):
# formal tools)
with pytest.raises(AssertionError):
tester.compile_and_run("system-verilog", simulator="ncsim",
magma_opts={"sv": True,
"disable_initial_blocks": True},
flags=["-sv"], magma_output="mlir-verilog")


Expand Down

0 comments on commit d730f71

Please sign in to comment.