binary up counter - wrapper for a SIM::counter
Core function: SCI::sci_counter.gen()
More...
binary up counter - wrapper for a SIM::counter
Core function: SCI::sci_counter.gen()
| SCI::sci_counter::sci_counter |
( |
| ) |
|
| SCI::sci_counter::~sci_counter |
( |
| ) |
|
| void SCI::sci_counter::destroy |
( |
| ) |
|
|
inlinevirtual |
| void SCI::sci_counter::exec |
( |
int |
command | ) |
|
|
virtual |
execute counter command
Supported commands:
SCI_RESET
- Parameters
-
| [in] | command | - to be executed |
Reimplemented from SCI::sci_base.
for active [ce] ticks, increment state modulo N, output carry flag as bit in bvec
- Parameters
-
| [in] | p_v_ce | - pointer to ce - sci_var [bvec] |
- Returns
- - pointer to y - new sci_var [bvec]
Reimplemented from SCI::sci_base.
| sci_var * SCI::sci_counter::get |
( |
int |
param | ) |
|
|
virtual |
create new sci_var object and assign its value to counter parameter param
Supported parameters:
SCI_TYPE, sci_var [int]
SCI_PARAM_N, sci_var [int]
SCI_STATE, sci_var [int]
- 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_counter::set |
( |
int |
param, |
|
|
sci_var * |
p_v |
|
) |
| |
|
virtual |
set parameters of a counter
Supported parameters:
SCI_PARAM_N, sci_var [int]
SCI_STATE, sci_var [int]
- 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_counter.hpp
- C:/jobs/vcc/itpp_sci/sci_lib/code/sci_counter.cpp