mirror of
https://github.com/openhwgroup/cva6.git
synced 2025-04-22 05:07:21 -04:00
Two minor simulation flow enhancements (#2145)
This commit is contained in:
parent
e823d836f3
commit
115b464a2b
3 changed files with 6 additions and 6 deletions
|
@ -301,7 +301,7 @@ vcs_uvm_comp:
|
|||
$(cov-comp-opt) +define+UNSUPPORTED_WITH+ $(isscomp_opts)\
|
||||
-top uvmt_cva6_tb
|
||||
|
||||
vcs_uvm_run:
|
||||
vcs_uvm_run: vcs_uvm_comp
|
||||
$(if $(TRACE_FAST), unset VERDI_HOME ;) \
|
||||
cd $(VCS_WORK_DIR)/ && \
|
||||
$(VCS_WORK_DIR)/simv \
|
||||
|
@ -309,9 +309,7 @@ vcs_uvm_run:
|
|||
$(ALL_SIMV_UVM_FLAGS) \
|
||||
$(cov-run-opt) $(issrun_opts)
|
||||
|
||||
vcs-uvm:
|
||||
make vcs_uvm_comp
|
||||
make vcs_uvm_run
|
||||
vcs-uvm: vcs_uvm_comp vcs_uvm_run
|
||||
# If present, move default waveform files to log directory.
|
||||
# Keep track of target in waveform file name.
|
||||
[ ! -f $(VCS_WORK_DIR)/novas.vpd ] || \
|
||||
|
|
|
@ -1141,8 +1141,6 @@ def main():
|
|||
global test_iteration
|
||||
global log_format
|
||||
cwd = os.path.dirname(os.path.realpath(__file__))
|
||||
os.environ["RISCV_DV_ROOT"] = cwd + "/dv"
|
||||
os.environ["CVA6_DV_ROOT"] = cwd + "/../env/corev-dv"
|
||||
args = parse_args(cwd)
|
||||
# We've parsed all the arguments from the command line; default values
|
||||
# can be set in the config file. Read that here.
|
||||
|
|
|
@ -13,6 +13,10 @@ export RTL_PATH="$ROOT_PROJECT/"
|
|||
export TB_PATH="$ROOT_PROJECT/verif/tb/core"
|
||||
export TESTS_PATH="$ROOT_PROJECT/verif/tests"
|
||||
|
||||
# RISCV-DV & COREV-DV
|
||||
export RISCV_DV_ROOT="$ROOT_PROJECT/verif/sim/dv"
|
||||
export CVA6_DV_ROOT="$ROOT_PROJECT/verif/env/corev-dv"
|
||||
|
||||
if [ -z "$RISCV" ]; then
|
||||
echo "Error: RISCV variable undefined."
|
||||
return
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue