diff --git a/dv/uvm/core_ibex/Makefile b/dv/uvm/core_ibex/Makefile index c4899102..6927343f 100644 --- a/dv/uvm/core_ibex/Makefile +++ b/dv/uvm/core_ibex/Makefile @@ -78,7 +78,10 @@ ifeq (${SIMULATOR},vcs) else ifeq (${SIMULATOR},ius) COMPILE_OPTS += -defparam core_ibex_tb_top.dut.PMPNumRegions=${PMP_REGIONS} COMPILE_OPTS += -defparam core_ibex_tb_top.dut.PMPGranularity=${PMP_GRANULARITY} -# TODO(udinator) - support dsim and riviera +else ifeq (&{SIMULATOR},riviera) + SIM_OPTS +=-g/core_ibex_tb_top/dut/PMPNumRegions=${PMP_REGIONS} + SIM_OPTS +=-g/core_ibex_tb_top/dut/PMPGranularity=${PMP_GRANULARITY} +# TODO(udinator) - support dsim endif SHELL=/bin/bash diff --git a/dv/uvm/core_ibex/yaml/rtl_simulation.yaml b/dv/uvm/core_ibex/yaml/rtl_simulation.yaml index cc21bd2c..f582bd55 100644 --- a/dv/uvm/core_ibex/yaml/rtl_simulation.yaml +++ b/dv/uvm/core_ibex/yaml/rtl_simulation.yaml @@ -106,7 +106,7 @@ sim: cmd: > - vsim -c -lib /work +access +r+w -l /logfile.log -do "run -all; endsim; quit -force" +ibex_tracer_file_base="trace_core" + vsim -c -sv_seed -lib /work +access +r+w -l /logfile.log -do "run -all; endsim; quit -force" +ibex_tracer_file_base="trace_core" cov_opts: > -acdb_file /cov.acdb