Line 31... |
Line 31... |
--programming logic devices manufactured by Altera and sold by
|
--programming logic devices manufactured by Altera and sold by
|
--Altera or its authorized distributors. Please refer to the
|
--Altera or its authorized distributors. Please refer to the
|
--applicable agreement for further details.
|
--applicable agreement for further details.
|
|
|
|
|
LIBRARY ieee;
|
LIBRARY ieee, common_pkg_lib;
|
USE ieee.std_logic_1164.all;
|
USE ieee.std_logic_1164.all;
|
|
USE common_pkg_lib.common_pkg.ALL;
|
|
|
LIBRARY altera_mf;
|
LIBRARY altera_mf;
|
USE altera_mf.all;
|
USE altera_mf.all;
|
|
|
LIBRARY technology_lib;
|
--LIBRARY technology_lib;
|
USE technology_lib.technology_pkg.ALL;
|
--USE technology_lib.technology_pkg.ALL;
|
|
|
ENTITY ip_stratixiv_ram_crw_crw IS
|
ENTITY ip_stratixiv_ram_crw_crw IS
|
GENERIC (
|
GENERIC (
|
g_adr_w : NATURAL := 5;
|
g_adr_w : NATURAL := 5;
|
g_dat_w : NATURAL := 8;
|
g_dat_w : NATURAL := 8;
|
Line 70... |
Line 71... |
END ip_stratixiv_ram_crw_crw;
|
END ip_stratixiv_ram_crw_crw;
|
|
|
|
|
ARCHITECTURE SYN OF ip_stratixiv_ram_crw_crw IS
|
ARCHITECTURE SYN OF ip_stratixiv_ram_crw_crw IS
|
|
|
CONSTANT c_outdata_reg_a : STRING := tech_sel_a_b(g_rd_latency=1, "UNREGISTERED", "CLOCK0");
|
CONSTANT c_outdata_reg_a : STRING := sel_a_b(g_rd_latency=1, "UNREGISTERED", "CLOCK0");
|
CONSTANT c_outdata_reg_b : STRING := tech_sel_a_b(g_rd_latency=1, "UNREGISTERED", "CLOCK1");
|
CONSTANT c_outdata_reg_b : STRING := sel_a_b(g_rd_latency=1, "UNREGISTERED", "CLOCK1");
|
|
|
SIGNAL sub_wire0 : STD_LOGIC_VECTOR (g_dat_w-1 DOWNTO 0);
|
SIGNAL sub_wire0 : STD_LOGIC_VECTOR (g_dat_w-1 DOWNTO 0);
|
SIGNAL sub_wire1 : STD_LOGIC_VECTOR (g_dat_w-1 DOWNTO 0);
|
SIGNAL sub_wire1 : STD_LOGIC_VECTOR (g_dat_w-1 DOWNTO 0);
|
|
|
|
|