Skip to content

Commit

Permalink
Get simulator from env if not provided
Browse files Browse the repository at this point in the history
Signed-off-by: Ryszard Rozak <[email protected]>
Co-authored-by: Michal Czyz <[email protected]>
  • Loading branch information
RRozak and mczyz-antmicro committed Dec 18, 2024
1 parent c0b9612 commit b897d17
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 b897d17

Please sign in to comment.