-- VHDL code position: p242_ex8_22_operator_mix
-- Note : This is code for explaining the use of mix operator(**,ABS) of VHDL
-- Debug : no debug
---------------------------------------------------------------------------------
SIGNAL a, b : INTEGER RANGE -8 TO 7;
SIGNAL c : INTEGER RANGE 0 TO 15;
SIGNAL d : INTEGER RANGE 0 TO 3;
a <= ABS( b );
c <= 2 ** d;