mirror of
https://github.com/openhwgroup/cvw
synced 2025-02-11 06:05:49 +00:00
Merge branch 'main' of github.com:davidharrishmc/riscv-wally
This commit is contained in:
commit
e5f7e68d31
@ -127,10 +127,10 @@ module fdivsqrtpostproc(
|
|||||||
|
|
||||||
always_comb
|
always_comb
|
||||||
if (RemOpM) begin
|
if (RemOpM) begin
|
||||||
NormShiftM = (m + (`DIVBLEN)'(`DIVa));
|
NormShiftM = (m + (`DIVBLEN+1)'(`DIVa));
|
||||||
PreResultM = IntRemM;
|
PreResultM = IntRemM;
|
||||||
end else begin
|
end else begin
|
||||||
NormShiftM = ((`DIVBLEN)'(`DIVb) - (n << `LOGR));
|
NormShiftM = ((`DIVBLEN+1)'(`DIVb) - (n << `LOGR));
|
||||||
PreResultM = {3'b000, IntQuotM};
|
PreResultM = {3'b000, IntQuotM};
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user