Visible to Intel only — GUID: emi1605742265674
Ixiasoft
Visible to Intel only — GUID: emi1605742265674
Ixiasoft
4.4.6. PIPE Direct Speed Change
In the PIPE Direct Data mode, the clock for the RX datapath is sourced from the PHY recovered clock (pipe_direct_pld_rx_clk_out_o). The PHY recovered clock changes frequency when the PHY trains from Gen1 to Gen5. During the PIPE Direct RX rate change, the following sequence needs to be adhered to.
The soft IP controller first changes the rate or width if required. The R-Tile Avalon Streaming IP only asserts lnX_pipe_direct_pclkchangeok_o after the Soft IP controller has made the changes. The Soft IP controller asserts lnX_pipe_direct_pclkchangeack_i when the change is complete and stable. After the Soft IP controller asserts lnX_pipe_direct_pclkchangeack_i, the R-Tile Avalon Streaming IP responds by asserting lnX_pipe_direct_phystatus_o for one cycle and deasserting lnX_pipe_direct_pclkchangeok_o at the same time as lnX_pipe_direct_phystatus_o. The Soft IP controller deasserts lnX_pipe_direct_pclkchangeack_i when lnX_pipe_direct_pclkchangeok_o is sampled low.
Below are the steps required for the speed change sequence for lane 0 in the R-Tile Avalon Streaming IP when configured in PIPE Direct mode. This behavior also applies to other lanes and other speed rates.
Note that each of the steps required correlates with the corresponding letter in the waveforms.
Step (a) : The Soft IP controller initiates rate change by transitioning LTSSM State into Recovery.
Step (b) : The soft IP controller asserts lnX_pipe_direct_standby_i signal to indicate the PHY transition into standby mode.
Step (c) : The soft IP controller asserts lnX_pipe_direct_txelecidle_i while lnX_pipe_direct_txdatavalid0_i and lnX_pipe_direct_txdatavalid1_i are asserted. The soft IP controller deasserts lnX_pipe_direct_txdatavalid0_i, lnX_pipe_direct_txdatavalid1_i signal after asserting lnX_pipe_direct_txelecidle_i.
Step (d) : The soft IP controller changes the rate by changing the lnX_pipe_direct_rate signal.
Step (e) : The R-tile Avalon Streaming IP drives the lnX_pipe_direct_reset_status_n_o signal low indicating RX datapath is in reset.
Step (f) : The R-tile Avalon Streaming IP asserts lnX_pipe_direct_pclkchangeok_o indicating the PHY is changing the pclk.
Step (g) : The soft IP controller asserts the lnX_pipe_direct_pclkchangeack_i indicating the pclk change is acknowledged by the soft IP controller.
Step (h) : The lnX_pipe_direct_phystatus_o is pulsed to acknowledge rate change.
Step (i) : The R-tile Avalon Streaming IP deasserts lnX_pipe_direct_pclkchangeok_o indicating the PHY completed the pclk change for the new speed.
Step (j) : The soft IP controller deasserts the lnX_pipe_direct_pclkchangeack_i indicating the pclk change completion is acknowledged by the soft IP controller.
Step (k) : The soft IP controller deasserts lnX_pipe_direct_standby_i signal to indicate the PHY transition into active mode.
Step (l) : The soft IP controller deasserts lnX_pipe_direct_txelecidle_i after lnX_pipe_direct_txdatavalid0_i and lnX_pipe_direct_txdatavalid1_i are asserted. The soft IP controller sends valid data on lnX_pipe_direct_txdata once the lnX_pipe_direct_txelecidle_i is deasserted.
Step (m) : The R-tile Avalon Streaming IP asserts the lnX_pipe_direct_cdrlock2data_o indicating RX CDR is locked to data.
Step (n) : The R-tile Avalon Streaming IP drives the lnX_pipe_direct_reset_status_n_o signal high indicating the RX path is out of reset and RX data can be received on the RX datapath by the soft IP controller.