QAM demodulator
Core function: SIM::qam_dem.process()
.
More...
QAM demodulator
Core function: SIM::qam_dem.process()
.
| SIM::qam_dem::qam_dem |
( |
| ) |
|
|
inline |
| SIM::qam_dem::~qam_dem |
( |
| ) |
|
|
inline |
| int SIM::qam_dem::get_output |
( |
void |
| ) |
|
get output
- Returns
- - [int] y0
| double SIM::qam_dem::get_scale |
( |
| ) |
|
get scale
- Returns
- - scale factor
| int SIM::qam_dem::get_size |
( |
void |
| ) |
|
get M - square constellation size 4,16,64,256,...
- Returns
- - constellation size
| ivec SIM::qam_dem::process |
( |
const bvec & |
ce, |
|
|
const cvec & |
x |
|
) |
| |
for active clock ticks ce[i] return symbol code y[i] for a sliced complex input x[i]=I+j*Q
- Parameters
-
| ce | - bvec - clock_enable vector |
| x | - cvec - iq complex symbol - normalized [I,Q] = [(-1..+1),(-1..+1)] |
- Returns
- y - ivec - symbol code vector
| void SIM::qam_dem::set_output |
( |
int |
yout | ) |
|
set output value y0
- Parameters
-
| void SIM::qam_dem::set_scale |
( |
double |
s | ) |
|
set scaling - default scaling is IQ[-1..+1][-1..+1] and set by set_size()
- Parameters
-
| void SIM::qam_dem::set_size |
( |
int |
m | ) |
|
set size - square constellation size M=4,16,64,256,...
- Parameters
-
| [in] | m | - constellation size |
The documentation for this class was generated from the following files:
- C:/jobs/vcc/itpp_sci/include/sim/sim_qam_dem.hpp
- C:/jobs/vcc/itpp_sci/sim_lib/code/sim_qam_dem.cpp