-
Notifications
You must be signed in to change notification settings - Fork 334
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix extraction function for variable-length fields
For VL fields, the bitwidth is dynamic and only known at extract time. Which means that extract_VL is in charge of computing the Bignum mask for the Field, which is then used to ensure that the field stays in the correct range. However, we were using an incorrect expression to compute the mask, which was causing it to be always 0 for bitwidths >= 32. Fixes issue #538
- Loading branch information
1 parent
7c200ad
commit f6f5de7
Showing
2 changed files
with
17 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters