hdl.dsl: accept (but warn on) cases wider than switch test value.
authorwhitequark <whitequark@whitequark.org>
Sun, 13 Jan 2019 08:46:28 +0000 (08:46 +0000)
committerwhitequark <whitequark@whitequark.org>
Sun, 13 Jan 2019 08:46:28 +0000 (08:46 +0000)
commit3083c1d6ddc2a80b745152eb6ee406d8ed3c5d12
tree46a7a77a33d25d412ffd358dca5892526e569889
parentcbf7bd6e315e52920c98afd72acc05eec8f5f078
hdl.dsl: accept (but warn on) cases wider than switch test value.

Fixes #13.
nmigen/hdl/ast.py
nmigen/hdl/dsl.py
nmigen/test/test_hdl_dsl.py