System Reference Summary
:
Statements
:
OpenROAD Language Statements
: If-Then-Else Statement
Share this page
If-Then-Else Statement
This statement chooses between alternative paths of execution.
It has the following syntax:
if
condition
then
statementlist
[{
elseif
condition
then
statementlist
}]
[
else
statementlist
]
endif;