Skip to content

Commit

Permalink
[rv_dm] Return a TL-UL error on writes to ROM region
Browse files Browse the repository at this point in the history
See lowRISC#14200, lowRISC#14653 and lowRISC#14921 for context.

Signed-off-by: Michael Schaffner <[email protected]>
  • Loading branch information
msfschaffner committed Sep 27, 2022
1 parent 81dec1a commit b0f3fa2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion hw/ip/rv_dm/rtl/rv_dm.sv
Original file line number Diff line number Diff line change
Expand Up @@ -369,7 +369,9 @@ module rv_dm
.Outstanding(1),
.ByteAccess(1),
.CmdIntgCheck(1),
.EnableRspIntgGen(1)
.EnableRspIntgGen(1),
// This is a ROM region, hence write requests are not expected.
.ErrOnRead(1)
) tl_adapter_device_mem (
.clk_i,
.rst_ni,
Expand Down

0 comments on commit b0f3fa2

Please sign in to comment.