Vectors and Arrays
Declaring buses, memories, reg [7:0] mem [0:255].
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?
Related Articles
Introduction to HDLs
Verilog vs VHDL, simulation vs synthesis.
12 min read
Verilog Operators
Arithmetic, logical, bitwise, reduction, shift, concatenation.
10 min read
Port Connection Rules
Input, Output, Inout, reg/wire connection rules.
6 min read
Verilog Module Structure
Module, ports, endmodule, instance hierarchy.
4 min read
Loops in Verilog
For, while, repeat, forever loops.
8 min read