08-05-2009 12:03 AM
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.
Solved! Go to Solution.
08-10-2009 06:41 AM
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.
10-28-2009 02:42 AM
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.
10-28-2009 12:49 PM - edited 10-28-2009 12:49 PM
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.
10-29-2009 08:15 AM
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.
10-30-2009 08:53 AM
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.
11-03-2009 01:50 PM
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:
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:
Depending again on your installation and choice of simulator, the path to the files may look like this.
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. :)
11-03-2009 10:03 PM
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 :
11-04-2009 02:28 PM
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.
11-05-2009 03:00 PM
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.