lfsr_galois
Parameters
SIZE | u32 | Size of the LFSR in bits |
---|---|---|
TAPVEC | TAPVEC_T | Bit-vector representing the taps of the LFSR. Default values provided for `SIZE` in range [2, 64] |
Ports
i_clk | input | clock | Clock |
---|---|---|---|
i_en | input | logic | Enable - LFSR shifts only when enabled. Active high. |
i_set | input | logic | Flag to set value of LFSR. Active High. |
i_setval | input | logic |
Value which LFSR is set to when `i_set` is set. |
o_val | output | logic |
LFSR value. |