23 #ifndef INCLUDED_DIGITAL_GLFSR_H 24 #define INCLUDED_DIGITAL_GLFSR_H 27 #include <boost/cstdint.hpp> 42 uint32_t d_shift_register;
46 glfsr(uint32_t mask, uint32_t seed)
48 d_shift_register = seed;
53 static uint32_t glfsr_mask(
unsigned int degree);
57 uint32_t
mask()
const {
return d_mask; }
#define DIGITAL_API
Definition: gr-digital/include/gnuradio/digital/api.h:30
glfsr(uint32_t mask, uint32_t seed)
Definition: glfsr.h:46
uint32_t mask() const
Definition: glfsr.h:57
Galois Linear Feedback Shift Register using specified polynomial mask.
Definition: glfsr.h:39
GNU Radio logging wrapper for log4cpp library (C++ port of log4j)
Definition: basic_block.h:43