Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- parameter SOME_SIZE=10
- …
- generate
- genvar i;
- for (i = 0; i < SOME_SIZE; i = i + 1)
- begin : rep_inst
- assign some_dst[i] = some_src0[i] * some_src1[i];
- some_module # (some_parameter) some_instance
- (clk_i, rst_i, some_src0[i], some_src1[i]);
- end
- endgenerate
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement