Vivado synthesis supports if-else
statements.
- The
if-else
statements 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
begin
andend
keywords. - if-else statements can be nested.