User manual

Table Of Contents
Zynq-7000 AP SoC Technical Reference Manual www.xilinx.com 1745
UG585 (v1.11) September 27, 2016
Appendix B: Register Details
Register (pl353) ecc_memcfg_1
Register ecc_memcfg_1 Details
The ecc_memcfg Register is read-write and contains information about the structure of the memory. Note;
You must not write to this register while the ECC block is busy. You can read the current ECC block status
from the ECC Status Register.
ecc_status
(ECC_STATUS)
6 ro 0x0 Status of the ECC block:
0: idle
1: busy
raw_int_status
(ECC_STATUS_RAW_I
NT_STATUS)
5:0 ro 0x0 The interrupts are:
Bit [5] Abort.
Bit [4] Extra block (if used).
Bit [3] Block 3.
Bit [2] Block 2.
Bit [1] Block 1.
Bit [0] Block 0.
To clear the interrupt, write a 1 to the bit.
Name ecc_memcfg_1
Relative Address 0x00000404
Absolute Address 0xE000E404
Width 13 bits
Access Type rw
Reset Value 0x00000043
Description ECC Memory Configuation Register 1
Field Name Bits Type Reset Value Description
Field Name Bits Type Reset Value Description
ecc_extra_block_size
(ECC_MEMCFG_ECC_
EXTRA_BLOCK_SIZE)
12:11 rw 0x0 The size of the extra block in memory after the last
512 block:
00: 4 bytes
01: 8 bytes
10: 16 bytes
11: 32 bytes
Note: These bits are only present if you configure
the SMC to use the ECC Extra Block Enable
option.
ecc_extra_block
(ECC_MEMCFG_ECC_
EXTRA_BLOCK)
10 rw 0x0 If configured, this enables a small block for extra
information after the last 512 bytes block in the
page. Note: These bits are only present if the ECC
Extra Block Enable option is configured.