You don't need generate . Just using a for loop in an always block will work.
always @(posedge clk) begin for( int i=0 ; i<16 ; i=i+1 ) begin L[i+1] <=
A few questions you might want to think about:
- What are the sizes of tires
L and R ? [15:0] ? - Where do you assign the values
L[0] and R[0] ? - Are you sure that
i+1 , when i reaches 15, will still be within your bus?
Marty source share