LIBRARY ieee ; USE ieee.std_logic_1164.all; USE ieee.numeric_std.all; LIBRARY mc8051 ; USE mc8051.cpu_pack.all; USE mc8051.synth_pack.all; ENTITY ir_decoder IS PORT( alu_second_result : IN std_logic ; cpu_rst : IN std_logic ; cy : IN std_logic ; int_clk : IN std_logic ; ir : IN std_logic_vector( 7 DOWNTO 0 ) ; new_ir : IN std_logic ; alu_cmd : OUT std_logic_vector( 3 DOWNTO 0 ) ; data_alu : OUT std_logic_vector( 2 DOWNTO 0 ) ; data_dest : OUT std_logic_vector( 2 DOWNTO 0 ) ; data_t1 : OUT std_logic_vector( 2 DOWNTO 0 ) ; data_t2 : OUT std_logic_vector( 2 DOWNTO 0 ) ; dest_cmd : OUT std_logic_vector( 3 DOWNTO 0 ) ; read_latch : OUT std_logic ; set_ac_ov : OUT std_logic ; set_cy : OUT std_logic ; t1_cmd : OUT std_logic_vector( 3 DOWNTO 0 ) ; t2_cmd : OUT std_logic_vector( 3 DOWNTO 0 ) ; two_dests : OUT std_logic ; use_acc_0 : OUT std_logic ; use_cy : OUT std_logic ); -- Declarations END ir_decoder ;