mirror of
https://github.com/openhwgroup/cvw.git
synced 2025-06-27 17:01:20 -04:00
Add +acc flag to Questa when dumping vcd
This commit is contained in:
parent
c87fc015ef
commit
124e1a4dfe
2 changed files with 9 additions and 1 deletions
2
bin/wsim
2
bin/wsim
|
@ -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":
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue