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

3G开发

开发平台:

Visual C++

  1. //
  2. //  File = symb_clock_extr.h
  3. //
  4. #ifndef _SYMB_CLOCK_EXTR_H_
  5. #define _SYMB_CLOCK_EXTR_H_
  6. #include "typedefs.h"
  7. #include "signal_T.h"
  8. #include "psmodel.h"
  9. class SymbolClockExtractor : public PracSimModel
  10. {
  11. public:
  12. SymbolClockExtractor( char* instance_nam,
  13.            PracSimModel* outer_model,
  14.            Signal<float> *in_signal,
  15.            Signal<float> *multiplier_output,
  16.            Signal<bit_t> *clock_out );
  17.   ~SymbolClockExtractor(void);
  18.   void Initialize(void);
  19.   int Execute(void);
  20. private:
  21.   int Block_Size;
  22.   Signal<float> *In_Sig;
  23.   Signal<float> *Multiplier_Output;
  24.   Signal<bit_t> *Clock_Out;
  25.   double Symb_Width;
  26.   double Samp_Intvl;
  27.   double Integ_Val;
  28.   int Samps_Per_Symb;
  29.   int Samps_Per_Half_Symb;
  30.   float *Temp_Buffer_Start;
  31.   float *Mult_Buffer_Start;
  32.   
  33. };
  34. #endif