下表涵盖了 FIR IP 的所有特性和功能。本表中未描述的特性和功能在 Vitis HLS 实现中均不予支持。
参数 | C 语言类型 | 默认值 | 有效值 |
---|---|---|---|
input_width | 无符号 | 16 | 无限制 |
input_fractional_bits | 无符号 | 0 | 受 input_width 大小所限 |
output_width | 无符号 | 24 | 无限制 |
output_fractional_bits | 无符号 | 0 | 受 output_width 大小所限 |
coeff_width | 无符号 | 16 | 无限制 |
coeff_fractional_bits | 无符号 | 0 | 受 coeff_width 大小所限 |
num_coeffs | 布尔值 | 21 | 满 (Full) |
coeff_sets | 无符号 | 1 | 1-1024 |
input_length | 无符号 | 21 | 无限制 |
output_length | 无符号 | 21 | 无限制 |
num_channels | 无符号 | 1 | 1-1024 |
total_num_coeff | 无符号 | 21 | num_coeffs * coeff_sets |
coeff_vec[total_num_coeff] | 双精度阵列 | 无 | 不适用 |
filter_type | 无符号 | single_rate | single_rate、interpolation、decimation、hilbert_filter 或 interpolated |
rate_change | 无符号 | integer | integer 或 fixed_fractional |
interp_rate | 无符号 | 1 | 1-1024 |
decim_rate | 无符号 | 1 | 1-1024 |
zero_pack_factor | 无符号 | 1 | 1-8 |
rate_specification | 无符号 | period | frequency 或 period |
hardware_oversampling_rate | 无符号 | 1 | 无限制 |
sample_period | 布尔值 | 1 | 无限制 |
sample_frequency | 无符号 | 0.001 | 无限制 |
quantization | 无符号 | integer_coefficients | integer_coefficients、quantize_only 或 maximize_dynamic_range |
best_precision | 无符号 | false |
false true |
coeff_structure | 无符号 | non_symmetric | inferred、non_symmetric、symmetric、negative_symmetric、half_band 或 hilbert |
output_rounding_mode | 无符号 | full_precision | full_precision、truncate_lsbs、non_symmetric_rounding_down、non_symmetric_rounding_up、symmetric_rounding_to_zero、symmetric_rounding_to_infinity、convergent_rounding_to_even 或 convergent_rounding_to_odd |
filter_arch | 无符号 | systolic_multiply_accumulate | systolic_multiply_accumulate 或 transpose_multiply_accumulate |
optimization_goal | 无符号 | area | area 或 speed |
inter_column_pipe_length | 无符号 | 4 | 1-16 |
column_config | 无符号 | 1 | 受所用 DSP 宏单元数量所限 |
config_method | 无符号 | single | single 或 by_channel |
coeff_padding | 布尔值 | false | false true |