cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Contributor
Contributor
411 Views
Registered: ‎10-24-2018

Related to ethernet loopback using pcs/pma or sgmii core

Hello,

          I am trying internal ethernet loopback using pcs/pma or sgmii ip core in zcu102 board, For this i selected the ip core from ip catalog in vivado, After that i have to configure this ip core according to loopback configuration.

I just wrote

assign txp = rxp;

assign txn = rxn;

in demo_tb file, what i have to do other changes and where i don't know and also i am not getting gmii_txd data.

I am attaching the screenshot of stimulus_tb.v and simulation window to point where i am facing problem.

Thank youI checked the other things also but i don't know why the data is not tranfering.I checked the other things also but i don't know why the data is not tranfering.I am getting gmii_txd signal 00 and other gmii_tx signal also.I am getting gmii_txd signal 00 and other gmii_tx signal also.please provide solution in detailed.   

loopback_code.png
loopback_sim.png
0 Kudos
5 Replies
Highlighted
Moderator
Moderator
388 Views
Registered: ‎07-30-2007

Re: Related to ethernet loopback using pcs/pma or sgmii core

I put the GT in the example design and then in the **_support.v file there is the line:

   .loopback_in(3'b000),

change this to:

.loopback_int(3'b010), 

This will give you near end PMA loopback.   Remove the TXP and TXN assignments.  This file will be the second file in the example design hierarchy.




----------------------------------------------------------------------------
Don't forget to reply, kudo, and accept as solution
----------------------------------------------------------------------------


0 Kudos
Highlighted
Contributor
Contributor
378 Views
Registered: ‎10-24-2018

Re: Related to ethernet loopback using pcs/pma or sgmii core

Thank you for your response sir , I will try it first then i will give you status of progress.

I have one more doubt sir, why gmii_txd data is not sending. In simulation it is showing 00 as you can see. So sir i need to change somewhere or not please tell the things sir.

Regards,

Shyamsundar Jha

0 Kudos
Highlighted
Contributor
Contributor
370 Views
Registered: ‎10-24-2018

Re: Related to ethernet loopback using pcs/pma or sgmii core

Sir I also added device specific transceiver(GT) in my example design but sir in my **_support.v file the .loopback_in(3'b000) is not there. i don't know why.

I am sharing my core tab screenshot so please find the attachment.

please guide me where i did mistake?

Thank you sir

Regards,

Shyamsundar Jha

MAC.png
DATARATE.png
CORE.png
SHARED.png
STANDARD.png
0 Kudos
Highlighted
Contributor
Contributor
334 Views
Registered: ‎10-24-2018

Re: Related to ethernet loopback using pcs/pma or sgmii core

Sir I enable the GT in the example design option in the shared logic tab in our example design after that generate my example design also but sir .loopback_int(3'b000) is not showing in my **_support.v file.

if anyone have solution please guide us also.

Thank you

Regards,

Shyamsundar Jha

0 Kudos
Highlighted
Xilinx Employee
Xilinx Employee
268 Views
Registered: ‎05-01-2013

Re: Related to ethernet loopback using pcs/pma or sgmii core

You need to run more time to check the result in your simulation

0 Kudos