Document ID
APT-DS-CXP-HOST-0001
Revision
1.0
IP version
2.2.1
Release date
November 2026
Chapter 4: Register Map

4.3Identification and interrupts

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.

0x000IDROreset 0xA71C0A01

Fixed identification word. Software reads it first: it proves that the base address points at this core.

BitsFieldAccessResetDescription
[31:20]VENDORRO0xA71Vendor code: 0xA71 = ApotheoTech.
[19:8]CORERO0xC0ACore code: 0xC0A = CoaXPress.
[7:0]FUNCTIONRO0x01Function: 0x01 = Host.
0x004VERSIONROreset 0x02020001

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.

BitsFieldAccessResetDescription
[31:24]MAJORRO0x02Major version: register map generation.
[23:16]MINORRO0x02Minor version.
[15:0]PATCHRO0x0001Patch level.
0x008HWCFGROreset build

The generics the core was built with, so one driver serves every build.

BitsFieldAccessDescription
[31:24]TDATA_WROvideo_out tdata width in bits.
[23:20]XCVRROTransceiver: 0 GTH (GTHE4), 1 GTY (GTYE4).
[19:18]reservedReserved.
[17]TRIG_AUTO_ACKRO1 = the core acknowledges high-speed triggers itself.
[16]EVENT_AUTO_ACKRO1 = the core acknowledges event packets itself.
[15:4]reservedReserved.
[3:0]NUM_LANESROConnections built.
0x00CSCRATCHRWreset 0x00000000

Reads back what was written, byte strobes honoured. No effect on the core.

BitsFieldAccessResetDescription
[31:0]SCRATCHRW0Any value.
0x014GLBL_IERRWreset 0x00000000

Bit 0 enables the interrupt output cxp_int.

BitsFieldAccessDescription
[31:1]reservedReserved.
[0]GIERW1 = cxp_int may assert.
0x018ISRW1Creset 0x00000000

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.

BitsFieldAccessDescription
[31:14]reservedReserved.
[13]RATE_ERRW1CLine rate change failed, code in CXP_STATUS[15:14].
[12]PIX_LINE_ERRW1CA line broke the width rule of the pixel format.
[11]RATE_DONEW1CLine rate change finished, receiver back.
[10]VIDEO_OVFW1CStream words dropped: the video path was full.
[9]FRAMEW1CImage header received.
[8]HRTBTW1CHeartbeat received.
[7]LOCKEDW1CAll connections in use are locked.
[6]LOSS_LOCKW1CA connection lost lock.
[5]HS_ERRW1CA CXP_ERRORS_HS flag was set.
[4]LS_ERRW1CA CXP_ERRORS_LS flag was set.
[3]EVENTW1CEvent packet received.
[2]CNTRL_ACKW1CControl acknowledge received.
[1]TRIG_ACKW1CTrigger acknowledge received.
[0]TRIGW1CHigh-speed trigger received from the Device.
Table 4-2.Reset and interrupt registers. IER, IPR and IRQ_TEST use the ISR bit positions.
OffsetNameAccessMeaning
0x010RST_CXPWPWriting 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.
0x01CIERRWOne enable bit per ISR bit, same positions.
0x020IPRROThe sources that drive the interrupt output now.
0x024IRQ_TESTW1SWrite 1 to set the matching ISR bit, to test the interrupt handler without the link.