Module._check_signed_cond() performs a Value.cast (now self._AstType.cast)
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Sat, 2 Oct 2021 15:28:28 +0000 (16:28 +0100)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Sat, 2 Oct 2021 15:28:28 +0000 (16:28 +0100)
commit7d5f6d6c31c13c18115fe10663e5b031957ee6fc
tree5e237f5e956ffab7a86f3b7b74659c45293c787c
parentc5128760b29aa3fe34fdaa8cc463a555ae5939fc
Module._check_signed_cond() performs a Value.cast (now self._AstType.cast)
in each instance it is used (for m.If and m.Elif).  therefore, why not
move the bool check-and-convert *into* Module._check_signed_cond()
nmigen/hdl/dsl.py