Read ID and VERSION before any write: they confirm the base address and the release. HWCFG and VIDEO_CAP tell firmware 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 | 0x02 | Function: 0x02 = Device. |
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 | 0x0000 | Patch level. |
The generics the core was built with, so one firmware serves every build.
| Bits | Field | Access | Description |
|---|---|---|---|
| [31:24] | TDATA_W | RO | video_in tdata width in bits. |
| [23:20] | XCVR | RO | Transceiver: 0 GTH (GTHE4), 1 GTY (GTYE4), 2 GTH transmitter only. |
| [19:18] | reserved | Reserved. | |
| [17] | PASSTHRU_TRIG | RO | 1 = the core acknowledges uplink triggers itself. |
| [16: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. |
Writing a 1 pulses the matching reset, so firmware can recover one path without disturbing the others. Reads 0.
| Bits | Field | Access | Description |
|---|---|---|---|
| [31] | ALL | WP | Reset the whole core. |
| [30:8] | reserved | Reserved. | |
| [7] | LS_ALL | WP | All low-speed (uplink) logic. |
| [6] | HS_ALL | WP | All high-speed (downlink) logic. |
| [5] | HRTBT | WP | Heartbeat generator. |
| [4] | EVENT | WP | Event path. |
| [3] | CTRL_ACK | WP | Control acknowledge path. |
| [2] | STREAM | WP | Stream path. |
| [1] | CTRL_RX | WP | Control command receiver. |
| [0] | LS_RELOCK | WP | Re-lock the uplink receiver. |
Bit 0 enables the interrupt output cxp_dev_int.
| Bits | Field | Access | Description |
|---|---|---|---|
| [31:1] | reserved | Reserved. | |
| [0] | GIE | RW | 1 = cxp_dev_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:15] | reserved | Reserved. | |
| [14] | RATE_ERR | W1C | Line rate change failed, code in CXP_STATUS[15:14]. |
| [13] | TX_READY | W1C | Transmitter out of reset. |
| [12] | STREAM_OFF | W1C | Stream stopped. |
| [11] | STREAM_ON | W1C | Stream started. |
| [10] | ACK_ERR | W1C | A CXP_TIMEOUTS flag was set. |
| [9] | HS_ERR | W1C | A CXP_ERRORS_HS flag was set. |
| [8] | LS_ERR | W1C | A CXP_ERRORS_LS flag was set. |
| [7] | LS_RX_ALIGNED | W1C | Uplink receiver locked: a Host is there. |
| [6] | LS_WORD_LOSS_LOCK | W1C | Uplink receiver lost word lock. |
| [5] | LS_BYTE_LOSS_LOCK | W1C | Uplink receiver lost byte lock. |
| [4] | reserved | Reserved. | |
| [3] | LS_EVENT_ACK_VLD | W1C | Event acknowledge received. |
| [2] | LS_CNTRL_VLD | W1C | Control command received. |
| [1] | LS_TRIG_ACK | W1C | Trigger acknowledge received. |
| [0] | LS_TRIG | W1C | Trigger received on the uplink. |
| Offset | Name | Access | Meaning |
|---|---|---|---|
| 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. |