From 8eb65186e90e48a4a9a80c698ccd62f2ea9e284c Mon Sep 17 00:00:00 2001 From: Istvan Csomortani Date: Tue, 25 Apr 2017 17:40:09 +0300 Subject: [PATCH] cn0363: Reorder the configuration settings of the fir filters It seems that there are some dependencies between the fir compiler cores parameters. With the old order of the parameter settings, the tool throws the following warning: CRITICAL WARNING: [BD 41-237] Bus Interface property TDATA_NUM_BYTES does not match between /processing/sequencer/i_q_filtered(4) and /processing/lpf/M_AXIS_DATA(5) --- projects/cn0363/common/cn0363_bd.tcl | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/projects/cn0363/common/cn0363_bd.tcl b/projects/cn0363/common/cn0363_bd.tcl index 450c6b21c..8aeb1ba30 100644 --- a/projects/cn0363/common/cn0363_bd.tcl +++ b/projects/cn0363/common/cn0363_bd.tcl @@ -140,6 +140,7 @@ current_bd_instance /processing ad_ip_instance fir_compiler hpf ad_ip_instance fir_compiler lpf + ad_ip_parameter hpf CONFIG.CoefficientVector [load_fir_filter_vector "../common/filters/hpf.mat"] ad_ip_parameter hpf CONFIG.Data_Fractional_Bits.VALUE_SRC USER ad_ip_parameter hpf CONFIG.Data_Sign.VALUE_SRC USER ad_ip_parameter hpf CONFIG.Data_Width.VALUE_SRC USER @@ -149,12 +150,12 @@ current_bd_instance /processing ad_ip_parameter hpf CONFIG.Clock_Frequency 100 ad_ip_parameter hpf CONFIG.Coefficient_Width 16 ad_ip_parameter hpf CONFIG.Data_Width 24 - ad_ip_parameter hpf CONFIG.Output_Width 32 ad_ip_parameter hpf CONFIG.Output_Rounding_Mode Truncate_LSBs + ad_ip_parameter hpf CONFIG.Output_Width 32 ad_ip_parameter hpf CONFIG.Has_ARESETn true ad_ip_parameter hpf CONFIG.Reset_Data_Vector false - ad_ip_parameter hpf CONFIG.CoefficientVector [load_fir_filter_vector "../common/filters/hpf.mat"] + ad_ip_parameter lpf CONFIG.CoefficientVector [load_fir_filter_vector "../common/filters/lpf.mat"] ad_ip_parameter lpf CONFIG.Data_Fractional_Bits.VALUE_SRC USER ad_ip_parameter lpf CONFIG.Data_Sign.VALUE_SRC USER ad_ip_parameter lpf CONFIG.Data_Width.VALUE_SRC USER @@ -164,11 +165,10 @@ current_bd_instance /processing ad_ip_parameter lpf CONFIG.Clock_Frequency 100 ad_ip_parameter lpf CONFIG.Coefficient_Width 24 ad_ip_parameter lpf CONFIG.Data_Width 32 - ad_ip_parameter lpf CONFIG.Output_Width 32 ad_ip_parameter lpf CONFIG.Output_Rounding_Mode Truncate_LSBs + ad_ip_parameter lpf CONFIG.Output_Width 32 ad_ip_parameter lpf CONFIG.Has_ARESETn true ad_ip_parameter lpf CONFIG.Reset_Data_Vector false - ad_ip_parameter lpf CONFIG.CoefficientVector [load_fir_filter_vector "../common/filters/lpf.mat"] ad_ip_instance util_vector_logic overflow_or ad_ip_parameter overflow_or CONFIG.C_SIZE 1