Skip to content

Commit

Permalink
pkg: remove obsolete wbufSendFeedThrough config parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
Cesar Fuguet committed Oct 10, 2024
1 parent 035bf61 commit e58b4aa
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 8 deletions.
1 change: 0 additions & 1 deletion rtl/lint/hpdcache_lint.sv
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,6 @@ module hpdcache_lint
wbufDataEntries: 8,
wbufWords: 4,
wbufTimecntWidth: 3,
wbufSendFeedThrough: 1'b0,
rtabEntries: 4,
flushEntries: 4,
flushFifoDepth: 2,
Expand Down
2 changes: 0 additions & 2 deletions rtl/src/hpdcache_pkg.sv
Original file line number Diff line number Diff line change
Expand Up @@ -421,8 +421,6 @@ package hpdcache_pkg;
int unsigned wbufWords;
// Write-Buffer threshold counter width (in bits)
int unsigned wbufTimecntWidth;
// Use feedthrough FIFOs from the write-buffer to the NoC
bit wbufSendFeedThrough;
// Number of entries in the replay table
int unsigned rtabEntries;
// Number of entries in the flush directory
Expand Down
6 changes: 2 additions & 4 deletions rtl/src/hpdcache_wbuf.sv
Original file line number Diff line number Diff line change
Expand Up @@ -614,7 +614,7 @@ import hpdcache_pkg::*;

hpdcache_fifo_reg #(
.FIFO_DEPTH (WBUF_SEND_FIFO_DEPTH),
.FEEDTHROUGH (HPDcacheCfg.u.wbufSendFeedThrough),
.FEEDTHROUGH (1'b0),
.fifo_data_t (wbuf_send_data_t)
) send_data_ptr_fifo_i (
.clk_i,
Expand All @@ -636,7 +636,7 @@ import hpdcache_pkg::*;

hpdcache_fifo_reg #(
.FIFO_DEPTH (WBUF_SEND_FIFO_DEPTH),
.FEEDTHROUGH (HPDcacheCfg.u.wbufSendFeedThrough),
.FEEDTHROUGH (1'b0),
.fifo_data_t (wbuf_send_meta_t)
) send_meta_fifo_i (
.clk_i,
Expand Down Expand Up @@ -710,8 +710,6 @@ import hpdcache_pkg::*;
`ifndef HPDCACHE_ASSERT_OFF
initial assert(WBUF_DATA_NWORDS inside {1, 2, 4, 8, 16}) else
$fatal("WBUF: width of data buffers must be a power of 2");
initial assert(HPDcacheCfg.u.wbufSendFeedThrough == 1'b0) else
$fatal("WBUF: wbufSendFeedThrough=1 is currently not supported");
initial assert(WBUF_MEM_DATA_RATIO > 0) else
$fatal($sformatf("WBUF: width of mem interface (%d) shall be g.e. to wbuf width(%d)",
HPDcacheCfg.u.memDataWidth, HPDcacheCfg.wbufDataWidth));
Expand Down
1 change: 0 additions & 1 deletion rtl/tb/hpdcache_wrapper.sv
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,6 @@ import hpdcache_pkg::*;
wbufDataEntries: `CONF_HPDCACHE_WBUF_DATA_ENTRIES,
wbufWords: `CONF_HPDCACHE_WBUF_WORDS,
wbufTimecntWidth: `CONF_HPDCACHE_WBUF_TIMECNT_WIDTH,
wbufSendFeedThrough: `CONF_HPDCACHE_WBUF_SEND_FEEDTHROUGH,
rtabEntries: `CONF_HPDCACHE_RTAB_ENTRIES,
flushEntries: `CONF_HPDCACHE_FLUSH_ENTRIES,
flushFifoDepth: `CONF_HPDCACHE_FLUSH_FIFO_DEPTH,
Expand Down

0 comments on commit e58b4aa

Please sign in to comment.