Using if-else Statements - 2025.2 English - UG901

Vivado Design Suite User Guide: Synthesis (UG901)

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

Vivado synthesis supports if-else statements.

  • The if-else statements use true and false conditions to execute statements.
    • If the expression evaluates to true, execute the first statement.
    • If x, z, or false are evaluated, the else statement executes them.
  • A block of multiple statements is executed using begin and end keywords.
  • You can nest if-else statements.