compat.fhdl.bitcontainer: fix value_bits_sign().
authorwhitequark <whitequark@whitequark.org>
Tue, 21 Jul 2020 02:53:29 +0000 (02:53 +0000)
committerwhitequark <whitequark@whitequark.org>
Tue, 21 Jul 2020 02:53:29 +0000 (02:53 +0000)
commit0899ff366b5fa7cbfb71da3e6c24bf458fae10ee
tree68568e09b2a1c3d544bc95452408de6df618bb05
parent5ccc2122ce42f5581957bbec998ff308d5b88b29
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