Activity
-
Jim Lewis replied to the topic Ordre of stimulus in the forum OSVVM 3 years, 2 months ago
Hi Omaima,
First, I should note you are using the older version of CoveragePkg that has a protected type interface. I suggest that you upgrade to the newer version that has a singleton interface. Please see CoveragePkg_user_guide.pdf in the OsvvmLibraries/Documentation.Coverage is a data structure. Calls are done in order and items…[Read more]
-
Jim Lewis replied to the topic GENERATION OF RANDOM BYTES USING RANDOM PACKAGE ONLY in the forum OSVVM 3 years, 2 months ago
Hi Nagella
To debug your code start by reading your code out loud. Do at least 2 iterations of your process.What we see is that you are calling InitSeed before generating each value.
Why is this a problem? Verification uses pseudo random. Each seed always produces the same sequence of values. For verification pseudo random is required so your…[Read more]
-
Andres became a registered member 3 years, 2 months ago
-
Nagella started the topic GENERATION OF RANDOM BYTES USING RANDOM PACKAGE ONLY in the forum OSVVM 3 years, 2 months ago
HI,
I am trying to generate a random bytes to the uart transmitter module.But in the output waveform only one byte is generated throughout the simulation…below is a piece of testbench code if anything is wrong pls correct me.
note:uat_data is a input signal to the uart transmitter module.
process
variable RV:RandomPType;
variable…[Read more]-
Hi Nagella
To debug your code start by reading your code out loud. Do at least 2 iterations of your process.What we see is that you are calling InitSeed before generating each value.
Why is this a problem? Verification uses pseudo random. Each seed always produces the same sequence of values. For verification pseudo random is required so…[Read more]
-
-
Jim Lewis replied to the topic Code Coverage with Aldec Riviera Pro in the forum OSVVM 3 years, 2 months ago
Hi Michael,
I may have specified an extra attribute during simulation. You can adjust for this by doing:
SetCoverageSimulateOptions "-acdb_cov sbm -cc_all"
But it still did not report anything, so I read more into the the Aldec Riviera-PRO reference manual:
> Riviera-PRO does not automatically recognize the finite state machines from code. The…[Read more] -
Jim Lewis replied to the topic Code Coverage with Aldec Riviera Pro in the forum OSVVM 3 years, 2 months ago
Hi Michael,
The intention is that it reports statemachine options. Maybe I am missing something in the scripts?You can set the specific options you want with SetCoverageAnalyzeOptions and SetCoverageSimulateOptions. The defaults for Riviera-PRO are as follows. I thought the “m” here is for statemachines.
`
SetCoverageAnalyzeOptions…[Read more] -
Michael replied to the topic Code Coverage with Aldec Riviera Pro in the forum OSVVM 3 years, 2 months ago
Hey Jim,
One more quick question now that the expression and branch coverage report is working.
I see that Riviera has robust FSM code coverage reporting capabilities which I hope to be able to leverage in conjunction with OSVVM. I was wondering if the SetCoverageAnalyzeEnable function allows a user to gather FSM code coverage? Currently the…[Read more]
-
Michael replied to the topic Code Coverage with Aldec Riviera Pro in the forum OSVVM 3 years, 2 months ago
Hey Jim,
Thanks for the quick response. You’re suggestion worked and I am now only collecting the desired coverage information.
I am not running Riviera-PRO in batch mode, but I will be able to work with the current setup thanks to your reply.
Regards,
Michael -
Jim Lewis replied to the topic Code Coverage with Aldec Riviera Pro in the forum OSVVM 3 years, 2 months ago
Hi Michael,
First a quick answer:
DoSetCoverageSimulateEnable true
before you build OSVVM libraries as well as anything else you don’t want coverage collected for.Why:
Currently when analyze is run for Riviera-PRO by default we do:
vcom -${VhdlVersion} -dbg -relax -work ${LibraryName} {*}${OptionalCommands} ${FileName}
The
-dbg
flag…[Read more] -
Michael started the topic Code Coverage with Aldec Riviera Pro in the forum OSVVM 3 years, 2 months ago
Hello,
I am trying to incorporate Aldec’s code coverage with OSVVM and I seem to be running into an issue which I suspect is due to a scripting error on my part.
This is my current .pro file which I am using to compile and simulate my project, which I call using a .do file in Riviera:
(the .do file is where I source the startup.tcl and build the…[Read more] -
Jim Lewis wrote a new post 3 years, 2 months ago
Abstract
Some methodologies (or frameworks) are so complex that you need a script to create initial starting point for writing verification components, test cases, and/or the test harness. SystemVerilog + UVM […] -
Jim Lewis wrote a new post 3 years, 2 months ago
For some time now, OSVVM has been doing releases every month. Sometimes I talk about them, sometimes they just get posted to the downloads page.
Over the past several releases OSVVM has:
Im […]
-
Paul changed their profile picture 3 years, 2 months ago
-
Lukas became a registered member 3 years, 2 months ago
-
Alexander became a registered member 3 years, 2 months ago
-
Lukas became a registered member 3 years, 2 months ago
-
Mason became a registered member 3 years, 2 months ago
-
Alexander became a registered member 3 years, 2 months ago
-
omaima started the topic Ordre of stimulus in the forum OSVVM 3 years, 2 months ago
Hello hope you all are doing well,
I have a DUT of an adder which take 2 values as input and calculate the addition .
I have written an OSVVM testbench for this , as an exercice in familiarizing myselef with osvvm , and I have some questions.
To generate the values of the inputs I called the procedure GenBin 2 times inside the AddCross procedure…[Read more] -
Steve became a registered member 3 years, 2 months ago
- Load More