Every setting in the IP GUI is a drop-down list; fields the GUI works out are shown read-only. Firmware
reads the build back from HWCFG and
VIDEO_CAP. Defaults are in bold.
3.1.1Link
| GUI field | Parameter | Values | Description |
|---|---|---|---|
| Transceiver | TRANSCEIVER_TYPE | GTH, transmitter only, GTH, GTY | Transceiver option and its DRP rate tables. |
| Connections | NUM_LANES | 1 | Coax connections. 2 and 4 on request. |
| AXI4-Lite clock (aclk) | ACLK_FREQ_MHZ | 50, 100, 125, 200, 250 MHz | Frequency of aclk: time base of the heartbeat, the acknowledge timeouts and the line rate change. |
| Trigger acknowledge | PASSTHRU_TRIG | By the core, By software | Who acknowledges a trigger from the Host. |
| Heartbeat period (ms) | HRTBT_SEND_PERIOD | 10, 20, 50, 100 | Time between heartbeats in CXP 2.x mode. |
| Acknowledge timeout after reset (ms) | ACK_WAIT_DEF_MS | 10, 33, 50, 100, 200 | Reset value of ACK_TIMEOUT. |
3.1.2Video
| GUI field | Parameter | Values | Description |
|---|---|---|---|
| Mono / Bayer | VID_EN_MONO | Built, Not built | Mono, Bayer and Raw layouts, 1 component. |
| RGB | VID_EN_RGB | Built, Not built | RGB, 3 components. |
| YCbCr 4:4:4 | VID_EN_YCBCR444 | Built, Not built | 3 components. |
| YCbCr 4:2:2 | VID_EN_YCBCR422 | Built, Not built | 2 components. |
| YCbCr 4:2:0 | VID_EN_YCBCR420 | Built, Not built | 4:2:0 on the bus, 4:2:2 on the link. |
| Widest YCbCr 4:2:0 line (pixels) | VID_420_MAX_WIDTH | 1024, 2048, 4096, 8192, 16384 | Size of the chroma line store. |
| Bit depths on the link | VID_LINK_WIDTHS | 8, 10, 12, 14 and 16-bit, or any subset | Each depth is a gearbox of its own. |
| Pixels per beat | VID_PPC | 2, 4 | Pixels per video_in beat. |
| Bits per component | VID_BPC | 8, 10, 12, 14, 16 | Component width on the bus. |
| Components per pixel | VID_CPP | read-only, 1 | 3 with RGB or YCbCr 4:4:4, 2 with YCbCr 4:2:2 or 4:2:0, else 1. |
| TDATA width (bit) | MAX_TDATA_WIDTH | read-only, 64 | VID_PPC x VID_CPP x VID_BPC, rounded up to whole bytes. |
| Pixel format after reset | PIXEL_TYPE_DEFAULT | 25 codes, Mono / Bayer 8-bit (0x08) | Reset value of PIXEL_TYPE. |
3.1.3Buffers
| GUI field | Parameter | Values |
|---|---|---|
| Video input FIFO (beats) | AXI4S_DEPTH | 512, 1024, 2048, 4096 |
| Packager FIFO (words) | PIXEL_PCKG_DEPTH | 512, 1024, 2048, 4096 |
| Stream packet FIFO (words) | STREAM_PCKT_MAX_DEPTH | 8192, 16384, 32768 |
| Control acknowledge FIFOs (words) | HS_CNTRL_PCKT_MAX_SIZE | 4096, 8192 |
| Event FIFOs (words) | HS_EVENT_FIFO_DEPTH | 512, 1024, 2048 |
| Control command FIFO (words) | LS_CNTRL_PCKT_MAX_SIZE | 4096, 8192 |
3.1.4Advanced
| GUI field | Parameter | Values |
|---|---|---|
| Synchronizer flops | SYNC_STAGE | 2, 3, 4, 5, 6 |
| Synchronizer flops, uplink receiver | LS_SYNC_STAGE | 2, 3, 4 |
| Words between IDLE words | IDLE_REG_MAX | 99, 64, 32 |
| Words without IDLE allowed | LS_IDLE_WORD_LIMIT | 1000, 5000, 10000, 20000, 50000 |
| IDLE words for word lock | LS_WORD_IDLE_LOCK_CNTR | 8, 16, 32, 64, 128 |
| Bad words to drop word lock | LS_WORD_LOSS_LOCK_CNTR | 8, 16, 32, 64, 128 |
| Good characters for byte lock | LS_IDLE_BYTE_LOCK_CNTR | 8, 16, 32, 64, 128 |
| Bad characters for the next bit slip | LS_BYTE_LOSS_LOCK_CNTR | 8, 16, 32, 64, 128 |
| Extra reset attempts | RECONFIG_RETRIES | 0, 1, 2, 3 |
| DRP timeout | RECONFIG_DRP_TIMEOUT_US | 1 ms, 2, 5, 10 ms |
| Reset acknowledge timeout | RECONFIG_RST_ACK_TIMEOUT_US | 100 µs, 1, 10, 100 ms |
| Reset done timeout | RECONFIG_DONE_TIMEOUT_US | 20 ms, 50, 100, 200 ms |
From a block design script, for the default Bayer camera build on a GTH transmitter:
set_property -dict [list \
CONFIG.TRANSCEIVER_TYPE {GTHE4_TX_ONLY} \
CONFIG.ACLK_FREQ_MHZ {100} \
CONFIG.VID_PPC {4} \
CONFIG.VID_BPC {16} \
CONFIG.HRTBT_SEND_PERIOD {10} \
] [get_bd_cells cxp_dev_0]