Line 25... |
Line 25... |
-- Usage:
|
-- Usage:
|
-- > run -all
|
-- > run -all
|
-- > testbench is selftesting. The first four spectrums are verified.
|
-- > testbench is selftesting. The first four spectrums are verified.
|
--
|
--
|
|
|
library ieee, common_pkg_lib, dp_pkg_lib, diag_lib, rTwoSDF_lib, common_ram_lib, mm_lib;
|
library ieee, common_pkg_lib, dp_pkg_lib, astron_diagnostics_lib, astron_r2sdf_fft_lib, astron_ram_lib, astron_mm_lib;
|
use IEEE.std_logic_1164.all;
|
use IEEE.std_logic_1164.all;
|
use IEEE.numeric_std.all;
|
use IEEE.numeric_std.all;
|
use IEEE.std_logic_textio.all;
|
use IEEE.std_logic_textio.all;
|
use STD.textio.all;
|
use STD.textio.all;
|
use common_pkg_lib.common_pkg.all;
|
use common_pkg_lib.common_pkg.all;
|
use common_ram_lib.common_ram_pkg.ALL;
|
use astron_ram_lib.common_ram_pkg.ALL;
|
use common_pkg_lib.common_lfsr_sequences_pkg.all;
|
use common_pkg_lib.common_lfsr_sequences_pkg.all;
|
use common_pkg_lib.tb_common_pkg.all;
|
use common_pkg_lib.tb_common_pkg.all;
|
use mm_lib.tb_common_mem_pkg.ALL;
|
use astron_mm_lib.tb_common_mem_pkg.ALL;
|
use dp_pkg_lib.dp_stream_pkg.ALL;
|
use dp_pkg_lib.dp_stream_pkg.ALL;
|
use rTwoSDF_lib.twiddlesPkg.all;
|
use astron_r2sdf_fft_lib.twiddlesPkg.all;
|
use rTwoSDF_lib.rTwoSDFPkg.all;
|
use astron_r2sdf_fft_lib.rTwoSDFPkg.all;
|
use work.tb_fft_pkg.all;
|
use work.tb_fft_pkg.all;
|
use work.fft_pkg.all;
|
use work.fft_pkg.all;
|
|
|
entity tb_fft_wide_unit is
|
entity tb_fft_wide_unit is
|
generic(
|
generic(
|
Line 269... |
Line 269... |
|
|
---------------------------------------------------------------
|
---------------------------------------------------------------
|
-- GENERATE BLOCK GENERATORS FOR STIMULI GENERATION
|
-- GENERATE BLOCK GENERATORS FOR STIMULI GENERATION
|
---------------------------------------------------------------
|
---------------------------------------------------------------
|
gen_block_gen : for I in 0 to g_fft.wb_factor-1 generate
|
gen_block_gen : for I in 0 to g_fft.wb_factor-1 generate
|
u_block_generator : entity diag_lib.mms_diag_block_gen
|
u_block_generator : entity astron_diagnostics_lib.mms_diag_block_gen
|
generic map(
|
generic map(
|
g_nof_streams => 1,
|
g_nof_streams => 1,
|
g_buf_dat_w => c_nof_complex*g_fft.in_dat_w,
|
g_buf_dat_w => c_nof_complex*g_fft.in_dat_w,
|
g_buf_addr_w => c_bg_addr_w,
|
g_buf_addr_w => c_bg_addr_w,
|
g_file_name_prefix => c_bg_prefix
|
g_file_name_prefix => c_bg_prefix
|