Jim Lewis
-
Jim Lewis replied to the topic Checking AXI data when using WSTRB in the forum OSVVM 1 month, 2 weeks ago
Hi Jon,
Which OSVVM VC are you using?For AXI4 Manager, it writes a U to memory in locations when WSTRB is 0. The U will not be stored in memory. For reading, there is no indication the data is valid or not. Hence, if your burst FIFO is organized as words, you will need to exclude those bits from comparing to X”020100–“. The ‘-‘ is…[Read more]
-
Jim Lewis replied to the topic Problem simulating with genrics in the forum OSVVM 1 month, 2 weeks ago
Be sure to try setting the generic defaults via the component (if used) or entity (if component not used).
-
Jim Lewis replied to the topic Problem simulating with genrics in the forum OSVVM 1 month, 2 weeks ago
In VendorScripts_Questa (if version is 2025 or newer) or VendorScripts_Siemens, the generic switch is set by the following:
# -------------------------------------------------
proc vendor_generic {Name Value} {return "-g${Name}=${Value}"
}According to the Questa command reference,
-g <Name>=<Value> …[Read more]
(optional) Assigns a value to all s… -
Jim Lewis replied to the topic Issue with xMiiMacTransmitter.vhd in the forum OSVVM 2 months ago
Hi Jerome,
I suspect that I agree.It seems to be in:
* xMiiMacTransmitter.vhd (as you reported)
* xMiiPhyRxTransmitter.vhd
* xMiiPhyTxReceiver.vhdDo you concur that all of these should be updated?
They pass all my tests – but only because they all have the same issue.
I have updated these and pushed them to the dev branch of OSVVM.
Best…[Read more]
-
Jim Lewis replied to the topic NVC Simulation Error in the forum OSVVM 2 months ago
Hi Dave,
Is get_component_name a function that has an optional boolean parameter and returns type string?
It would help to see its definition, however, I will make some guesses.I have seen this issue before when the optional parameter is type integer, but never with type boolean.
With type integer, in this context, it is correct if…[Read more] -
Jim Lewis replied to the topic Problem with the AXI stream receiver in the forum OSVVM 2 months ago
Hi Jon,
What is the value of TValid during that time? If you do a get and TValid is true, the VC will receive data.To avoid these sort of things, I usually hold off calling Get until the DUT is out of reset.
Best Regards,
Jim -
Jim Lewis replied to the topic XSIM 2025.2 issue with CovPType in procedure in the forum OSVVM 2 months ago
Hi Matthias,
XSIM seems to be a moving target. In 2024.2 similar things happened. Some of what worked in 2023.2 no longer worked. I was able to change things so they worked again – and many things that did not work previously started to work.Best Regards,
Jim -
Jim Lewis replied to the topic Problem simulating with genrics in the forum OSVVM 2 months ago
Hi Jon
Is the generic at the top level of the testbench or is it at a lower level?Best Regards,
Jim -
Jim Lewis wrote a new post 2 months, 3 weeks ago
OSVVM 2026.01
The OSVVM 2026.01 release adds one big feature, PCIe CoSim Verification Component, and numerous smaller updates. PCIe CoSim Verification […]
-
Jim Lewis replied to the topic Is there a built-in way in OSVVM to detect build failure without parsing logs? in the forum OSVVM 3 months, 1 week ago
Using a test reporter is the intended method to get this information in CI
-
Jim Lewis replied to the topic Is there a built-in way in OSVVM to detect build failure without parsing logs? in the forum OSVVM 3 months, 1 week ago
Hi Amine,
If you are still in Tcl, there are a number of variables you can check with the build status. Currently these are not documented, but they should be. Lets start here:* ::osvvm::ReportBuildName – Name of Build
* ::osvvm::BuildStatus – PASSED / FAILED
* ::osvvm::TestCasesPassed
* ::osvvm::TestCasesFailed
*…[Read more] -
Jim Lewis replied to the topic Is there a built-in way in OSVVM to detect build failure without parsing logs? in the forum OSVVM 3 months, 3 weeks ago
Hi Amine,
CI will be running modelsim from the bash command line. And you can use:
vsim -c -do "exit -code [catch {source $OsvvmLibraries/Scripts/StartUp.tcl ; LinkLibraryDirectory ; build RunTest.pro}]The “exit -code” is required to get the return status. What I return error on depends on what reporter I am using.
If I am using a JUnit…[Read more]
-
Jim Lewis replied to the topic Is there a built-in way in OSVVM to detect build failure without parsing logs? in the forum OSVVM 4 months, 1 week ago
By failed, do you mean test case failed or the build process errored out for some reason? OSVVM has are controls for both of these.
From the OSVVM Settings User Guide, you will find that they are controlled by variables:
variable FailOnBuildErrors "true" ;# simulator command had errors[Read more]
variable FailOnReportErrors "false" ;#… -
Jim Lewis replied to the topic Confusion of Axi4Full Testcases in the forum OSVVM 4 months, 2 weeks ago
Hi Veit,
Thanks for the issue reports. I have updated the names so they match. That said, since the test runner compiles and then runs the test case, the test case execution was still correct. I still hate it when the names do not match though.You can also file issue reports like this on the VC’s issue page, such as for this…[Read more]
-
Jim Lewis replied to the topic Using GLBL with OSVVM in the forum OSVVM 4 months, 4 weeks ago
Hi Jon,
Thanks for sticking with this one. Knowing which version of Questa you had made told me I needed to search harder in VendorScripts_Questa.tcl. I found the issue. It is fixed on Dev.If you do not want to update to the Dev branch, you can edit the line in VendorScripts_Questa.tcl that says:
set SimulateOptions [concat $::VsimArgs…[Read more] -
Jim Lewis replied to the topic Using GLBL with OSVVM in the forum OSVVM 4 months, 4 weeks ago
Which version of Questa are you using?
Historically Questa offered either a vsim or a vopt/vsim flow. Up until 2025, OSVVM only supported the vsim flow, but supports both vsim and vopt/vsim flow.
The startup VendorScripts_Siemens.tcl supports the vsim flow. VendorScripts_Questa.tcl supports the vopt/vsim flow.
To choose which one you…[Read more]
-
Jim Lewis replied to the topic Using GLBL with OSVVM in the forum OSVVM 5 months ago
If you make this call:
SetSecondSimulationTopLevel glblThen OSVVM would do:
vsim -c -t ps -lib common_tb TbStream_SendGetBurst1_opt glbl -suppress 8683 -suppress 8684That said, since a library is not specified for glbl, Questa will assume it to be in common_tb. So as a result, Questa may add the common_tb.glbl in their interpretation of…[Read more]
-
Jim Lewis replied to the topic Osvvm LocalScriptsDefault.tcl location in the forum OSVVM 5 months, 3 weeks ago
Hi Senthil,
This is now fixed on the dev branch of OsvvmLibraries on GitHub. You can get the dev branch by doing:git clone --recursive --branch dev https://github.com/osvvm/OsvvmLibrariesBest Regards,
Jim -
Jim Lewis replied to the topic Using Cosimulation Framework with C/C++ Library in the forum OSVVM 5 months, 4 weeks ago
It is Simon doing the heavy lifting.
-
Jim Lewis replied to the topic Using Cosimulation Framework with C/C++ Library in the forum OSVVM 5 months, 4 weeks ago
Hi Eamon,
Simon posted the blog post that hopefully answers your question. See: https://osvvm.org/archives/2830Best Regards,
Jim - Load More