SPUC
3.0
|
A Class for simulating a variable rate QPSK system. More...
#include <sim_qpsk_variable.h>
Public Types | |
typedef fundtype< Numeric >::ftype | CNumeric |
typedef complex< CNumeric > | complex_type |
Public Member Functions | |
sim_qpsk_variable (void) | |
void | loop_init (float_type actual, float_type time_offset=0) |
void | tx_step (void) |
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! More... | |
void | rx_step (complex< CNumeric > b) |
void | step (void) |
void | loop_end (void) |
Public Attributes | |
qpsk_ber_test * | BER_mon |
quad_data< float_type > * | tx_data_source |
vco< float_type > * | freq_offset |
noise * | n |
qpsk_variable< Numeric > * | RECEIVER |
long | num |
float_type | var |
float_type | snr |
float_type | timing_offset |
long | total_over |
complex< float_type > | data |
complex< float_type > | base |
complex< float_type > | main |
complex< float_type > | b_noise |
float_type | sum_s |
float_type | sum_n |
long | rcv_symbols |
long | count |
int | dec_rate_log |
float_type | resample_over |
float_type | agc_scale |
float_type | nominal_scale |
float_type | analog_agc |
float_type | analog_filter_gain |
float_type | analog_agc_gain |
float_type | actual_over |
float_type | tx_time_inc |
int | rc_delay |
long | symbol_nco_word |
A Class for simulating a variable rate QPSK system.
that includes transmitters, receivers, frequency offsets, gaussian noise, and a BER tester Based on sim_qpsk with some minor changes.
typedef fundtype<Numeric>::ftype SPUC::sim_qpsk_variable< Numeric >::CNumeric |
typedef complex<CNumeric> SPUC::sim_qpsk_variable< Numeric >::complex_type |
|
inline |
|
inline |
|
inline |
References SPUC::sim_qpsk_variable< Numeric >::actual_over, SPUC::sim_qpsk_variable< Numeric >::analog_agc_gain, SPUC::qpsk_variable< Numeric >::carrier_loop_filter, SPUC::sim_qpsk_variable< Numeric >::dec_rate_log, SPUC::loop_filter< Numeric, Coeff >::k0, SPUC::loop_filter< Numeric, Coeff >::k1, SPUC::sim_qpsk_variable< Numeric >::nominal_scale, SPUC::qpsk_variable< Numeric >::rate_change, SPUC::quad_data< Numeric >::set_initial_offset(), SPUC::sqrt(), SPUC::sim_qpsk_variable< Numeric >::total_over, and TWOPI.
Referenced by main().
|
inline |
References SPUC::qpsk_variable< Numeric >::clock(), and SPUC::qpsk_variable< Numeric >::symclk().
Referenced by SPUC::sim_qpsk_variable< Numeric >::step().
|
inline |
References SPUC::sim_qpsk_variable< Numeric >::rx_step(), and SPUC::sim_qpsk_variable< Numeric >::tx_step().
Referenced by main().
|
inline |
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
References SPUC::sim_qpsk_variable< Numeric >::agc_scale, SPUC::sim_qpsk_variable< Numeric >::b_noise, SPUC::noise::Cgauss(), SPUC::vco< Numeric >::clock(), SPUC::quad_data< Numeric >::get_sample(), and SPUC::magsq().
Referenced by SPUC::sim_qpsk_variable< Numeric >::step().
float_type SPUC::sim_qpsk_variable< Numeric >::actual_over |
Referenced by SPUC::sim_qpsk_variable< Numeric >::loop_init().
float_type SPUC::sim_qpsk_variable< Numeric >::agc_scale |
Referenced by main(), and SPUC::sim_qpsk_variable< Numeric >::tx_step().
float_type SPUC::sim_qpsk_variable< Numeric >::analog_agc |
float_type SPUC::sim_qpsk_variable< Numeric >::analog_agc_gain |
Referenced by SPUC::sim_qpsk_variable< Numeric >::loop_init().
float_type SPUC::sim_qpsk_variable< Numeric >::analog_filter_gain |
complex<float_type> SPUC::sim_qpsk_variable< Numeric >::b_noise |
Referenced by SPUC::sim_qpsk_variable< Numeric >::tx_step().
complex<float_type> SPUC::sim_qpsk_variable< Numeric >::base |
Referenced by main().
qpsk_ber_test* SPUC::sim_qpsk_variable< Numeric >::BER_mon |
Referenced by SPUC::sim_qpsk_variable< Numeric >::loop_end(), and main().
long SPUC::sim_qpsk_variable< Numeric >::count |
complex<float_type> SPUC::sim_qpsk_variable< Numeric >::data |
int SPUC::sim_qpsk_variable< Numeric >::dec_rate_log |
Referenced by SPUC::sim_qpsk_variable< Numeric >::loop_init().
vco<float_type>* SPUC::sim_qpsk_variable< Numeric >::freq_offset |
Referenced by SPUC::sim_qpsk_variable< Numeric >::loop_end().
complex<float_type> SPUC::sim_qpsk_variable< Numeric >::main |
noise* SPUC::sim_qpsk_variable< Numeric >::n |
Referenced by SPUC::sim_qpsk_variable< Numeric >::loop_end().
float_type SPUC::sim_qpsk_variable< Numeric >::nominal_scale |
Referenced by SPUC::sim_qpsk_variable< Numeric >::loop_init().
long SPUC::sim_qpsk_variable< Numeric >::num |
Referenced by main().
int SPUC::sim_qpsk_variable< Numeric >::rc_delay |
long SPUC::sim_qpsk_variable< Numeric >::rcv_symbols |
Referenced by main().
qpsk_variable<Numeric>* SPUC::sim_qpsk_variable< Numeric >::RECEIVER |
Referenced by SPUC::sim_qpsk_variable< Numeric >::loop_end(), and main().
float_type SPUC::sim_qpsk_variable< Numeric >::resample_over |
float_type SPUC::sim_qpsk_variable< Numeric >::snr |
Referenced by main().
float_type SPUC::sim_qpsk_variable< Numeric >::sum_n |
Referenced by main().
float_type SPUC::sim_qpsk_variable< Numeric >::sum_s |
Referenced by main().
long SPUC::sim_qpsk_variable< Numeric >::symbol_nco_word |
float_type SPUC::sim_qpsk_variable< Numeric >::timing_offset |
long SPUC::sim_qpsk_variable< Numeric >::total_over |
Referenced by SPUC::sim_qpsk_variable< Numeric >::loop_init().
quad_data<float_type>* SPUC::sim_qpsk_variable< Numeric >::tx_data_source |
Referenced by SPUC::sim_qpsk_variable< Numeric >::loop_end().
float_type SPUC::sim_qpsk_variable< Numeric >::tx_time_inc |
float_type SPUC::sim_qpsk_variable< Numeric >::var |