Vivado synthesis supports if-else statements.
- The
if-elsestatements use true and false conditions to execute statements.- If the expression evaluates to true, the first statement is executed.
- If the expression evaluates to false, x, or z, the else statement is executed.
- A block of multiple statements is executed using
beginandendkeywords. - if-else statements can be nested.