mirror of
https://github.com/openhwgroup/cvw
synced 2025-02-11 06:05:49 +00:00
Modified linux imperas tests to
1. enable zicclsm 2. enable logging at 7000 ms
This commit is contained in:
parent
efcd09c6cd
commit
3594c08d4b
@ -45,7 +45,7 @@ localparam SSTC_SUPPORTED = 1;
|
|||||||
localparam ZICBOM_SUPPORTED = 1;
|
localparam ZICBOM_SUPPORTED = 1;
|
||||||
localparam ZICBOZ_SUPPORTED = 1;
|
localparam ZICBOZ_SUPPORTED = 1;
|
||||||
localparam ZICBOP_SUPPORTED = 1;
|
localparam ZICBOP_SUPPORTED = 1;
|
||||||
localparam ZICCLSM_SUPPORTED = 0;
|
localparam ZICCLSM_SUPPORTED = 1;
|
||||||
localparam SVPBMT_SUPPORTED = 1;
|
localparam SVPBMT_SUPPORTED = 1;
|
||||||
localparam SVNAPOT_SUPPORTED = 1;
|
localparam SVNAPOT_SUPPORTED = 1;
|
||||||
localparam SVINVAL_SUPPORTED = 1;
|
localparam SVINVAL_SUPPORTED = 1;
|
||||||
|
@ -18,6 +18,8 @@
|
|||||||
# More extensions
|
# More extensions
|
||||||
--override cpu/Zcb=T
|
--override cpu/Zcb=T
|
||||||
|
|
||||||
|
--override cpu/unaligned=T
|
||||||
|
|
||||||
# Cache block operations
|
# Cache block operations
|
||||||
--override cpu/Zicbom=T
|
--override cpu/Zicbom=T
|
||||||
--override cpu/Zicbop=T
|
--override cpu/Zicbop=T
|
||||||
@ -40,7 +42,6 @@
|
|||||||
|
|
||||||
--override cpu/reset_address=0x80000000
|
--override cpu/reset_address=0x80000000
|
||||||
|
|
||||||
--override cpu/unaligned=F
|
|
||||||
--override cpu/ignore_non_leaf_DAU=1
|
--override cpu/ignore_non_leaf_DAU=1
|
||||||
--override cpu/wfi_is_nop=T
|
--override cpu/wfi_is_nop=T
|
||||||
--override cpu/misa_Extensions_mask=0x0
|
--override cpu/misa_Extensions_mask=0x0
|
||||||
@ -88,7 +89,7 @@
|
|||||||
|
|
||||||
# Add Imperas simulator application instruction tracing
|
# Add Imperas simulator application instruction tracing
|
||||||
--verbose
|
--verbose
|
||||||
--trace --tracechange --traceshowicount --tracemode -tracemem ASX --monitornetschange --traceafter 0
|
#--trace --tracechange --traceshowicount --tracemode -tracemem ASX --monitornetschange --traceafter 300000000
|
||||||
--override cpu/debugflags=6 --override cpu/verbose=1
|
--override cpu/debugflags=6 --override cpu/verbose=1
|
||||||
--override cpu/show_c_prefix=T
|
--override cpu/show_c_prefix=T
|
||||||
|
|
||||||
|
@ -7,4 +7,4 @@ export OTHERFLAGS="+TRACE2LOG_ENABLE=1"
|
|||||||
#export OTHERFLAGS="+TRACE2LOG_ENABLE=1 +TRACE2LOG_AFTER=10500000"
|
#export OTHERFLAGS="+TRACE2LOG_ENABLE=1 +TRACE2LOG_AFTER=10500000"
|
||||||
export OTHERFLAGS=""
|
export OTHERFLAGS=""
|
||||||
|
|
||||||
vsim -c -do "do wally-linux-imperas.do buildroot buildroot-no-trace $::env(RISCV) 0 0 0"
|
vsim -c -do "do wally-linux-imperas.do buildroot buildroot-no-trace $::env(RISCV) 0 0 0"
|
||||||
|
@ -40,6 +40,7 @@ if {$2 eq "buildroot" || $2 eq "buildroot-checkpoint"} {
|
|||||||
|
|
||||||
#-- Run the Simulation
|
#-- Run the Simulation
|
||||||
#run -all
|
#run -all
|
||||||
|
run 7000 ms
|
||||||
add log -recursive /*
|
add log -recursive /*
|
||||||
do linux-wave.do
|
do linux-wave.do
|
||||||
run -all
|
run -all
|
||||||
@ -87,9 +88,10 @@ if {$2 eq "buildroot" || $2 eq "buildroot-checkpoint"} {
|
|||||||
#run 100 ns
|
#run 100 ns
|
||||||
#force -deposit testbench/dut/core/priv/priv/csr/csri/IE_REGW 16'h2aa
|
#force -deposit testbench/dut/core/priv/priv/csr/csri/IE_REGW 16'h2aa
|
||||||
#force -deposit testbench/dut/uncore/uncore/clint/clint/MTIMECMP 64'h1000
|
#force -deposit testbench/dut/uncore/uncore/clint/clint/MTIMECMP 64'h1000
|
||||||
|
run 7000 ms
|
||||||
|
add log -recursive /testbench/dut/*
|
||||||
|
do wave.do
|
||||||
run 14000 ms
|
run 14000 ms
|
||||||
#add log -recursive /*
|
|
||||||
#do linux-wave.do
|
|
||||||
#run -all
|
#run -all
|
||||||
|
|
||||||
exec ./slack-notifier/slack-notifier.py
|
exec ./slack-notifier/slack-notifier.py
|
||||||
|
Loading…
Reference in New Issue
Block a user