discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Discuss-gnuradio] Bug in digital::glfsr_source_b


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.
Aerospace Corp., Sr. Eng. Spec.
Tel: 310.336.1274
________________________



reply via email to

[Prev in Thread] Current Thread [Next in Thread]