remove Mux Value.cast before passing to 1st argument __Mux__
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Tue, 28 Sep 2021 12:14:10 +0000 (13:14 +0100)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Sat, 2 Oct 2021 14:58:16 +0000 (15:58 +0100)
commit3df28b89fb027baba85396e52762b5d766fb0a8b
tree159cbedf94b48691d189dc2a1cbe23375baf162c
parent13de024a4803a04f0b43e029473716749b49b0df
remove Mux Value.cast before passing to 1st argument __Mux__
only one case requires Mux to perform Value.cast, which is when the sel
argument is a python bool
nmigen/hdl/ast.py