forked from Github_Repos/cvw
fixed normshift calculations
This commit is contained in:
parent
e4579f3e9b
commit
c479b9f112
@ -127,10 +127,10 @@ module fdivsqrtpostproc(
|
||||
|
||||
always_comb
|
||||
if (RemOpM) begin
|
||||
NormShiftM = (m + (`DIVBLEN)'(`DIVa));
|
||||
NormShiftM = (m + (`DIVBLEN+1)'(`DIVa));
|
||||
PreResultM = IntRemM;
|
||||
end else begin
|
||||
NormShiftM = ((`DIVBLEN)'(`DIVb) - (n << `LOGR));
|
||||
NormShiftM = ((`DIVBLEN+1)'(`DIVb) - (n << `LOGR));
|
||||
PreResultM = {3'b000, IntQuotM};
|
||||
end
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user