Skip to content

Commit

Permalink
Exit Verilator with SIGINT by default
Browse files Browse the repository at this point in the history
  • Loading branch information
nmoroze authored and sgherbst committed Nov 7, 2023
1 parent 98cc556 commit 85484fa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions switchboard/verilator.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
from .util import binary_run


def verilator_run(bin, plusargs=None, args=None, **kwargs):
def verilator_run(bin, plusargs=None, args=None, use_sigint=True, **kwargs):
if args is None:
extra_args = []
elif isinstance(args, (list, tuple)):
Expand Down Expand Up @@ -36,4 +36,4 @@ def verilator_run(bin, plusargs=None, args=None, **kwargs):
# append any extra arguments user provided by the user
args += extra_args

return binary_run(bin=bin, args=args, **kwargs)
return binary_run(bin=bin, args=args, use_sigint=use_sigint, **kwargs)

0 comments on commit 85484fa

Please sign in to comment.