mirror of
https://github.com/lowRISC/ibex.git
synced 2025-04-22 04:47:25 -04:00
added simulation option, added sv_seed in sim cmd
This commit is contained in:
parent
bdfe8de0f7
commit
a6504e9111
2 changed files with 5 additions and 2 deletions
|
@ -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
|
||||
|
|
|
@ -106,7 +106,7 @@
|
|||
|
||||
sim:
|
||||
cmd: >
|
||||
vsim -c <sim_opts> <cov_opts> -lib <out>/work +access +r+w -l <out>/logfile.log -do "run -all; endsim; quit -force" +ibex_tracer_file_base="trace_core"
|
||||
vsim -c <sim_opts> <cov_opts> -sv_seed <seed> -lib <out>/work +access +r+w -l <out>/logfile.log -do "run -all; endsim; quit -force" +ibex_tracer_file_base="trace_core"
|
||||
cov_opts: >
|
||||
-acdb_file <out>/cov.acdb
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue