Activity
-
Jim Lewis replied to the topic AHB, AHB-Lite, APB and AXI3 BFMs in OSVVM in the forum OSVVM 11 months, 3 weeks ago
AXI3 should be supported by the AXi4 VC. I looked at either AHB or APB – they could be quick to implement. The harder part is verifying the VC.
Currently high priority on my list is Avalon MM and Avalon Stream.
-
Jim Lewis replied to the topic Running AXI4 Simulation from OSVVM Libraries repository in the forum OSVVM 11 months, 3 weeks ago
> Does OsvvmLibraries contain test plan that describes what specific tests exist?
I have not published one. I have it in my notebook. It would be a good idea to publish it.
> These TCL commands TestSuite, RunTest and SkipTest appear to be defined in the OsvvmProjectScripts.tcl. There are other commands like build, analyze, include for which…[Read more]
-
Jim Lewis replied to the topic Running AXI4 Simulation from OSVVM Libraries repository in the forum OSVVM 11 months, 3 weeks ago
> Does OsvvmLibraries contain test plan that describes what specific tests exist?
I have not published one. I have it in my notebook. It would be a good idea to publish it.
> These TCL commands TestSuite, RunTest and SkipTest appear to be defined in the OsvvmProjectScripts.tcl. There are other commands like build, analyze, include for which…[Read more]
-
Hassan started the topic AHB, AHB-Lite, APB and AXI3 BFMs in OSVVM in the forum OSVVM 11 months, 3 weeks ago
AMBA contains many buses, some of which are old but still used possibly for simpler low bandwidth applications. These include things like AHB, AHB-Lite and APB. It also includes AXI3. Is there any plan to create BFMs for these as well?
I am only trying to understand the level of effort being spent to create BFMs for popular data buses for the…[Read more]
-
Hassan replied to the topic Running AXI4 Simulation from OSVVM Libraries repository in the forum OSVVM 11 months, 3 weeks ago
OK, so here is how I am able to run specific test.
First I goto a suitable location where QuestaSim can save its generated files. In this case I did
cd {E:My_DesignsFPGAOsvvmLibraries}
Then I ran the following commands:
source ./Scripts/StartUp.tcl
include ./osvvm/osvvm.pro
include ./Common/Common.pro
include ./AXI4/AXI4.prolibrary…[Read more]
-
Hassan replied to the topic Running AXI4 Simulation from OSVVM Libraries repository in the forum OSVVM 11 months, 3 weeks ago
First lets look at RunDemoTests.pro
TestSuite Axi4Full
library osvvm_TbAxi4if {$::osvvm::ToolNameVersion ne “XSIM-2023.2”} {
include ./testbench# Make TestCases the frame of reference
set ::osvvm::CurrentWorkingDirectory [file join $::osvvm::CurrentWorkingDirectory TestCases]
RunTest TbAxi4_DemoMemoryReadWrite1.vhd
RunTest…[Read more] -
Michael became a registered member 11 months, 3 weeks ago
-
Hassan replied to the topic Running AXI4 Simulation from OSVVM Libraries repository in the forum OSVVM 11 months, 3 weeks ago
Jim I agree with you that once a test passes, it will never ever be run interactively and only in regression. I agree that the only time a test is run interactively is when a test is being developed or it fails and a closer look at waves is required.
The simple answer to the question is that to know what tests exist, we look at the test plan or…[Read more]
-
Jim Lewis replied to the topic Running AXI4 Simulation from OSVVM Libraries repository in the forum OSVVM 11 months, 3 weeks ago
Getting back to your question again, if the test cases are compiled, OSVVM can do
LinkLibraryDirectory ; # Make libraries in the OSVVM library directory visible - not necessary after a build
[Read more]
ListLibraries ; # Lists the libraries OSVVM knows about.
vdir -lib <libraryName> ; # Questa/ModelSim & RivieraPRO/ActiveHDL
library… -
Jim Lewis replied to the topic Running AXI4 Simulation from OSVVM Libraries repository in the forum OSVVM 11 months, 3 weeks ago
As an addendum to my last comment …
Note there are shortcuts when calling the scripts via include/build. So the following are equivalent:
build $OsvvmLibraries/OsvvmLibraries.pro
[Read more]
build $OsvvmLibraries/OsvvmLibraries ; # Automatically adds .pro extension
build $OsvvmLibraries ; # looks for OsvvmLibraries.pro or… -
Jim Lewis replied to the topic Running AXI4 Simulation from OSVVM Libraries repository in the forum OSVVM 11 months, 3 weeks ago
> With VUnit I can pass a switch to the run.py and get list of tests and then run a specific test. I can choose whether to run it in in GUI mode or batch mode. How can I do that with OSVVM AXI4 tests?
> I can see that with OSVVM, each test is a different architecture of the same entity. But can OSVVM list tests like we do with VUnit and then run…[Read more]
-
Hassan replied to the topic Running AXI4 Simulation from OSVVM Libraries repository in the forum OSVVM 11 months, 3 weeks ago
Thanks Jim. I know you are busy but still taking time out to write here.
With VUnit I can pass a switch to the run.py and get list of tests and then run a specific test. I can choose whether to run it in in GUI mode or batch mode. How can I do that with OSVVM AXI4 tests?
I can see that with OSVVM, each test is a different architecture of the…[Read more]
-
Jim Lewis replied to the topic Running AXI4 Simulation from OSVVM Libraries repository in the forum OSVVM 11 months, 3 weeks ago
The scripting provided as part of OSVVM is hierarchical. If we take a look at $OsvvmLibraries/OsvvmLibraries.pro, we will see:
include ./osvvm/osvvm.pro
include ./Common/Common.proif {[DirectoryExists UART]} {
include ./UART/UART.pro
}
if {[DirectoryExists AXI4]} {
include ./AXI4/AXI4.pro
}
if {[DirectoryExists DpRam]} {
include…[Read more] -
Hassan started the topic Running AXI4 Simulation from OSVVM Libraries repository in the forum OSVVM 11 months, 3 weeks ago
So I am specifically interested in learning to use the BFMs that come with OSVVM. Right now it is the AXI4 MM and AXI4 Stream BFM. There are several questions that need to be answered some of which I have answers for. Anyway, lets start from the beginning.
I downloaded the OSVVM libraries using this: $ git clone –recursive…[Read more]
-
Mohcinekaddiiiii became a registered member 11 months, 3 weeks ago
-
Jim Lewis replied to the topic Can OSVVM Verification Component be used in VUnit based testbench? in the forum OSVVM 11 months, 3 weeks ago
OSVVM connects the transaction interface (a signal of a record type) directly connects the test sequencer (our examples use the name TestCtrl) to the verification component – each have ports of the same type – AddressBusRecType for MM/address bus type interfaces. All the information is passed in the record data structure – with dedicated fields…[Read more]
-
Hassan replied to the topic Can OSVVM Verification Component be used in VUnit based testbench? in the forum OSVVM 11 months, 3 weeks ago
VUnit has concept of “actor”
constant my_receiver : actor_t := new_actor(“my receiver”);
This is used in message passing. So the “transaction interface” I guess contains the information that we are interested to pass e.g for MM write it would be address and data and transfer type (single vs burst) and maybe something about delay in clock cycles…[Read more]
-
Daniel became a registered member 11 months, 3 weeks ago
-
Szabolcs became a registered member 11 months, 3 weeks ago
-
Jim Lewis replied to the topic Can OSVVM Verification Component be used in VUnit based testbench? in the forum OSVVM 11 months, 4 weeks ago
Yes. OSVVM calls this capability our Model Independent Transaction Library. It defines a transaction API and a transaction interface. The transaction interface is a record that is intended to be a superset of the information a transaction will need. The transaction API handles everything a transaction needs to do to send a transaction and…[Read more]
- Load More