GNU Radio 3.4.0 C++ API
gri_glfsr Class Reference

Galois Linear Feedback Shift Register using specified polynomial maskGenerates a maximal length pseudo-random sequence of length 2^degree-1. More...

#include <gri_glfsr.h>

List of all members.

Public Member Functions

 gri_glfsr (int mask, int seed)
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

gri_glfsr::gri_glfsr ( int  mask,
int  seed 
) [inline]

References mask().


Member Function Documentation

static int gri_glfsr::glfsr_mask ( int  degree) [static]
int gri_glfsr::mask ( ) const [inline]

Referenced by gri_glfsr().

unsigned char gri_glfsr::next_bit ( ) [inline]

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