Skip to content

Instantly share code, notes, and snippets.

@jz5

jz5/gist:7539521

Created Nov 19, 2013
Embed
What would you like to do?
named loop generate
// foo[0].i_m ~ foo[SIZE-1].i_m がインスタンスされる
for (i = 0; i < SIZE; i = i + 1) begin : foo
m i_m(.clk(clk), .rst_n(rst_n), .x(x[i]), .y(y));
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment