diff options
Diffstat (limited to 'rtl/core/control')
| -rw-r--r-- | rtl/core/control/control.sv | 2 | ||||
| -rw-r--r-- | rtl/core/control/data.sv | 8 |
2 files changed, 5 insertions, 5 deletions
diff --git a/rtl/core/control/control.sv b/rtl/core/control/control.sv index cbc7191..a421572 100644 --- a/rtl/core/control/control.sv +++ b/rtl/core/control/control.sv @@ -42,7 +42,7 @@ module core_control writeback, breakpoint, update_flags, - c_in, + c_logic, output reg_num rd, ra, rb, diff --git a/rtl/core/control/data.sv b/rtl/core/control/data.sv index 5d34b13..3174ee1 100644 --- a/rtl/core/control/data.sv +++ b/rtl/core/control/data.sv @@ -31,7 +31,7 @@ module core_control_data output shifter_control shifter, output word shifter_base, output logic[7:0] shifter_shift, - output logic c_in, + output logic c_logic, trivial_shift, data_snd_shift_by_reg ); @@ -75,7 +75,7 @@ module core_control_data always_ff @(posedge clk or negedge rst_n) if(!rst_n) begin alu <= {$bits(alu){1'b0}}; - c_in <= 0; + c_logic <= 0; shifter <= {$bits(shifter){1'b0}}; data_imm <= {$bits(data_imm){1'b0}}; saved_base <= 0; @@ -84,7 +84,7 @@ module core_control_data data_snd_shift_by_reg <= 0; end else if(next_cycle.issue) begin alu <= dec.data.op; - c_in <= flags.c; + c_logic <= 0; data_imm <= dec.snd.imm; data_shift_imm <= dec.snd.shift_imm; @@ -99,7 +99,7 @@ module core_control_data saved_base <= rd_value_b; data_snd_shift_by_reg <= 0; end else if(next_cycle.with_shift) begin - c_in <= c_shifter; + c_logic <= c_shifter; saved_base <= q_shifter; end else if(next_cycle.transfer) begin if(ldst_next) |
