mirror of
https://github.com/openhwgroup/cvw.git
synced 2025-06-28 09:36:01 -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 = []
|
defineList = []
|
||||||
if args.vcd:
|
if args.vcd:
|
||||||
paramsList.append("MAKE_VCD=1")
|
paramsList.append("MAKE_VCD=1")
|
||||||
|
if args.sim == "questa":
|
||||||
|
flagsList.append("--vcd")
|
||||||
if args.rvvi:
|
if args.rvvi:
|
||||||
paramsList.append("RVVI_SYNTH_SUPPORTED=1")
|
paramsList.append("RVVI_SYNTH_SUPPORTED=1")
|
||||||
if args.tb == "testbench_fp":
|
if args.tb == "testbench_fp":
|
||||||
|
|
|
@ -96,12 +96,18 @@ while {$argc > 0} {
|
||||||
|
|
||||||
echo "lst = $lst"
|
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"]} {
|
if {[lcheck lst "--gui"]} {
|
||||||
set GUI 1
|
set GUI 1
|
||||||
set accFlag "+acc"
|
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 --ccov found set flag and remove from list
|
||||||
if {[lcheck lst "--ccov"]} {
|
if {[lcheck lst "--ccov"]} {
|
||||||
set ccov 1
|
set ccov 1
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue