26use ieee.std_logic_1164.
all;
27use ieee.numeric_std.
all;
28use ieee.std_logic_textio.
all;
107 proc_simbus:
process (SB_VAL)
109 if SB_VAL'event and to_x01(SB_VAL)='1' then
117 end process proc_simbus;
inout B slv( DWIDTH- 1 downto 0)
inout A slv( DWIDTH- 1 downto 0)
std_logic_vector( 22 downto 0) slv23
std_logic_vector( 3 downto 0) slv4
std_logic_vector( 15 downto 0) slv16
std_logic_vector( 7 downto 0) slv8
std_logic_vector( 1 downto 0) slv2
slv16 :=( others => '0') MM_MEM_DATA
slv8 := slv( to_unsigned( 16, 8) ) sbaddr_swi
slv8 := slv( to_unsigned( 17, 8) ) sbaddr_btn
slbit := '1' MM_MEM_ADV_N
Delay_length := 1 ns pcb_delay
slv4 :=( others => '0') R_BTN
slv2 :=( others => '1') MM_MEM_BE_N
slv8 :=( others => '0') R_SWI
slv23 :=( others => 'Z') MM_MEM_ADDR