EDK on Virtex4 FX using embedded ethernet MAC

Oct 20, 2005 4 Replies

Hello



I want to do a little EDK design that uses the embeded Tri-mode Ethernet MAC (TEMAC) of the Virtex4 FX parts. EDK offers several options for Ethernet MAC type but they are all soft MACs. The embedded MAC is a major selling point for me because of the logic saved and because compiling the soft MACs takes a long time. I will be connecting to a 10/100 switch using the MII port.



Is there a convenient way to incorporate the embedded MAC into an EDK project?



Thank you for any suggestions.



Pete Dudley


EDK 7.1 has a wrapper for the hard MAC. And there's an update for that wrapper downloadable from the Xilinx web site.

Eric

Hi Pete, I'm working with a Virtex4FX12 at moment, and I'm designing a dual port Ethernet MAC (10/100/1000) for a VOIP application.

I started with the XAPP 807 that shows how to use ultracontroller2 with a single MAC to have a simple webserver based on uIP (uIP is a simplified TCP/IP stack). (a TCP/IP stack in less then 16K... that is the size of the instruction cache of the PPC405)

It works!! I was impressed to see how easy was to implement the webserver.

I really reccomend you to start from here :-)

At moment I'm designing the TCP/IP stack in HDL.... If you don't like this idea then I suggest to use: the plb_temac (from Xilinx Platform Studio go on Project->Add/Edit Cores... and add the plb_temac) Have a look at the PDF documantation .

good luck!

Francesco

Hi Pete,

Check out the Xilinx Gigabit System Reference Design (GSRD) at

formatting link
It uses the Embedded Virtex4 TEMAC in an EDK project.

Paul

Pete wrote:

Can you get either xilnet or lwIP to work with it though?

For xilnet, in the library/OS parameters tab, I can't set the plb_temac as the emac_instname (Only none is listed).

For lwIP, when generating libraries and BSPs, I get the error: lwIP library needs at least 1 ethernet or 1 ethernetlite device to work.

I definetly have instantiated the plb_temac_0 and hard_temac_0 cores.

Any ideas?

Cheers, Jon

Join the Discussion

Have something to add? Share your thoughts — no account required.

Didn't find your answer?

Ask the community — no account required