minor update
This commit is contained in:
@@ -89,7 +89,7 @@
|
|||||||
`endif
|
`endif
|
||||||
|
|
||||||
`ifndef LATENCY_FSQRT
|
`ifndef LATENCY_FSQRT
|
||||||
`define LATENCY_FSQRT 9
|
`define LATENCY_FSQRT 10
|
||||||
`endif
|
`endif
|
||||||
|
|
||||||
`ifndef LATENCY_ITOF
|
`ifndef LATENCY_ITOF
|
||||||
@@ -100,6 +100,18 @@
|
|||||||
`define LATENCY_FTOI 3
|
`define LATENCY_FTOI 3
|
||||||
`endif
|
`endif
|
||||||
|
|
||||||
|
`ifndef LATENCY_FADDMUL
|
||||||
|
`define LATENCY_FADDMUL 2
|
||||||
|
`endif
|
||||||
|
|
||||||
|
`ifndef LATENCY_FDIVSQRT
|
||||||
|
`define LATENCY_FDIVSQRT 2
|
||||||
|
`endif
|
||||||
|
|
||||||
|
`ifndef LATENCY_FCONV
|
||||||
|
`define LATENCY_FCONV 2
|
||||||
|
`endif
|
||||||
|
|
||||||
// CSR Addresses //////////////////////////////////////////////////////////////
|
// CSR Addresses //////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
`define CSR_FFLAGS 12'h001
|
`define CSR_FFLAGS 12'h001
|
||||||
|
|||||||
@@ -53,14 +53,14 @@ module VX_fpnew #(
|
|||||||
};
|
};
|
||||||
|
|
||||||
localparam fpnew_pkg::fpu_implementation_t FPU_IMPLEMENTATION = '{
|
localparam fpnew_pkg::fpu_implementation_t FPU_IMPLEMENTATION = '{
|
||||||
PipeRegs:'{'{`LATENCY_FMADD, 0, 0, 0, 0}, // ADDMUL
|
PipeRegs:'{'{`LATENCY_FADDMUL, 0, 0, 0, 0}, // ADDMUL
|
||||||
'{default: `LATENCY_FDIV}, // DIVSQRT
|
'{default: `LATENCY_FDIVSQRT}, // DIVSQRT
|
||||||
'{default: `LATENCY_FNONCOMP}, // NONCOMP
|
'{default: `LATENCY_FNONCOMP}, // NONCOMP
|
||||||
'{default: `LATENCY_ITOF}}, // CONV
|
'{default: `LATENCY_FCONV}}, // CONV
|
||||||
UnitTypes:'{'{default: UNIT_FMULADD}, // ADDMUL
|
UnitTypes:'{'{default: UNIT_FMULADD}, // ADDMUL
|
||||||
'{default: UNIT_FDIVSQRT}, // DIVSQRT
|
'{default: UNIT_FDIVSQRT}, // DIVSQRT
|
||||||
'{default: UNIT_FNONCOMP}, // NONCOMP
|
'{default: UNIT_FNONCOMP}, // NONCOMP
|
||||||
'{default: UNIT_FCONV}}, // CONV
|
'{default: UNIT_FCONV}}, // CONV
|
||||||
PipeConfig: fpnew_pkg::DISTRIBUTED
|
PipeConfig: fpnew_pkg::DISTRIBUTED
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user