hdl.dsl: add missing case width check for Enum values.
authorwhitequark <whitequark@whitequark.org>
Fri, 31 Jan 2020 23:14:16 +0000 (23:14 +0000)
committerwhitequark <whitequark@whitequark.org>
Fri, 31 Jan 2020 23:14:16 +0000 (23:14 +0000)
commitb0d4805a8d7950b0a4a32e14c7d6ef38aec8df23
tree87f7c2ad393a6690d70039f0fc980ae71bba3361
parent7b6ebbb8fc615f0e40ab26143078a4e972c037dd
hdl.dsl: add missing case width check for Enum values.

Fixes #305.
nmigen/hdl/dsl.py
nmigen/test/test_hdl_dsl.py