Port

LRM §1.1.1.2.

A channel for dynamic communication between a block and its environment.

Syntax:

port ( port_name, ... : [ mode ] data_type [ := Expression ] );

mode = in | out | inout | buffer | linkage

Description:

A port represents a pin or a related group of pins on a hardware component.

A port is, technically, a signal.

The five different modes have the following definitions:

Example:

port (Clk, Rst: in std_logic;
      D: in std_logic_vector(3 downto 0);
      Status: out std_logic;
      Q: buffer std_logic_vector(3 downto 0);

Note:

See also:

Block, Component, Entity, Generic, Port map