GNU Radio Manual and C++ API Reference  3.7.13.4
The Free & Open Software Radio Ecosystem
gr::digital::glfsr Class Reference

Galois Linear Feedback Shift Register using specified polynomial mask. More...

#include <gnuradio/digital/glfsr.h>

Public Member Functions

 glfsr (int mask, int seed)
 
 ~glfsr ()
 
unsigned char next_bit ()
 
int mask () const
 

Static Public Member Functions

static int glfsr_mask (int degree)
 

Detailed Description

Galois Linear Feedback Shift Register using specified polynomial mask.

Generates a maximal length pseudo-random sequence of length 2^degree-1

Constructor & Destructor Documentation

gr::digital::glfsr::glfsr ( int  mask,
int  seed 
)
inline
gr::digital::glfsr::~glfsr ( )

Member Function Documentation

static int gr::digital::glfsr::glfsr_mask ( int  degree)
static
int gr::digital::glfsr::mask ( ) const
inline
unsigned char gr::digital::glfsr::next_bit ( )
inline

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