From 2ae7a67710c88d9fdbc85859293c334d85beee8a Mon Sep 17 00:00:00 2001 From: aolofsson Date: Wed, 29 Jun 2022 08:56:11 -0400 Subject: [PATCH] Improving help for lfsr module --- stdlib/rtl/oh_lfsr.v | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/stdlib/rtl/oh_lfsr.v b/stdlib/rtl/oh_lfsr.v index 3fcd9d9..d61d49f 100644 --- a/stdlib/rtl/oh_lfsr.v +++ b/stdlib/rtl/oh_lfsr.v @@ -9,10 +9,13 @@ * dynamically programming the taps and seed. Shift is from MSB to LSB, * feedback bit is from LSB. * - * - The lsfr updates when enable is set to 1. + * - The state is updated when 'en' is high. * * - Any non-zero seed value is legal. * + * - An LSFR of size N can create pseudo random cycles of shorter polynomials + * by zero padding the taps value up to the MSB. + * * - Driving taps externally is only practical with GALOIS configuration, * since the massive xor tree would be prohibitive with FIBONACCI.