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

Use run_pfir.m instead of one_pfb.m to have specific script for ppf HDL verification.

parent 13506df7
Branches
No related tags found
No related merge requests found
......@@ -22,7 +22,7 @@
-- Purpose: Multi-testbench for fil_ppf_wide using file data
-- Description:
-- Verify fil_ppf_wide using coefficients and data generated by
-- Matlab $RADIOHDL/applications/apertif/matlab/one_pfb.m
-- Matlab $RADIOHDL/applications/apertif/matlab/run_pfir.m
--
-- Usage:
-- > as 4
......@@ -40,9 +40,9 @@ ARCHITECTURE tb OF tb_tb_fil_ppf_wide_file_data IS
CONSTANT c_pipeline : t_fil_ppf_pipeline := (1, 1, 1, 1, 1, 1, 0);
CONSTANT c_coeff_prefix : string := "hex/one_pfb_m_pfir_coeff_fircls1";
CONSTANT c_data : string := "data/one_pfb_m_sinusoid_chirp_8b_16taps_128points_16b_16b.dat"; -- coefs, input and output data for 1 stream
CONSTANT c_data15 : string := "data/one_pfb_m_sinusoid_chirp_8b_15taps_128points_16b_16b.dat"; -- coefs, input and output data for 1 stream
CONSTANT c_coeff_prefix : string := "hex/run_pfir_m_pfir_coeff_fircls1";
CONSTANT c_data : string := "data/run_pfir_m_sinusoid_chirp_8b_16taps_128points_16b_16b.dat"; -- coefs, input and output data for 1 stream
CONSTANT c_data15 : string := "data/run_pfir_m_sinusoid_chirp_8b_15taps_128points_16b_16b.dat"; -- coefs, input and output data for 1 stream
SIGNAL tb_end : STD_LOGIC := '0'; -- declare tb_end to avoid 'No objects found' error on 'when -label tb_end'
......@@ -74,8 +74,8 @@ BEGIN
-- -- does not remove any of the data in order to be able to verify with the original coefficients values.
-- -- coef_dat_w : natural; -- = 16, data width of the FIR coefficients
-- -- end record;
--g_coefs_file_prefix : string := "hex/one_pfb_m_pfir_coeff_fircls1";
--g_data_file : string := "data/one_pfb_m_sinusoid_chirp_8b_16taps_128points_16b_16b.dat"; -- coefs, input and output data for 1 stream
--g_coefs_file_prefix : string := "hex/run_pfir_m_pfir_coeff_fircls1";
--g_data_file : string := "data/run_pfir_m_sinusoid_chirp_8b_16taps_128points_16b_16b.dat"; -- coefs, input and output data for 1 stream
--g_data_file_nof_lines : natural := 25600; -- number of lines with input data that is available in the g_data_file
--g_data_file_nof_read : natural := 5000; -- number of lines with input data to read and simulate, must be <= g_data_file_nof_lines
--g_enable_in_val_gaps : boolean := FALSE
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment