change decode_reducing_polynomial definition so it can encode x^XLEN + x + 1
authorJacob Lifshay <programmerjake@gmail.com>
Fri, 17 May 2024 08:10:57 +0000 (01:10 -0700)
committerJacob Lifshay <programmerjake@gmail.com>
Fri, 17 May 2024 08:10:57 +0000 (01:10 -0700)
commit1b041671a37502608fe577110193398f18b7fee8
treea327a578d0574e5c1296e79bff6371cfcde8f365
parent9d615801f85b1878bc46548bca1479c73438bf8c
change decode_reducing_polynomial definition so it can encode x^XLEN + x + 1

also adds a test that all degree <= XLEN irreducible polynomials can be encoded
gf_reference/decode_reducing_polynomial.py
gf_reference/test_cl_gfb_gfp.py
src/nmigen_gf/hdl/decode_reducing_polynomial.py