[BUG] <title> riscv-test with virtual memory enabled fails on target cv64a6_imafdc_sv39_hpdcache in write-back mode #2603
Labels
notCV32A65X
It is not an CV32A65X issue
Type:Bug
For bugs in the RTL, Documentation, Verification environment or Tool and Build system
Is there an existing CVA6 bug for this?
Bug Description
Hi @cfuguet,
I encountered an issue while running tests for the target
cv64a6_imafdc_sv39_hpdcache
with the HPD-Cache configured in write-back mode. Below are the steps and observations:Steps to Enable Write-Back Mode
To enable write-back mode, I modified the following parameters in the file
core/cache_subsystem/cva6_hpdcache_subsystem.sv
:Observations
Tests Passed:
All tests with virtual memory disabled pass successfully, including:
riscv-compliance-cv64a6_imafdc_sv39
riscv-arch-test-cv64a6_imafdc_sv39
riscv-tests-cv64a6_imafdc_sv39-p
Tests Failing:
Tests with virtual memory enabled (e.g.,
riscv-tests-cv64a6_imafdc_sv39-v
) fail. The simulation crashes within the design of the Verilator model, leading to a timeout.Example Failure
For instance, when running the
rv64ui-v-add
test as part of the smoke-tests with the targetcv64a6_imafdc_sv39_hpdcache
in write-back mode, the test fails as described above.Let me know if additional details or logs are required!
The text was updated successfully, but these errors were encountered: