Open anro7 opened 3 years ago
Found my solution in the meantime. Just needed to add some extra simulation options.
vu.set_sim_option("activehdl.vsim_flags", ["-L unisim", "-L work", "-L secureip", "+access", "+r"])
With the extra -L directives, it now looks in all the required libraries.
Could you do a clean compile (--clean
) and also add --log-level=debug
. Then provide the full output,
Also, what version are you using?
Hello,
I am trying to simulate a larger top level design (entire Series-7 FPGA), featuring several transceiver-based IPs. So far, I have been able to simulate this design when not using VUnit (just my normal simulator, which btw is ActiveHDL 11.1). In VUnit however, I run into the following error at elaboration:
From what I have been reading on Xilinx forums, the B_GTPE2_CHANNEL is a primitive originating from the secureip library from Xilinx. In my python script, I have added all the precompiled Vivado libraries as external libraries and also added them as arguments to the vlog command, as follows:
I am also aware of this Xilinx AR https://www.xilinx.com/support/answers/60986.html, where they recommend to compile the libraries using "-family all" directive, in order to solve this error. I am already doing this, but does not seem to help.
To me, this seems like a VUnit problem, specifically that at compilation/elaboration it does not look in all of the available libraries, but only in simprims_ver and lib. Is there any way for me to get around this and force VUnit to look in all external libraries? (I thought it would be sufficient if I add the -l arguments to the vlog command pointing to all the external libraries, but apparently not).
I would be grateful for any suggestions. Thank you.