QAM modulator
Core function: SIM::qam_mod.process()
.
More...
QAM modulator
Core function: SIM::qam_mod.process()
.
| SIM::qam_mod::qam_mod |
( |
| ) |
|
|
inline |
| SIM::qam_mod::~qam_mod |
( |
| ) |
|
|
inline |
| complexd SIM::qam_mod::get_output |
( |
void |
| ) |
|
get output
- Returns
- - [double] y0
| double SIM::qam_mod::get_scale |
( |
| ) |
|
get scale
- Returns
- - scale factor
| int SIM::qam_mod::get_size |
( |
void |
| ) |
|
get M - square constellation size 4,16,64,256,...
- Returns
- - constellation size
| cvec SIM::qam_mod::process |
( |
const bvec & |
ce, |
|
|
const ivec & |
x |
|
) |
| |
for active clock ticks ce[i] return complex symbol y[i]=I+j*Q for a given symbol code x[i]
- Parameters
-
| ce | - bvec - clock_enable vector |
| x | - ivec - symbol code vector |
- Returns
- y - cvec - iq complex symbol normalized iq = [-1..+1][-1..+1] ;
| void SIM::qam_mod::set_output |
( |
complexd |
yout | ) |
|
set output value y0
- Parameters
-
| [in] | yout | - [complex] => y0 |
| void SIM::qam_mod::set_scale |
( |
double |
s | ) |
|
set scaling - default scaling is IQ[-1..+1][-1..+1] and set by set_size()
- Parameters
-
| void SIM::qam_mod::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_mod.hpp
- C:/jobs/vcc/itpp_sci/sim_lib/code/sim_qam_mod.cpp