Add +acc flag to Questa when dumping vcd

This commit is contained in:
Jordan Carlin 2025-04-18 13:33:04 -07:00
parent c87fc015ef
commit 124e1a4dfe
No known key found for this signature in database
2 changed files with 9 additions and 1 deletions

View file

@ -89,6 +89,8 @@ def prepSim(args, ElfFile):
defineList = []
if args.vcd:
paramsList.append("MAKE_VCD=1")
if args.sim == "questa":
flagsList.append("--vcd")
if args.rvvi:
paramsList.append("RVVI_SYNTH_SUPPORTED=1")
if args.tb == "testbench_fp":

View file

@ -96,12 +96,18 @@ while {$argc > 0} {
echo "lst = $lst"
# if +acc found set flag and remove from list
# if --gui found set flag and remove from list
if {[lcheck lst "--gui"]} {
set GUI 1
set accFlag "+acc"
}
# if --vcd found set flag and remove from list
if {[lcheck lst "--vcd"]} {
set VCD 1
set accFlag "+acc"
}
# if --ccov found set flag and remove from list
if {[lcheck lst "--ccov"]} {
set ccov 1