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

two tse_mac for DE2-115

Altera_Forum
Honored Contributor II
1,150 Views

Hi all, 

 

I use a DE2-115 from terasic which has two ethernet ports and I want to use them simultaneously. My question is 

 

If I use ONE CPU, TWO TSE_MAC in the sopc design, for instance, tse_mac0 and tse_mac1, how should I choose which port I will be using in the Nios simple socket server template? (In system.h, there are configurations for tse_mac0 and tse_mac1 both, but it it turns out that I can only make port0 work) 

 

Or should I make two cpu for this kind of design? 

 

P.S My data go directly from the physical layer, so the nios is only used to intialize the chip.
0 Kudos
1 Reply
Altera_Forum
Honored Contributor II
399 Views

Hi Bingomickey, 

 

I've just gotten a De2-115 and i'm trying to get ethernet going. The webserver example doesn't work (i'm still goggling this one). 

 

Are you able to point me in the right direction so i can get learning? Or do you have code that works, so that i can learn from it?
0 Kudos
Reply