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

Static Public Member Functions

static uint64_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 if given a primitive polynomial.

Constructor & Destructor Documentation

◆ glfsr()

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

◆ ~glfsr()

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

Member Function Documentation

◆ glfsr_mask()

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

◆ mask()

uint64_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: