Generate Loop Statements - 2025.2 English - UG901

Vivado Design Suite User Guide: Synthesis (UG901)

Document ID
UG901
Release Date
2025-12-05
Version
2025.2 English

A generate-for loop creates one or more instances that you can place inside a module.

Use the generate-for loop the same way you use a normal Verilog for loop, with the following limitations:

  • The generate-for loop index has a genvar variable.
  • The assignments in the for loop control refers to the genvar variable.
  • The contents of the for loop are enclosed by begin and end statements.
  • A unique qualifier names the begin statement.