Actually forward the field width to field_slice()
authorCesar Strauss <cestrauss@gmail.com>
Sat, 20 Feb 2021 21:12:03 +0000 (18:12 -0300)
committerCesar Strauss <cestrauss@gmail.com>
Sat, 20 Feb 2021 21:21:52 +0000 (18:21 -0300)
commit8cc6576bab311080b96f356f343b9238a04bd413
tree7c96b85cc4fb4fc51c2ee39bfdad6aa09435b48e
parente9847f328b064ea6de127c3087e8041127aca3f7
Actually forward the field width to field_slice()

This means that field extraction of multi-bit subfields, for field sizes
other than 64 bits, was buggy up to now.

Fortunately, there were no users of non-default field sizes so far.
src/soc/consts.py