lib.coding: add GrayEncoder and GrayDecoder.
authorwhitequark <whitequark@whitequark.org>
Sun, 20 Jan 2019 02:20:34 +0000 (02:20 +0000)
committerwhitequark <whitequark@whitequark.org>
Sun, 20 Jan 2019 02:20:34 +0000 (02:20 +0000)
commitb6cff2c0987d19495b706cc586d3c1606e6aff76
tree6236d17576dee4b9c79c9555fcd8966dee4131fe
parent9757157fe2457a8fa8192666626829e7839b5f74
lib.coding: add GrayEncoder and GrayDecoder.

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