selectable_int: fix check on SI constructor
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Thu, 18 Aug 2022 20:48:58 +0000 (21:48 +0100)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Mon, 29 Aug 2022 19:38:52 +0000 (20:38 +0100)
commit99565bb98a3e5e7b770efc529a5134699cab3c31
treeebb296c5ae1431bdefeced7cc1a5a0b89e7c9c93
parenta901b5512ae119abee24ac488796d5c854c4bc01
selectable_int: fix check on SI constructor

Specifying the number of bits *is* allowed, it should mean "override
the length". More unit tests need running to confirm.
src/openpower/decoder/selectable_int.py