Activity
-
Hassan replied to the topic Log, Alert and Affirm in OSVVM in the forum OSVVM 1 year ago
That means normally we would not need to use Alert, but only the Affirm functions?
By the way, I did attend your course on OSVVM many years ago, before COVID. I was quite unwell in that week when I attended and could not absord the finer points. I had one more colleague with me. That colleague left a few wekks later and a redundancy drive a few…[Read more]
-
Jim Lewis replied to the topic Log, Alert and Affirm in OSVVM in the forum OSVVM 1 year ago
> Q2. Why does one need “Alert” functions when “Affirm” functions also exists?
Alert is for parameter checks – like is max >= min. These are properties that if violated, the design (or test case) is broken.Affirm is for self checking. Each check is counted. A test quality is a function of the number of checks and we report that.
-
Jim Lewis replied to the topic Check functions in OSVVM in the forum OSVVM 1 year ago
What you find in the documentation is what is what is officially supported.
The scoreboard package was released to our classes in 2006. The AlertLog capability was added in 2015. So there is some history there. Certainly doing
Get(TRec, Data) ;
expectedData := pop(SbID) ;
AffirmIfEqual(TbID, Data, expectedData) ;Is very similar…[Read more]
-
Jim Lewis replied to the topic Dissecting the OSVVM AXI Master BFM in the forum OSVVM 1 year ago
The Axi4Manager has a TransactionDispatcher, which receives transactions from the Test Sequencer (TestCtrl) and dispatches these out to interface handlers (such as WriteAddressHandler). The interface handlers connect to the DUT and represent independently running pieces of the VC. The communication between the TransactionDispatcher and…[Read more]
-
Hassan started the topic Check functions in OSVVM in the forum OSVVM 1 year ago
When looking at the VC documentation and related code, I came across Check functions of OSVVM. Here are a few examples:
E:My_DesignsFPGAOsvvmLibrariesCommonsrcAddressBusTransactionArrayPkg.vhd (14 hits)
Line 303: procedure ReadCheck (
Line 504: procedure ReadCheckBurstVector (
Line 514: procedure ReadCheckBurstIncrement (
Line…[Read more] -
Hassan started the topic Log, Alert and Affirm in OSVVM in the forum OSVVM 1 year ago
The AlertLogPkg contains three type of functions:
Log; this has following levels: ALWAYS, DEBUG, FINAL, INFO, PASSED
Alert; this has following variants: Alert, AlertIf, AlertIfNot, AlertIfEqual, AlertIfNotEqual, AlertIfDiff. THe alert has following levels: FAILURE, ERROR, WARNING.
Affirm; this has following variants: AffirmIf, AffirmIfNot,…[Read more]
-
Hassan replied to the topic Running AXI4 Simulation from OSVVM Libraries repository in the forum OSVVM 1 year ago
I understand that all of these are basically FIFOs. The term “scoreboard” need not confuse oneself.
-
Hassan replied to the topic Dissecting the OSVVM AXI Master BFM in the forum OSVVM 1 year ago
The AXI4Manager source code contains these lines in the architecture declaration part:
signal WriteAddressFifo : osvvm.ScoreboardPkg_slv.ScoreboardIDType ;
signal WriteDataFifo : osvvm.ScoreboardPkg_slv.ScoreboardIDType ;signal ReadAddressFifo : osvvm.ScoreboardPkg_slv.ScoreboardIDType ;
signal…[Read more] -
Hassan replied to the topic Dissecting the OSVVM AXI Master BFM in the forum OSVVM 1 year ago
It seems that so many IDs are needed to create a hierarchical output for difference aspects of the BFM in the test result report.
-
Jim Lewis replied to the topic Riviera / MATLAB Cosim with OSVVM Scripting in the forum OSVVM 1 year ago
Hi Brad,
Short answer: yes you must run either simulate or RunTest to get the coverage reportsBehind the scenes when simulate finishes it saves the code coverage data base. When a test suite finishes, the code coverage from each test case is merged together. When the build finishes, it merges together the coverage from each test suite and…[Read more]
-
Brad Adam replied to the topic Riviera / MATLAB Cosim with OSVVM Scripting in the forum OSVVM 1 year ago
Hey, I appreciate the insight and I actually worked my way to this action after noticing that the simulate command called vsim. I guess one more question to make sure I’m understanding these scripts correctly.
Currently, I know the following script will allow my to run my test and see the results:
SetCoverageSimulateEnable true
analyze…[Read more]
-
Jim Lewis replied to the topic Dissecting the OSVVM AXI Master BFM in the forum OSVVM 1 year ago
Hi Hassan
OSVVM VC creates an AlertLogID for different classes of checkers. It is helps tracking the sources of errors – hence accelerates debug. In your own VC, you can get by with just a ModelID.Params is another singleton data structure that holds settings for the VC. It is setup like a generalized union of values.
Best Regards,
Jim -
Jim Lewis replied to the topic Riviera / MATLAB Cosim with OSVVM Scripting in the forum OSVVM 1 year ago
Hi Brad,
First thing to determine is what switches you need set to vcom and vsim.If you look at the log or html log, you can determine what OSVVM is currently doing – or you can read the OsvvmProjectScripts.tcl (older releases) or OsvvmScriptsCore.tcl (renamed in 2024.05 to support future refactoring).
You can use SetExtendedAnalyzeOptions…[Read more]
-
Hassan replied to the topic How to improve VHDL in the forum VHDL 1 year ago
What is the primary benefit of this thread since the synthesis tool vendors will take maybe a decador or more to add simple new features for the language.
We need an effort to upgrade the flow that is used with VHDL. We need something like LLVM for VHDL. The netlist fitter can be handled by the tools. But tool for synthesis and compilation for…[Read more]
-
Hassan started the topic Dissecting the OSVVM AXI Master BFM in the forum OSVVM 1 year ago
This thread has been created to ask questions about the Axi4Manager found in the OSVVM AXI4 portion. This is the full AXI4 Master BFM. There is a separate BFM for the AXI4-Lite. There are two primary variants of the Axi4Manager. These are one variant without VTI (Axi4Manager) and one with VTI (Axi4ManagerVti). These only differ in how the…[Read more]
-
Brad Adam replied to the topic Riviera / MATLAB Cosim with OSVVM Scripting in the forum OSVVM 1 year ago
Actually, I found the RunTest code in OsvvmProjectScripts.tcl, and the best way to add additional options for this would be following Example_LocalScriptsDefaults.tcl I assume?
-
Brad Adam started the topic Riviera / MATLAB Cosim with OSVVM Scripting in the forum OSVVM 1 year ago
Hey,
So I’ve run into a bit of an issue with the usual OSVVM scripted flow and a testbench which aims to use some MATLAB cosim features. In short, I can successfully cosim if I don’t use RunTest or any of the TestName/analyze/simulate flow. In my experience the code coverage enabled via SetCoverageAnalyzeEnable/Set CoverageSimulateEnable only…[Read more]
-
Hassan replied to the topic Running AXI4 Simulation from OSVVM Libraries repository in the forum OSVVM 1 year ago
The AXI4Manager source code contains these lines in the architecture declaration part:
signal WriteAddressFifo : osvvm.ScoreboardPkg_slv.ScoreboardIDType ;
signal WriteDataFifo : osvvm.ScoreboardPkg_slv.ScoreboardIDType ;signal ReadAddressFifo : osvvm.ScoreboardPkg_slv.ScoreboardIDType ;
signal…[Read more] -
Ivan became a registered member 1 year ago
-
Jim Lewis wrote a new post 1 year ago
OSVVM 2024.05 Release
The 2024.05 release adds: Report Updates SPI VC Additions Minor Updates Late Updates – after 2024.05 Report Updates OSVVM automatically […]
- Load More