mirror of
https://github.com/openhwgroup/cvw
synced 2025-02-11 06:05:49 +00:00
fixed sticky bit logic bug
This commit is contained in:
parent
654f6dee3f
commit
8d898b16c7
@ -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;
|
||||
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user