1 #include "Test.h" 2 #include "Pattern.h" 3 4 #include "dsp/filtering_functions.h" 5 6 class DECIMF32:public Client::Suite 7 { 8 public: 9 DECIMF32(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 "DECIMF32_decl.h" 14 15 Client::Pattern<float32_t> input; 16 Client::Pattern<float32_t> coefs; 17 Client::Pattern<uint32_t> config; 18 19 Client::LocalPattern<float32_t> output; 20 Client::LocalPattern<float32_t> state; 21 // Reference patterns are not loaded when we are in dump mode 22 Client::RefPattern<float32_t> ref; 23 24 25 arm_fir_decimate_instance_f32 S; 26 arm_fir_interpolate_instance_f32 SI; 27 28 int q; 29 int numTaps; 30 int blocksize; 31 int refsize; 32 33 arm_status status; 34 }; 35