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
Visitor
hermes.tsai
Posts: 5
Registered: ‎08-04-2009
0
Accepted Solution

Can ISE simulator run the simulation of the Endpoint Block Plus for PCI Express?

Hi,

 

Can ISE simulator run the simulation of the Endpoint Block Plus for PCI Express?

There are three ways, vcs, ncsim and mti, in user guide(UG341), but no mentioning ISE simulator.

 

Thanks,

Hermes

Xilinx Employee
duthv
Posts: 607
Registered: ‎09-14-2007
0

Re: Can ISE simulator run the simulation of the Endpoint Block Plus for PCI Express?

Hi Hermes,

 

Yes the simulation does work, although it is not officially supported by the PCIe team and this is why you dont see a script for it.

 

This is significantly easier to do with the 11.2 and if you can clarify which PCIe core you are using (V5, V6, S6), I can provide a script that should get you up and running.

 

Thanks

Duth

 

Regular Visitor
manu
Posts: 12
Registered: ‎11-21-2007
0

Re: Can ISE simulator run the simulation of the Endpoint Block Plus for PCI Express?

Hi,

 

I have been trying to simulate the PCIe core for V5 in ISIM for the last 2 days and got into quite a mess.

Still no simulation is running.

I am targetting a Virtex-5 SX50T and I, as well as others, would be extremely grateful to get a script to run the smiulation for version 1.12 of the core in ISE 11.3.

Thanks,

Regards,

Manu

Xilinx Employee
duthv
Posts: 607
Registered: ‎09-14-2007

Re: Can ISE simulator run the simulation of the Endpoint Block Plus for PCI Express?

[ Edited ]

Hi Manu,

 

I have attached a script that works for the device family you specified. I created it for Linux, although these are standard commands so it should work on Windows as well. Just ensure you change the $XILINX/veriilog/src/glbl.v to %XILINX%\verilog\src\glbl.v.

 

You will also see these messages about bad trailing charachters, although you can safely ignore this and it is same as what you would see with the other simulators as well.

 

The main changes are :

 

1. You will need have a script that uses ISim commands - simulate_isim.csh

2. You will need to modify some of the .f files as ISim does not support comments and calling one .f from another .f file. I have filed change requests to add support for this in ISim.

 

Please note - The Xilinx PCIe team does not officially support ISim and this is why you may not get support via the regular support channels.

 

Thanks

Duth

 

Message Edited by duthv on 10-28-2009 01:49 PM
Regular Visitor
manu
Posts: 12
Registered: ‎11-21-2007
0

Re: Can ISE simulator run the simulation of the Endpoint Block Plus for PCI Express?

Hello Duth,

 

Thank you for your help.

I am a fairly new user of ISIM but I have experience in simulation.

The fact is that I cannot find in the ISIM documentation how to run your scripts using command line.

I used the ISE GUI to run the command file simulate_isim_gui.csh, after adding all the source files and correcting `includes issues with them.

but I end up with the same error as without the command file:

 

ERROR:HDLCompiler:559 - "N:/L.57/rtf/verilog/src/unisims/PCIE_2_0.v" Line 2957: Could not find module/primitive <B_PCIE_2_0>.
ERROR:HDLCompiler:559 - "N:/L.57/rtf/verilog/src/unisims/GTXE1.v" Line 2500: Could not find module/primitive <B_GTXE1>.
ERROR:Simulator:778 - Static elaboration of top level Verilog design unit(s) in library work failed

 

I am not sure if it is just me not being able to find the way to run your script properly, or if the script is not used.

Well, I installed on another machine ISE11.2 and the simulation runs very using ISIM, I'm woried I have hit a bug in the libraries.

 

Thanks,

Regards,

Manu

 

Xilinx Employee
duthv
Posts: 607
Registered: ‎09-14-2007
0

Re: Can ISE simulator run the simulation of the Endpoint Block Plus for PCI Express?

Hi Manu,

 

To run the script, you just need to open a command prompt window and execute the script.

 

Doing this inside Proj Nav is a little more tricky and you wont be able to run this script directly inside the ISE GUI Tcl console, as this is intended to run directly in the OS command prompt. If you would like to convert the sample design to PN, then I would recommend that you open a case with Xilnx Technical Support as there is some work involved to get this to work in PN. 

 

http://www.xilinx.com/support/techsup/tappinfo.htm

 

Thanks

Duth

 

Visitor
scottramsey
Posts: 4
Registered: ‎11-03-2009
0

Re: Can ISE simulator run the simulation of the Endpoint Block Plus for PCI Express?

I had the same issue (missing those exact modules), except that I am using Modelsim PE 6.5c for simulation. 

 

I am working with ISE 11.3, and the PCIe V5 embedded core version 1.12. 

 

To solve the issue, I needed to manually locate the source files located within the Xilinx ISE install directory, and compile them into the appropriate library (ie "unisims_ver") within my ModelSim environment. 

 

Depending on your installation structure, it may look like this:

 

"$XILINX\verilog\src\unisims\GTXE1.v"

"$XILINX\verilog\src\unisims\PCIE_2_0.v"

 

 

I had previously performed a full simulation library compilation using the ISE 11.3 GUI/wizard, but apparently it missed some files.

 

Once you locate these files, you may then need to add and compile additional libraries in the "secureip" folder, you may find that now a module named "B_PCIE_2_0" is missing. 

 

In the secureip library, you should have all of the following added:

 

 B_PCIE_A1

 PCIE_2_0_WRAP

 PCIE_A1_WRAP

 PCIE_INTERNAL_1_1_SWIFT

 

Depending again on your installation and choice of simulator, the path to the files may look like this.

$XILINX\secureip\mti.... 

 

I am not sure which one contains the B_PCIE_2_0 module, but adding all of these fixed my sim. 

 

YMMV with other simulators. :)

 

-Scott

 

 

Xilinx Employee
duthv
Posts: 607
Registered: ‎09-14-2007
0

Re: Can ISE simulator run the simulation of the Endpoint Block Plus for PCI Express?

Hi Scott,

 

If you were using Compxlib (Compilation Wizard) to compile your simulation libraries, then you would not need to do these additional steps.

 

If you had to do these additonal steps then something else could be the problem, as complib should be  doing this for you already. Do note you should pick the correct device family when you run compxlib or it will not compile the correct SecureIP blocks for you.

 

More information on Compxlib can be found in the Command Line Tools Reference Guide :

 

http://www.xilinx.com/support/documentation/sw_manuals/xilinx11/devref.pdf

 

Chapter 26.

 

Thanks

Duth

 

Visitor
scottramsey
Posts: 4
Registered: ‎11-03-2009
0

Re: Can ISE simulator run the simulation of the Endpoint Block Plus for PCI Express?

I did use compxlib (GUI, not command line), I selected all devices/familes as well. 

 

I recently did a fresh installation of both Modelsim PE 6.5c and ISE 11.1 -> 11.2 -> 11.3 patches, then ran compxlib.....yet those files were still missing. 

 

I'll have a look at the link, thanks for posting it.

 

-Scott

Xilinx Employee
duthv
Posts: 607
Registered: ‎09-14-2007
0

Re: Can ISE simulator run the simulation of the Endpoint Block Plus for PCI Express?

Hi Scott,

 

Would it be possible for you to open a Case with Xilinx Support on this? I have done this multiple times and not seen a problem.

 

Something odd is going on here.

 

Thanks

Duth