[keymgr_dpe, rtl] Raise error for Out-Of-Bound src / dst index
@rroth-lowrisc is already working on this.
Since Jul 7, 2026.
- Dominant language
- SystemVerilog
- Stars
- 3.6k
- Forks
- 1.1k
- Avg merge
- 2d 22h
- Merged PRs (30d)
- 141
Description
Description
During the keymgr_dpe integration into earlgrey the register interface was slightly changed. The keymgr_dpe now supports a NumMaxHwSlot and a NumInstHwSlot. Each top can set the number of instantiated hw slots while all input registers can account for NumMaxHwSlot hw slots. Currently a assign verifies that the src / dst index is smaller than NumInstHwSlot. In the future this will raise a invalid_op error (not yet implemented).
During randomize chip_csr_rw testing this assertion can be triggered when the DV writes a invalid slot number into the control register. As intermediate solution the writes into this register are restricted during randomized testing.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.