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>
Tue, 28 Sep 2021 12:14:10 +0000 (13:14 +0100)
commit72918b79e3d9205991ce046f8e2977060725f333
treec4cff4c9577c23e05319c3d5fd589e214e0f5a0b
parent6a66c8a2283f031dbc7aec12bbf7b5b708e66469
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