21use ieee.std_logic_1164.
all;
22use ieee.numeric_std.
all;
23use ieee.std_logic_textio.
all;
46 proc_simbus:
process (SB_VAL)
48 if SB_VAL'event and to_x01(SB_VAL)='1' then
56 end process proc_simbus;
std_logic_vector( 4 downto 0) slv5
std_logic_vector( 15 downto 0) slv16
std_logic_vector( 7 downto 0) slv8
slv8 := slv( to_unsigned( 16, 8) ) sbaddr_swi
slv8 := slv( to_unsigned( 17, 8) ) sbaddr_btn
slv16 :=( others => '0') R_SWI
slv5 :=( others => '0') R_BTN