23use ieee.std_logic_1164.
all;
26use unisim.vcomponents.
ALL;
51 report "assert(AWIDTH>=4 and AWIDTH<=5): only 4..5 bit AWIDTH supported"
54 AW_4: if AWIDTH = 4 generate
55 GL: for i in DWIDTH-1 downto 0 generate
78 AW_5: if AWIDTH = 5 generate
88 GL: for i in DWIDTH-1 downto 0 generate
slv( DWIDTH- 1 downto 0) :=( others => '0') DOA1
slv( DWIDTH- 1 downto 0) :=( others => '0') DOB1
slv( DWIDTH- 1 downto 0) :=( others => '0') DOB0
slv( DWIDTH- 1 downto 0) :=( others => '0') DOA0
in DI slv( DWIDTH- 1 downto 0)
in ADDRB slv( AWIDTH- 1 downto 0)
in ADDRA slv( AWIDTH- 1 downto 0)
out DOB slv( DWIDTH- 1 downto 0)
out DOA slv( DWIDTH- 1 downto 0)