Activity
-
jeffrey became a registered member 3 weeks, 5 days ago
-
Léo became a registered member 1 month ago
-
Francois replied to the topic Using WaitForTransaction/RequestTransaction in a testbench in the forum OSVVM 1 month ago
Thanks Jim, that solved my problem.
Regards,
Francois
-
Max became a registered member 1 month ago
-
Jim Lewis replied to the topic Using WaitForTransaction/RequestTransaction in a testbench in the forum OSVVM 1 month ago
Hi Francois,
Look at package OsvvmLibraries/Common/src/StreamTransactionPkg.vhd and see StreamRecType.
Note that each type in there is either a special type from OSVVM’s ResolutionPkg (see OsvvmLibraries/osvvm)
or by creating a custom resolution function, as was done for the enumerated type, StreamOperationType,
that was defined in the package.…[Read more] -
Francois replied to the topic Using WaitForTransaction/RequestTransaction in a testbench in the forum OSVVM 1 month ago
Hi Jim,
I did create my own record:
type test_command_type is (AssertResetCmd, DeassertResetCmd, AssertEnableCmd, DeassertEnableCmd, RunCounterCmd, StopCounterCmd, ReadCounterCmd, DoneCmd);
type CounterRecType is
record
rdy : RdyType;
ack : AckType;
cmd : test_command_type;
counter : STD_LOGIC_VECTOR(7 downto…[Read more] -
Jim Lewis replied to the topic Using WaitForTransaction/RequestTransaction in a testbench in the forum OSVVM 1 month, 1 week ago
Hi Francois,
The VC in the OSVVM library use either osvvm_common.StreamTransactionPkg.StreamRecType (for send and get type transactions – used by UART, AxiStream, xMii) or osvvm_common.AddressBusTransactionPkg.AddressBusRecType (for read and write type transactions – used by Axi4Manager, Axi4Memory, DpRam, WishboneManager,…[Read more] -
Francois started the topic Using WaitForTransaction/RequestTransaction in a testbench in the forum OSVVM 1 month, 1 week ago
I have implemented testbenches using OSVVM for a while now, but only on very simple components. I am now investigating using the full OSVVM framework to manage more complicated DUTs. I created a test environment to train myself on using VCs and implementing a test sequencer, but ran into a problem where I get the error:
** Error:…[Read more]
-
Juri became a registered member 1 month, 1 week ago
-
Rory became a registered member 1 month, 1 week ago
-
Florian became a registered member 1 month, 2 weeks ago
-
Navya became a registered member 1 month, 2 weeks ago
-
Graeme became a registered member 1 month, 2 weeks ago
-
Albert became a registered member 1 month, 3 weeks ago
-
Jim Lewis wrote a new post 1 month, 3 weeks ago
OSVVM 2025.06
The 2025.06 release adds: Build Directories Tcl procedure CreateTestCaseCommonPkg Tcl procedure RunAllTests Questa – new vs. old script flows Clock […]
-
Jim Lewis replied to the topic All AffirmIf Pass, but OSVVM HTML Report Returns NOCHECKS in the forum OSVVM 1 month, 4 weeks ago
If the CoverReport process is removed, then the “Stim” process can end with std.env.stop – which is typically how OSVVM ends the test cases.
— Stimulus Generator
Stim: process
variable RandA : RandomPType;
variable RandB : RandomPType;
variable allDone : boolean := false;
variable nCycles : natural := 0;
begin…[Read more] -
Jim Lewis replied to the topic All AffirmIf Pass, but OSVVM HTML Report Returns NOCHECKS in the forum OSVVM 1 month, 4 weeks ago
One final thing to try. If you like the Alert/AffirmIf printing, you might also like the log printing better than the vhdl Report statement. In the “Stim” process you could change these to logs:
log("Number of simulation cycles = " & to_string(nCycles));
log("Coverage holes: " & to_string(CountCovHoles(cp_A_B)));
Logs have levels.…[Read more]
-
Edward became a registered member 1 month, 4 weeks ago
-
Jim Lewis replied to the topic All AffirmIf Pass, but OSVVM HTML Report Returns NOCHECKS in the forum OSVVM 1 month, 4 weeks ago
This step is recommended, but not required. Do it after you get the above running.
To get the HTML based Functional Coverage reports, you need to use the singleton rather than the older, deprecated shared variable approach.
This requires updating your architecture declarations, “InitCoverage”, “Sample”, and “CoverageReport” processes as…[Read more]
-
Jim Lewis replied to the topic All AffirmIf Pass, but OSVVM HTML Report Returns NOCHECKS in the forum OSVVM 1 month, 4 weeks ago
This step is recommended, but not required. Do it after you get the above running.
While I SetTestName, SetLogEnable can be called concurrently, it is more normal to call them in the process that is controlling the overall test. Currently this is the “Stim” process but we will return to this:
Stim: process
[Read more]
variable RandA : RandomPType;… - Load More