Declare Enum Value

An error is triggered when accessing an enumerated type value which does not exist. DVT provides an easy way to easily declare the missing value.

../../_images/vhdl_quick_fix_declare_enum_list.png

Place the editor cursor on the error’s line and press Ctrl+1, select Declare enum type value … from the list of quick fix proposals and press Enter.

The new value is inserted in the type declaration.

../../_images/vhdl_quick_fix_declare_enum_after.png