[an error occurred while processing this directive]
[an error occurred while processing this directive]
|
function CONV (X :STD_LOGIC) return BIT is
constant XMAP :BIT:='0';
begin
case X is
when '0' | 'L' => return '0';
when '1' | 'H' => return '1';
when others => return XMAP;
end case;
end CONV;
function CONV (X :BIT) return STD_LOGIC is
begin
case X is
when '0' => return '0';
when '1' => return '1';
end case;
end CONV;
E-mail: info@telesys.ru