Add New Generic to Entity

To add a new generic to an entity place the editor cursor on the entity name, right-click and select Refactor ‣ Add generic.

In the Add generic wizard you can tune the name, type, width and the default value of the new generic.

../../_images/vhdl_refactor_add_generic_wizard.png

Click Ok to perform the refactoring or Preview to see the changes that are about to be performed in the source code.

../../_images/vhdl_refactor_add_generic_task_view.png

Note

An empty generic is added to all the instances of the selected entity along with a FIXME comment which shows up in the Tasks View. See Track Tasks using TODO Markers.

Tip

In the Preview page you can select what changes should be performed.