mirror of
https://github.com/openhwgroup/cvw
synced 2025-02-11 06:05:49 +00:00
Remove covlog
This commit is contained in:
parent
479c6667fe
commit
bd9ca6ada6
6
bin/wsim
6
bin/wsim
@ -32,7 +32,6 @@ def parseArgs():
|
|||||||
parser.add_argument("--vcd", "-v", help="Generate testbench.vcd", action="store_true")
|
parser.add_argument("--vcd", "-v", help="Generate testbench.vcd", action="store_true")
|
||||||
parser.add_argument("--lockstep", "-l", help="Run ImperasDV lock, step, and compare.", action="store_true")
|
parser.add_argument("--lockstep", "-l", help="Run ImperasDV lock, step, and compare.", action="store_true")
|
||||||
parser.add_argument("--lockstepverbose", "-lv", help="Run ImperasDV lock, step, and compare with tracing enabled", action="store_true")
|
parser.add_argument("--lockstepverbose", "-lv", help="Run ImperasDV lock, step, and compare with tracing enabled", action="store_true")
|
||||||
parser.add_argument("--covlog", "-d", help="Log coverage after n instructions.", default=0)
|
|
||||||
parser.add_argument("--rvvi", "-r", help="Simulate rvvi hardware interface and ethernet.", action="store_true")
|
parser.add_argument("--rvvi", "-r", help="Simulate rvvi hardware interface and ethernet.", action="store_true")
|
||||||
return parser.parse_args()
|
return parser.parse_args()
|
||||||
|
|
||||||
@ -113,10 +112,7 @@ def lockstepSetup(args):
|
|||||||
|
|
||||||
if (args.lockstep or args.lockstepverbose):
|
if (args.lockstep or args.lockstepverbose):
|
||||||
if(args.fcov):
|
if(args.fcov):
|
||||||
CovEnableStr = "1" if int(args.covlog) > 0 else "0"
|
ImperasPlusArgs = f" +IDV_TRACE2COV={0} +TRACE2LOG_AFTER={0} +TRACE2COV_ENABLE={0}"
|
||||||
if(args.covlog >= 1): EnableLog = 1
|
|
||||||
else: EnableLog = 0
|
|
||||||
ImperasPlusArgs = f" +IDV_TRACE2COV={EnableLog} +TRACE2LOG_AFTER={args.covlog} +TRACE2COV_ENABLE={CovEnableStr}"
|
|
||||||
else:
|
else:
|
||||||
suffix = "--lockstep"
|
suffix = "--lockstep"
|
||||||
if(args.lockstepverbose):
|
if(args.lockstepverbose):
|
||||||
|
Loading…
Reference in New Issue
Block a user