Skip to content

Commit

Permalink
[rom_ctrl] Add missin CM annotation
Browse files Browse the repository at this point in the history
Fixes part of #20887

Signed-off-by: Michael Schaffner <[email protected]>
  • Loading branch information
msfschaffner committed Feb 14, 2024
1 parent e9fd7aa commit f9b6fb9
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions hw/ip/rom_ctrl/rtl/rom_ctrl.sv
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,10 @@ module rom_ctrl
localparam int unsigned RomSizeWords = RomSizeByte >> 2;
localparam int unsigned RomIndexWidth = vbits(RomSizeWords);

// DataWidth is normally 39, representing 32 bits of actual data plus 7 ECC check bits. If
// scrambling is disabled ("insecure mode"), we store a raw 32-bit image and generate ECC check
// bits on the fly.
// SEC_CM: CTRL.MEM.INTEGRITY
// DataWidth is normally 39, representing 32 bits of actual data plus 7 ECC check bits for the bus
// end-to-end integrity scheme. If scrambling is disabled("insecure mode"), we store a raw 32-bit
// image and generate ECC check bits on the fly.
localparam int unsigned DataWidth = SecDisableScrambling ? 32 : 39;

mubi4_t rom_select_bus;
Expand Down

0 comments on commit f9b6fb9

Please sign in to comment.