Hello,
I am coming back to grlib after several years to try NOEL-V, but I cannot get it to work. Here are my steps:
I go to ./design/noelv-xilinx-vc707
Following README, I first issue “make map_xilinx_7series_lib” compilation is fine with no error
I then try “make sim” and I get this error:
vcom -quiet -explicit -O0 -93 -work techmap …/…/lib/techmap/unisim/memory_ultrascale.vhd
** Error: (vcom-11) Could not find unisim.vcomponents.
…/…/lib/techmap/unisim/memory_ultrascale.vhd(33): use UNISIM.vcomponents.all;
I can’t reproduce the error at my end. map_xilinx_7series_lib uses Vivado to compile the Xilinx libraries - among others the unisim library - and maps them in modelsim.ini, so that the simulator can find them. The libraries are compiled to ./xilinx_lib/ so you should be able to find a unisim directory there. Can you please post the output from map_xilinx_7series_lib, so that we can check them.
I tried compiling manually vcomponents:
vcom /softslin/vivado_18.1/Vivado/2018.1/data/vhdl/src/unisims/unisim_VCOMP.vhd -work unisim
Bit it just shifts the issue: after it still cannot find the RAMBxx components inside VCOMP
Thank you! I now realized I used another version of Modelsim than you and when I switch to Modelsim 10.4 I get the same error. Do you have access to a newer version of Modelsim? I tried with 10.6a without getting an error.
The script used for compiling the Xilinx libraries have the -quiet flag set, which removes most of the output. If one mimics what the script environment does without the quiet flag, Vivado gives the following warning:
WARNING: [Vivado 12-5495] Detected incompatible modelsim simulator installation version ‘10.4’! The supported simulator version for the current Vivado release is ‘10.6c’.
The release notes of Vivado 2018.1 lists Modelsim 10.6c as the compatible version, so it’s possible that something doesn’t work as expected when compiling for 10.4, but since the libraries are created by Vivado, the GRLIB script environment doesn’t detect the incompatibility.
I did not know about this incompatibility, thanks for finding out!
The more recent version we have is 10.5 and it is still incompatible, I will ask for a newer version to be installed.
BTW, is there a possibility to simulate the Noel-V using only generic technology to remove dependency to unisim?
I have been trying all combinations of tools, I cannot get it to work.
my admin installed 10.6.c, but is Questasim, not Modelsim. Apparently it changed denomination after 10.5
I can get the simulation to start, but I immediately get an “IU in Error Mode”.
I followed all steps, cannot really understand what I am doing wrong.
Quite a pity there is not a simple “generic” testbench just for simulation. It was one of the strong points of all Leon2: you could get it up and running really fast and then start minding about FPGA…
I took detailed logs of all the steps, I put them on a file sender to avoid clogging up the forum.
We will try to update the NOEL-V template designs to make them easier to simulate for the next GRLIB release. In the mean time, I have prepared a simple generic NOEL-V template design which should be easy to simulate in GRLIB. Please download the noelv-generic (http://gaisler.com/tmp/noelv-generic.tar.gz) template design and place it in the GRLIB/designs directory.
I hope this can get you started trying out our NOEL-V processor.