hdl.rec: allow using Enum subclass as shape.
authorwhitequark <cz@m-labs.hk>
Sun, 22 Sep 2019 15:16:36 +0000 (15:16 +0000)
committerwhitequark <cz@m-labs.hk>
Sun, 22 Sep 2019 15:17:40 +0000 (15:17 +0000)
commit97ad2716bd6ef448a661cfa57d01b39dec204656
tree3bfa350651b97d3c7ad106b4c42fd269a8493c92
parent91e245b52f640205a73a710486cd1be599b36c9e
hdl.rec: allow using Enum subclass as shape.

Fixes #223.
nmigen/hdl/rec.py
nmigen/test/test_hdl_rec.py