Add Generic to Entity

An error is triggered when assigning a value to a generic that is not defined in an entity.

../../_images/vhdl_quick_fix_add_generic_list.png

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

../../_images/vhdl_quick_fix_add_generic_after.png

Tip

If the entity is instantiated multiple time across the project, the Refactor Add Generic Wizard is opened.