Altera_Forum
Honored Contributor
15 years agoInterface for external RAM and LPM RAM
I switched to Quartus 9.0 from 6.1.
I used "Interface to User Logic" for external RAM(MRAM) and LPM RAM. Instead of them, I added new components in SOPC Builder. Is there any problem in VHDL discription? library IEEE; use IEEE.std_logic_1164.all; use IEEE.numeric_std.all; entity MRAM is port ( address : in std_logic_vector(17 downto 0) ; --avalon_tristate_slave.address data : inout std_logic_vector(15 downto 0) ; -- .data byteenable_n : in std_logic_vector(1 downto 0) ; -- .byteenable_n chipselect_n : in std_logic ; -- .chipselect_n read_n : in std_logic ; -- .read_n write_n : in std_logic ; -- .write_n add : out std_logic_vector(17 downto 0); -- conduit_end.export dat : inout std_logic_vector(15 downto 0) ; be_n : out std_logic_vector(1 downto 0); cs_n : out std_logic ; oe_n : out std_logic ; we_n : out std_logic ); end entity MRAM; architecture rtl of MRAM is begin add <= address; be_n <= byteenable_n; cs_n <= chipselect_n; oe_n <= read_n; we_n <= write_n; dat <= data; end architecture rtl; -- of MRAM Thanks