AHDL

Case Statement Syntax



The Case Statement has the following BNF syntax:

<case statement> ::=
   CASE <rgroup> IS
      WHEN <choices> => <statements>
      { WHEN <choices> => <statements> }
      [ WHEN OTHERS => <statements> ]
   END CASE;

<choices> ::=
   <constant group> { , <constant group> }

<statements> ::=
   <statement>
   { <statement> }

<statement> ::=
   <boolean equation>
   |   <boolean control equation>
   |   <case statement>
   |   <if then statement>
   |   <if generate statement>
   |   <in-line logic function reference>
   |   <for generate statement>
   |   <assert statement>
   |   <truth table statement>


Back to Top

- Altera -

 

Created by chm2web html help conversion utility.