FPGA Intellectual Property
PCI Express*, Networking and Connectivity, Memory Interfaces, DSP IP, and Video IP
6569 Discussions

TSE MAC Destination Address

Altera_Forum
Honored Contributor II
1,255 Views

Hi everyone 

I'm using the TSE MAC to design a gigabit ethernet interface.But I don't know how to set the destination Address.Can anybody tell me?Thank you
0 Kudos
4 Replies
Altera_Forum
Honored Contributor II
498 Views

Hi 

 

I used this TSE MAC too, but the source of the data must provide a complete ethernet frame except for the CRC and padding bytes if you configure the TSE correctly. 

 

Bye 

Bert
0 Kudos
Altera_Forum
Honored Contributor II
498 Views

Do you really mean destination address? Or maybe you mean source address? 

You normally set the last one, during board initialization. 

Destination address instead depends on what type of ethernet protocol you are using. Examples: 

If you application has a tcp/ip stack, than the stack itself will set addresses for you. 

If your app sends and receives raw ethernet frames, then you manually build and decode each frame, so you can virtually set any address you want, both source and dest. 

 

Cris
0 Kudos
Altera_Forum
Honored Contributor II
498 Views

Thank you for your anwsers!Do you mean that the MAC core only complete the function of CRC and padding bytes other than the whole mac layer function?

0 Kudos
Altera_Forum
Honored Contributor II
498 Views

The MAC is not designed to pack your payload, so as said it expects a complete frame without CRC and paddng. But is has many other functions for you, like input destination MAC address filtering, Flow control wwith pause frames, transmit and receive FIFO', interfaces to Avalon ST and eg. RGMII PHY or TBI (inc. PCS) or SGMII (inc. PCS and PMA) ... so it helps you a lot by doing these function ... 

 

good luck  

Bert
0 Kudos
Reply