diff --git a/core/cvxif_fu.sv b/core/cvxif_fu.sv index f61ce769fb..11d4838e5e 100644 --- a/core/cvxif_fu.sv +++ b/core/cvxif_fu.sv @@ -16,6 +16,7 @@ module cvxif_fu import ariane_pkg::*; #( input logic clk_i, input logic rst_ni, input fu_data_t fu_data_i, + input riscv::priv_lvl_t priv_lvl_i, //from issue input logic x_valid_i, output logic x_ready_o, @@ -42,6 +43,7 @@ module cvxif_fu import ariane_pkg::*; #( if (x_valid_i) begin cvxif_req_o.x_issue_valid = x_valid_i; cvxif_req_o.x_issue_req.instr = x_off_instr_i; + cvxif_req_o.x_issue_req.mode = priv_lvl_i; cvxif_req_o.x_issue_req.id = fu_data_i.trans_id; cvxif_req_o.x_issue_req.rs[0] = fu_data_i.operand_a; cvxif_req_o.x_issue_req.rs[1] = fu_data_i.operand_b; diff --git a/core/ex_stage.sv b/core/ex_stage.sv index cf364dd858..078121cf34 100644 --- a/core/ex_stage.sv +++ b/core/ex_stage.sv @@ -362,6 +362,7 @@ module ex_stage import ariane_pkg::*; #( .clk_i, .rst_ni, .fu_data_i, + .priv_lvl_i, .x_valid_i, .x_ready_o, .x_off_instr_i,