symbseqtest_sim.cpp
上传用户:jtjnyq9001
上传日期:2014-11-21
资源大小:3974k
文件大小:1k
- //
- // File = symbseqtest_sim.cpp
- //
- #define SIM_NAME "SymbSeqTest "
- #define SIM_TITLE "Symbol Sequence Testbed "
- #include "global_stuff.h"
- #include "symbgen.h"
- #include "symb_analyzer.h"
- #include "siganchr.h"
- main()
- {
- #include "sim_preamble.cpp"
- //=========================================================================
- // Misc special processing
- //=========================================================================
- // Allocate signals
- BYTE_SIGNAL(symb_seq);
- //============================================================
- // Construct, initialize and connect models
-
- SymbGener* symb_gen = new SymbGener( "symb_gen ",
- CommSystem,
- symb_seq );
-
- SignalAnchor* symb_seq_anchr = new SignalAnchor( "symb_seq_anchr ",
- CommSystem,
- symb_seq );
- SymbSeqAnalyzer* symb_anlyzr = new SymbSeqAnalyzer( "symb_anlyzr ",
- CommSystem,
- symb_seq );
- //=============================================================
- #include "sim_postamble.cpp"
- return 0;
- }