PAM modulator
Core function: SIM::pam_mod.process()
.
More...
PAM modulator
Core function: SIM::pam_mod.process()
.
| SIM::pam_mod::pam_mod |
( |
| ) |
|
|
inline |
| SIM::pam_mod::~pam_mod |
( |
| ) |
|
|
inline |
| double SIM::pam_mod::get_output |
( |
void |
| ) |
|
get output
- Returns
- - [double] y0
| double SIM::pam_mod::get_scale |
( |
| ) |
|
get scale
- Returns
- - scale factor
| int SIM::pam_mod::get_size |
( |
void |
| ) |
|
get M - constellation size
- Returns
- - constellation size
| vec SIM::pam_mod::process |
( |
const bvec & |
ce, |
|
|
const ivec & |
x |
|
) |
| |
for active clock ticks ce[i] and for given symbol code x[i] return PAM symbol y[i]
- Parameters
-
| ce | - bvec - clock_enable vector |
| x | - ivec - symbol code vector |
- Returns
- y - vec - symbol vector normalized [-1..+1];
| void SIM::pam_mod::set_output |
( |
double |
yout | ) |
|
set output value y0
- Parameters
-
| void SIM::pam_mod::set_scale |
( |
double |
s | ) |
|
set scale - default scaling is set by set_size() for [-1..+1] range
- Parameters
-
| void SIM::pam_mod::set_size |
( |
int |
m | ) |
|
set constellation size M=2,4,8,16,...
- Parameters
-
| [in] | m | - constellation size |
The documentation for this class was generated from the following files:
- C:/jobs/vcc/itpp_sci/include/sim/sim_pam_mod.hpp
- C:/jobs/vcc/itpp_sci/sim_lib/code/sim_pam_mod.cpp