swep_tone_rcvr.cpp
上传用户:jtjnyq9001
上传日期:2014-11-21
资源大小:3974k
文件大小:5k
- //
- // File = swep_tone_rcvr.cpp
- //
- #include <stdlib.h>
- #include "parmfile.h"
- #include "swep_tone_rcvr.h"
- #include "misdefs.h"
- #include "model_graph.h"
- #include "sigplot.h"
- #include "dit_pino_T.h"
- #include "dit_nipo_T.h"
- extern ParmFile* ParmInput;
- extern int PassNumber;
- #ifdef _DEBUG
- extern ofstream *DebugFile;
- #endif
- //======================================================
- SweptToneReceiver::SweptToneReceiver( char* instance_name,
- PracSimModel* outer_model,
- Signal<float>* in_sig,
- Signal<float>* ref_sig,
- Signal<float>* out_sig,
- Control<bool>* rx_enable,
- Control<double>* inst_freq_ctl,
- Control<double>* block_phase_ctl)
- :PracSimModel(instance_name,
- outer_model)
- {
- In_Sig = in_sig;
- Ref_Sig = ref_sig;
- Out_Sig = out_sig;
- OPEN_PARM_BLOCK;
- Response_File_Name = new char[64];
- strcpy(Response_File_Name, "