Vivado synthesis supports if-else statements.
- The
if-elsestatements 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
beginandendkeywords. - You can nest if-else statements.