Skip to content

Commit

Permalink
Remove unused parameter DEBUG_TRIGGER_EN. Add explicit parameter types.
Browse files Browse the repository at this point in the history
Part of fix for openhwgroup#676

Signed-off-by: Oivind Ekelund <[email protected]>
  • Loading branch information
silabs-oivind committed Apr 3, 2023
1 parent fa104f3 commit 0fd2e60
Show file tree
Hide file tree
Showing 12 changed files with 12 additions and 17 deletions.
2 changes: 1 addition & 1 deletion bhv/cv32e40x_sim_clock_gate.sv
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

module cv32e40x_clock_gate
#(
parameter LIB = 0
parameter int LIB = 0
)
(
input logic clk_i,
Expand Down
2 changes: 1 addition & 1 deletion bhv/cv32e40x_wrapper.sv
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
module cv32e40x_wrapper
import cv32e40x_pkg::*;
#(
parameter LIB = 0,
parameter int LIB = 0,
parameter rv32_e RV32 = RV32I,
parameter a_ext_e A_EXT = A_NONE,
parameter b_ext_e B_EXT = B_NONE,
Expand Down
2 changes: 1 addition & 1 deletion rtl/cv32e40x_core.sv
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@

module cv32e40x_core import cv32e40x_pkg::*;
#(
parameter LIB = 0,
parameter int LIB = 0,
parameter rv32_e RV32 = RV32I,
parameter a_ext_e A_EXT = A_NONE,
parameter b_ext_e B_EXT = B_NONE,
Expand Down
2 changes: 0 additions & 2 deletions rtl/cv32e40x_decoder.sv
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ module cv32e40x_decoder import cv32e40x_pkg::*;
parameter a_ext_e A_EXT = A_NONE,
parameter b_ext_e B_EXT = B_NONE,
parameter m_ext_e M_EXT = M,
parameter DEBUG_TRIGGER_EN = 1,
parameter bit CLIC = 1
)
(
Expand Down Expand Up @@ -142,7 +141,6 @@ module cv32e40x_decoder import cv32e40x_pkg::*;
// RV32I Base instruction set decoder
cv32e40x_i_decoder
#(
.DEBUG_TRIGGER_EN (DEBUG_TRIGGER_EN),
.CLIC (CLIC )
)
i_decoder_i
Expand Down
2 changes: 1 addition & 1 deletion rtl/cv32e40x_ff_one.sv
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@

module cv32e40x_ff_one
#(
parameter LEN = 32
parameter int unsigned LEN = 32
)
(
input logic [LEN-1:0] in_i,
Expand Down
1 change: 0 additions & 1 deletion rtl/cv32e40x_i_decoder.sv
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@

module cv32e40x_i_decoder import cv32e40x_pkg::*;
#(
parameter DEBUG_TRIGGER_EN = 1,
parameter bit CLIC = 1
)
(
Expand Down
2 changes: 0 additions & 2 deletions rtl/cv32e40x_id_stage.sv
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ module cv32e40x_id_stage import cv32e40x_pkg::*;
parameter b_ext_e B_EXT = B_NONE,
parameter m_ext_e M_EXT = M,
parameter bit X_EXT = 0,
parameter DEBUG_TRIGGER_EN = 1,
parameter int unsigned REGFILE_NUM_READ_PORTS = 2,
parameter bit CLIC = 1
)
Expand Down Expand Up @@ -422,7 +421,6 @@ module cv32e40x_id_stage import cv32e40x_pkg::*;
.A_EXT ( A_EXT ),
.B_EXT ( B_EXT ),
.M_EXT ( M_EXT ),
.DEBUG_TRIGGER_EN ( DEBUG_TRIGGER_EN ),
.CLIC ( CLIC )
)
decoder_i
Expand Down
2 changes: 1 addition & 1 deletion rtl/cv32e40x_lsu_response_filter.sv
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@

module cv32e40x_lsu_response_filter
import cv32e40x_pkg::*;
#(parameter DEPTH = 2)
#(parameter int unsigned DEPTH = 2)
(
// clock and reset
input logic clk,
Expand Down
2 changes: 1 addition & 1 deletion rtl/cv32e40x_sleep_unit.sv
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@

module cv32e40x_sleep_unit import cv32e40x_pkg::*;
#(
parameter LIB = 0
parameter int LIB = 0
)
(
// Clock, reset interface
Expand Down
8 changes: 4 additions & 4 deletions sva/cv32e40x_load_store_unit_sva.sv
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@ module cv32e40x_load_store_unit_sva
import uvm_pkg::*;
import cv32e40x_pkg::*;
#(
parameter bit X_EXT = 0,
parameter DEPTH = 0,
parameter bit DEBUG = 1,
parameter a_ext_e A_EXT = A_NONE
parameter bit X_EXT = 0,
parameter int unsigned DEPTH = 0,
parameter bit DEBUG = 1,
parameter a_ext_e A_EXT = A_NONE
)
(input logic clk,
input logic rst_n,
Expand Down
2 changes: 1 addition & 1 deletion sva/cv32e40x_lsu_response_filter_sva.sv
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
module cv32e40x_lsu_response_filter_sva
import cv32e40x_pkg::*;
import uvm_pkg::*;
#(parameter DEPTH = 2)
#(parameter int unsigned DEPTH = 2)
(input logic clk,
input logic rst_n,

Expand Down
2 changes: 1 addition & 1 deletion sva/cv32e40x_prefetch_unit_sva.sv
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
module cv32e40x_prefetch_unit_sva import cv32e40x_pkg::*;
import uvm_pkg::*;
#(
parameter CLIC = 1'b0
parameter bit CLIC = 1'b0
)
(
input logic clk,
Expand Down

0 comments on commit 0fd2e60

Please sign in to comment.