Altera_Forum
Honored Contributor
13 years agoAddress decoding logic for read and write in custom ip
Hello everybody,
i want the logic for custom pheripheral which has two slave ports. first port has these signalsavs_s0_address : in std_logic_vector(1 downto 0);
avs_s0_chipselect : in std_logic;
avs_s0_write : in std_logic;
avs_s0_writedata: in std_logic_vector(7 downto 0);
avs_s0_byteenable : in std_logic :='1'; i want the address decoding logic for WRITE opetation. similarly for other port avs_s1_address :in std_logic_vector(1 downto 0);
avs_s1_read : in std_logic;
avs_s1_readdata :out std_logic_vector(31 downto 0);
avs_s1_byteenable: in std_logic_vector(3 downto 0) :="0100"); how to make it readdata to READ by avalon interconnect. kindly give me the solution.