Skip to content

Conversation

@shweta503
Copy link

This commit adds test cases to test byte alignment when LPM bitwidth is not divisible by 8 (so far the repo only had tests for cases when bitwidth is divisible by 8). Adding these tests revealed a bug which caused these test cases to fail because expected number of trailing zeros (as per current expectations by PI) was calculated incorrectly. This commit also includes fix for the bug.

These tests will also be useful for validating an eventual fix to this issue: #625

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant