User guide

4–16 Chapter 4: XAUI PHY IP Core
TimeQuest Timing Constraints
Altera Transceiver PHY IP Core User Guide December 2010 Altera Corporation
TimeQuest Timing Constraints
Example 4–1 provides the .sdc timing constraints for the XAUI clocks. To pass timing
analysis you must decouple the clocks in different time domains.
rx_patterndetect[7:0]
Output
Indicates that the word alignment pattern programmed has been
detected in the current word boundary. The
rx_patterndetect
signal is 2 bits wide per channel for a total of 8 bits per XAUI link.
rx_rmfifodatadeleted[7:0]
Output
Status flag that is asserted when the rate match block deletes a ||R||
column. The flag is asserted for one clock cycle per deleted ||R||
column.
rx_rmfifodatainserted[7:0]
Output
Status flag that is asserted when the rate match block inserts a ||R||
column. The flag is asserted for one clock cycle per inserted ||R||
column.
rx_runningdisp[7:0]
Output
Asserted when the current running disparity of the 8B/10B decoded
byte is negative. Low when the current running disparity of the
8B/10B decoded byte is positive.
rx_syncstatus[7:0]
Output
Synchronization indication. RX synchronization is indicated on the
rx_syncstatus
port of each channel. The
rx_syncstatus
signal
is 2 bits wide per channel for a total of 8 bits per XAUI link.
rx_phase_comp_fifo_error[3:0]
Output Indicates a RX phase comp FIFO overflow or underrun condition.
tx_phase_comp_fifo_error[3:0]
Output
Indicates a TX phase compensation FIFO overflow or underrun
condition.
rx_rlv[3:0]
Output
Asserted if the number of continuous 1s and 0s exceeds the number
that was set in the run-length option. The
rx_rlv
signal is
asynchronous to the RX datapath and is asserted for a minimum of
2 recovered clock cycles.
Table 4–15. Optional Control and Status Signals—Hard IP Implementation, Stratix IV GX Devices (Part 2 of 2)
Signal Name Direction Description
Example 4–1. Synopsys Design Constraints for Clocks
set_time_format -unit ns -decimal_places 3
derive_pll_clocks
derive_clock_uncertainty
#
# input clocks
create_clock -name {xgmii_tx_clk}-period 6.400 -waveform {0.000 3.2} \
[get_ports {xgmii_tx_clk}]
create_clock -name {phy_mgmt_clk} -period 20.000 -waveform {0.000 10.0} \
[ get_ports {phy_mgmt_clk} ]
create_clock -name {refclk} -period 6.400 -waveform {0.000 3.2} \
[ get_ports {pll_ref_clk} ]
# generated clocks
# xgmii_rx_clk is generated from coreclkout
#****** Use this section for Stratix IV Hard XAUI ******
create_generated_clock -name {xgmii_rx_clk_0} -source [get_pins -compatibility_mode
{*hxaui_0|hxaui_alt4gxb|hxaui_alt4gxb_alt4gxb_dksa_component|central_clk_div0|
coreclkout}]-multiply_by 1 [get_ports {xgmii_rx_clk}]
#****** Use this section for Stratix IV Soft XAUI ******
#create_generated_clock -name {xgmii_rx_clk_0} -source [get_pins -compatibility_mode
{*alt_pma_0|alt_pma_tgx_inst|pma_direct|auto_generated|central_clk_div0|refclkout} ] \
#-multiply_by 1 [get_ports {xgmii_rx_clk}]