#include <bit_scrambler.h>
Public Member Functions | |
| bit_scrambler (long gen=0x48, long bits=7, long uinit=-1) | |
| void | reset () |
| bool | scramble (bool data_in) |
| bool | xor_bits (long x) |
| Exclusive or reduction. | |
Public Attributes | |
| unsigned long | g |
| long | span |
| unsigned long | u |
Does scrambling function on input bits
| SPUC::bit_scrambler::bit_scrambler | ( | long | gen = 0x48, |
|
| long | bits = 7, |
|||
| long | uinit = -1 | |||
| ) | [inline] |
| void SPUC::bit_scrambler::reset | ( | ) | [inline] |
| bool SPUC::bit_scrambler::scramble | ( | bool | data_in | ) |
| bool SPUC::bit_scrambler::xor_bits | ( | long | x | ) |
Exclusive or reduction.
| unsigned long SPUC::bit_scrambler::g |
| unsigned long SPUC::bit_scrambler::u |
1.4.7