diff --git a/dv/uvm/Makefile b/dv/uvm/Makefile index 8dc334d6..d02788a7 100644 --- a/dv/uvm/Makefile +++ b/dv/uvm/Makefile @@ -93,7 +93,7 @@ compile: ${COMMON_OPTS} \ --simulator=${SIMULATOR} \ --en_cov=${COV} \ - --en_wave=${WAVE} \ + --en_wave=${WAVES} \ # Run ibex RTL simulation with random instructions rtl_sim: @@ -104,7 +104,7 @@ rtl_sim: ${COMMON_OPTS} \ --simulator=${SIMULATOR} \ --en_cov=${COV} \ - --en_wave=${WAVE} \ + --en_wave=${WAVES} \ ${SIM_OPTS} # Compare the regression result between ISS and RTL sim diff --git a/dv/uvm/sim.py b/dv/uvm/sim.py index 9b138e70..67452d57 100644 --- a/dv/uvm/sim.py +++ b/dv/uvm/sim.py @@ -159,6 +159,7 @@ def rtl_sim(sim_cmd, test_list, output_dir, bin_dir, lsf_cmd, seed, opts, verbos # Run the RTL simulation sim_cmd = re.sub("", output_dir, sim_cmd) sim_cmd = re.sub("", opts, sim_cmd) + sim_cmd = re.sub("", cwd, sim_cmd) print ("Running RTL simulation...") cmd_list = [] for test in test_list: diff --git a/dv/uvm/yaml/rtl_simulation.yaml b/dv/uvm/yaml/rtl_simulation.yaml index f5639ce6..be7f0e5b 100644 --- a/dv/uvm/yaml/rtl_simulation.yaml +++ b/dv/uvm/yaml/rtl_simulation.yaml @@ -22,8 +22,7 @@ -Mdir=/vcs_simv.csrc -o /vcs_simv -debug_access+pp - -lca -kdb - " + -lca -kdb " cov_opts: > -cm line+tgl+assert+fsm+branch -cm_tgl portsonly @@ -36,7 +35,7 @@ -debug_access+all -ucli -do vcs.tcl sim: cmd: > - /vcs_simv +vcs+lic+wait + /vcs_simv +vcs+lic+wait cov_opts: > -cm line+tgl+assert+fsm+branch -cm_dir /test.vdb @@ -44,4 +43,4 @@ -assert nopostproc -cm_name test_ wave_opts: > - -ucli -do vcs.tcl + -ucli -do /vcs.tcl