VHDL Data TypesScalar Types 3 |
TYPE binary IS ( ON, OFF ); ...some statements ... ARCHITECTURE test_enum OF test IS BEGIN PROCESS (X) VARIABLE a: binary; BEGIN a := ON; -- OK ... more statements ... a := off; -- OK ... more statements ... END PROCESS; END TEST; |