Remove (safe) feedback path which Verilator linted on -- CXXRTL doesn't hate me any more
This commit is contained in:
parent
998f3fdeb7
commit
41eeb90c7d
|
@ -36,7 +36,7 @@ module hazard3_shift_barrel #(
|
|||
|
||||
reg [W_DATA-1:0] din_rev;
|
||||
reg [W_DATA-1:0] shift_accum;
|
||||
wire sext = arith && din_rev[0]; // haha
|
||||
reg sext; // haha
|
||||
|
||||
always @ (*) begin: shift
|
||||
integer i;
|
||||
|
@ -44,6 +44,8 @@ always @ (*) begin: shift
|
|||
for (i = 0; i < W_DATA; i = i + 1)
|
||||
din_rev[i] = right_nleft ? din[W_DATA - 1 - i] : din[i];
|
||||
|
||||
sext = arith && din_rev[0];
|
||||
|
||||
shift_accum = din_rev;
|
||||
for (i = 0; i < W_SHAMT; i = i + 1) begin
|
||||
if (shamt[i]) begin
|
||||
|
|
Loading…
Reference in New Issue