Line 25... |
Line 25... |
-- > as 10
|
-- > as 10
|
-- > run -all
|
-- > run -all
|
-- > Testbench is selftesting.
|
-- > Testbench is selftesting.
|
-- First frame contains always some errors.
|
-- First frame contains always some errors.
|
|
|
library IEEE, common_pkg_lib, dp_pkg_lib, diag_lib, common_ram_lib, mm_lib;
|
library IEEE, common_pkg_lib, dp_pkg_lib, astron_diagnostics_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 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.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_sepa is
|
entity tb_fft_sepa is
|
end tb_fft_sepa;
|
end tb_fft_sepa;
|
|
|
architecture tb of tb_fft_sepa is
|
architecture tb of tb_fft_sepa is
|
Line 116... |
Line 116... |
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
|