Skip to content

Commit

Permalink
fixes_undriven
Browse files Browse the repository at this point in the history
  • Loading branch information
farhan-108 committed Dec 23, 2024
1 parent a12a221 commit cd4c2fd
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion 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_i,
input logic [31: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
2 changes: 1 addition & 1 deletion core/id_stage.sv
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ module id_stage #(
logic is_last_macro_instr_o;
logic is_double_rd_macro_instr_o;
logic [CVA6Cfg.NrIssuePorts-1:0] is_zcmt_instr_i;
logic [ CVA6Cfg.XLEN-1:0] jump_address;
logic [ 31:0] jump_address;

if (CVA6Cfg.RVC) begin
// ---------------------------------------------------------
Expand Down
4 changes: 2 additions & 2 deletions core/zcmt_decoder.sv
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ module zcmt_decoder #(
// Data cache request input - CACHE
output dcache_req_i_t req_port_o,
// jump_address
output logic [CVA6Cfg.XLEN-1:0] jump_address_o
output logic [ 31:0] jump_address_o
);

// FSM States
Expand All @@ -52,7 +52,7 @@ module zcmt_decoder #(
// Temporary registers
//Physical address: jvt + (index <<2)
logic [CVA6Cfg.XLEN+1:0] table_address; //Virtual address: {00,Physical address}
logic [CVA6Cfg.XLEN-1:0] jump_addr; //jump address immidiate
logic [31:0] jump_addr; //jump address immidiate

assign jump_address_o = jump_addr;

Expand Down

0 comments on commit cd4c2fd

Please sign in to comment.