Skip to content

Conversation

@jhjs7
Copy link

@jhjs7 jhjs7 commented Feb 26, 2024

the maximum value of wlen_count can be 14 which is in binary 001110 where 5th bit is always 0 but you are assigning 5th bit of wlen_count to wlast where C_WLEN_COUNT_WIDTH is 6. so, it will be 5th bit of wlen_count but it can never go to 16 where we can get 5th bit as 1 as we are down counting (OR) decrementing wlen_count

the maximum value of wlen_count can be 14 which is in binary 001110 where 5th bit is always 0 but you are assigning 5th bit of wlen_count to wlast where C_WLEN_COUNT_WIDTH is 6. so, it will be 5th bit of wlen_count but it can never go to 16 where we can get 5th bit as 1 as we are down counting  (OR) decrementing wlen_count
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