Skip to content

Commit

Permalink
fix parameter in if_stage
Browse files Browse the repository at this point in the history
  • Loading branch information
davideschiavone committed Oct 5, 2023
1 parent 28ddffa commit d81cd5c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions rtl/cv32e40px_core.sv
Original file line number Diff line number Diff line change
Expand Up @@ -463,6 +463,7 @@ module cv32e40px_core
// //
//////////////////////////////////////////////////
cv32e40px_if_stage #(
.COREV_X_IF (COREV_X_IF),
.COREV_PULP (COREV_PULP),
.PULP_OBI (PULP_OBI),
.PULP_SECURE(PULP_SECURE),
Expand Down
4 changes: 2 additions & 2 deletions rtl/cv32e40px_if_stage.sv
Original file line number Diff line number Diff line change
Expand Up @@ -291,9 +291,9 @@ module cv32e40px_if_stage #(


generate
if (COREV_X_IF) begin
if (COREV_X_IF != 0) begin
assign x_compressed_valid_o = illegal_c_insn_dec;
assign x_compressed_req_o.instr = instr_aligned;
assign x_compressed_req_o.instr = instr_aligned[15:0];
assign x_compressed_req_o.mode = 2'b00; // Machine Mode
assign x_compressed_req_o.id = x_compressed_id_i;

Expand Down

0 comments on commit d81cd5c

Please sign in to comment.