Vectors and Arrays

Declaring buses, memories, reg [7:0] mem [0:255].

Darshan N
Updated: 19 March 2026
4 min read

Verilog Memory Vectors

Test your knowledge on this topic.

Question 1 of 3

Q1.Given the declaration reg [7:0] mem [0:255], what is the depth of this memory array?