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

Комментарии • 14

  • @alvinaug3844
    @alvinaug3844 4 года назад +6

    sir, i think u have to use bit[3:0][7:0] byte;

    • @SystemverilogAcademy
      @SystemverilogAcademy  4 года назад +3

      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.

    • @alvinaug3844
      @alvinaug3844 4 года назад

      @@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.

    • @SystemverilogAcademy
      @SystemverilogAcademy  4 года назад +1

      Thanks, will try that :)

    • @shreemit-travelvideosin4k550
      @shreemit-travelvideosin4k550 2 года назад

      I also had the same doubt, hence came to comment section. Thanks Ajith Sir for the clarification.

  • @tahirsengine
    @tahirsengine 4 года назад

    Awesome lecture. Lush channel.

  • @krishnakittu6637
    @krishnakittu6637 4 года назад +2

    Do more videos , helpfull

  • @bennguyen1313
    @bennguyen1313 2 года назад

    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 ]

    • @SystemverilogAcademy
      @SystemverilogAcademy  2 года назад

      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.

  • @srinivasb4955
    @srinivasb4955 3 года назад

    Hi
    can you explain the packed and unpacked array in single array
    please

    • @SystemverilogAcademy
      @SystemverilogAcademy  3 года назад

      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];