Reply To: Using OSVVM in Vivado

Why OSVVM™? Forums OSVVM Using OSVVM in Vivado Reply To: Using OSVVM in Vivado

#2819
Jim Lewis
Member

Hi Jon,
I recommend getting all of OsvvmLibraries. Then from the Script_user_guide.pdf, to start XSIM, do the following:

1.3.9 Xilinx XSIM
Using OSVVM in Xilinx XSIM is under development. So far, Xilinx seems to be able to
compile OSVVM utility library, however, we have not had any of our internal test cases
pass.
To run OSVVM scripts in XSIM, start Vivado and then run the StartXSIM using:
source <path-to-OsvvmLibraries>/OsvvmLibraries/Scripts/StartXSIM.tcl

Note that with XSIM 2024.2, OSVVM is working in XSIM. Since Vivado tools is such a large download,
I have not tested with a 2025 release yet. Soon.

Then Run the Demos (modified to just run AXI4):

1.4 Run the Demos
Do the following in your simulator command line:

build ../OsvvmLibraries
build ../OsvvmLibraries/AXI4/Axi4/RunDemoTests.pro

These will produce some reports, such as OsvvmLibraries_RunDemoTests.html. We will
discuss these in the next section, OSVVM Reports.

Best Regards,
Jim