Skip to content

Commit 2446ae1

Browse files
committed
Updating filter testbench to be able to pass data types and kernel size
as parameter
1 parent cd813da commit 2446ae1

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

modules/filter/src/tb_filter.cpp

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,15 @@
66
#endif // IPS_DUMP_EN
77
#include <systemc.h>
88

9-
#define IPS_FILTER_PV_EN
10-
9+
#ifndef IPS_FILTER_KERNEL_SIZE
1110
#define IPS_FILTER_KERNEL_SIZE 3
11+
#endif // IPS_FILTER_KERNEL_SIZE
12+
#ifndef IPS_IN_TYPE_TB
1213
#define IPS_IN_TYPE_TB float
14+
#endif // IPS_IN_TYPE_TB
15+
#ifndef IPS_OUT_TYPE_TB
1316
#define IPS_OUT_TYPE_TB float
17+
#endif // IPS_OUT_TYPE_TB
1418

1519
#ifdef IPS_FILTER_AT_EN
1620
#include "ips_filter_at_model.hpp"

0 commit comments

Comments
 (0)