fixed sticky bit logic bug

This commit is contained in:
Kevin Kim 2023-07-06 19:48:25 -07:00
parent 654f6dee3f
commit 8d898b16c7

View File

@ -167,7 +167,7 @@ module divremsqrtround import cvw::*; #(parameter cvw_t P) (
// only add the Addend sticky if doing an FMA opperation
// - the shifter shifts too far left when there's an underflow (shifting out all possible sticky bits)
assign Sticky = DivSticky&DivOp;
assign Sticky = DivSticky&DivOp | NormSticky;