Skip to content

Commit

Permalink
remove ALU_OP_DO_NOTHING
Browse files Browse the repository at this point in the history
  • Loading branch information
ericjessee authored and JZJisawesome committed Apr 6, 2024
1 parent 8cc99c8 commit 478afa0
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
3 changes: 1 addition & 2 deletions rtl/letc/core/letc_core_pkg.sv
Original file line number Diff line number Diff line change
Expand Up @@ -80,11 +80,10 @@ typedef enum logic [3:0] {
ALU_OP_MINU,
ALU_OP_MAXU,
*/
ALU_OP_MCLR,//Mask clear (for CSR instructions); use OR for "MSET"
ALU_OP_MCLR//Mask clear (for CSR instructions); use OR for "MSET"
//ALU_OP_PASS1//No instructions really need this
//ALU_OP_PASS2//Using ADD and making the first operand 0 instead
//FIXME we need a special ALU op that clears the lsb after the addition for JALR
ALU_OP_DO_NOTHING //DEBUG ONLY!
} alu_op_e;

typedef enum logic [1:0] {
Expand Down
1 change: 0 additions & 1 deletion verif/nonuvm/letc/core/stage_e1/letc_core_stage_e1_tb.sv
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,6 @@ task setup();
cb.i_stage_stall <= 1'b0;
cb.i_stage_flush <= 1'b0;
cb.i_d_to_e1.valid <= 1'b0;
cb.i_d_to_e1.alu_op <= ALU_OP_DO_NOTHING;
cb.i_bypass_rs1 <= 1'b0;
cb.i_bypass_rs2 <= 1'b0;
endtask
Expand Down

0 comments on commit 478afa0

Please sign in to comment.