Read ID and VERSION before any write: they confirm the base address and the release. HWCFG tells software how the IP was built, so one driver handles CRC and ECC builds, every lane count and every output.
0x00IDROreset 0xA715EC01
Fixed identification word. Software reads it first to confirm the base address before any write.
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
VENDOR
CORE
FUNCTION
| Bits | Field | Access | Reset | Description |
|---|---|---|---|---|
| [31:20] | VENDOR | RO | 0xA71 | Vendor code: 0xA71 = ApotheoTech. |
| [19:8] | CORE | RO | 0x5EC | Core code: 0x5EC = SLVS-EC. |
| [7:0] | FUNCTION | RO | 0x01 | Function: 0x01 = receiver (RX). |
0x04VERSIONROreset 0x03040001
Release of the IP in the bitstream. A new major number means a register map change; a new minor number is a compatible addition; a patch has no software-visible change.
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
MAJOR
MINOR
PATCH
| Bits | Field | Access | Reset | Description |
|---|---|---|---|---|
| [31:24] | MAJOR | RO | 0x03 | Major version. |
| [23:16] | MINOR | RO | 0x04 | Minor version. |
| [15:0] | PATCH | RO | 0x0001 | Patch level. |
0x08HWCFGROreset build
Reports the parameters the IP was generated with, so one software build can serve several hardware builds. Example: 4 lanes, CRC build, AXI4S output with a 2048-word FIFO, embedded data output on with a 1024-word FIFO reads 0x0A0B0A04.
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
EBD_FIFO_AW
OUT_FIFO_AW
reserved
EBD_OUT
OUT_MODE
ECC_SEL
reserved
LANE_NUM
| Bits | Field | Access | Reset | Description |
|---|---|---|---|---|
| [31:29] | reserved | 0 | Reserved, reads 0. | |
| [28:24] | EBD_FIFO_AW | RO | build | Embedded data FIFO depth as log2 of words: depth = 1 << EBD_FIFO_AW. 10 = 1024 words. 0 when the embedded data output is not built. |
| [23:21] | reserved | 0 | Reserved, reads 0. | |
| [20:16] | OUT_FIFO_AW | RO | build | Output FIFO depth as log2 of words: depth = 1 << OUT_FIFO_AW. 11 = 2048 words. |
| [15:12] | reserved | 0 | Reserved, reads 0. | |
| [11] | EBD_OUT | RO | build | 1 = the embedded data output M_AXIS_EBD is built. |
| [10:9] | OUT_MODE | RO | build | Video output: 0 = NATIVE, 1 = AXI4S. |
| [8] | ECC_SEL | RO | build | Payload protection: 0 = CRC build, 1 = ECC build (Reed-Solomon). |
| [7:4] | reserved | 0 | Reserved, reads 0. | |
| [3:0] | LANE_NUM | RO | build | Lane count: 1, 2, 4, 6 or 8. |
0x0CSCRATCHRWreset 0x00000000
Free for software. No effect on the core.
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
SCRATCH
| Bits | Field | Access | Reset | Description |
|---|---|---|---|---|
| [31:0] | SCRATCH | RW | 0 | Any value. |