Fixed a subtle questa sim bug with imperasDV. On some linux systems

vsim will default to 32-bit mode rather than 64-bit, but the ImperasDV
libraries are 64-bit.  vsim must run in 64-bit mode.
This commit is contained in:
Rose Thompson 2024-08-29 14:00:52 -07:00
parent 0ce4d1b452
commit a1c6bc854e
3 changed files with 7 additions and 0 deletions

3
.gitmodules vendored
View File

@ -31,3 +31,6 @@
[submodule "cvw-arch-verif"] [submodule "cvw-arch-verif"]
path = addins/cvw-arch-verif path = addins/cvw-arch-verif
url = https://github.com/openhwgroup/cvw-arch-verif url = https://github.com/openhwgroup/cvw-arch-verif
[submodule "addins/riscvISACOV"]
path = addins/riscvISACOV
url = git@github.com:riscv-verification/riscvISACOV.git

1
addins/riscvISACOV Submodule

@ -0,0 +1 @@
Subproject commit ac9fa2d386c0cb2f44e1e1e83a555d585034dfa3

View File

@ -106,6 +106,9 @@ else:
suffix = "" suffix = ""
flags = suffix + " " + ImperasPlusArgs flags = suffix + " " + ImperasPlusArgs
if((args.lockstep or args.fcov) and args.sim == "questa"):
prefix = "MTI_VCO_MODE=64 " + prefix
# other flags # other flags
if (args.ccov): if (args.ccov):
flags += " --ccov" flags += " --ccov"