Read ID and VERSION before any write: they confirm the base address and the release. HWCFG and VIDEO_CAP tell software how the core was built.
Fixed identification word. Software reads it first: it proves that the base address points at this core.
| Bits | Field | Access | Reset | Description |
|---|---|---|---|---|
| [31:20] | VENDOR | RO | 0xA71 | Vendor code: 0xA71 = ApotheoTech. |
| [19:8] | CORE | RO | 0xC0A | Core code: 0xC0A = CoaXPress. |
| [7:0] | FUNCTION | RO | 0x01 | Function: 0x01 = Host. |
Release of the core in the bitstream. A new major number means another register map; a new minor number is a compatible addition; a patch has no software-visible change.
| Bits | Field | Access | Reset | Description |
|---|---|---|---|---|
| [31:24] | MAJOR | RO | 0x02 | Major version: register map generation. |
| [23:16] | MINOR | RO | 0x02 | Minor version. |
| [15:0] | PATCH | RO | 0x0001 | Patch level. |
The generics the core was built with, so one driver serves every build.
| Bits | Field | Access | Description |
|---|---|---|---|
| [31:24] | TDATA_W | RO | video_out tdata width in bits. |
| [23:20] | XCVR | RO | Transceiver: 0 GTH (GTHE4), 1 GTY (GTYE4). |
| [19:18] | reserved | Reserved. | |
| [17] | TRIG_AUTO_ACK | RO | 1 = the core acknowledges high-speed triggers itself. |
| [16] | EVENT_AUTO_ACK | RO | 1 = the core acknowledges event packets itself. |
| [15:4] | reserved | Reserved. | |
| [3:0] | NUM_LANES | RO | Connections built. |
Reads back what was written, byte strobes honoured. No effect on the core.
| Bits | Field | Access | Reset | Description |
|---|---|---|---|---|
| [31:0] | SCRATCH | RW | 0 | Any value. |
Bit 0 enables the interrupt output cxp_int.
| Bits | Field | Access | Description |
|---|---|---|---|
| [31:1] | reserved | Reserved. | |
| [0] | GIE | RW | 1 = cxp_int may assert. |
One sticky bit per source, set by the core whether or not the source is enabled. Write 1 to clear. A source that fires in the clock it is cleared is kept.
| Bits | Field | Access | Description |
|---|---|---|---|
| [31:14] | reserved | Reserved. | |
| [13] | RATE_ERR | W1C | Line rate change failed, code in CXP_STATUS[15:14]. |
| [12] | PIX_LINE_ERR | W1C | A line broke the width rule of the pixel format. |
| [11] | RATE_DONE | W1C | Line rate change finished, receiver back. |
| [10] | VIDEO_OVF | W1C | Stream words dropped: the video path was full. |
| [9] | FRAME | W1C | Image header received. |
| [8] | HRTBT | W1C | Heartbeat received. |
| [7] | LOCKED | W1C | All connections in use are locked. |
| [6] | LOSS_LOCK | W1C | A connection lost lock. |
| [5] | HS_ERR | W1C | A CXP_ERRORS_HS flag was set. |
| [4] | LS_ERR | W1C | A CXP_ERRORS_LS flag was set. |
| [3] | EVENT | W1C | Event packet received. |
| [2] | CNTRL_ACK | W1C | Control acknowledge received. |
| [1] | TRIG_ACK | W1C | Trigger acknowledge received. |
| [0] | TRIG | W1C | High-speed trigger received from the Device. |
| Offset | Name | Access | Meaning |
|---|---|---|---|
| 0x010 | RST_CXP | WP | Writing a 1 pulses the matching reset: bit 31 resets the whole core, bits [20:16] the high-speed receive paths, bits [15:14] module resets, bits [1:0] the low-speed uplink. Reads 0. The supplied driver names each bit. |
| 0x01C | IER | RW | One enable bit per ISR bit, same positions. |
| 0x020 | IPR | RO | The sources that drive the interrupt output now. |
| 0x024 | IRQ_TEST | W1S | Write 1 to set the matching ISR bit, to test the interrupt handler without the link. |