cv32e20: Enable Performance Optimizations and Simulation Control Knobs #18
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
This PR addresses the simulation slowdown observed when the RVFI Analysis Port is enabled (Issue #12). It introduces control knobs and logic improvements to significantly reduce simulation overhead, particularly for DSim.
Key Changes
Intelligent Analysis Port Enablement:
uvmt_cv32e20_general_purpose_test.svto only enable writing to the RVFI Analysis Port (ap_write_en) when it is strictly necessary (i.e., whencov_model_enabledorscoreboard_enabledis true).New Performance Control Knobs (Plusargs):
+scoreboard_enabled=0: Allows users to explicitly disable the scoreboard to save simulation cycles during debug or regression.+NO_ISS: Allows disabling the ISS (Instruction Set Simulator) Reference Model override (Spike) for pure RTL simulation speed.Build System & Style Sync:
mk/Common.mkandmk/uvmt/uvmt.mkto align with the performance configuration and coding style.Performance Impact
When combined with the corresponding optimizations in
core-v-verif(Sparse CSR Monitoring), we observe significant speedups:Dependencies
core-v-verif(Sparse CSR monitoring logic inuvma_rvfi_instr_mon).