mirror of
https://github.com/openhwgroup/cvw
synced 2025-02-11 06:05:49 +00:00
removed redundant signals
This commit is contained in:
parent
6cb6ff429b
commit
b04d387e7c
@ -108,7 +108,6 @@ localparam DIVBLEN = $clog2(DIVb+1); // enough bi
|
|||||||
localparam INTRESBITS = XLEN + LOGR; // number of bits in a result: r integer + XLEN fractional
|
localparam INTRESBITS = XLEN + LOGR; // number of bits in a result: r integer + XLEN fractional
|
||||||
localparam INTFPDUR = (INTRESBITS-1)/RK + 1 ;
|
localparam INTFPDUR = (INTRESBITS-1)/RK + 1 ;
|
||||||
localparam INTDIVb = INTFPDUR*RK - LOGR;
|
localparam INTDIVb = INTFPDUR*RK - LOGR;
|
||||||
localparam INTDIVBLEN = $clog2(INTDIVb+1);
|
|
||||||
|
|
||||||
// largest length in IEU/FPU
|
// largest length in IEU/FPU
|
||||||
localparam BASECVTLEN = `max(XLEN, NF); // convert length excluding Zfa fcvtmod.w.d
|
localparam BASECVTLEN = `max(XLEN, NF); // convert length excluding Zfa fcvtmod.w.d
|
||||||
|
@ -200,8 +200,5 @@ localparam cvw_t P = '{
|
|||||||
DURLEN : DURLEN,
|
DURLEN : DURLEN,
|
||||||
DIVb : DIVb,
|
DIVb : DIVb,
|
||||||
DIVBLEN : DIVBLEN,
|
DIVBLEN : DIVBLEN,
|
||||||
INTRESBITS : INTRESBITS,
|
|
||||||
INTFPDUR : INTFPDUR,
|
|
||||||
INTDIVb : INTDIVb,
|
INTDIVb : INTDIVb,
|
||||||
INTDIVBLEN : INTDIVBLEN
|
|
||||||
};
|
};
|
||||||
|
@ -295,10 +295,7 @@ typedef struct packed {
|
|||||||
int DIVb ;
|
int DIVb ;
|
||||||
int DIVBLEN ;
|
int DIVBLEN ;
|
||||||
// integer division/remainder constants
|
// integer division/remainder constants
|
||||||
int INTRESBITS ;
|
|
||||||
int INTFPDUR ;
|
|
||||||
int INTDIVb ;
|
int INTDIVb ;
|
||||||
int INTDIVBLEN ;
|
|
||||||
|
|
||||||
} cvw_t;
|
} cvw_t;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user