qpsk_err_ctr.h
上传用户:jtjnyq9001
上传日期:2014-11-21
资源大小:3974k
文件大小:1k
源码类别:

3G开发

开发平台:

Visual C++

  1. //
  2. //  File = qpsk_err_ctr.h
  3. //
  4. #ifndef _QPSK_ERR_CTR_H_
  5. #define _QPSK_ERR_CTR_H_
  6. #include "signal_T.h"
  7. #include "psmodel.h"
  8. //#include "k_serctr.h"
  9. class QpskErrorCounter : public PracSimModel
  10. {
  11. public:
  12. QpskErrorCounter( char* instance_name,
  13.             PracSimModel* outer_model,
  14.             Signal<bit_t> *i_in_signal,
  15.             Signal<bit_t> *q_in_signal,
  16.             Signal<bit_t> *i_ref_signal,
  17.             Signal<bit_t> *q_ref_signal );
  18.   ~QpskErrorCounter(void);
  19.   void Initialize(void);
  20.   int Execute(void);
  21. private:
  22.   int Block_Size;
  23.   int Symb_Count;
  24.   int Error_Count;
  25.   Signal<bit_t> *I_In_Sig;
  26.   Signal<bit_t> *Q_In_Sig;
  27.   Signal<bit_t> *I_Ref_Sig;
  28.   Signal<bit_t> *Q_Ref_Sig;
  29.   int Num_Holdoff_Passes;
  30.   int Report_Intvl_In_Blocks;
  31.   //k_BerCounter *Kernel;
  32.   //int *Histogram;
  33.   
  34. };
  35. #endif