mirror of
https://github.com/openhwgroup/cvw
synced 2025-02-11 06:05:49 +00:00
Move wsim debug flag to common flags section
This commit is contained in:
parent
783b81f8b8
commit
edf96a7211
4
bin/wsim
4
bin/wsim
@ -85,6 +85,8 @@ def prepSim(args, ElfFile):
|
||||
args.params += f' TEST="{args.testsuite}" '
|
||||
if ElfFile != "":
|
||||
args.args += f" {ElfFile}"
|
||||
if args.gui and args.tb == "testbench":
|
||||
args.params += " DEBUG=1 "
|
||||
if args.ccov:
|
||||
flags += " --ccov"
|
||||
if args.fcov:
|
||||
@ -135,8 +137,6 @@ def runSim(args, flags, prefix):
|
||||
def runQuesta(args, flags, prefix):
|
||||
# Force Questa to use 64-bit mode, sometimes it defaults to 32-bit even on 64-bit machines
|
||||
prefix = "MTI_VCO_MODE=64 " + prefix
|
||||
if (args.gui) and (args.tb == "testbench"):
|
||||
args.params += "DEBUG=1"
|
||||
if (args.args != ""):
|
||||
args.args = f' --args \\"{args.args}\\"'
|
||||
if (args.params != ""):
|
||||
|
Loading…
Reference in New Issue
Block a user