Skip to content

Commit

Permalink
Try skip compile pattern
Browse files Browse the repository at this point in the history
  • Loading branch information
leonardt committed Nov 21, 2023
1 parent 1dd2098 commit 1030dd9
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions tests/test_property.py
Original file line number Diff line number Diff line change
Expand Up @@ -915,8 +915,8 @@ class Main(m.Circuit):
tester.circuit.I = 0
tester.compile_and_run("system-verilog", simulator="ncsim",
magma_output="mlir-verilog", flags=["-sv"],
magma_opts={"sv": True}, disp_type="realtime",
coverage=True)
skip_compile=True, magma_opts={"sv": True},
disp_type="realtime", coverage=True)

out, _ = capsys.readouterr()
assert """\
Expand All @@ -932,7 +932,8 @@ class Main(m.Circuit):
tester.advance_cycle()
tester.compile_and_run("system-verilog", simulator="ncsim",
flags=["-sv"], magma_opts={"sv": True},
disp_type="realtime", coverage=True)
skip_compile=True, disp_type="realtime",
coverage=True)

out, _ = capsys.readouterr()
assert """\
Expand All @@ -949,8 +950,7 @@ class Main(m.Circuit):
simulator="ncsim",
magma_output="mlir-verilog",
flags=["-sv"],
magma_opts={"sv": True,
"disable_initial_blocks": True},
skip_compile=True,
disp_type="realtime",
coverage=True)

Expand Down

0 comments on commit 1030dd9

Please sign in to comment.