You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
DV test lowrisc:ibex:tb_cs_registers fails given +ntb_random_seed=111
Error, transaction:
Register transaction:
Operation: CSR Read
Address: PMPCfg0
Read data: 6981400
Expected rdata: 6981484
- ../src/lowrisc_ibex_tb_cs_registers_0/tb/tb_cs_registers.sv:111: Verilog $finish
Received $finish() from Verilog, shutting down simulation.
[Reg driver] drove: 4970 register transactions
//-------------//
// TEST FAILED //
//-------------//
Expected Behavior
CS_Registers test should pass, RTL's dealing with mseccfg and pmpcfg is right.
At that point, mseccfg.MML is set, write a new entry with exec privilege to pmpcfg results in no change.
The provided golden-model in base_register.cc is wrong when handling CSRWrite to pmpcfg. It should first check mseccfg.MML then write, rather than dealing with // No reserved L/R/W/X values when MML Set.
It should check whether the new entry is a "new rule with executable privilege".
This may be due to SMEPMP extension's evolving.
ZhongYic00
changed the title
[dv] CS_registers golden-model error in ePMP extension
[dv] tb_cs_registers golden-model error in ePMP extension
Jan 7, 2025
Observed Behavior
DV test
lowrisc:ibex:tb_cs_registers
fails given+ntb_random_seed=111
Expected Behavior
CS_Registers test should pass, RTL's dealing with mseccfg and pmpcfg is right.

At that point, mseccfg.MML is set, write a new entry with exec privilege to pmpcfg results in no change.
The provided golden-model in
base_register.cc
is wrong when handling CSRWrite topmpcfg
.It should first check mseccfg.MML then write, rather than dealing with// No reserved L/R/W/X values when MML Set
.It should check whether the new entry is a "new rule with executable privilege".
This may be due to SMEPMP extension's evolving.
Steps to reproduce the issue
My Environment
EDA tool and version:
Verilator 4.210 2021-07-07 rev v4.210
Operating system:
Ubuntu Linux 22.04
Version of the Ibex source code:
8f4c75c
The text was updated successfully, but these errors were encountered: