11 #ifndef INCLUDED_GRI_LFSR_15_1_0_H
12 #define INCLUDED_GRI_LFSR_15_1_0_H
39 d_sr = ((((d_sr >> 1) ^ d_sr) & 0x1) << 14) | (d_sr >> 1);
46 for (
int i = 0; i < 8; i++) {
Linear Feedback Shift Register using primitive polynomial x^15 + x + 1.
Definition: lfsr_15_1_0.h:28
int next_byte()
Definition: lfsr_15_1_0.h:43
lfsr_15_1_0()
Definition: lfsr_15_1_0.h:33
int next_bit()
Definition: lfsr_15_1_0.h:37
void reset()
Definition: lfsr_15_1_0.h:35
#define BLOCKS_API
Definition: gr-blocks/include/gnuradio/blocks/api.h:18
GNU Radio logging wrapper.
Definition: basic_block.h:29
Definition: cc_common.h:35