cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Adventurer
Adventurer
2,927 Views
Registered: ‎09-22-2016

Is it possible to use Zybo's ethernet on PL through EMIO?

Jump to solution

Hello folks,

 

I am trying to use Zybo's ethernet in the PL side directly - I believe it is possible to redirect through EMIO? 

 

Are there designs available? I could not find anything. 

 

Any suggestions are welcome.

 

Thank you.

0 Kudos
1 Solution

Accepted Solutions
Highlighted
Teacher
Teacher
3,993 Views
Registered: ‎03-31-2012

Re: Is it possible to use Zybo's ethernet on PL through EMIO?

Jump to solution

@ubenevides In zynq you can connect PS controllers (under some condition) to PL IOs. Is this what you want? If you want to access ethernet functionality from the PL side,  the only "direct" way is to generate AHB transactions and talk to the ethernet controller to duplicate the behavior of a software driver by a PL AHB master. There is no other direct interface.

- Please mark the Answer as "Accept as solution" if information provided is helpful.
Give Kudos to a post which you think is helpful and reply oriented.

View solution in original post

0 Kudos
6 Replies
Highlighted
Voyager
Voyager
2,898 Views
Registered: ‎06-24-2013

Re: Is it possible to use Zybo's ethernet on PL through EMIO?

Jump to solution

Hey @ubenevides,

 

The 7Series Zynq FPGAs all feature two gigabit ethernet controller peripherials which can be mapped to EMIO, so you can definitely do that. The problem is more that you need the physical layer stuff as well, which is usually not available on most development boards.

 

There is a wiki entry regarding PL Ethernet on the Zynq which should provide some useful information.

 

Hope this helps,

Herbert

-------------- Yes, I do this for fun!
0 Kudos
Highlighted
Teacher
Teacher
3,994 Views
Registered: ‎03-31-2012

Re: Is it possible to use Zybo's ethernet on PL through EMIO?

Jump to solution

@ubenevides In zynq you can connect PS controllers (under some condition) to PL IOs. Is this what you want? If you want to access ethernet functionality from the PL side,  the only "direct" way is to generate AHB transactions and talk to the ethernet controller to duplicate the behavior of a software driver by a PL AHB master. There is no other direct interface.

- Please mark the Answer as "Accept as solution" if information provided is helpful.
Give Kudos to a post which you think is helpful and reply oriented.

View solution in original post

0 Kudos
Highlighted
Adventurer
Adventurer
2,868 Views
Registered: ‎09-22-2016

Re: Is it possible to use Zybo's ethernet on PL through EMIO?

Jump to solution

@hpoetzl It's actually the opposite. I want to bypass the PS and handle the Zybo's gigabit ethernet in PL. But I think I misunderstood what EMIO is for. I see EMIO is actually a master to link to external ethernet lines, not a way to bypass the PS as I was thinking.

 

@muzaffer I understand this now. I guess for now I will just handle the ethernet flow in PS and push it to the PL through an AXI Fifo or similar. 

 

Thanks all

 

0 Kudos
Highlighted
Voyager
Voyager
2,743 Views
Registered: ‎06-24-2013

Re: Is it possible to use Zybo's ethernet on PL through EMIO?

Jump to solution

You're welcome!

 

I see EMIO is actually a master to link to external ethernet lines, not a way to bypass the PS as I was thinking.

Yep, there is no way to bypass the PS and 'hijack' PS peripherials that way.

 

What you still can do is use the PS peripherials from PL without involving the ARM cores via AXI.

But handling ethernet in PS and sending packets to PL is usually simpler.

 

Best,

Herbert

-------------- Yes, I do this for fun!
0 Kudos
Highlighted
383 Views
Registered: ‎12-13-2019

Re: Is it possible to use Zybo's ethernet on PL through EMIO?

Jump to solution

Can you give me some resource for doing AHB transactions to talk with ethernet controller??

0 Kudos
Highlighted
Teacher
Teacher
340 Views
Registered: ‎03-31-2012

Re: Is it possible to use Zybo's ethernet on PL through EMIO?

Jump to solution

ethernet controller is just a set of registers sitting at a certain offset. Figure out which port on the PL-PS interface has access to that address region and generate access through an axi initiator (master in the old parlance). This seems to be a good source to read: http://igorfreire.com.br/understanding-gigabit-ethernet-controllers-dma-zynq-devices/

- Please mark the Answer as "Accept as solution" if information provided is helpful.
Give Kudos to a post which you think is helpful and reply oriented.
0 Kudos