.. _Add Generic to Entity:

Add Generic to Entity
=====================


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

.. figure:: ../../images/common/vhdl_quick_fix_add_generic_list.png
	:align: center

Place the editor cursor on the error's line and press :kbd:`Ctrl+1`, select :guilabel:`Add generic ...` from the list of quick fix proposals and press :kbd:`Enter`.

.. figure:: ../../images/common/vhdl_quick_fix_add_generic_after.png
	:align: center


.. tip::

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

	:ref:`Add New Generic to Entity`.

