Altera_Forum
Honored Contributor
17 years agoALT2GXB clock handling
Hi,
I want to use one ALT2GXB (8.0 Build 231 SP 1 SJ Web Edition) in PIPE mode for a single lane PCIe configuration (generated through MegaWizard Plugin Manager, of course) on a StratixII GX. I'm using one REFCLK input of the transceiver block from the PCIe connection as a reference clock for the CMU (you can just select 100 MHz). Furthermore I'm using an ALTPLL to generate 125 MHz and 62.5 MHz clocks for my design behind the ALT2GXB. The input clock of this PLL is NOT the REFCLK input of the transceiver block. I also can't use the CMU 125 MHz output clock (how to route output clock of alt2gxb to a pll (http://www.alteraforum.com/forum/showthread.php?t=2252&highlight=alt2gxb)). I'm not quite sure about connecting the 125 MHz output of the PLL to the Tranceiver phase compensation buffers. Can I just do that without losing any data? How should i know if the Transceiver side clock connected to the phase compensation buffer and my generated 125 MHz clock meet the 0 PPM requirement? In the Stratix II Device Handbook Volume2 (SIIGX5V2-4.3) on 2-122 they suggest to use an additional phase compensation buffer with the standard configuration - so i guess thats without using any of the rx/tx_coreclk inputs. My question now is, how do i actually implement such a phase compensation buffer? Another question is, if this phase compensation buffer should rather be a rate compensation buffer, because the problem of not knowing if the 0 PPM requirement is met. The only way I see is to implement a dual clock fifo (kind of rate compensation buffer). But with this fifo, what if the ALT2GXB side clock is always a bit faster than my generated 125 MHz clock. I cannot compensate this in any way, because I've got no symbols to delete to prevent a FIFO overflow. Is there no chance to connect my clock domain with the clock domain of the ALT2GXB in a reasonable way? I hope you got my point and can help me out of this mess. Thanks, Joki