stackprogramer
Full Member level 3
How can I initialize a reg array in Verilog...Any offer?
Code:
reg m_shift_value[3:0];
initial begin
//Initial registers
assign {m_shift_value[3],m_shift_value[2],m_shift_value[1],m_shift_value[0]} = {0, 32, 64, 96};
end