UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Observer ashimo
Observer
9,753 Views
Registered: ‎09-02-2010

Tri-mode Ethernet MAC example on ml506 not work.

Jump to solution

hi , i learning to use Temac provide by xilinx. there is a tutorial at here,http://www.fpgadeveloper.com/2008/10/tri-mode-ethernet-mac.html . i downloaded project example  but it not work on my ml506 board, tx led is not blink. i use edk 10.1.3, Anybody tested this project on ml506?  thanks. 

 

0 Kudos
1 Solution

Accepted Solutions
Observer fk5747
Observer
12,009 Views
Registered: ‎07-03-2011

Re: Tri-mode Ethernet MAC example on ml506 not work.

Jump to solution

hi

why dont you use coregen to generate temac? I think it is a easier way. you can use example design which coregen generates! try it!

0 Kudos
9 Replies
Observer ashimo
Observer
9,730 Views
Registered: ‎09-02-2010

Re: Tri-mode Ethernet MAC example on ml506 not work.

Jump to solution

help me, please!

0 Kudos
Xilinx Employee
Xilinx Employee
9,719 Views
Registered: ‎03-18-2008

Re: Tri-mode Ethernet MAC example on ml506 not work.

Jump to solution

I think this is a question that would be better answered on a different forum section.  Since you are having an issue getting the tri-mode emac working, it would be better to have this answered in that forum.  I'll move this over for you and you will more likely get an answer there.

Observer fk5747
Observer
12,010 Views
Registered: ‎07-03-2011

Re: Tri-mode Ethernet MAC example on ml506 not work.

Jump to solution

hi

why dont you use coregen to generate temac? I think it is a easier way. you can use example design which coregen generates! try it!

0 Kudos
Observer ashimo
Observer
9,695 Views
Registered: ‎09-02-2010

Re: Tri-mode Ethernet MAC example on ml506 not work.

Jump to solution

 this tutorial use coregen too. if design without this tut, I don't know how to modify UCF file and top modul file, i tried to do it but project still not work . can you guide modify them for my board, step by step? thanks.

0 Kudos
Observer fk5747
Observer
9,684 Views
Registered: ‎07-03-2011

Re: Tri-mode Ethernet MAC example on ml506 not work.

Jump to solution

I have'nt do this for ml506, i generate temac for spartan3e board and I dont know exactly the diffrences but here i mention some important points : (I think there are some other similar posts which can help you, do some google)

 

- after generating temac core, coregen generates example_design.vhd. use it as a component in your top module. in entity declaration part add a port for reseting the phy (the reset of my PHY is active low) :

 

entity faeze_temac is
    port(
      -- asynchronous reset
      reset_phy            : inout std_logic:='0';

      -- Client Receiver Statistics Interface
      ---------------------------------------
      rx_statistics_vector : out std_logic;
      rx_statistics_valid  : out std_logic;

   .

   .

   .

 

 

- then set the reset in your code (something like this )


 process (clk_in) begin
    cnt <= cnt + 1;
    if cnt > 50 then                   
         reset_phy       <= '1';
         reset               <= '0';   --temac reset
    end if;
 end process;

 

- in your ucf file just mention your pin assignment, like this :

NET      "clk_in"       LOC=F11;
NET      "reset_phy"    LOC=R13;
NET      "mii_txd[0]"   LOC=P8;
NET      "mii_txd[1]"   LOC=Y7;
NET      "mii_txd[2]"   LOC=Y5;
NET      "mii_txd[3]"   LOC=U4;
NET      "mii_tx_en"    LOC=R9;
NET      "mii_tx_er"    LOC=Y13;

.

.

.

 

 

- now you can send some packets from the pc to the board, it will return it to your pc and you can capture them. for sending packets i use my own raw socket code which sends packets to the board(with specific MAC address) but the other said me I can just send packets by pinging( i dont test it) i think in this case you should disable address filter (i am not sure)

 

good luck

0 Kudos
Observer fk5747
Observer
9,681 Views
Registered: ‎07-03-2011

Re: Tri-mode Ethernet MAC example on ml506 not work.

Jump to solution

and I use configuration vector to confgiure the temac core, and dont forget to set proper configurations.

0 Kudos
Observer ashimo
Observer
9,675 Views
Registered: ‎09-02-2010

Re: Tri-mode Ethernet MAC example on ml506 not work.

Jump to solution
thank you verymuch for your answer. however, your temac is soft core, and my temac on virtex5 is hardcore. i will try it. anybody tested on ml506 board still help me for more detail on my board. thanks again fk
0 Kudos
Observer jyusta
Observer
9,636 Views
Registered: ‎03-25-2010

Re: Tri-mode Ethernet MAC example on ml506 not work.

Jump to solution
0 Kudos
Visitor tuan_gcs
Visitor
2,805 Views
Registered: ‎09-09-2016

Re: Tri-mode Ethernet MAC example on ml506 not work.

Jump to solution

Hi @ashimo

 

I have just tested on ML509, it is OK 

 

Tuan_Gcs


@ashimo wrote:

hi , i learning to use Temac provide by xilinx. there is a tutorial at here,http://www.fpgadeveloper.com/2008/10/tri-mode-ethernet-mac.html . i downloaded project example  but it not work on my ml506 board, tx led is not blink. i use edk 10.1.3, Anybody tested this project on ml506?  thanks. 

 


 

0 Kudos