mirror of
https://github.com/vortexgpgpu/vortex.git
synced 2025-04-24 05:47:35 -04:00
minor update
This commit is contained in:
parent
c358226098
commit
c1df08843c
2 changed files with 21 additions and 9 deletions
|
@ -89,7 +89,7 @@
|
|||
`endif
|
||||
|
||||
`ifndef LATENCY_FSQRT
|
||||
`define LATENCY_FSQRT 9
|
||||
`define LATENCY_FSQRT 10
|
||||
`endif
|
||||
|
||||
`ifndef LATENCY_ITOF
|
||||
|
@ -100,6 +100,18 @@
|
|||
`define LATENCY_FTOI 3
|
||||
`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 //////////////////////////////////////////////////////////////
|
||||
|
||||
`define CSR_FFLAGS 12'h001
|
||||
|
|
|
@ -53,14 +53,14 @@ module VX_fpnew #(
|
|||
};
|
||||
|
||||
localparam fpnew_pkg::fpu_implementation_t FPU_IMPLEMENTATION = '{
|
||||
PipeRegs:'{'{`LATENCY_FMADD, 0, 0, 0, 0}, // ADDMUL
|
||||
'{default: `LATENCY_FDIV}, // DIVSQRT
|
||||
'{default: `LATENCY_FNONCOMP}, // NONCOMP
|
||||
'{default: `LATENCY_ITOF}}, // CONV
|
||||
UnitTypes:'{'{default: UNIT_FMULADD}, // ADDMUL
|
||||
'{default: UNIT_FDIVSQRT}, // DIVSQRT
|
||||
'{default: UNIT_FNONCOMP}, // NONCOMP
|
||||
'{default: UNIT_FCONV}}, // CONV
|
||||
PipeRegs:'{'{`LATENCY_FADDMUL, 0, 0, 0, 0}, // ADDMUL
|
||||
'{default: `LATENCY_FDIVSQRT}, // DIVSQRT
|
||||
'{default: `LATENCY_FNONCOMP}, // NONCOMP
|
||||
'{default: `LATENCY_FCONV}}, // CONV
|
||||
UnitTypes:'{'{default: UNIT_FMULADD}, // ADDMUL
|
||||
'{default: UNIT_FDIVSQRT}, // DIVSQRT
|
||||
'{default: UNIT_FNONCOMP}, // NONCOMP
|
||||
'{default: UNIT_FCONV}}, // CONV
|
||||
PipeConfig: fpnew_pkg::DISTRIBUTED
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue