Reply To: XSIM 2024.2 Runaway Memory Usage

Why OSVVM™? Forums OSVVM XSIM 2024.2 Runaway Memory Usage Reply To: XSIM 2024.2 Runaway Memory Usage

#2678
Jim Lewis
Member

From the Scripts_user_guide.pdf:
To run OSVVM scripts in XSIM, start Vivado and then run the StartXSIM using:
source <path-to-OsvvmLibraries>/OsvvmLibraries/Scripts/StartXSIM.tcl

This will then set the simulator to XSIM and instead of analyzing MemoryGenericPkg.vhd, it will do:
analyze deprecated/MemoryGenericPkg_xilinx.vhd

All of the tests in $OsvvmLibraries/RunAllTests.pro should run. I was testing on Windows 10 with Xilinx 2024.2.

I noted that it is terribly slow – takes 8X longer to run OSVVM regressions than the next slowest simulator.

The OsvvmBuild.log is created when you start a build. It should exist until the test completes (either successful or not) and then it is moved to the log/.log

Are you running your own test case? Be aware if you use OSVVM’s memory that it creates an array that is 2**(Address_Length-10) in length. Generally, the package generates warnings when the AddressBits are 34. I am looking into new structures for the memory model to reduce allow the memory to be larger.