You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
32 lines
976 B
C++
32 lines
976 B
C++
#include "Test.h"
|
|
#include "Pattern.h"
|
|
class DECIMQ31:public Client::Suite
|
|
{
|
|
public:
|
|
DECIMQ31(Testing::testID_t id);
|
|
virtual void setUp(Testing::testID_t,std::vector<Testing::param_t>& params,Client::PatternMgr *mgr);
|
|
virtual void tearDown(Testing::testID_t,Client::PatternMgr *mgr);
|
|
private:
|
|
#include "DECIMQ31_decl.h"
|
|
|
|
Client::Pattern<q31_t> input;
|
|
Client::Pattern<q31_t> coefs;
|
|
Client::Pattern<uint32_t> config;
|
|
|
|
Client::LocalPattern<q31_t> output;
|
|
Client::LocalPattern<q31_t> state;
|
|
// Reference patterns are not loaded when we are in dump mode
|
|
Client::RefPattern<q31_t> ref;
|
|
|
|
|
|
arm_fir_decimate_instance_q31 S;
|
|
arm_fir_interpolate_instance_q31 SI;
|
|
|
|
int q;
|
|
int numTaps;
|
|
int blocksize;
|
|
int refsize;
|
|
|
|
arm_status status;
|
|
};
|