I am working in Vivado using Verilog. Assume I have 2 registers:
reg [3327:0]a;
reg [1023:0] b;
Each clock cycle Id like to take the 13 bits from a and 4 bits from b and multiply them.
Clock 1: a[12:0] * b[3:0]
Clock 3: a[25:13] * b[7:4]
What is the most efficient way to iterate through these registers? Something tells me that using a for loop like this would not be correct?