linear feedback shift register - wrapper for a SIM::lfsr
Core function: SCI::sci_lfsr.gen()
More...
linear feedback shift register - wrapper for a SIM::lfsr
Core function: SCI::sci_lfsr.gen()
| SCI::sci_lfsr::sci_lfsr |
( |
| ) |
|
| SCI::sci_lfsr::~sci_lfsr |
( |
| ) |
|
| sci_lfsr* SCI::sci_lfsr::create |
( |
int |
sci_type | ) |
|
|
inline |
| void SCI::sci_lfsr::destroy |
( |
| ) |
|
|
inlinevirtual |
| void SCI::sci_lfsr::exec |
( |
int |
command | ) |
|
|
virtual |
execute command for an instance of a LFSR
Supported commands:
SCI_RESET
- Parameters
-
| [in] | command | - to be executed |
Reimplemented from SCI::sci_base.
for active [ce] ticks, assign newly created symbol [bvec] to output row
- Parameters
-
| [in] | p_v_ce | - pointer to ce - sci_var [bvec] |
- Returns
- - pointer to y - new sci_var [bmat]
Reimplemented from SCI::sci_base.
| sci_var * SCI::sci_lfsr::get |
( |
int |
param | ) |
|
|
virtual |
create new sci_var object and assign its value to LFSR parameter
Supported parameters:
SCI_TYPE, sci_var [int]
SCI_SYMBOL_SIZE, sci_var [int]
SCI_LENGTH, sci_var [int]
SCI_POLY, sci_var [bvec]
SCI_STATE, sci_var [bvec]
SCI_RESET_STATE, sci_var [bvec]
SCI_OUTPUT, sci_var [bvec]
SCI_REVERSE_FLAG sci_var [bool]
- Parameters
-
| [in] | param | - parameter to get |
- Returns
- - pointer to created sci_var, actual object type depends on input parameter
Reimplemented from SCI::sci_base.
| void SCI::sci_lfsr::set |
( |
int |
param, |
|
|
sci_var * |
p_v |
|
) |
| |
|
virtual |
set parameters of a LFSR
Supported parameters:
SCI_POLY, sci_var [bvec]
SCI_STATE, sci_var [bvec]
SCI_RESET_STATE, sci_var [bvec]
SCI_OUTPUT, sci_var [bvec]
SCI_SYMBOL_SIZE, sci_var [int]
SCI_PRBS, sci_var [int]
SCI_REVERSE_FLAG sci_var [bool]
- Note
- SET SCI_POLY or SCI_PRBS and SCI_SYMBOL_SIZE are necessary configuration
- 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_lfsr.hpp
- C:/jobs/vcc/itpp_sci/sci_lib/code/sci_lfsr.cpp