Reply To: OSVVM: Build part of design and run only single test
Why OSVVM™? › Forums › OSVVM › OSVVM: Build part of design and run only single test › Reply To: OSVVM: Build part of design and run only single test
Hi Hassan,
What version of OSVVM are you using? The current version is 2025.06a.
What simulator and version are you using?
> 1. When only the testbench code was compiled. Why did it say “failed”?
Perhaps you can share the log files with me so I can look at it. Ultimately I need a reproducer test case of this.
Also try puts $::errorInfo
Did you do the exact sequence as above or were there other builds before it?
> 2. How can one open the HTML report that shows details of the build and also the single test that was run?
You need to run the test case with build. So put the RunTest in a *.pro file.
> 3. Without changing the VHDL code, how can one cause the log and debug messages to be
> printed only for failing test but not when the test passes? I am referring to the
> terminal in which the test is running and not the HTML report or any other file generated
> with the transcript.
Ultimately you need to know a test case is going to fail – this may mean running it twice. Once observing that it failed and a second time rerunning it with a method to change the settings.
You can change the settings by:
1) Add a generic to TestCtrl that turns on info and debug messages.
2) Read the log enables from a file using ReadLogEnables. May not allow test wide settings.
I am looking for what is next and am open to suggestions. One thing I need to do is to make sure ReadLogEnables allows test wide settings – either independent of or matching the test case name. Another might be a mechanism to turn on mirroring.