Note: It is, of course, possible to trick the blocks into working by passing in 
negative values (n - 2**32), but it is not elegant.


________________________

Eugene Grayver, Ph.D.
Aerospace Corp., Sr. Eng. Spec.
Tel: 310.336.1274
________________________


________________________________
From: Eugene Grayver
Sent: Monday, August 8, 2016 5:22 PM
To: [email protected]
Subject: Re: Bug in digital::glfsr_source_b


Note: same issue with descrambler_bb and scrambler_bb.  The digital.lfsr block 
is correct.


________________________

Eugene Grayver, Ph.D.
Aerospace Corp., Sr. Eng. Spec.
Tel: 310.336.1274
________________________


________________________________
From: Eugene Grayver
Sent: Monday, August 8, 2016 2:47 PM
To: [email protected]
Subject: Bug in digital::glfsr_source_b


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
________________________

_______________________________________________
Discuss-gnuradio mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Reply via email to