Lookup Tables Utilities¶
Functions Description¶
-
template<int
output
, intinput
, intmemory
>
inline voidcreate_states_lkup
(sc_lv<memory * input> *next_state_lkp)¶ Initialize the next state lookup table.
Parameters: sc_lv<memory * input> * next_state_lkp – Pointer to the lookup table to to be initialized.
-
template<int
output
, intinput
, intmemory
>
inline voidcreate_output_lkup
(sc_lv<memory * input> polynomials[output], sc_lv<output> *output_lkp)¶ Initialize the output/encoded lookup table.
Parameters: - sc_lv<memory * input> polynomials[output] – Polynomials used to encode.
- sc_lv<output> * output_lkp – Pointer to the output/encoded lookup table to be initialized.