Skip to content

Commit

Permalink
Set simulator from env if not provided
Browse files Browse the repository at this point in the history
Signed-off-by: Ryszard Rozak <[email protected]>
  • Loading branch information
RRozak committed Dec 17, 2024
1 parent 599d1cd commit e5b353a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions verification/cocotb/noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,9 @@ def _verify(session, test_group, test_type, test_name, coverage=None, simulator=
f"+verilator+seed+{seed}",
]

if not simulator:
simulator = os.getenv("SIMULATOR")

with open(test.paths["log_default"], "w") as test_log:

args = [
Expand Down

0 comments on commit e5b353a

Please sign in to comment.