--VGA Interface Package. Handles Data from the HHG AN displays to the VGA --Package name HHG_VGA.VHD LIBRARY IEEE; USE ieee.std_logic_1164.all; USE ieee.std_logic_arith.all; USE ieee.std_logic_unsigned.all; Package hhg_led is component hex_display is PORT ( --interface in is valid data recieved from the glove led_data : IN std_logic_vector(7 downto 0); enable : IN std_logic; led_a : OUT std_logic_vector(7 downto 0); led_b : OUT std_logic_vector(7 downto 0)); end component hex_display; ------------------------------------------------------------------------------------------- Component interface is port ( hgh_data_in : IN std_logic_vector(4 downto 0); reset : IN std_logic; clk : IN std_logic; ps_enable : OUT std_logic; vga_enable : OUT std_logic; data_out : OUT std_logic_vector(4 downto 0); Ascii_out : OUT std_logic_vector(7 downto 0) ); end Component interface; ---------------------------------------------------------------------- END PACKAGE;