11#ifndef INCLUDED_DIGITAL_GLFSR_H
12#define INCLUDED_DIGITAL_GLFSR_H
31 uint64_t d_shift_register;
35 glfsr(uint64_t mask, uint64_t seed)
37 d_shift_register = seed;
46 uint64_t
mask()
const {
return d_mask; }
Galois Linear Feedback Shift Register using specified polynomial mask.
Definition: glfsr.h:29
glfsr(uint64_t mask, uint64_t seed)
Definition: glfsr.h:35
static uint64_t glfsr_mask(unsigned int degree)
uint64_t mask() const
Definition: glfsr.h:46
#define DIGITAL_API
Definition: gr-digital/include/gnuradio/digital/api.h:18
GNU Radio logging wrapper.
Definition: basic_block.h:29