GNU Radio Manual and C++ API Reference  3.8.1.0
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 (uint32_t mask, uint32_t seed)
 
 ~glfsr ()
 
uint8_t next_bit ()
 
uint32_t mask () const
 

Static Public Member Functions

static uint32_t glfsr_mask (unsigned 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

◆ glfsr()

gr::digital::glfsr::glfsr ( uint32_t  mask,
uint32_t  seed 
)
inline

◆ ~glfsr()

gr::digital::glfsr::~glfsr ( )

Member Function Documentation

◆ glfsr_mask()

static uint32_t gr::digital::glfsr::glfsr_mask ( unsigned int  degree)
static

◆ mask()

uint32_t gr::digital::glfsr::mask ( ) const
inline

◆ next_bit()

uint8_t gr::digital::glfsr::next_bit ( )

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