Skip to content
Snippets Groups Projects
Commit de3d10ca authored by Eric Kooistra's avatar Eric Kooistra
Browse files

Renamed memory_* into tech_memory_*, to more clearly show that the components...

Renamed memory_* into tech_memory_*, to more clearly show that the components are IP technology wrappers.
parent b92d1116
No related branches found
No related tags found
No related merge requests found
......@@ -19,7 +19,7 @@
--
-------------------------------------------------------------------------------
LIBRARY IEEE, technology_lib, technology_memory_lib;
LIBRARY IEEE, technology_lib, tech_memory_lib;
USE IEEE.std_logic_1164.ALL;
USE work.common_pkg.ALL;
USE work.common_mem_pkg.ALL;
......@@ -78,7 +78,7 @@ BEGIN
-- memory access
gen_true_dual_port : IF g_true_dual_port = TRUE GENERATE
u_ram : ENTITY technology_memory_lib.memory_ram_crw_crw
u_ram : ENTITY tech_memory_lib.tech_memory_ram_crw_crw
GENERIC MAP (
g_technology => g_technology,
g_adr_w => g_ram.adr_w,
......@@ -104,7 +104,7 @@ BEGIN
END GENERATE;
gen_simple_dual_port : IF g_true_dual_port = FALSE GENERATE
u_ram : ENTITY technology_memory_lib.memory_ram_cr_cw
u_ram : ENTITY tech_memory_lib.tech_memory_ram_cr_cw
GENERIC MAP (
g_technology => g_technology,
g_adr_w => g_ram.adr_w,
......
......@@ -19,7 +19,7 @@
--
-------------------------------------------------------------------------------
LIBRARY IEEE, technology_lib, technology_memory_lib;
LIBRARY IEEE, technology_lib, tech_memory_lib;
USE IEEE.std_logic_1164.ALL;
USE work.common_pkg.ALL;
USE work.common_mem_pkg.ALL;
......@@ -83,7 +83,7 @@ BEGIN
SEVERITY FAILURE;
-- memory access
u_ramk : ENTITY technology_memory_lib.memory_ram_crwk_crw
u_ramk : ENTITY tech_memory_lib.tech_memory_ram_crwk_crw
GENERIC MAP (
g_technology => g_technology,
g_adr_a_w => g_ram_a.adr_w,
......
hdl_lib_name = technology_memory
hdl_library_clause_name = technology_memory_lib
hdl_lib_name = tech_memory
hdl_library_clause_name = tech_memory_lib
hdl_lib_uses = technology ip_altera_mf
build_sim_dir = $HDL_BUILD_DIR
build_synth_dir =
synth_files =
memory_component_pkg.vhd
memory_ram_cr_cw.vhd
memory_ram_crw_crw.vhd
memory_ram_crwk_crw.vhd
memory_ram_r_w.vhd
tech_memory_component_pkg.vhd
tech_memory_ram_cr_cw.vhd
tech_memory_ram_crw_crw.vhd
tech_memory_ram_crwk_crw.vhd
tech_memory_ram_r_w.vhd
test_bench_files =
......@@ -22,7 +22,7 @@
LIBRARY IEEE;
USE IEEE.STD_LOGIC_1164.ALL;
PACKAGE memory_component_pkg IS
PACKAGE tech_memory_component_pkg IS
-----------------------------------------------------------------------------
-- altera_mf
......@@ -137,4 +137,4 @@ PACKAGE memory_component_pkg IS
);
END COMPONENT;
END memory_component_pkg;
END tech_memory_component_pkg;
......@@ -21,14 +21,14 @@
LIBRARY ieee, technology_lib;
USE ieee.std_logic_1164.all;
USE work.memory_component_pkg.ALL;
USE work.tech_memory_component_pkg.ALL;
USE technology_lib.technology_pkg.ALL;
USE technology_lib.technology_select_pkg.ALL;
-- Declare IP libraries to ensure default binding in simulation. The IP library clause is ignored by synthesis.
LIBRARY ip_altera_mf_lib;
ENTITY memory_ram_cr_cw IS
ENTITY tech_memory_ram_cr_cw IS
GENERIC (
g_technology : NATURAL := c_tech_select_default;
g_adr_w : NATURAL := 5;
......@@ -49,9 +49,9 @@ ENTITY memory_ram_cr_cw IS
wren : IN STD_LOGIC := '0';
q : OUT STD_LOGIC_VECTOR (g_dat_w-1 DOWNTO 0)
);
END memory_ram_cr_cw;
END tech_memory_ram_cr_cw;
ARCHITECTURE str OF memory_ram_cr_cw IS
ARCHITECTURE str OF tech_memory_ram_cr_cw IS
BEGIN
gen_altera_mf : IF g_technology=c_tech_stratixiv GENERATE
......
......@@ -21,14 +21,14 @@
LIBRARY ieee, technology_lib;
USE ieee.std_logic_1164.all;
USE work.memory_component_pkg.ALL;
USE work.tech_memory_component_pkg.ALL;
USE technology_lib.technology_pkg.ALL;
USE technology_lib.technology_select_pkg.ALL;
-- Declare IP libraries to ensure default binding in simulation. The IP library clause is ignored by synthesis.
LIBRARY ip_altera_mf_lib;
ENTITY memory_ram_crw_crw IS
ENTITY tech_memory_ram_crw_crw IS
GENERIC (
g_technology : NATURAL := c_tech_select_default;
g_adr_w : NATURAL := 5;
......@@ -54,10 +54,10 @@ ENTITY memory_ram_crw_crw IS
q_a : OUT STD_LOGIC_VECTOR (g_dat_w-1 DOWNTO 0);
q_b : OUT STD_LOGIC_VECTOR (g_dat_w-1 DOWNTO 0)
);
END memory_ram_crw_crw;
END tech_memory_ram_crw_crw;
ARCHITECTURE str OF memory_ram_crw_crw IS
ARCHITECTURE str OF tech_memory_ram_crw_crw IS
BEGIN
......
......@@ -21,14 +21,14 @@
LIBRARY ieee, technology_lib;
USE ieee.std_logic_1164.all;
USE work.memory_component_pkg.ALL;
USE work.tech_memory_component_pkg.ALL;
USE technology_lib.technology_pkg.ALL;
USE technology_lib.technology_select_pkg.ALL;
-- Declare IP libraries to ensure default binding in simulation. The IP library clause is ignored by synthesis.
LIBRARY ip_altera_mf_lib;
ENTITY memory_ram_crwk_crw IS -- support different port data widths and corresponding address ranges
ENTITY tech_memory_ram_crwk_crw IS -- support different port data widths and corresponding address ranges
GENERIC (
g_technology : NATURAL := c_tech_select_default;
g_adr_a_w : NATURAL := 5;
......@@ -57,10 +57,10 @@ ENTITY memory_ram_crwk_crw IS -- support different port data widths and corresp
q_a : OUT STD_LOGIC_VECTOR (g_dat_a_w-1 DOWNTO 0);
q_b : OUT STD_LOGIC_VECTOR (g_dat_b_w-1 DOWNTO 0)
);
END memory_ram_crwk_crw;
END tech_memory_ram_crwk_crw;
ARCHITECTURE str OF memory_ram_crwk_crw IS
ARCHITECTURE str OF tech_memory_ram_crwk_crw IS
BEGIN
gen_altera_mf : IF g_technology=c_tech_stratixiv GENERATE
......
......@@ -21,14 +21,14 @@
LIBRARY ieee, technology_lib;
USE ieee.std_logic_1164.all;
USE work.memory_component_pkg.ALL;
USE work.tech_memory_component_pkg.ALL;
USE technology_lib.technology_pkg.ALL;
USE technology_lib.technology_select_pkg.ALL;
-- Declare IP libraries to ensure default binding in simulation. The IP library clause is ignored by synthesis.
LIBRARY ip_altera_mf_lib;
ENTITY memory_ram_r_w IS
ENTITY tech_memory_ram_r_w IS
GENERIC (
g_technology : NATURAL := c_tech_select_default;
g_adr_w : NATURAL := 5;
......@@ -45,10 +45,10 @@ ENTITY memory_ram_r_w IS
wren : IN STD_LOGIC := '0';
q : OUT STD_LOGIC_VECTOR(g_dat_w-1 DOWNTO 0)
);
END memory_ram_r_w;
END tech_memory_ram_r_w;
ARCHITECTURE str OF memory_ram_r_w IS
ARCHITECTURE str OF tech_memory_ram_r_w IS
BEGIN
gen_altera_mf : IF g_technology=c_tech_stratixiv GENERATE
......
......@@ -21,14 +21,14 @@
LIBRARY ieee, technology_lib;
USE ieee.std_logic_1164.all;
USE work.memory_component_pkg.ALL;
USE work.tech_memory_component_pkg.ALL;
USE technology_lib.technology_pkg.ALL;
USE technology_lib.technology_select_pkg.ALL;
-- Declare IP libraries to ensure default binding in simulation. The IP library clause is ignored by synthesis.
LIBRARY ip_altera_mf_lib;
ENTITY memory_rom_r IS
ENTITY tech_memory_rom_r IS
GENERIC (
g_technology : NATURAL := c_tech_select_default;
g_adr_w : NATURAL := 5;
......@@ -42,9 +42,9 @@ ENTITY memory_rom_r IS
clken : IN STD_LOGIC := '1';
q : OUT STD_LOGIC_VECTOR(g_dat_w-1 DOWNTO 0)
);
END memory_rom_r;
END tech_memory_rom_r;
ARCHITECTURE str OF memory_rom_r IS
ARCHITECTURE str OF tech_memory_rom_r IS
BEGIN
gen_altera_mf : IF g_technology=c_tech_stratixiv GENERATE
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment