Jim Lewis
-
Jim Lewis replied to the topic Expected failures in custom VC based on AddressBusRecType in the forum OSVVM 2 years, 6 months ago
Hi Per,
As you have noted, unlike StreamRecType, AddressBusRecType does not have a params field.What I do in the Axi4Manager VC is use SetModelOptions to set an WB_ERR expected and a WB_RTY expected – sometimes coded together, sometimes coded separately. The AXI4 response codes that need to be checked are BRESP and RRESP. The way we check…[Read more]
-
Jim Lewis replied to the topic New to OSVVM / problem running the example in the forum OSVVM 2 years, 6 months ago
Hi Phil,
Which OSVVM release are you running? What does the output say?Can you email me a copy of the sim/log/ModelSim-2020.3/OsvvmLibraries_RunDemoTests.log and the OsvvmRun.yml. My email is jim at SynthWorks.com
Best Regards,
Jim -
Jim Lewis replied to the topic 31 bit maximum data width for memory package in the forum OSVVM 2 years, 6 months ago
Hi Michael,
Testing a solution on the dev branch of OSVVM. I am thinking it will be ready shortly – I am thinking Monday.Best Regards,
Jim -
Jim Lewis replied to the topic 31 bit maximum data width for memory package in the forum OSVVM 2 years, 6 months ago
Hi Michael,
For Axi4Memory subordinate, I made the memory byte wide and wrote each byte separately. That made handling byte enables easy. However, it does not make reading a memory file easy.I have plans to rewrite the storage aspect so it can be more flexible in both sizes and policies. Currently the policy is if there is an X, make all…[Read more]
-
Jim Lewis started the topic 2022.06a is Released in the forum OSVVM 2 years, 6 months ago
2022.06a was just released. It addresses an issue when creating the HTML based log file. The variable TestCaseName was a local to Log2Html when it needed to be a variable.
-
Jim Lewis wrote a new post 2 years, 7 months ago
Summary of Changes in 2022.06
Scripting: At build completion, print single-line, text-based build summary
Scripting: Improved Error Handling. (continuing from 2022.05)
Scripting: Updated HTML log […] -
Jim Lewis started the topic failed: wrong # args: should be "Simulate2Html … in the forum OSVVM 2 years, 7 months ago
Just a quick note. Another user was running a test case and ended up
with the following message:# ** Error: simulate For tcl errorInfo, puts $::osvvm::SimulateErrorInfo
# ** Error: simulate 'TbDpRam_BasicReadWrite ' failed: wrong # args: should be "Simulate2Html TestCaseName TestSuiteName"There are actually two errors here.
1) The TCL…[Read more] -
Jim Lewis replied to the topic SpaceWire VC in the forum OSVVM 2 years, 8 months ago
Hi Michael,
I looked at this a little bit in the past.The approach to modeling here requires thinking about the interface side (the handlers), the internal control side (for initialization and other tasks), and the transaction side (here TX and RX). I think in TestCtrl, transactions for TX and RX still need to be able to be dispatched…[Read more]
-
Jim Lewis replied to the topic Ordre of stimulus in the forum OSVVM 2 years, 8 months ago
Omaima
In the future, please start a new question for a new question.AddCross adds items to the coverage model, so you need to do this before generating values. If you do additional AddCross, that simply adds to the coverage model – even in this case when they are redundant.
Also, I no longer recommend the while loop for this…[Read more]
-
Jim Lewis replied to the topic GENERATION OF RANDOM BYTES USING RANDOM PACKAGE ONLY in the forum OSVVM 2 years, 8 months ago
Hi Nagella,
I typically use an active low reset (ie: 0 when active). Did I guess wrong in your case?
Let me be a little more abstract. Lets assume the constant ACTIVE has the value that
reset has when it is active.process
[Read more]
variable RV:RandomPType;
variable b:std_logic_vector( 7 downto 0);
begin
RV.Initseed(RV’instance_name);
-- i… -
Jim Lewis wrote a new post 2 years, 8 months ago
Abstract
OSVVM has grown tremendously over the last couple of years. This period saw simulator independent scripting, test reporting, model independent transactions, virtual transaction interfaces, and […] -
Jim Lewis wrote a new post 2 years, 8 months ago
Abstract
According to the 2020 Wilson Verification Survey FPGA verification engineers spend 46% of their time debugging. As a result, we need good scripting to simplify running tests and good reports to […] -
Jim Lewis wrote a new post 2 years, 8 months ago
I just posted 2022.05a release.
2022.05 added html transcripts capability to a larger set of tools. Unfortunately this capability requires a new version of TCL that is not supported by older tools, such as […]
-
Jim Lewis replied to the topic Ordre of stimulus in the forum OSVVM 2 years, 8 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 2 years, 8 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]
-
Jim Lewis posted a new activity comment 2 years, 8 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…[Read more]
-
Jim Lewis replied to the topic Code Coverage with Aldec Riviera Pro in the forum OSVVM 2 years, 8 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 2 years, 8 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] -
Jim Lewis replied to the topic Code Coverage with Aldec Riviera Pro in the forum OSVVM 2 years, 8 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] -
Jim Lewis wrote a new post 2 years, 8 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 […] - Load More