Per config coverage initially working with RV32M in rv32gc config

This commit is contained in:
David Harris 2024-09-07 07:00:52 -07:00
parent 92c305ca3b
commit de26b7b6a7
2 changed files with 4 additions and 7 deletions

View File

@ -5,5 +5,7 @@
// This file is needed in the config subdirectory for each config supporting coverage.
// It defines which extensions are enabled for that config.
`define COVER_BASE_RV32I
`define COVER_RV32I
`define COVER_RV32M
`include "coverage/RV32I_coverage.svh"
`include "coverage/RV32M_coverage.svh"

View File

@ -141,15 +141,10 @@ if {[lcheck lst "--fcov"]} {
set FCvlog "+define+INCLUDE_TRACE2COV \
+define+IDV_INCLUDE_TRACE2COV \
+define+COVER_BASE_RV32I \
+define+COVER_LEVEL_DV_PR_EXT \
+incdir+$env(WALLY)/addins/riscvISACOV/source \
"
# +incdir+$env(WALLY)/addins/cvw-arch-verif/fcov/rv32 \
set FCvopt "+TRACE2COV_ENABLE=1 +IDV_TRACE2COV=1"
# Uncomment various cover statements below to control which extensions get functional coverage
lappend FCdefineCOVER_EXTS "+define+COVER_RV32I"
lappend FCdefineCOVER_EXTS "+define+COVER_RV32M"
}
# if --lockstep or --fcov found set flag and remove from list