cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Highlighted
Observer
Observer
9,958 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
Highlighted
Anonymous
Not applicable
12,214 Views

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!

View solution in original post

0 Kudos
9 Replies
Highlighted
Observer
Observer
9,935 Views
Registered: ‎09-02-2010

help me, please!

0 Kudos
Highlighted
Anonymous
Not applicable
9,924 Views

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.

Highlighted
Anonymous
Not applicable
12,215 Views

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!

View solution in original post

0 Kudos
Highlighted
Observer
Observer
9,900 Views
Registered: ‎09-02-2010

 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
Highlighted
Anonymous
Not applicable
9,889 Views

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
Highlighted
Anonymous
Not applicable
9,886 Views

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

0 Kudos
Highlighted
Observer
Observer
9,880 Views
Registered: ‎09-02-2010
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
Highlighted
Observer
Observer
9,841 Views
Registered: ‎03-25-2010
0 Kudos
Highlighted
Visitor
Visitor
3,010 Views
Registered: ‎09-09-2016

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