01-22-2018 05:24 AM
Using Vivido 2017.2 with ISim on Windows 10
Im putting a test bench together that includes "encrypted" source code IP from a third party vendor. The design within the IP is quite large (~ 20% of a Zynq-7000 device)
Im finding that every time I make a change to my test bench and wish to re-run the simulation (which I do using "relaunch simulation") the tool goes away and recompiles & elaborates my entire codebase, including the design in the IP core, even though the source code has not changed. Because the design is quite big, this is taking a frustratingly long amount of time.
I've had a look through the settings but can't find anything that seems it would stop the tool from doing a global recompile every time I relaunch the sim.
Any suggestions are greatly appreciated!
01-22-2018 08:33 AM
Relaunch simulation is expected to recompile the simulation sources and restart the simulation. Since all the files from design sources are by default included in the simulation fileset hence it will recompile the entire files including test bench and design sources.
See if un-checking the below option helps you.
01-22-2018 10:28 AM
It is amazing,
software compiles sorted out a long time ago only to compile what was needed,
yet hardware, the equivalent longer to do tan a software compile, yet we still go for everything every time
one day the simulation tools will take note of time stamps or whatever.
01-23-2018 05:52 AM
I found something that might help.
Under Settings > Project Settings > Simulation > Compilation there is a check-box (unchecked by default) for xsim.compile.incremental
After checking this my compile time reduced from 9s to 1s ... however the tool is still taking close to a minute to run what it reports as "launch simulation" and during this phase, I still see messages indicating that its compiling the logic in the IP core I'm using, even though a previous message indicates that compilation is complete.
Hopefully ug900-vivado-logic-simulation will provide some insight - In there I see that its possible to enable incremental analysis/elaboration
01-23-2018 10:03 AM
dont think simulation does elaboration though