Jim Lewis
-
Jim Lewis wrote a new post 4 years, 8 months ago
The OSVVM 2020.10 release is finally out.
Why 2020.10?
Yes I realize it is now late November. So why 2020.10? In late October, the code was done and marked as 2020.10 with the expectation that the […] -
Jim Lewis replied to the topic OSVVM 2020.08 New user experience in the forum OSVVM 4 years, 8 months ago
Hi Richard,
I have been thinking about package that would have some global signaling events – such as
signal TestDone : integer_barrier;
signal ResetDone : integer_barrier;
We could add something like:
signal TestErrorCount : integer ;
The idea is that if all tests had access to something like this, then it could be picked up automatically by…[Read more]
-
Jim Lewis replied to the topic What do you use for test suite orchestration? in the forum OSVVM 4 years, 8 months ago
Hi Richard,
This is definitely in scope of a good discussion.In 2020.08, OSVVM upgraded our scripting. Currently everything is TCL based, but the intent is to also have a BASH based executor of the scripting environment. One of the goals of the current approach is to create a simulation execution environment that is tool independent – ie:…[Read more]
-
Jim Lewis replied to the topic Synopsys VCS-MX in the forum OSVVM 4 years, 9 months ago
Your Script has a couple of things out of order. Specifically
VendorCovApiPkg.vhd must be compiled before CoveragePkg.vhd,
OsvvmContext.vhd must be compiled last (or almost last),
RandomPkg.vhd must be compiled before CoveragePkg.vhd,
ScoreboardGenericPkg.vhd must be compiled before ScoreboardPkg_int.vhd and ScoreboardPkg_slv.vhd.Our compile…[Read more]
-
Jim Lewis replied to the topic Synopsys VCS-MX in the forum OSVVM 4 years, 9 months ago
Hi Tim,
Sorry I missed your additional discussion.This warning is ok. The code is legal VHDL code. It would be more obvious if they would print the message as:
Warning: NULL_RANGE_TYPE has a null range, Range 0 downto 1
Null ranges are legal. Often people end with them unintentionally, so the vendors decided to issue a warning.…[Read more]
-
Jim Lewis replied to the topic Synopsys VCS-MX in the forum OSVVM 4 years, 9 months ago
Hi Tim,
> Is OSVVM supported by the latest Synopsys VCS-MX?
It is my understanding that it is, however, I have not done any testing with it – yet. Hopefully toward the end of the year, that will be changing.> I didn’t notice any scripts in the OsvvmLibaries/Scripts repository.
It is on my todo list. Does VCS-MX have a tcl interface or do y…[Read more] -
Jim Lewis replied to the topic OSVVM 2020.08 New user experience in the forum OSVVM 4 years, 10 months ago
#2 Did you run the testbench examples before modifying them? The test TbAxi4_MemoryBurst (which runs when you do
build ../OsvvmLibraries/AXI4/Axi4/testbench
) does bursts. The first burst in the test is 3 32 bit words – IE 12 bytes and the address is word aligned.What is 1 wider? Did you mean 64 bits? AXI data supports a power of 2…[Read more]
-
Jim Lewis replied to the topic OSVVM 2020.08 New user experience in the forum OSVVM 4 years, 10 months ago
#1 I use “run all” to run my tests. std.env.stop will stop the test. However, stop works much like a breakpoint, so the simulation can be continued. I am ok with this.
If you wanted to prohibit the testbench from running further after it stops, use std.env.finish instead. It also allows an integer parameter, so you can call it…[Read more]
-
Jim Lewis replied to the topic OSVVM 2020.08 New user experience in the forum OSVVM 4 years, 10 months ago
Hi Chengshan,
>1. Could the test bench be stopped gracefully by stopping all clocks?
Do you have a method to gracefully stop clocks? Everything I have seen
has overhead incurred at least once per clock cycle (or some multiple of
the clock cycle).OTOH, I really like std.env.stop. It only incurs overhead when
it is actually stopping the…[Read more] -
Jim Lewis replied to the topic OSVVM 2020.08 New user experience in the forum OSVVM 4 years, 10 months ago
Hi Chengshan,
3. Correct. The 2020.08 Axi4Responder_Transactor.vhd is intended to be a register access model and does not support bursting. As you noted, Axi4Memory.vhd, implements memory models and does support bursting. This is noted in the README.md at: https://github.com/osvvm/AXI4.
Do you need a transactor that supports bursting? It…[Read more]
-
Jim Lewis replied to the topic OSVVM 2020.08 New user experience in the forum OSVVM 4 years, 10 months ago
Hi Chengshan,
2. The test sequencer interface to AXI verification component burst FIFO is 8 bits. The AXI verification component assembling this into the size of the data bus. So you will always push bytes into the FIFO – even if you make the data bus bigger or smaller. It was tested with a 32 bit AXI data bus, however, it is intended to…[Read more]
-
Jim Lewis replied to the topic OSVVM 2020.08 New user experience in the forum OSVVM 4 years, 10 months ago
Hi Chengshan,
4. Typo! You are correct, AxRegion should be 4 bits. I will fix that
in the next release. Anything else like that is an issue?What do you mean you had to change the width to make it compile? Is this to
connect it to your design? It compiles and runs fine with the OSVVM models
which all use the same incorrectly sized…[Read more] -
Jim Lewis replied to the topic OSVVM 2020.08 New user experience in the forum OSVVM 4 years, 10 months ago
Hi Chengshan,
First, thanks for the feedback.Are you using this with a particular design?
You have four questions, so I will give 4 separate answers.
Best Regards,
Jim -
Jim Lewis wrote a new post 4 years, 10 months ago
OSVVM Model Independent Transactions
I take great joy in reuse – this is true whether it is a plastic bag or VHDL code. OSVVM Model Independent Transactions were added in the 2020.07 release and are di […] -
Jim Lewis wrote a new post 4 years, 10 months ago
It has been a busy summer for OSVVM. With the world working out of home offices, all of our training has shifted to on-line – which fortunately we started doing 7+ years ago. Not having to travel has freed up […]
-
Jim Lewis wrote a new post 4 years, 11 months ago
INTRODUCTION
Most people don’t think of VHDL as a verification language. However, with the Open Source VHDL Verification Methodology (OSVVM) utility and verification component libraries it is. Using OSVVM we can […] -
Jim Lewis wrote a new post 4 years, 12 months ago
Up your VHDL verification game with the latest from Open Source VHDL Verification Methodology (OSVVM).
OSVVM 2020.07 focuses on Verification Components. AXI4 Full models were added. Axi4Lite, Axi […]
-
Jim Lewis wrote a new post 5 years ago
-
Jim Lewis wrote a new post 5 years, 1 month ago
Ever wanted to encapsulate all the signals of an interface (such as AXI4Lite, I2C, …) into a single record only to be confounded by not being able to specify the direction for the elements of the record?
In t […]
-
Jim Lewis wrote a new post 5 years, 2 months ago
VHDL-2019 was approved by IEEE RevCom in September 2019 and published in December 2019. It was an effort supported mainly by VHDL users – from requirements definition to LRM writing. This is different from t […]
- Load More
One of the main things what OSVVM models differentiate from other available solutions is the extensive documentation. I like that very much.
I remember closed source models which only have very little documentation and second, were written very poor. I used an FPGA-vendors eMMC model some years ago which was created in addition to the MMC controller unit we use. The model was only very basic and without doc, only the controller had some basic docs. After digging through the (Verilog) code I added some fundamental things like an associative array to allow data write/read checks coverage and assertions. Even with my little knowledge of (System) Verilog I was able to do that better.