Skip to content

Latest commit

 

History

5 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ez-lfsr

lfsr.py is a small Python utility for generating maximal-length (m-sequence) Galois LFSR output sequences and Gold codes. Output can be emitted as comma-separated bits or as a packed hexadecimal value.

Usage

Run the built-in help for definitive usage instructions and examples:

python3 lfsr.py --help

Repository contents

  • lfsr.py Command-line tool that generates:

    • LFSR sequences from [#bits] [taps] [init]
    • Gold codes from --gold/-g [codeindex] [#bits] [taps1] [taps2] [init]
  • lfsr_feedback_terms/ Precomputed feedback tap terms (by register width) useful for selecting maximal-length polynomials.

  • galois_lfsr_in_c/ Minimal C reference implementation / demo of the same Galois LFSR stepping logic.

About

A tool for easily generating LFSR sequences or Gold codes.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages