Skip to content

Commit

Permalink
Changed the ibexc_top_tracing ports to match ibexc_top
Browse files Browse the repository at this point in the history
  • Loading branch information
HU90m committed Mar 20, 2024
1 parent 64be312 commit cc0602f
Showing 1 changed file with 15 additions and 7 deletions.
22 changes: 15 additions & 7 deletions rtl/ibexc_top_tracing.sv
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@
module ibex_top_tracing import ibex_pkg::*; import cheri_pkg::*; #(
parameter int unsigned DmHaltAddr = 32'h1A110800,
parameter int unsigned DmExceptionAddr = 32'h1A110808,
parameter bit DbgTriggerEn = 1'b1,
parameter int unsigned DbgHwBreakNum = 2,
parameter int unsigned MHPMCounterNum = 0,
parameter rv32b_e RV32B = RV32BNone,
parameter int unsigned HeapBase = 32'h2001_0000,
parameter int unsigned TSMapBase = 32'h2004_0000, // 4kB default
parameter int unsigned TSMapSize = 1024, // in words
Expand All @@ -25,7 +29,6 @@ module ibex_top_tracing import ibex_pkg::*; import cheri_pkg::*; #(
input logic rst_ni,

input logic test_en_i, // enable all clock gates for testing
input logic scan_rst_ni,
input prim_ram_1p_pkg::ram_1p_cfg_t ram_cfg_i,

input logic cheri_pmode_i,
Expand Down Expand Up @@ -60,7 +63,6 @@ module ibex_top_tracing import ibex_pkg::*; import cheri_pkg::*; #(
output logic tsmap_cs_o,
output logic [15:0] tsmap_addr_o,
input logic [31:0] tsmap_rdata_i,
input logic [6:0] tsmap_rdata_intg_i, // not used in ibexc_top
input logic [MMRegDinW-1:0] mmreg_corein_i,
output logic [MMRegDoutW-1:0] mmreg_coreout_o,
output logic cheri_fatal_err_o,
Expand All @@ -85,7 +87,13 @@ module ibex_top_tracing import ibex_pkg::*; import cheri_pkg::*; #(

// CPU Control Signals
input fetch_enable_t fetch_enable_i,
output logic core_sleep_o
output logic core_sleep_o,
output logic alert_minor_o,
output logic alert_major_internal_o,
output logic alert_major_bus_o,

// DFT bypass controls
input logic scan_rst_ni
);


Expand Down Expand Up @@ -138,12 +146,12 @@ module ibex_top_tracing import ibex_pkg::*; import cheri_pkg::*; #(
ibex_top #(
.DmHaltAddr (DmHaltAddr ),
.DmExceptionAddr (DmExceptionAddr ),
.MHPMCounterNum (13 ),
.MHPMCounterNum (MHPMCounterNum),
.MHPMCounterWidth (40),
.DbgTriggerEn (1'b1),
.DbgHwBreakNum (4),
.DbgTriggerEn (DbgTriggerEn),
.DbgHwBreakNum (DbgHwBreakNum ),
.RV32E (1'b0),
.RV32B (RV32BFull),
.RV32B (RV32B),
.WritebackStage (1'b1),
.BranchPredictor (1'b0),
.CHERIoTEn (1'b1),
Expand Down

0 comments on commit cc0602f

Please sign in to comment.