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)
commit687d3a3df74b0a778fde104cde9c1edfdd761028
tree87f7c2ad393a6690d70039f0fc980ae71bba3361
parenta9da9efe5bdddd9be65bc93962e73702965bc61c
hdl.dsl: add missing case width check for Enum values.

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