Skip to content

Commit

Permalink
remove ext_in_pkt interfaces for icache
Browse files Browse the repository at this point in the history
  • Loading branch information
wsipak committed Nov 22, 2024
1 parent fdcc507 commit 6a09e08
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 19 deletions.
2 changes: 0 additions & 2 deletions design/el2_mem.sv
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,6 @@ import el2_pkg::*;
input logic ic_rd_en,
input logic [63:0] ic_premux_data, // Premux data to be muxed with each way of the Icache.
input logic ic_sel_premux_data, // Premux data sel
input el2_ic_data_ext_in_pkt_t [pt.ICACHE_NUM_WAYS-1:0][pt.ICACHE_BANKS_WAY-1:0] ic_data_ext_in_pkt,
input el2_ic_tag_ext_in_pkt_t [pt.ICACHE_NUM_WAYS-1:0] ic_tag_ext_in_pkt,

input logic [pt.ICACHE_BANKS_WAY-1:0][70:0] ic_wr_data, // Data to fill to the Icache. With ECC
input logic [70:0] ic_debug_wr_data, // Debug wr cache.
Expand Down
4 changes: 0 additions & 4 deletions design/el2_veer_wrapper.sv
Original file line number Diff line number Diff line change
Expand Up @@ -389,10 +389,6 @@ import el2_pkg::*;

// ICache export interface
el2_mem_if.veer_icache_src el2_icache_export,
// all of these test inputs are brought to top-level; must be tied off based on usage by physical design (ie. icache or not, iccm or not, dccm or not)

input el2_ic_data_ext_in_pkt_t [pt.ICACHE_NUM_WAYS-1:0][pt.ICACHE_BANKS_WAY-1:0] ic_data_ext_in_pkt,
input el2_ic_tag_ext_in_pkt_t [pt.ICACHE_NUM_WAYS-1:0] ic_tag_ext_in_pkt,

input logic timer_int,
input logic soft_int,
Expand Down
4 changes: 0 additions & 4 deletions design/ifu/el2_ifu_ic_mem.sv
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,6 @@ import el2_pkg::*;
input logic [pt.ICACHE_NUM_WAYS-1:0] ic_tag_valid, // Valid from the I$ tag valid outside (in flops).

el2_mem_if.veer_icache_src icache_export,
input el2_ic_data_ext_in_pkt_t [pt.ICACHE_NUM_WAYS-1:0][pt.ICACHE_BANKS_WAY-1:0] ic_data_ext_in_pkt, // this is being driven by the top level for soc testing/etc
input el2_ic_tag_ext_in_pkt_t [pt.ICACHE_NUM_WAYS-1:0] ic_tag_ext_in_pkt, // this is being driven by the top level for soc testing/etc

output logic [pt.ICACHE_NUM_WAYS-1:0] ic_rd_hit, // ic_rd_hit[3:0]
output logic ic_tag_perr, // Tag Parity error
Expand Down Expand Up @@ -143,7 +141,6 @@ import el2_pkg::*;

input logic [pt.ICACHE_NUM_WAYS-1:0]ic_rd_hit,
el2_mem_if.veer_icache_data icache_export,
input el2_ic_data_ext_in_pkt_t [pt.ICACHE_NUM_WAYS-1:0][pt.ICACHE_BANKS_WAY-1:0] ic_data_ext_in_pkt, // this is being driven by the top level for soc testing/etc
// Excluding scan_mode from coverage as its usage is determined by the integrator of the VeeR core.
/*verilator coverage_off*/
input logic scan_mode
Expand Down Expand Up @@ -746,7 +743,6 @@ import el2_pkg::*;
input logic [pt.ICACHE_NUM_WAYS-1:0] ic_debug_way, // Debug way. Rd or Wr.

el2_mem_if.veer_icache_tag icache_export,
input el2_ic_tag_ext_in_pkt_t [pt.ICACHE_NUM_WAYS-1:0] ic_tag_ext_in_pkt,

output logic [25:0] ictag_debug_rd_data,
input logic [70:0] ic_debug_wr_data, // Debug wr cache.
Expand Down
4 changes: 0 additions & 4 deletions testbench/tb_top.sv
Original file line number Diff line number Diff line change
Expand Up @@ -1307,10 +1307,6 @@ veer_wrapper rvtop_wrapper (
.dccm_ecc_single_error (),
.dccm_ecc_double_error (),

// remove mems DFT pins for opensource
.ic_data_ext_in_pkt ('0),
.ic_tag_ext_in_pkt ('0),

.soft_int (soft_int),
.core_id ('0),
.scan_mode ( 1'b0 ), // To enable scan mode
Expand Down
5 changes: 0 additions & 5 deletions testbench/veer_wrapper.sv
Original file line number Diff line number Diff line change
Expand Up @@ -284,11 +284,6 @@ module veer_wrapper
input logic dbg_bus_clk_en, // Clock ratio b/w cpu core clk & AHB master interface
input logic dma_bus_clk_en, // Clock ratio b/w cpu core clk & AHB slave interface

// all of these test inputs are brought to top-level; must be tied off based on usage by physical design (ie. icache or not, iccm or not, dccm or not)

input el2_ic_data_ext_in_pkt_t [pt.ICACHE_NUM_WAYS-1:0][pt.ICACHE_BANKS_WAY-1:0] ic_data_ext_in_pkt,
input el2_ic_tag_ext_in_pkt_t [pt.ICACHE_NUM_WAYS-1:0] ic_tag_ext_in_pkt,

input logic timer_int,
input logic soft_int,
input logic [pt.PIC_TOTAL_INT:1] extintsrc_req,
Expand Down

0 comments on commit 6a09e08

Please sign in to comment.