Skip to content

Booth yehjen - #586

Merged
alanminko merged 2 commits into
masterfrom
booth-yehjen
Oct 10, 2026
Merged

alanminko merged 2 commits into
masterfrom
booth-yehjen

Conversation

@alanminko

Copy link
Copy Markdown
Contributor

No description provided.

alanminko and others added 2 commits October 9, 2026 19:55
Wlc_BlastBooth returned nArgA + nArgB + 4 bits, of which the bits above
nArgA + nArgB are leftovers of the sign-extension trick, not product bits.
When the result range was wider than the sum of the operand widths,
%blast -b filled the extra result bits with these values instead of
zero or sign extension (e.g. 7x3 -> 16 bits gave c = 16'h4000 for 0*0).
Shrink the result to the product width so the caller extends it correctly.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
@alanminko
alanminko merged commit 2295f8a into master Oct 10, 2026
7 of 18 checks passed
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