Skip to content

Commit 7ae7ea8

Browse files
SDA USRsdausr
authored andcommitted
Squashed 'dsp' changes from 55cf30786..8b603566b (#1229)
8b603566b Merge pull request #1849 from mlechtan/next d16d77b81 Removed unecessary FIR Length calculation for Sym FIR Filters. Co-authored-by: sdausr <[email protected]>
1 parent d239599 commit 7ae7ea8

File tree

2 files changed

+2
-12
lines changed

2 files changed

+2
-12
lines changed

dsp/L2/meta/fir_utils.py

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -51,16 +51,6 @@ def fn_get_coeff_size(args):
5151
return coeff_size
5252

5353

54-
def fn_get_fir_length_sym(args):
55-
use_coeff_reload = args["TP_USE_COEFF_RELOAD"]
56-
if use_coeff_reload:
57-
fir_length = args["TP_FIR_LEN"]
58-
else:
59-
coeff_size = fn_get_coeff_size(args) # 16
60-
fir_length = (coeff_size) * 2
61-
return fir_length
62-
63-
6454
def fn_get_fir_length(args):
6555
use_coeff_reload = args["TP_USE_COEFF_RELOAD"]
6656
if use_coeff_reload:

dsp/L2/meta/vmc/vmc_validate_api.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ def generate_graph_vmc(configuration, ip_name, graph_name):
3838
if "_hb" in ip_name:
3939
config_args["TP_FIR_LEN"] = fn_get_fir_length_hb(config_args)
4040
elif "_sym" in ip_name:
41-
config_args["TP_FIR_LEN"] = fn_get_fir_length_sym(config_args)
41+
config_args["TP_FIR_LEN"] = config_args["TP_FIR_LEN"]
4242
elif "_tdm" in ip_name:
4343
config_args["TP_FIR_LEN"] = config_args["TP_FIR_LEN"]
4444
else:
@@ -59,7 +59,7 @@ def validate_all_vmc(configuration, ip_name):
5959
if "_hb" in ip_name:
6060
config_args["TP_FIR_LEN"] = fn_get_fir_length_hb(config_args)
6161
elif "_sym" in ip_name:
62-
config_args["TP_FIR_LEN"] = fn_get_fir_length_sym(config_args)
62+
config_args["TP_FIR_LEN"] = config_args["TP_FIR_LEN"]
6363
elif "_tdm" in ip_name:
6464
config_args["TP_FIR_LEN"] = config_args["TP_FIR_LEN"]
6565
else:

0 commit comments

Comments
 (0)