1 #include "Test.h"
2 #include "Pattern.h"
3 
4 #include "dsp/filtering_functions.h"
5 
6 class FIRQ7:public Client::Suite
7     {
8         public:
9             FIRQ7(Testing::testID_t id);
10             virtual void setUp(Testing::testID_t,std::vector<Testing::param_t>& params,Client::PatternMgr *mgr);
11             virtual void tearDown(Testing::testID_t,Client::PatternMgr *mgr);
12         private:
13             #include "FIRQ7_decl.h"
14             Client::Pattern<q7_t> coefs;
15             Client::Pattern<q7_t> samples;
16             Client::Pattern<q7_t> refs;
17 
18             Client::LocalPattern<q7_t> output;
19             Client::LocalPattern<q7_t> error;
20             Client::LocalPattern<q7_t> state;
21 
22             int nbTaps;
23             int nbSamples;
24 
25             arm_fir_instance_q7  instFir;
26 
27             const q7_t *pSrc;
28             const q7_t *pCoefs;
29             q7_t *pDst;
30             const q7_t *pRef;
31             q7_t *pErr;
32 
33     };
34