System Reference Summary : Statements : OpenROAD Language Statements : Case Statement
 
Share this page          
Case Statement
This statement selects one of several possible actions based on the value of an expression. The expression can be any valid OpenROAD data type.
It has the following syntax:
case key of
          valuelist: statement | beginendblock
          {valuelist: statement | beginendblock}
endcase;