compat.fhdl.bitcontainer: fix value_bits_sign().
authorwhitequark <whitequark@whitequark.org>
Tue, 21 Jul 2020 02:53:29 +0000 (02:53 +0000)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Fri, 31 Dec 2021 14:53:59 +0000 (14:53 +0000)
commit2d2f4720720c03bc381d14b56c626fdbd1bc2351
treec5da8212ec9d3d4a6268110b3ab2a9d72e0f2e09
parent44336b8d0cf8c6d0f6991d31463f6ea76af8e690
compat.fhdl.bitcontainer: fix value_bits_sign().

This function was broken in commit 659b0e81; some downstream code
expects bits_sign to be e.g. indexable.
nmigen/compat/fhdl/bitcontainer.py