Line 25... |
Line 25... |
-- > as 10
|
-- > as 10
|
-- > run -all
|
-- > run -all
|
-- Testbench is selftesting.
|
-- Testbench is selftesting.
|
-- Run testbench for different values of c_seperate and c_reorder. (Recompile is required)
|
-- Run testbench for different values of c_seperate and c_reorder. (Recompile is required)
|
|
|
library IEEE, common_pkg_lib, dp_pkg_lib, diag_lib, mm_lib, common_ram_lib;
|
library IEEE, common_pkg_lib, dp_pkg_lib, astron_diagnostics_lib, astron_mm_lib, astron_ram_lib;
|
use IEEE.std_logic_1164.ALL;
|
use IEEE.std_logic_1164.ALL;
|
use IEEE.numeric_std.ALL;
|
use IEEE.numeric_std.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 diag_lib.diag_pkg.ALL;
|
use astron_diagnostics_lib.diag_pkg.ALL;
|
|
|
entity tb_fft_reorder_sepa_pipe is
|
entity tb_fft_reorder_sepa_pipe is
|
end tb_fft_reorder_sepa_pipe;
|
end tb_fft_reorder_sepa_pipe;
|
|
|
architecture tb of tb_fft_reorder_sepa_pipe is
|
architecture tb of tb_fft_reorder_sepa_pipe is
|
Line 119... |
Line 119... |
proc_common_wait_some_cycles(clk, c_nof_points + 20);
|
proc_common_wait_some_cycles(clk, c_nof_points + 20);
|
tb_end <= '1';
|
tb_end <= '1';
|
wait;
|
wait;
|
end process;
|
end process;
|
|
|
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*c_in_dat_w,
|
g_buf_dat_w => c_nof_complex*c_in_dat_w,
|
g_buf_addr_w => c_bg_addr_w, -- Waveform buffer size 2**g_buf_addr_w nof samples
|
g_buf_addr_w => c_bg_addr_w, -- Waveform buffer size 2**g_buf_addr_w nof samples
|
g_file_name_prefix => c_bg_prefix
|
g_file_name_prefix => c_bg_prefix
|