hdl.ast: don't crash on Mux(<bool>, ...).
authorwhitequark <whitequark@whitequark.org>
Wed, 2 Oct 2019 08:24:37 +0000 (08:24 +0000)
committerwhitequark <whitequark@whitequark.org>
Wed, 2 Oct 2019 08:30:15 +0000 (08:30 +0000)
commit9458de207927918a848330ab799d63d34dd89b79
tree1b5ed22d353d5f9a1c3236c3665782106c1101a7
parentd139f340b33ce79dcb97f29b9e08f544a650e52b
hdl.ast: don't crash on Mux(<bool>, ...).

Fixes #240.
nmigen/hdl/ast.py
nmigen/test/test_hdl_ast.py