Skip to content
Snippets Groups Projects
Commit 807037e0 authored by Zanting's avatar Zanting
Browse files

Added technology generic

parent 95854498
No related branches found
No related tags found
No related merge requests found
......@@ -235,6 +235,7 @@ BEGIN
-- accumulator memory for real part
ram_re: ENTITY common_lib.common_ram_r_w
GENERIC MAP (
g_technology => g_technology,
g_ram => c_mem_acc,
g_init_file => "UNUSED"
)
......@@ -280,6 +281,7 @@ BEGIN
-- dual port memory
ram_im: ENTITY common_lib.common_ram_r_w
GENERIC MAP (
g_technology => g_technology,
g_ram => c_mem_acc,
g_init_file => "UNUSED"
)
......
......@@ -19,12 +19,13 @@
--
-------------------------------------------------------------------------------
LIBRARY IEEE, common_lib, mm_lib, dp_lib;
LIBRARY IEEE, common_lib, mm_lib, technology_lib, dp_lib;
USE IEEE.std_logic_1164.ALL;
USE common_lib.common_pkg.ALL;
USE common_lib.common_mem_pkg.ALL;
USE common_lib.common_field_pkg.ALL;
USE dp_lib.dp_stream_pkg.ALL;
USE technology_lib.technology_select_pkg.ALL;
-- Purpose:
-- Store the (auto)power statistics of a complex input stream with
......@@ -54,6 +55,7 @@ USE dp_lib.dp_stream_pkg.ALL;
ENTITY st_sst IS
GENERIC (
g_technology : NATURAL := c_tech_select_default;
g_nof_stat : NATURAL := 512; -- nof accumulators
g_xst_enable : BOOLEAN := FALSE; -- when set to true, an extra memory is instantiated to hold the imaginary part of the cross-correlation results
g_in_data_w : NATURAL := 18; -- width o dth edata to be accumulated
......@@ -203,6 +205,7 @@ BEGIN
st_calc : ENTITY work.st_calc
GENERIC MAP (
g_technology => g_technology,
g_nof_mux => 1,
g_nof_stat => g_nof_stat,
g_in_dat_w => g_in_data_w,
......@@ -231,6 +234,7 @@ BEGIN
stat_reg_re : ENTITY common_lib.common_ram_crw_crw_ratio
GENERIC MAP (
g_technology => g_technology,
g_ram_a => c_mm_ram,
g_ram_b => c_stat_ram,
g_init_file => "UNUSED"
......@@ -282,6 +286,7 @@ BEGIN
stat_reg_im : ENTITY common_lib.common_ram_crw_crw_ratio
GENERIC MAP (
g_technology => g_technology,
g_ram_a => c_mm_ram,
g_ram_b => c_stat_ram,
g_init_file => "UNUSED"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment