complex gain block with offset
Core function SIM::amp_x.process()
More...
complex gain block with offset
Core function SIM::amp_x.process()
y = gain*x+offset
default gain = 1.0+j0.0
default offset = 0.0+j0.0
| complexd SIM::amp_x::get_gain |
( |
void |
| ) |
|
get gain
- Returns
- - [complex] gain
| complexd SIM::amp_x::get_offset |
( |
void |
| ) |
|
get offset value
- Returns
- - [complex] offset
| complexd SIM::amp_x::get_output |
( |
void |
| ) |
|
get output value y0
- Returns
- - [complex] y0
| cvec SIM::amp_x::process |
( |
const bvec & |
ce, |
|
|
const cvec & |
x |
|
) |
| |
process input samples - [x] for active clock ticks [ce]
- Parameters
-
| [in] | ce | [bvec] clock_enable vector |
| [in] | x | [cvec] input vector |
- Returns
- y [cvec] output vector y = gain*x + offset
| void SIM::amp_x::set_gain |
( |
complexd |
g | ) |
|
| void SIM::amp_x::set_offset |
( |
complexd |
o | ) |
|
| void SIM::amp_x::set_output |
( |
complexd |
yout | ) |
|
set output value y0
- Parameters
-
| [in] | yout | - [complex] => y0 |
The documentation for this class was generated from the following files:
- C:/jobs/vcc/itpp_sci/include/sim/sim_amp_x.hpp
- C:/jobs/vcc/itpp_sci/sim_lib/code/sim_amp_x.cpp