FPGA, SoC, And CPLD Boards And Kits
FPGA Evaluation and Development Kits
5923 Discussions

1G Ethernet - Cyclone III demo board EP3C120F780

Altera_Forum
Honored Contributor II
1,003 Views

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
0 Kudos
6 Replies
Altera_Forum
Honored Contributor II
307 Views

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.
0 Kudos
Altera_Forum
Honored Contributor II
307 Views

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.

0 Kudos
Altera_Forum
Honored Contributor II
307 Views

Those are the sdc files from the linux example design, you should be able to copy/paste them in your own. 

 

Alternatively I wrote this message (http://www.alteraforum.com/forum/showpost.php?p=11013&postcount=4) a while ago with the settings I used, but I haven't done anything with Marvell PHYs in a while...
0 Kudos
Altera_Forum
Honored Contributor II
307 Views

:-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.

0 Kudos
Altera_Forum
Honored Contributor II
307 Views

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
0 Kudos
Altera_Forum
Honored Contributor II
307 Views

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

0 Kudos
Reply