.. _Add Port to Module:

Add Port to Module
==================

An error is triggered when connecting a non-existing port in a module instantiation.

.. figure:: ../../images/common/sv_quick_fix_add_port_list.png

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

.. figure:: ../../images/common/sv_quick_fix_add_port_after.png

.. tip::

	If the module is instantiated multiple time across the project, the **Refactor Add Port Wizard** is opened. See :ref:`Add New Port to Module`.

.. tip::

	You may change the port direction. Press  :kbd:`Enter` when done.
