Course : Systemverilog Verification 1 : L4.1: Arrays in Systemverilog
HTML-код
- Опубликовано: 13 янв 2025
- Join our channel to access 12+ paid courses in RTL Coding, Verification, UVM, Assertions & Coverage
/ @systemverilogacademy
Course : Systemverilog Verification 1 : Start Learning TB Constructs
Course Playlist: • FREE Course : Systemve...
www.systemveri...
Check playlists for more courses Arrays in Systemverilog
Links to useful systemverilog free tutorials and courses are below.
1. SV Beginner Playlist - • Systemverilog for Abso...
a. IC Design Process - • IC Design & Manufactu...
b. First Program in SV - • Systemverilog Training...
c. First TB & Simulation - • Systemverilog Tutorial...
2. Interfaces - • Course : Systemverilog...
3. Modports - • Course : Systemverilog...
4. Fork Join - • Course : Systemverilog...
5. Mailboxes - • Course : Systemverilog...
6. Assignment Statements - • All about Verilog& Sys...
7. Complete Udemy Systemverilog TB Courses for Free
a. TB Beginner 1 - • Systemverilog Free Cou...
a. TB Beginner 2 - • Free Systemverilog Cou...
a. SoC Verification - • Video
sir, i think u have to use bit[3:0][7:0] byte;
You are right, at 3:06 it should have been an an array of size 3 as per the diagram, and so size should be be [3:0] not [2:0].
Thanks Alvin for this correction.
@@SystemverilogAcademy thanks sir for ur great effort.Hopes u will update some lab section also with questa sim tool.It will be helpful for everybody.
Thanks, will try that :)
I also had the same doubt, hence came to comment section. Thanks Ajith Sir for the clarification.
Awesome lecture. Lush channel.
Thanks for the feedback !
Do more videos , helpfull
We will
agree! Thanks to @Systemverilog Academy
Not sure if there's a limit on the number of dimensions that can be synthesized to run on an FPGA.. but I'm having trouble with 3D.
2D seems to work fine.. I have a 32-bit ADC, that has 16 channels.. Libero doesn't seem to have any problem synthesizing a working bitstream, that declares and accesses the array:
reg [ 31 : 0 ] adcData [ 15 : 0 ]; // 16 Channels, 32 bits each
reg [ 31 : 0 ] reading;
adcData [ channel ] [ 31 : 0 ]
Hi Ben,
Sorry that I can't comment more on this as I need to spend some time to check the synthesis behaviour you describe.
Hi
can you explain the packed and unpacked array in single array
please
Hello,
Not sure what exactly you are looking for. It'w common to use both packed & unpacked array declaration with a single variable.
Eg: You wanted to use an array to store say 256 data packets in an array, where each packet is of 32 bit wide. The most common way to declare this array would be,
logic [31:0] packet_arr[256];