Open muneebullashariff opened 1 year ago
Added the support for runSVUnit:
8cab6dbe337b4149aeeaa502d0c318fcb2300e98
[muneebullashariff@HweServer i3c_controller_driver_bfm_unit_test]$ runSVUnit --help
Usage: runSVUnit [-s|--sim <simulator> -l|--log <log> -d|--define <macro> -f|--filelist <file> -U|-uvm -waves -m|-mixedsim <vhdlfile>
-r|--r_arg <option> -c|--c_arg <option> -o|--out <dir> -t|--test <test> --filter <filter>]
-s|--sim <simulator> : simulator is either of questa, modelsim, riviera, ius, xcelium, vcs, dsim, verilator
-l|--log <log> : simulation log file (default: run.log)
-d|--define <macro> : appended to the command line as +define+<macro>
-f|--filelist <file> : some verilog file list
-r|--r_arg <option> : specify additional runtime options
-c|--c_arg <option> : specify additional compile options
-U|--uvm : run SVUnit with UVM
--waves : run SVUnit and enable waveform dump for post-processing. ------> Newly added
-o|--out : output directory for tmp and simulation files
-t|--test : specifies a unit test to run (multiple can be given)
-m|--mixedsim <vhdlfile> : consolidated file list with VHDL files and command line switches
-w|--wavedrom : process json files as wavedrom output
--filter <filter> : specify which tests to run, as <test_module>.<test_name>
--directory : only run svunit discovery on selected directories
--enable-experimental : enable experimental features
-h|--help : prints this help screen
Command:
runSVUnit -s questa --waves
Output:
View Command:
vsim -view waveformDump.wlf &
Image: