一、LFSR原理
1.1 Fibonacci LFSRs

1.2 Galois LFSRs

二、verilog代码
某大佬的开源代码:https://github.com/AmeerAbdelhadi/Linear-Feedback-Shift-Register-LFSR-Counter/tree/master
此代码采用的LFSR是Fibonacci LFSRs。
多项式采用的是Solomon W. Golomb开发的,链接:https://en.wikipedia.org/wiki/Linear-feedback_shift_register
所有评论(0)