Advanced bit mode allows you to override the XPHY attributes at XPHY level. Currently, the Advanced IO Wizard provides GUI options to define the high level interface which are converted to XPHY Attributes. Please refer AM010 for more information on XPHY attributes.
For Advanced users, we defined a mechanism to tweak the attributes which are not visible in the GUI. The attributes can be overridden at nibble or bit level depending on their access through Tcl.
XPHY ATTRIBUTES | Syntax for BUS<<n>>_XPHY_ATTR | Default Values | Direct Attribute Access Through Tcl |
---|---|---|---|
CRSE_DLY_EN
|
CRSEDLYEN_<<value>> | FALSE | Nibble |
CASCADE_<0-5>
|
CASCADE_<<value>> | FALSE | Bit |
CONTINUOUS_DQS
|
CONTINUOUSDQS_<<value>> | FALSE | Nibble |
DELAY_VALUE_<0-5>
|
DELAYVALUE_<<value>> | 0 | Bit |
DIS_IDLY_VT_TRACK
|
DISIDLYVTTRACK_<<value>> | FALSE | Nibble |
DIS_ODLY_VT_TRACK
|
DISODLYVTTRACK_<<value>> | FALSE | Nibble |
DIS_QDLY_VT_TRACK
|
DISQDLYVTTRACK_<<value>> | FALSE | Nibble |
DQS_MODE
|
DQSMODE_<<value>> | DDR41TCK | Nibble |
EN_DYN_DLY_MODE
|
ENDYNDLYMODE_<<value>> | FALSE | Nibble |
FAST_CK
|
FASTCK_<<value>> | FALSE | Nibble |
FIFO_MODE_<0-5>
|
FIFOMODE_<<value>> | ASYNC | Bit |
IBUF_DIS_SRC_<0-5>
|
IBUFDISSRC_<<value>> | EXTERNAL | Bit |
INV_RXCLK
|
INVRXCLK_<<value>> | FALSE | Nibble |
LP4_DQS
|
LP4DQS_<<value>> | FALSE | Nibble |
ODELAY_BYPASS_<0-5>
|
ODELAYBYPASS_<<value>> | FALSE | Bit |
ODT_SRC_<0-5>
|
ODTSRC_<<value>> | FALSE | Bit |
REFCLK_FREQUENCY
|
REFCLKFREQ_<<value>> | Initialized to 1600 | Interface |
RX_CLK_PHASE_N
|
RXCLKPHASEN_<<value>> | SHIFT0 | Bit |
RX_CLK_PHASE_P
|
RXCLKPHASEP_<<value>> | SHIFT0 | Bit |
RX_DATA_WIDTH
|
RXDATAWIDTH_<<value>> | 8 | Nibble |
RX_GATING
|
RXGATING_<<value>> | DISABLE | Nibble |
SELF_CALIBRATE
|
SELFCALIBRATE_<<value>> | DISABLE | Nibble |
SERIAL_MODE
|
SERIALMODE_<<value>> | FALSE | Nibble |
TBYTE_CTL0-5
|
TBYTECTL_<<value>> | T | Bit |
TXRX_LOOPBACK_<0-5>
|
TXRXLOOPBACK_<<value>> | FALSE | Bit |
TX_DATA_WIDTH
|
TXDATAWIDTH_<<value>> | 8 | Nibble |
TX_GATING
|
TXGATING_<<value>> | DISABLE | Nibble |
TX_INIT_<0-5>
|
TXINIT_<<value>> | 0 | Bit |
PRIME_VAL
|
PRIMEVAL_<<value>> | 0 | Nibble |
TX_OUTPUT_PHASE_90_<0-5>
|
TXOUTPUTPHASE90_<<value>> | FALSE | Bit |
TX_OUTPUT_PHASE_90_TRI
|
TXOUTPUTPHASE90TRI_<<value>> | FALSE | Nibble |
- Examples of Tcl console inputs to change the XPHY attributes
-
- set_property -dict [list CONFIG.BUS0_XPHY_ATTR
{FIFOMODE_0_SYNC, FIFOMODE_1_SYNC}] [get_ips advanced_io_wizard_0]
For pin/bit level changes.
- set_property -dict [list CONFIG.BUS0_XPHY_ATTR
{FIFOMODE_0_SYNC, FIFOMODE_1_SYNC , FIFOMODE_BYPASS}] [get_ips
advanced_io_wizard_0]
If you pass both the broadcast (nibble level) and bit/pin level attribute values, then the broadcast gets priority over bit/pin level values.
- If a strobe is present, S0 is passed at bit/pin level
as FIFOMODE_S0_SYNC and if write clock is present in case of BIDIR mode,
W0 is passed as FIFOMODE_W0_SYNC from the Tcl console. After these
values are passed, data pins always start from 0th position.
set_property -dict [list CONFIG.BUS0_XPHY_ATTR {FIFOMODE_S0_SYNC , FIFOMODE_0_SYNC , FIFOMODE_1_SYNC}] [get_ips advanced_io_wizard_0]
If you have one strobe and two single ended data pins enabled:
- For differential pair, both P and N needs to be changed at bit/pin level.
- Rule engine errors have a higher priority over the user input.
- The advanced bit mode changes are applicable to both IP and example design.
- set_property -dict [list CONFIG.BUS0_XPHY_ATTR
{FIFOMODE_0_SYNC, FIFOMODE_1_SYNC}] [get_ips advanced_io_wizard_0]