Advertisement
AlexanderAntonov

Untitled

Nov 2nd, 2022
816
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. parameter SOME_SIZE=10
  2.  
  3. generate
  4.    
  5.     genvar i;
  6.  
  7. for (i = 0; i < SOME_SIZE; i = i + 1)
  8. begin : rep_inst
  9.         assign some_dst[i] = some_src0[i] * some_src1[i];
  10.  
  11.         some_module # (some_parameter) some_instance
  12.                 (clk_i, rst_i, some_src0[i], some_src1[i]);
  13.     end
  14.      
  15. endgenerate
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement