lib.coding: add GrayEncoder and GrayDecoder.
authorwhitequark <cz@m-labs.hk>
Sun, 20 Jan 2019 02:20:34 +0000 (02:20 +0000)
committerwhitequark <cz@m-labs.hk>
Sun, 20 Jan 2019 02:20:34 +0000 (02:20 +0000)
commit4c5ac222e7a1901429d77807265481e6de203be6
tree6236d17576dee4b9c79c9555fcd8966dee4131fe
parenta48bc64312999e47f8d21341107763d9e1e03f37
lib.coding: add GrayEncoder and GrayDecoder.

Unlike the Migen ones, these are purely combinatorial.
nmigen/lib/coding.py
nmigen/test/test_lib_coding.py