From 34132a949078fa777ac6a5602ab4b2231252bce1 Mon Sep 17 00:00:00 2001 From: Michael Schaffner Date: Tue, 27 Sep 2022 15:36:03 -0700 Subject: [PATCH] [rv_dm] Return a TL-UL error on writes to ROM region See #14200, #14653 and #14921 for context. Signed-off-by: Michael Schaffner --- hw/ip/rv_dm/rtl/rv_dm.sv | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/hw/ip/rv_dm/rtl/rv_dm.sv b/hw/ip/rv_dm/rtl/rv_dm.sv index a88b4217ba917..0ff233e43abbe 100644 --- a/hw/ip/rv_dm/rtl/rv_dm.sv +++ b/hw/ip/rv_dm/rtl/rv_dm.sv @@ -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. + .ErrOnWrite(1) ) tl_adapter_device_mem ( .clk_i, .rst_ni,