Forum Discussion

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

1G Ethernet - Cyclone III demo board EP3C120F780

Has anyone successfully gotten the physical on the cyclone III demo board to work with the RMGII interface? After looking at all of the documentation for the kits for Altera, none of them use the interface for 1GE, they are 100Mbit.

I can get the kit to work, but it is intermittent, which points me to the SDC file. So if you have it working, please tell me what you used for the min/max delays and clock.

Thanks

6 Replies

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

    The standard nios reference design delivered with the kit is using the PHY chip with a RGMII interface at 1gigabit. IIRC they didn't bother to put SDC constraints and the interface is just working out of pure luck.

    Are you using the Altera drivers with the Interniche stack? There is a register in the PHY chip to shift the RGMII signals by 90 degres, which can help in some situations. I think the driver does that during setup.
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    No we are using our own custom UDP hardware stack. Running through NIOS was too slow. I am using PLL's to generate phase shifts on the clocks.

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

    :-PThanks for the post on the SDC files. I wanted to let you know that it turned out to be our fault in the design. It appears that high speed serial inputs should not really be considered synchronous. Our state machine reading in the data at the MAC layer was going into an unknown state. We are using additional DFF's to sync the input data, and using the setting in Altera synthesis for safe state machine recovery. When I have time I will go back and fix the state machine by manually defining all states and the transitions.

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

    hi Daixiwen can u send me setup of working rgmii in 1gmode using tse with sdc

    as soon as possible

    the tse is time consuming process and i cant wait for still more time,help me to bring up the rgmii in 1g mode

    revert for any clarifications
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    The standard nios design shipped by Altera for the kit includes a working gigabit Ethernet interface.