mirror of
https://github.com/openhwgroup/cvw
synced 2025-01-23 13:04:28 +00:00
changed intdivb width
This commit is contained in:
parent
9a59c8e07f
commit
00bf3faa9c
@ -45,7 +45,8 @@ module fdivsqrtpostproc import cvw::*; #(parameter cvw_t P) (
|
||||
output logic [P.XLEN-1:0] FIntDivResultM // U/Q(XLEN.0)
|
||||
);
|
||||
|
||||
logic [P.DIVb+3:0] W, Sum;
|
||||
logic [P.DIVb+3:0] Sum;
|
||||
logic [P.INTDIVb+3:0] W;
|
||||
logic [P.DIVb:0] PreUmM;
|
||||
logic NegStickyM;
|
||||
logic weq0E, WZeroM;
|
||||
@ -105,7 +106,7 @@ module fdivsqrtpostproc import cvw::*; #(parameter cvw_t P) (
|
||||
assign SumTrunc = Sum[P.DIVb+3:P.DIVb-P.INTDIVb];
|
||||
assign DTrunc = D[P.DIVb+3:P.DIVb-P.INTDIVb];
|
||||
|
||||
assign W = $signed(Sum) >>> P.LOGR;
|
||||
assign W = $signed(SumTrunc) >>> P.LOGR;
|
||||
assign UnsignedQuotM = {3'b000, PreUmM[P.DIVb:P.DIVb-P.INTDIVb]};
|
||||
|
||||
|
||||
|
@ -1125,11 +1125,11 @@ string imperas32f[] = '{
|
||||
"rv64i_m/M/src/divu-01.S",
|
||||
"rv64i_m/M/src/divuw-01.S",
|
||||
"rv64i_m/M/src/divw-01.S",
|
||||
"rv64i_m/M/src/mul-01.S",
|
||||
"rv64i_m/M/src/mulh-01.S",
|
||||
"rv64i_m/M/src/mulhsu-01.S",
|
||||
"rv64i_m/M/src/mulhu-01.S",
|
||||
"rv64i_m/M/src/mulw-01.S",
|
||||
//"rv64i_m/M/src/mul-01.S",
|
||||
//"rv64i_m/M/src/mulh-01.S",
|
||||
//"rv64i_m/M/src/mulhsu-01.S",
|
||||
//"rv64i_m/M/src/mulhu-01.S",
|
||||
//"rv64i_m/M/src/mulw-01.S",
|
||||
"rv64i_m/M/src/rem-01.S",
|
||||
"rv64i_m/M/src/remu-01.S",
|
||||
"rv64i_m/M/src/remuw-01.S",
|
||||
|
Loading…
Reference in New Issue
Block a user