Sign In

Don't have a Xilinx account yet?

  • Choose to receive important news and product information
  • Gain access to special content
  • Personalize your web experience on Xilinx.com

Create Account

Username

Password

Forgot your password?
XClose Panel
Xilinx Home
Reply
Contributor
y4664
Posts: 30
Registered: ‎10-23-2010
0
Accepted Solution

Virtex-5 EMAC wrapper problem

hi all, i'm using virtex-5 LX110T boards. i implemented TriMode Ethernet Wrapper as following steps:

 

1-) Create Virtex5 TriMode Ethernet Wrapper with SGMII

2-) Open ISE and add coregen files (v5_example_design as top_level)

3-) Update UCF file as :

        

# Place the transceiver components. Please alter to your chosen transceiver.
INST "*GTP_DUAL_1000X_inst?GTP_1000X?tile0_rocketio_wrapper_i?gtp_dual_i" LOC = "GTP_DUAL_X0Y4";
 
INST "MGTCLK_N" LOC = "P3";
INST "MGTCLK_P" LOC = "P4";

##GMIII
Net "TXP_0" LOC = "M2";
Net "TXN_0" LOC = "N2";
Net "RXP_0" LOC = "N1";
Net "RXN_0" LOC = "P1"; 
 ## PHY Reset pin  
NET "PHY_RESET_0_pin" LOC = "J14";   
NET "RESET" LOC="U8";

# PHY Autonegotiate ON  
INST *?v5_emac EMAC0_PHYINITAUTONEG_ENABLE = TRUE;

 

4-) Add PHY_RESET_0_pin  pin as output in Top_Level

5-) PHY_RESET_0_pin<=not reset_i;

6-) Change Jumper Ethernet

 

when i implemented design to my board  the RX led can perform (on/off )  but TX led is contionusly off mode. 

 when i  used ping google.com   command, i can see packet send to FPGA board but anything recieve from FPGA.

 

i connected FPGA board direct my LAPTOP with RJ45.  

   

 

Xilinx Employee
deepeshm
Posts: 124
Registered: ‎08-06-2008
0

Re: Virtex-5 EMAC wrapper problem

The following answer record might be helpful to debug your issue:

http://www.xilinx.com/support/answers/43330.htm

 

Thanks,

DMS

Contributor
y4664
Posts: 30
Registered: ‎10-23-2010
0

Re: Virtex-5 EMAC wrapper problem

Actually,  i confused about which steps i must follow to implement EMAC warapper in ISE without using EDK example_design UCF file is contain PİN for EDK designer. My design already  is not working because the  board recieving  package all times if we didn't implement any bit file : )

 

Now please help me for use EMAC wrapper in ISE without EDK. . . İ can't use UCF file from example design because i think  this UCF file can use for EDK ..

 

 

Expert Contributor
sushantm
Posts: 284
Registered: ‎04-02-2011
0

Re: Virtex-5 EMAC wrapper problem

Hello friend,

 

Can I know you are using simple TRI-Mode Ethernet MAC i.e(soft IP) or Embedded Tri mode Ethernet MAC which is available as hard ip in Virtex-5.

I would like to request you to generate a simple eample design with your devlopment board type or else write your own ucf,if you have a custom board.

 

Then try to make one ISE project and those files there.

if you face any issues then do let me know.

 

Thanks,

Sushant

 

 

--Sushant Mahajan
---------------------------------------------------------------------------------------------------------------------------------------------------------------------
Signature:

1.Have you ever tried typing your question into Google? If not you should before posting.
Too many results? Try adding site:www.xilinx.com
2.Read the datasheet and user guide. Have you read the user guide in detail ? Can you find the user guide?
3. Search the forums for similar topics.
4.I have neither found any similar thread in existing forum nor web-search is helpful to me.What should I do ?
Post your issue in detail comprehensive format on the relevant
forum.
5. Do not post the same question on multiple forums,please search and post it on relevant forum.
6. Do not raise a new topic or question on someone else's thread, start a new thread!
7. Students/Newbies: Copying code is not the same as learning to design.
8. "It does not work" is not a question which can be answered. Provide much details (with webaddress, datasheet links,etc..).
and make sure to be specific!
9. You are not charged extra fees for comments in your code,It will help others to understand well.
10.If someone answers your question, mark the post with "Accept as solution". If you see a particularly good and informative post, consider giving it Kudos (the star on the left).
Contributor
y4664
Posts: 30
Registered: ‎10-23-2010
0

Re: Virtex-5 EMAC wrapper problem

i'm using Vİrtex5 Embedded TRI-Mode Ethernet MAC but there is available TRI-Mode Ethernet MAC i have Virtex 5 OPENSPARC LX110T board thank you
Contributor
y4664
Posts: 30
Registered: ‎10-23-2010
0

Re: Virtex-5 EMAC wrapper problem

i'm still waiting your reply.. i didn't solve my problem. it will make me crazzy

Contributor
y4664
Posts: 30
Registered: ‎10-23-2010
0

Re: Virtex-5 EMAC wrapper problem

i think my problem is about my Ethernet Card  because my Ethernet Card is Fast Ethernet that means i can't use SGMII or GMII and i tried implement Ethernet MAC Wrapper with MII interface. This worked. i can see send package and recieve package From FPGA-->PC  and PC--->FPGA

But why  TX led alwayss on  i don't know. it seems i solved my problem at now... Thankss y4664 :)  

 

Expert Contributor
sushantm
Posts: 284
Registered: ‎04-02-2011
0

Re: Virtex-5 EMAC wrapper problem

Hey,

 

Its glad to know that you solvd the issue.

Thats right if your PC is not having fast ethernet port 10/100/1000 mbps then you have to use MII interface for 10/100 mbps.

Tx led is continously high means it is transmitting continously.

Ideally when the link is established it send/receive data some (arp/null) packets,you can use network protocol analyser to view the same.

 

Sorry for the delay.

 

Thanks,

Sushant

--Sushant Mahajan
---------------------------------------------------------------------------------------------------------------------------------------------------------------------
Signature:

1.Have you ever tried typing your question into Google? If not you should before posting.
Too many results? Try adding site:www.xilinx.com
2.Read the datasheet and user guide. Have you read the user guide in detail ? Can you find the user guide?
3. Search the forums for similar topics.
4.I have neither found any similar thread in existing forum nor web-search is helpful to me.What should I do ?
Post your issue in detail comprehensive format on the relevant
forum.
5. Do not post the same question on multiple forums,please search and post it on relevant forum.
6. Do not raise a new topic or question on someone else's thread, start a new thread!
7. Students/Newbies: Copying code is not the same as learning to design.
8. "It does not work" is not a question which can be answered. Provide much details (with webaddress, datasheet links,etc..).
and make sure to be specific!
9. You are not charged extra fees for comments in your code,It will help others to understand well.
10.If someone answers your question, mark the post with "Accept as solution". If you see a particularly good and informative post, consider giving it Kudos (the star on the left).
Contributor
y4664
Posts: 30
Registered: ‎10-23-2010
0

Re: Virtex-5 EMAC wrapper problem

hi, sushantm  thank you. Now i want to use UDP sender instead of adress_swapp. What do you suggest about this step

 

Expert Contributor
rcingham
Posts: 2,010
Registered: ‎09-09-2010
0

Re: Virtex-5 EMAC wrapper problem

Assuming that you know the Destination MAC and IP addresses, writing a module to generate the appropriate UDP and IP headers is fairly straight-forward exercise in state-machine design.

I would recommend sticking with IPv4 for the moment, and sending a null checksum in the UDP header.

------------------------------------------
"If it don't work in simulation, it won't work on the board."