ECCCTRL2

         ECC control 2.
This bit is used to set the initialize the memory and ecc to a known value
      
Module Instance Base Address Register Address
ecc_hmc_ocp_slv_block 0xFFCFB000 0xFFCFB104

Offset: 0x104

Access: RW

Important: The value of a reserved bit must be maintained in software. When you modify registers containing reserved bit fields, you must use a read-modify-write operation to preserve state and prevent indeterminate system behavior.
Bit Fields
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16

Reserved

OVRW_RB_ECC_EN

0x0

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0

Reserved

RMW_EN

0x0

Reserved

AUTOWB_EN

0x0

ECCCTRL2 Fields

Bit Name Description Access Reset
16 OVRW_RB_ECC_EN
Overwrite the read-back ecc code during RMW process if a double byte error is detected.
1'b0: write the read-back ECC from RMW process if derr is detected. Default value after reset.
1'b1: write of 1 will overwrite the ECC overwrite feature.
RW 0x0
8 RMW_EN
Enable read modify write logic.
When ECC is enabled and sub word accesses require correct ECC to be calculated, this bit should be enabled. RMW_EN bit should be disabled when ECC_EN is disabled.
1'b0: disable RMW logic. Default value after reset.
1'b1: enable RMW logic.
RW 0x0
0 AUTOWB_EN
Enable auto write back correction feature.
When a single-bit error is detected on outgoing reads, the hard memory controller adaptor schedules the corrected data and ECC to the written to the DDR memory. This bit enables auto correction of DDR memory.
1'b0: disable auto WB drop correction. Default value after reset.
1'b1: enable auto WB drop correction.
RW 0x0