sim._pyrtl: mask Mux selection operand.
authorMarcelina Koƛcielnicka <mwk@0x04.net>
Sat, 14 Nov 2020 15:22:34 +0000 (16:22 +0100)
committerGitHub <noreply@github.com>
Sat, 14 Nov 2020 15:22:34 +0000 (15:22 +0000)
commit44318149e00ccce6e63ba39361daff7ecc505bbe
treec97d1e575c52d10c44de2b50c717130fcf219a0c
parentadef3b2e7bb1a0aecededd49081df990ec51ab17
sim._pyrtl: mask Mux selection operand.

Otherwise it behaves funny when it's eg. the result of operator ~.
nmigen/sim/_pyrtl.py
tests/test_sim.py