Skip to content

Commit

Permalink
lint error fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
farhan-108 committed Dec 23, 2024
1 parent abb4da5 commit d554cb4
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions core/decoder.sv
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ module decoder
// Zcmt instruction - FRONTEND
input logic is_zcmt_i,
// Jump address - zcmt_decoder
input logic [CVA6Cfg.XLEN-1:0] jump_address,
input logic [CVA6Cfg.XLEN-1:0] jump_address_i,
// Is a branch predict instruction - FRONTEND
input branchpredict_sbe_t branch_predict_i,
// If an exception occured in fetch stage - FRONTEND
Expand Down Expand Up @@ -1478,7 +1478,7 @@ module decoder
}; // JAL, AUIPC, sign extended to 64 bit
//if zcmt then xlen jump address assign to immidiate
if (CVA6Cfg.RVZCMT && is_zcmt_i) begin
imm_uj_type = jump_address;
imm_uj_type = jump_address_i;
end else begin
imm_uj_type = {
{CVA6Cfg.XLEN - 20{instruction_i[31]}},
Expand Down
2 changes: 1 addition & 1 deletion core/id_stage.sv
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,7 @@ module id_stage #(
.is_zcmt_i (is_zcmt_instr_i[i]),
.is_last_macro_instr_i (is_last_macro_instr_o),
.is_double_rd_macro_instr_i(is_double_rd_macro_instr_o),
.jump_address (jump_address),
.jump_address_i (jump_address),
.is_illegal_i (is_illegal_cmp[i]),
.instruction_i (instruction[i]),
.compressed_instr_i (fetch_entry_i[i].instruction[15:0]),
Expand Down
1 change: 1 addition & 0 deletions core/zcmt_decoder.sv
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ module zcmt_decoder #(
illegal_instr_o = 1'b0;
is_compressed_o = is_zcmt_instr_i ? 1'b1 : is_compressed_i;
fetch_stall_o = is_zcmt_instr_i ? 1'b1 : 0;
jump_addr = '0;

//cache request port
req_port_o.data_wdata = '0;
Expand Down

0 comments on commit d554cb4

Please sign in to comment.