Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
12 years ago

GXB:tranceiver transmission time issue

Hi dears:

I have a board which has two same FPGA. Each FPGA has one transmitter. These two FPGA are configured with same configuration file. I use aonther board which has only one FPGA to receive these two transmitter channels. I did a test, transmited data in turn. I used signaltap to check these two different GXB channel and found that they arrive at different time. Every cycle may be different, sometimes may be aligned. sometimes, may several clock cycles ahead or later.

Is it possible that the data propagation times inside different GXB links are different?

I attached two jpg files, the first shows these two receivers have 6 clock cycles differ each other, it's strange that why are there anoter more 4 clock cycles time added? The socond shows these two receivers have 2 clock cycles differ each other (It's ok, for I make this two clock cycles difference in transmitter side).

Also, I found the delayed channel sometimes could arrive early than the aonther channel! Very strange.

13 Replies

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    --- Quote Start ---

    Hi Jerry,

    You need to investigate your data transport in a little more detail. You also need to document those tests. Here's an example for an ADC I am testing;

    http://www.ovro.caltech.edu/~dwh/wbsddc/hittite_adc_hw.pdf

    In this case, I had no choice but to use a PRBS generator for lane-to-lane synchronization. In your case you can use 8/10B encoding and create logic to align lanes.

    You need to focus on getting your data transport between multiple FPGAs synchronous, and aligning their pipeline delays after power-on reset.

    Create a Modelsim simulation with two FPGAs, multiple transceiver signals, delay the transceiver signals by different amounts (more than a few bit periods), and then try to resynchronize, i.e., align the parallel output words, in the receiver FPGA.

    Cheers,

    Dave

    --- Quote End ---

    Hi Dave:

    Can guide me how to simulate two FPGA? According my understant, one testbench should run inside single chip!
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    --- Quote Start ---

    Can guide me how to simulate two FPGA? According my understant, one testbench should run inside single chip!

    --- Quote End ---

    The simulator does not know about chips, it just knows about HDL code, so your simulation of two FPGAs is a top-level design containing two instances of a transceiver block with TX1->RX2 and RX1->TX2.

    You could also think of this as one chip with two transceiver blocks connected.

    Cheers,

    Dave
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    --- Quote Start ---

    The simulator does not know about chips, it just knows about HDL code, so your simulation of two FPGAs is a top-level design containing two instances of a transceiver block with TX1->RX2 and RX1->TX2.

    You could also think of this as one chip with two transceiver blocks connected.

    Cheers,

    Dave

    --- Quote End ---

    Ok, i think i understand you!