Skip to content

XSIM libraries are not compiled into VHDL_LIBS #75

@dbee-lumacron

Description

@dbee-lumacron

When running XSIM on latest vivado tools 2025.2 with:

source <path-to-OsvvmLibraries>/OsvvmLibraries/Scripts/StartXSIM.tcl
build  ../OsvvmLibraries
build  ../OsvvmLibraries/RunDemoTests.pro

I can see that VHDL_LIBS/XSIM-2025.2 is created, but it's never populated.

Instead, everything goes into xsim.dir. I assume this means that the library directory scripting isn't working:

  • SetLibraryDirectory [LibraryDirectory]
    • Set the directory in which the libraries will be created to LibraryDirectory.
    • If LibraryDirectory is not specified, use the CurrentSimulationDirectory.
    • By default, libraries are created in <LibraryDirectory>/VHDL_LIBS/<tool version>/.

I also observe that we get folders in xsim.dir for each testcase e.g. osvvm_TbAxi4.TbAxi4_DemoMemoryReadWrite1.

Do the same set of steps for Questa results in expected behaviour. VHDL_LIBS/Base-2025.1 and doesn't include osvvm_TbAxi4.TbAxi4_DemoMemoryReadWrite1.

P.S. I only got two failures running xsim with RunDemoTests, both were in AxiStream and related to log files.

%% 3410000 ps Alert ERROR in Default, diff OsvvmTemp_XSIM/TbStream_SendGetDemo1.log C:/Users/dbee/repos/OsvvmLibraries/AXI4/AxiStream/testbench/../ValidatedResults//TbStream_SendGetDemo1.log, File miscompare on line 1

%% 1240000 ps Alert ERROR in Default, diff OsvvmTemp_XSIM/TbStream_SendGetPacketBurst1.log C:/Users/dbee/repos/OsvvmLibraries/AXI4/AxiStream/testbench/../ValidatedResults//TbStream_SendGetPacketBurst1.log, File miscompare on line 2

Is it perhaps a windows-specific issue? Let me know if I should create a separate issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions