PAM demodulator
Core function: SIM::pam_mod.process()
.
More...
PAM demodulator
Core function: SIM::pam_mod.process()
.
| SIM::pam_dem::pam_dem |
( |
| ) |
|
|
inline |
| SIM::pam_dem::~pam_dem |
( |
| ) |
|
|
inline |
| int SIM::pam_dem::get_output |
( |
void |
| ) |
|
get output
- Returns
- - [double] y0
| double SIM::pam_dem::get_scale |
( |
| ) |
|
get scale
- Returns
- - scale factor
| int SIM::pam_dem::get_size |
( |
void |
| ) |
|
get M - constellation size
- Returns
- - constellation size
| ivec SIM::pam_dem::process |
( |
const bvec & |
ce, |
|
|
const vec & |
x |
|
) |
| |
for active clock ticks ce[i] and for given PAM symbol x[i] return symbol code y[i]
- Parameters
-
| ce | - bvec - clock_enable vector |
| x | - vec - symbol vector |
- Returns
- y - ivec - symbol code ;
| void SIM::pam_dem::set_output |
( |
int |
yout | ) |
|
set output value y0
- Parameters
-
| void SIM::pam_dem::set_scale |
( |
double |
s | ) |
|
set scale - default scaling is set by set_size() for [-1..+1] range
- Parameters
-
| void SIM::pam_dem::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_dem.hpp
- C:/jobs/vcc/itpp_sci/sim_lib/code/sim_pam_dem.cpp