
Shift operators

Concatenation operator
• Operands can be one-dimensional array type or element type
• “ &” works on vectors only
& Concatenation
Example:
SIGNAL a : STD_LOGIC_VECTOR ( 5 DOWNTO 0 ) ;
SIGNAL b,c,d : STD_LOGIC_VECTOR ( 2 DOWNTO 0 ) ;
BEGIN
b <= ‘0’ & c(1) & d(2) ;
a <= c & d ;
Operator summary

information shared by www.irvs.info