binary to integer converter
Core function SIM::int2bin.process()
More...
binary to integer converter
Core function SIM::int2bin.process()
| SIM::int2bin::int2bin |
( |
| ) |
|
|
inline |
| SIM::int2bin::~int2bin |
( |
| ) |
|
|
inline |
| bool SIM::int2bin::get_msb_flag |
( |
| ) |
|
get msb flag - x[0]=MSB
- Returns
- - [bool] msb flag - x[0]=MSB
| bvec SIM::int2bin::get_output |
( |
void |
| ) |
|
get initial/idle output symbol
- Returns
- - [bvec] y0
| int SIM::int2bin::get_symbol_size |
( |
void |
| ) |
|
get size of a symbol - number of columns for binary symbol
- Returns
- [int] size of a symbol W
| bmat SIM::int2bin::process |
( |
const bvec & |
ce, |
|
|
const ivec & |
x |
|
) |
| |
for active clock ticks ce[i] convert one input symbol x[i] into binary symbol y[i,W]
- Parameters
-
| ce | - [bvec] - clock enable vector - sizeof(ce)=N |
| x | - [ivec] - input symbols vector - sizeof(x)=N |
- Returns
- y - [bmat] - output symbols matrix - sizeof(y)=[N,W]
| void SIM::int2bin::set_msb_flag |
( |
bool |
msb | ) |
|
set msb flag - x[0]=MSB
- Parameters
-
| void SIM::int2bin::set_output |
( |
const bvec & |
yout | ) |
|
sets initial/idle output symbol
- Parameters
-
| [in] | yout | - [bvec] y0 = yout |
| void SIM::int2bin::set_symbol_size |
( |
int |
W | ) |
|
set size of a symbol - W - number of columns for binary symbol
- Parameters
-
| [in] | W | - [int] size of a symbol |
The documentation for this class was generated from the following files:
- C:/jobs/vcc/itpp_sci/include/sim/sim_int2bin.hpp
- C:/jobs/vcc/itpp_sci/sim_lib/code/sim_int2bin.cpp