Skip to content

Commit

Permalink
Add default parameters to fix build under Xcelium
Browse files Browse the repository at this point in the history
  • Loading branch information
GregAC committed Dec 16, 2024
1 parent 2539e7f commit 438ca6a
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 15 deletions.
14 changes: 7 additions & 7 deletions rtl/cheri_ex.sv
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@

module cheri_ex import cheri_pkg::*; #(
parameter bit WritebackStage = 1'b0,
parameter bit MemCapFmt = 1'b0,
parameter int unsigned HeapBase,
parameter int unsigned TSMapBase,
parameter int unsigned TSMapSize,
parameter bit CheriPPLBC = 1'b1,
parameter bit CheriSBND2 = 1'b0,
parameter bit CheriStkZ = 1'b1
parameter bit MemCapFmt = 1'b0,
parameter int unsigned HeapBase = 32'h2001_0000,
parameter int unsigned TSMapBase = 32'h2002_f000,
parameter int unsigned TSMapSize = 1024,
parameter bit CheriPPLBC = 1'b1,
parameter bit CheriSBND2 = 1'b0,
parameter bit CheriStkZ = 1'b1
)(
// Clock and Reset
input logic clk_i,
Expand Down
4 changes: 2 additions & 2 deletions rtl/cheri_trvk_stage.sv
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
// SPDX-License-Identifier: Apache-2.0

module cheri_trvk_stage #(
parameter int unsigned HeapBase,
parameter int unsigned TSMapSize
parameter int unsigned HeapBase = 32'h2001_0000,
parameter int unsigned TSMapSize = 1024
) (
// Clock and Reset
input logic clk_i,
Expand Down
6 changes: 3 additions & 3 deletions rtl/ibex_core.sv
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,9 @@ module ibex_core import ibex_pkg::*; import cheri_pkg::*; #(
// CHERIoT paramters
parameter bit CHERIoTEn = 1'b1,
parameter int unsigned DataWidth = 33,
parameter int unsigned HeapBase ,
parameter int unsigned TSMapBase ,
parameter int unsigned TSMapSize ,
parameter int unsigned HeapBase = 32'h2001_0000,
parameter int unsigned TSMapBase = 32'h2002_f000,
parameter int unsigned TSMapSize = 1024,
parameter bit MemCapFmt = 1'b0,
parameter bit CheriPPLBC = 1'b1,
parameter bit CheriSBND2 = 1'b0,
Expand Down
6 changes: 3 additions & 3 deletions rtl/ibex_lockstep.sv
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,9 @@ module ibex_lockstep import ibex_pkg::*; import cheri_pkg::*; #(
// CHERIoT paramters
parameter bit CHERIoTEn = 1'b1,
parameter int unsigned DataWidth = 33,
parameter int unsigned HeapBase ,
parameter int unsigned TSMapBase ,
parameter int unsigned TSMapSize ,
parameter int unsigned HeapBase = 32'h2001_0000,
parameter int unsigned TSMapBase = 32'h2002_f000,
parameter int unsigned TSMapSize = 1024,
parameter bit MemCapFmt = 1'b0,
parameter bit CheriPPLBC = 1'b1,
parameter bit CheriSBND2 = 1'b0,
Expand Down

0 comments on commit 438ca6a

Please sign in to comment.