Enum
Table of Contents

Declares an enumeration, a module containing a list of constants as labels.

Syntax

It is possible for two labels to have the same value. Any label without an expression or value is automatically one more than the previous label. An unlabeled first label defaults to zero.

.enum name
    label [= expression],
    label [= expression]

See Also

endmodule

Unless otherwise stated, the content of this page is licensed under GNU Free Documentation License.