jon
-
jon started the topic Sending an array between processes in the forum OSVVM 1 month ago
I have a DUT with an AXI stream input interface that accepts an Ethernet packet. I want to be able to create a testbench to generate packets and input them into the DUT. I have a procedure that accepts some input parameters and then outputs an array of values containing the packet. What would be the best way to pass this array from the generate…[Read more]
-
jon replied to the topic Checking AXI data when using WSTRB in the forum OSVVM 3 months, 3 weeks ago
Hi Jim
I am using the AXI memory model. I think it is all working as it should. I actually tried using the ‘-‘ in the scoreboard data for the inactive bytes. I then used check() and it worked well.
Thanks
Jon -
jon replied to the topic Checking AXI data when using WSTRB in the forum OSVVM 4 months ago
I just created a function to sero out the unused bytes in the read data and scoreboard data.
-
jon replied to the topic Problem simulating with genrics in the forum OSVVM 4 months ago
It looks like the problem was that I was defining the generic as a default value in the testbench top. Doing that I needed to use the -G option. If i delete that statement then the -g option works.
-
jon replied to the topic Problem simulating with genrics in the forum OSVVM 4 months ago
Setting it to -G solved the problem.
Thanks
Jon -
jon replied to the topic Checking AXI data when using WSTRB in the forum OSVVM 4 months ago
But actually I still have the same issue at the end of the burst if the bytes arent a multiple of the bus width.
-
jon replied to the topic Checking AXI data when using WSTRB in the forum OSVVM 4 months ago
I just realized that I can read the AXI memory using a byte address which then shifts the data into the correct position.
-
jon started the topic Checking AXI data when using WSTRB in the forum OSVVM 4 months ago
I am using the AXI memory to write a burst. The first beat has the WSTRB set to 1110 (first byte no used). I am using a scoreboard to check the data, and I set the expected data to be 020100UU. But when I call check the scoreboard fails. It seems to be checking the full value rather than only the three active bytes. Is this the correct way to do…[Read more]
-
jon replied to the topic Problem with the AXI stream receiver in the forum OSVVM 4 months ago
Hi Jim
Yes that was the issue.
Thanks
Jon -
jon replied to the topic Problem simulating with genrics in the forum OSVVM 4 months ago
Hi Jim
Sorry for the delay.
The genric is in the testbench file where all items are instantiated (DUT, AXI compoents etc).
Thanks
Jon -
jon started the topic Problem simulating with genrics in the forum OSVVM 5 months ago
I am trying to change a generic in my testbench when I start the simulation (using Questasim base). I am using the following script :-
TestName tb_test1
analyze tb_test1.vhd +acc
simulate tb_test1 [generic USE_ADV_MODE 1]
I get the following output from the simulator
vopt {*}-work dma_mm2s -L dma_mm2s tb_test1 common.glbl -o tb_test1_opt…[Read more] -
jon replied to the topic Problem with the AXI stream receiver in the forum OSVVM 5 months ago
I found the issue. The problem was that the reset was undefined right at the start which was causing some issues.
-
jon started the topic Problem with the AXI stream receiver in the forum OSVVM 5 months ago
I am using the AXI stream receiver to receive data from a DMA controller. I am using Get to read values from it. The problem I am seeing is that I am reading two words of all zeros before I get any activity on the AXI stream receiver. Once I get data then I can read that fine. But I dont understand why I am getting these two values. I do call Get…[Read more]
-
jon replied to the topic Using GLBL with OSVVM in the forum OSVVM 7 months, 1 week ago
Hi Jim
Thanks for fixing this.
Jon
-
jon replied to the topic Using GLBL with OSVVM in the forum OSVVM 7 months, 1 week ago
I am not sure what I am doing wrong. I am using the latest Questa base so I am using the VSIM/VOPT flow.
I compiled GLBL into my common_tb library where are the other design files are located. It just seems the issue is with the vsim command. Having coomon_tb.glbl makes it fail with the error shown in the previous post.vsim -c -t ps -lib…[Read more] -
jon replied to the topic Using GLBL with OSVVM in the forum OSVVM 7 months, 2 weeks ago
To summarize I dont think its necessary to have GLBL in a seperate library. It seems as though I need to have GLBL in the vopt step but not in the vsim step. The following works, the only difference is that GLBL isnt included for the vsim step. If I use the script then it is included and the simulation wont start because of the error below.
vopt…[Read more] -
jon replied to the topic Using GLBL with OSVVM in the forum OSVVM 7 months, 2 weeks ago
Hi Jim
I compliled GLBL into its own librrary but that didnt help. It seems that I need GLBL included for the vopt step but not in the simulate step. I manually added -L xilinx_glbl to the vopt command and that seemed to work. But I am not sure how I make the script add the library to vopt.
Thanks
Jon
-
jon replied to the topic Using GLBL with OSVVM in the forum OSVVM 7 months, 2 weeks ago
It seems that the issue is to do with the Questasim vsim command. The script is doing the following
vsim -c -t ps -lib common_tb TbStream_SendGetBurst1_opt common_tb.glbl -suppress 8683 -suppress 8684If I remove the common_tb.glbl in the above the it runs.
-
jon started the topic Using GLBL with OSVVM in the forum OSVVM 7 months, 2 weeks ago
I am trying to use the Xilinx XPM library in a simulation and it needs glbl.v. I compliled it using the Xilinx source into my work library. I also added the following to my script
SetSecondSimulationTopLevel glblBut I am getting the following warning
Warning: (vsim-3824) Optimized (MyTest_opt) and unoptimized (glbl) top-level design units…[Read more] -
jon replied to the topic Using OSVVM in Vivado in the forum OSVVM 8 months, 2 weeks ago
Hi Jim
Thanks for the explantion.
Jon
- Load More