Connection between two MII interfaces

If you have a simple question and just want an answer.
TGeiger
New User
Posts: 2
Joined: Tue Apr 28, 2015 3:03 pm

Connection between two MII interfaces

Post by TGeiger »

Hello,

i have a question about connecting two MII interfaces (lite) from tile1 to tile0and getting all traffic what is received/sent on each MII interface as input and output, something like a tap functionality?

What would be the better way:

1) To do it over the interface "mii_interface_lite_t"?

But how do i connect the two interfaces with each other?

 

2) Or to do it over each pin "out port p_mii_slave_rxclk, ..." ?

 

Could you give me please a little exemplary code, how this structure would look like

 

Thanks for your effort,

Tobi

Guest

Post by Guest »

The following link for ethernet tap example will be the best starting point:

https://github.com/xcore/sw_ethernet_tap