Beruflich Dokumente
Kultur Dokumente
use IEEE.std_logic_1164.all;
use IEEE.std_logic_textio.all;
use IEEE.numeric_std.all;
use IEEE.std_logic_signed.all;
use IEEE.std_logic_unsigned.all;
entity Conv_char_to_ASCII is
port (
black_button:
blue_button:
ASCII:
);
end entity;
-- Caracter 'A'
ascii_aux := 80;
-- Caracter 'Q'
na tabela ASCII
else
na tabela ASCII
end if;
while (count /= "0000000000000000") loop
ascii_aux := ascii_aux + 1;
count := count
srl 1;
end loop;
if (ascii_aux > 90) then
ascii_aux := 4;
end if;
end process;
ASCII <= to_bitvector(std_logic_vector(to_unsigned(ascii_aux,7)));
end architecture;