remove TWO_STAGE_SHIFT.
This commit is contained in:
parent
b5edff85f7
commit
3cfab6b748
|
@ -43,7 +43,6 @@
|
||||||
***************************************************************/
|
***************************************************************/
|
||||||
|
|
||||||
module picorv32 #(
|
module picorv32 #(
|
||||||
parameter [0:0] TWO_STAGE_SHIFT = 1,
|
|
||||||
parameter [0:0] BARREL_SHIFTER = 0,
|
parameter [0:0] BARREL_SHIFTER = 0,
|
||||||
parameter [0:0] ENABLE_TRACE = 0,
|
parameter [0:0] ENABLE_TRACE = 0,
|
||||||
parameter [31:0] MASKED_IRQ = 32'h0000_0000,
|
parameter [31:0] MASKED_IRQ = 32'h0000_0000,
|
||||||
|
@ -1272,7 +1271,7 @@ module picorv32 #(
|
||||||
reg_out <= reg_op1;
|
reg_out <= reg_op1;
|
||||||
mem_do_rinst <= mem_do_prefetch;
|
mem_do_rinst <= mem_do_prefetch;
|
||||||
cpu_state <= cpu_state_fetch;
|
cpu_state <= cpu_state_fetch;
|
||||||
end else if (TWO_STAGE_SHIFT && reg_sh >= 4) begin
|
end else if (reg_sh >= 4) begin
|
||||||
(* parallel_case, full_case *)
|
(* parallel_case, full_case *)
|
||||||
case (1'b1)
|
case (1'b1)
|
||||||
instr_slli || instr_sll: reg_op1 <= reg_op1 << 4;
|
instr_slli || instr_sll: reg_op1 <= reg_op1 << 4;
|
||||||
|
|
Loading…
Reference in New Issue