Disable ccov, fcov, and gui for vcs in wsim since the vcs script does not handle them properly

This commit is contained in:
Jordan Carlin 2025-04-18 12:37:40 -07:00
parent c87fc015ef
commit 725947e175
No known key found for this signature in database

View file

@ -44,8 +44,14 @@ def validateArgs(args):
if (args.lockstep or args.lockstepverbose) and not ((args.testsuite and args.testsuite.endswith(".elf")) or args.elf) and args.testsuite != "buildroot": if (args.lockstep or args.lockstepverbose) and not ((args.testsuite and args.testsuite.endswith(".elf")) or args.elf) and args.testsuite != "buildroot":
print(f"Invalid Options. Cannot run a testsuite, {args.testsuite} with lockstep. Must run a single elf or buildroot.") print(f"Invalid Options. Cannot run a testsuite, {args.testsuite} with lockstep. Must run a single elf or buildroot.")
sys.exit(1) sys.exit(1)
elif any([args.gui, args.ccov, args.fcov, args.lockstep, args.lockstepverbose]) and args.sim not in ["questa", "vcs"]: elif args.gui and args.sim != "questa":
print("Option only supported for Questa and VCS") print("GUI only supported by Questa")
sys.exit(1)
elif any([args.gui, args.ccov, args.fcov]) and args.sim != "questa":
print("Coverage only supported by Questa")
sys.exit(1)
elif any([args.lockstep, args.lockstepverbose]) and args.sim not in ["questa", "vcs"]:
print("Lockstep only supported by Questa and VCS")
sys.exit(1) sys.exit(1)
elif args.tb == "testbench_fp" and args.sim != "questa": elif args.tb == "testbench_fp" and args.sim != "questa":
print("Error: testbench_fp presently only supported by Questa, not VCS or Verilator, because of a touchy testbench") print("Error: testbench_fp presently only supported by Questa, not VCS or Verilator, because of a touchy testbench")