Forum Discussion

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

two tse_mac for DE2-115

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.

1 Reply

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

    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?