Forum Discussion
Altera_Forum
Honored Contributor
16 years agoGenerate-for loop to reset array?
Using Modelsim, I can do this in some module: ... reg [7:0] ram0 [63:0]; reg [7:0] ram1 [63:0]; reg [7:0] ram2 [63:0]; reg [7:0] ram3 [63:0]; wire strobe; wire ...
Altera_Forum
Honored Contributor
16 years agofor-loops are often used as a short form to reduce the length of repetitive but parallel code segments.