GNU Radio's GSM Package
Generator Class Reference

#include <BitVector.h>

Inheritance diagram for Generator:

Public Member Functions

 Generator (uint64_t wCoeff, unsigned wLen)
 
void clear ()
 
void syndromeShift (unsigned inBit)
 
void encoderShift (unsigned inBit)
 
Accessors
uint64_t state () const
 
unsigned size () const
 

Detailed Description

Shift-register (LFSR) generator.

Constructor & Destructor Documentation

Generator::Generator ( uint64_t  wCoeff,
unsigned  wLen 
)
inline

Member Function Documentation

void Generator::clear ( )
inline
void Generator::encoderShift ( unsigned  inBit)
inline

Update the generator state by one cycle. This is in the .h for inlining.

unsigned Generator::size ( ) const
inline
uint64_t Generator::state ( ) const
inline
void Generator::syndromeShift ( unsigned  inBit)
inline

Calculate one bit of a syndrome. This is in the .h for inlining.


The documentation for this class was generated from the following file: