Added rem/div operation to postprocessor

This commit is contained in:
cturek 2022-11-02 17:49:40 +00:00
parent e8d7607e87
commit e37f564e84
2 changed files with 12 additions and 8 deletions

View File

@ -79,5 +79,8 @@ module fdivsqrt(
.X,.Dpreproc, .FirstWS(WS), .FirstWC(WC),
.DivStartE, .Xe(XeE), .Ye(YeE), .XZeroE, .YZeroE,
.DivBusy);
fdivsqrtpostproc fdivsqrtpostproc(.WS, .WC, .D, .FirstU, .FirstUM, .FirstC, .Firstun, .SqrtM, .SpecialCaseM, .QmM, .WZero, .DivSM);
fdivsqrtpostproc fdivsqrtpostproc(
.WS, .WC, .D, .FirstU, .FirstUM, .FirstC, .Firstun,
.SqrtM, .SpecialCaseM, .remOp(Funct3E[1]),
.QmM, .WZero, .DivSM);
endmodule

View File

@ -38,6 +38,7 @@ module fdivsqrtpostproc(
input logic Firstun,
input logic SqrtM,
input logic SpecialCaseM,
input logic remOp,
output logic [`DIVb:0] QmM,
output logic WZero,
output logic DivSM