Jim Lewis
-
Jim Lewis replied to the topic Configuring the AXI-Lite WSTRB in the forum OSVVM 2 years, 4 months ago
Hi Adam,
I am not sure what that means. What are you trying to do? In Axi4Lite, strb is a byte strobe that indicates the corresponding 8 bits is part of the write. The strb will be active when Valid is active. This may be multiple clock cycles if Ready is not also active.Does the dpRAM only accept full 32 bit writes? Maybe this device…[Read more]
-
Jim Lewis replied to the topic Learning OSVVM with AXI4 in the forum OSVVM 2 years, 4 months ago
Hi Adam,
The AxiStreamTransmitter and AxiStreamReceiver both have randomization in them. There is a corresponding test case that has good examples in it, TbStream_SendGetRandom1.vhd. You can find it in OsvvmLibraries/AXI4/AxiStream/TestCases. It was just updated (meaning just before this post) to better show the different use models for…[Read more] -
Jim Lewis replied to the topic Learning OSVVM with AXI4 in the forum OSVVM 2 years, 4 months ago
Oops. It took me until now to push the files to GitHub properly.
-
Jim Lewis replied to the topic Barrier synchronization with integer_barrier in the forum OSVVM 2 years, 4 months ago
Agreed that SetDebugMode is enough for what you are doing. SetInteractiveMode = SetDebugMode + SetLogSignals + Stop Simulation when analyze or simulate error occurs.
I use SetInteractiveMode false when running a set of simulations in CI or as a regression as I want to see results from all tests, but SetInteractiveMode when debugging.
-
Jim Lewis replied to the topic Simulating Backpressure with the AXIS VC in the forum OSVVM 2 years, 4 months ago
Hi Adam,
Adding random delays is a work in progress. I am posted about updates in https://osvvm.org/forums/topic/learning-osvvm-with-axi4#post-2209.Best Regards,
Jim -
Jim Lewis replied to the topic Learning OSVVM with AXI4 in the forum OSVVM 2 years, 4 months ago
Hi Adam,
I just pushed a new version of Axi4Manager.vhd with random delays. They maintain backward compatibility, and hence, you have to turn on the randomization features. No documentation yet. I still have to add random delays to Axi4Memory and Axi4Subordinate – I also need to add them to the VTI versions of the VC. Also the initial delay…[Read more] -
Jim Lewis replied to the topic Barrier synchronization with integer_barrier in the forum OSVVM 2 years, 4 months ago
Hi Jason,
Resolution functions are a VHDL-1987 feature. So Ashenden’s VHDL Designers Guide should have a good description of them. I will describe them briefly here too.In VHDL-2008, element based resolution functions were extended to support array objects. So std_logic_vector is now defined as:
subtype std_logic_vector is (resolved)…[Read more] -
Jim Lewis replied to the topic Learning OSVVM with AXI4 in the forum OSVVM 2 years, 5 months ago
Hi Adam,
WRT randomness in dispatching each channel, that is what I am currently working on. I added it to AxiStream in a Beta form in an earlier OSVVM release – it has changed some on the Dev branch. I will be adding it to Axi4 VC next. Each channel will be independent, so a write data should randomly happen prior to write address, as will…[Read more] -
Jim Lewis replied to the topic OSVVM, Questa – Fails to Compile OSVVM in the forum OSVVM 2 years, 5 months ago
Hi Jamie,
The working library (denoted as work in VHDL) is the library into which you are currently compiling. Hence, the OSVVM packages use the name work to reference items (use work.TranscriptPkg.all).Currently VHDL context clauses do not allow the usage of the library work. Hence, you see the usage of OSVVM there.
Diving a little…[Read more]
-
Jim Lewis replied to the topic Simulating Backpressure with the AXIS VC in the forum OSVVM 2 years, 6 months ago
Hi Adam,
I have added some beta features to the 2023.04 release to see if we can address this better. As a Beta feature, there is no documentation yet – as it may change. See AxiStream/TestCases/TbStream_SendGetRandom1.vhd.Best Regards,
Jim -
Jim Lewis wrote a new post 2 years, 6 months ago
OSVVM 2023.04 Release
Summary of 2023.04 Changes Updated co-simulation environment to support both Streaming Interfaces as well as Address Bus Interfaces. More details […] -
Jim Lewis replied to the topic Creating Asynchronous Clocks in the forum OSVVM 2 years, 6 months ago
Hi Adam,
Not yet. Are you interested in doing a pull request against TbUtilPkg?Best Regards,
Jim -
Jim Lewis replied to the topic LibraryUnit adding scripts to simulate in the forum OSVVM 2 years, 7 months ago
LibraryUnit in this case is the name which you used with simulate, hence, either the name of your testbench or configuration that runs your testbench. Often, I try to make this the same as the TextCaseName, but it does not have to be.
In VHDL, LibraryUnit is an analyzed Design Unit and from the LRM,
A design unit is
either an entity… -
Jim Lewis replied to the topic Simulating Backpressure with the AXIS VC in the forum OSVVM 2 years, 8 months ago
Hi Adam,
Currently the features that control these is described on pages 26 and 27 of the AxiStream_user_guide.pdf in OsvvmLibraries/Documentation. There are two controls for this:
RECEIVE_READY_BEFORE_VALID – this is true by default and allows TReady to be generated even if TValid is not asserted.
RECEIVE_READY_DELAY_CYCLES – Number of…[Read more] -
Jim Lewis wrote a new post 2 years, 8 months ago
Co-simulation with OSVVM
By Simon Southwell, OSVVM CoSim Technical Lead Introduction I have written previously about co-simulation in my series of LinkedIn articles about using the […] -
Jim Lewis wrote a new post 2 years, 8 months ago
OSVVM 2023.01 Release
Summary of 2023.01 Changes Co-simulation environment that supports running software (C++) in a hardware simulation environment. Added […] -
Jim Lewis wrote a new post 2 years, 10 months ago
Summary of 2022.12 ChangesUpdated StartUp.tcl to use OSVVM_TOOL environment variable to determine which tool is run when none is found
Updated scripts for Synopsys VCS and Cadence Xcelium […]
-
Jim Lewis replied to the topic Questa-Intel & Reports in the forum OSVVM 2 years, 10 months ago
Is that the Questa Intel edition or another edition?
-
Jim Lewis replied to the topic Expected alerts generation in the forum OSVVM 2 years, 10 months ago
Hi Anna,
Two thoughts on that.First, there is no need for an expected SLVERR to be an actual test case error. The following is from p37 of the Axi4_VC_user_guide.pdf that is in the documentation repository:
By default, the expected value for BRESP and RRESP are OKAY. When testing a subordinates response to an incorrect address, a SLVERR is…[Read more]
-
Jim Lewis replied to the topic Verification with SystemVerilog or VHDL in the forum OSVVM 2 years, 10 months ago
Hi Oliver,
There is an OSVVM SPI model at: https://github.com/noasic/SPIMy long term plan is to clone it. It is a candidate for inclusion in OSVVM.
Best Regards,
Jim - Load More