Keyword: PORT MAP
The port map statement is used to associate signals of ports within a block to ports defined outside the block.
For example, suppose a given entity includes an architecture, and the architecture includes a block. A port map statement could be used to set the value of an entity port (which was defined by a "port" statement in the entity declaration), equal to the value of a block port (which was defined by a "port" statement in the block).
A port map statement includes—in this order—the reserved words "port map" followed by an association list (e.g., "LOCAL_PORT => GLOBAL_PORT"). The association list may use positional or named association, as shown in the following examples. Ports may be left unconnected through the use of the open keyword.
Examples
U1: And2 port map (IN1, IN2, OUT1);
U1: And2 port map (A => IN1, B => IN2, Y => OUT1);
A18: AddBlk port map (A => A1, B => A1, S => Sum, Cout =>open);
See also