|
From: | Eugene Grayver |
Subject: | [Discuss-gnuradio] Bug in digital::glfsr_source_b |
Date: | Mon, 8 Aug 2016 21:47:47 +0000 |
I found a minor (?) bug in glfsr_source_b and _f, and in glfsr.h. The input types for mask and seed should be 'unsigned int', not 'int'. Currently it does not allow 32-bit values, only 31-bit values. While somebody is fixing that, they should also make 'length' an optional input to have the LFSR restart after fewer than 2^degree outputs.
________________________ Eugene Grayver, Ph.D. |
[Prev in Thread] | Current Thread | [Next in Thread] |