binary to integer converter - wrapper for a SIM::bin2int
Core function: SCI::sci_bin2int.proc()
More...
binary to integer converter - wrapper for a SIM::bin2int
Core function: SCI::sci_bin2int.proc()
| SCI::sci_bin2int::sci_bin2int |
( |
| ) |
|
| SCI::sci_bin2int::~sci_bin2int |
( |
| ) |
|
| void SCI::sci_bin2int::destroy |
( |
| ) |
|
|
inlinevirtual |
| void SCI::sci_bin2int::exec |
( |
int |
command | ) |
|
|
virtual |
execute command for an instance of a BIN2INT Supported commands: none
- Parameters
-
| [in] | command | - to be executed |
Reimplemented from SCI::sci_base.
| sci_var * SCI::sci_bin2int::get |
( |
int |
param | ) |
|
|
virtual |
create new sci_var object and assign its value to a parameter of the BIN2INT
Supported parameters:
SCI_TYPE, sci_var [int]
SCI_SYMBOL_SIZE, sci_var [int] size of the symbol in bits
SCI_MSB_FLAG, sci_var [bool] msb flag - x[0]=MSB
SCI_OUTPUT, sci_var [int] output for ce=0
- Parameters
-
| [in] | param | - parameter to get |
- Returns
- - pointer to sci_var object with the value of the parameter
Reimplemented from SCI::sci_base.
for active [ce] ticks, convert bvec x[i,:] into integer y[i]
- Parameters
-
| [in] | p_v_ce | - pointer to ce - sci_var [bvec] |
| [in] | p_v_x | - pointer to x - sci_var [bmat] |
- Returns
- - pointer to y - new sci_var [ivec]
Reimplemented from SCI::sci_base.
| void SCI::sci_bin2int::set |
( |
int |
param, |
|
|
sci_var * |
p_v |
|
) |
| |
|
virtual |
set parameters of a BIN2INT
Supported parameters:
SCI_SYMBOL_SIZE, sci_var [int] size of the symbol in bits
SCI_MSB_FLAG, sci_var [bool] msb flag - x[0]=MSB
SCI_OUTPUT, sci_var [int] output for ce=0
- Parameters
-
| [in] | param | - parameter to set |
| [in] | p_v | - pointer to sci_var object with value of the parameter |
Reimplemented from SCI::sci_base.
The documentation for this class was generated from the following files:
- C:/jobs/vcc/itpp_sci/include/sci/sci_bin2int.hpp
- C:/jobs/vcc/itpp_sci/sci_lib/code/sci_bin2int.cpp