Programmable Devices
CPLDs, FPGAs, SoC FPGAs, Configuration, and Transceivers
21611 Discussions

ethernet doubt

Altera_Forum
Honored Contributor II
1,311 Views

hi all, 

 

i do not know much about Ethernet concept... 

 

 

i am using EP2S60F672C4 and RTL8201CL (PHY device) and i want to implement 10/100Mbps MAC using NIOS-2. 

 

i am trying to use Triple Speed Ethernet through SOPC builder, i not able to configure the settings correctly. My final application will be SNMP, but first i need to receive and reply the packets. 

 

can anybody help me regarding this and suggest the any documents.. 

 

thanks
0 Kudos
7 Replies
Altera_Forum
Honored Contributor II
636 Views

Visit the altera page.. 

http://www.altera.com/support/ip/interface-protocols/ips-inp-tse.html?gsa_pos=6&wt.oss_r=1&wt.oss=tse%20reference%20design 

 

You can get the reference design , application note and other documents as well. 

 

Regards, 

Hardik
0 Kudos
Altera_Forum
Honored Contributor II
636 Views

i am trying to read triple speed ethernet data path reference design document; along with TSE block i need to use any other blocks? if so what are they? 

 

 

 

(http://www.altera.com/support/refdesigns/ip/interface/ref-triple-speed-ethernet-data-path.html)
0 Kudos
Altera_Forum
Honored Contributor II
636 Views

You need two Scatter Gatter DMA controllers,  

one PLL  

and a fast memory (Onchip RAM is used in examples from Altera). 

 

If you have installed NIOS II IDE with examples, you can open the SOPC file with SOPC BUILDER. 

This sopc example file is located in c:\altera\90sp2\nios2eds\examples\vhdl\niosii_cycloneii_2c35\tse_sgdma\niosii_cycloneii_2c35_tse_sgdma_sopc.sopc on my computer. 

Regards.
0 Kudos
Altera_Forum
Honored Contributor II
636 Views

what for this Scatter Gatter DMA controllers and memory? 

why i nee to generate 100MHz frequency for SGDMA?
0 Kudos
Altera_Forum
Honored Contributor II
636 Views

You need the memory to store the packets, and the DMAs to transfer the packets between the memory and the TSE core. 

You don't have to use a 100MHz clock, but it is recommended to have something fast enough if you don't want to loose too much time in the transfers.
0 Kudos
Altera_Forum
Honored Contributor II
636 Views

first i thanks every one giving me the information... 

 

i am going through simple socket server example, Is it necessary to have external flash in board? 

 

i need some help regarding fallowing.... 

 

my requirement as of now is packet transfer.... i.e. when i ping from PC, the board should give reply. what i should do in nios?
0 Kudos
Altera_Forum
Honored Contributor II
636 Views

No the flash isn't necessary. It is used in the sockets server example to get the MAC and IP addresses, but you can remove the code that uses the flash and hard-code those yourself. 

You don't need to do anything to have the board reply to pings, the Interniche TCP/IP stack will do this automatically.
0 Kudos
Reply