Skip to content

Instantly share code, notes, and snippets.

@jz5
Created November 19, 2013 02:54
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
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