From 981270c3e15a542f5ca03780c562bc24c6c90735 Mon Sep 17 00:00:00 2001 From: Joshua Wise Date: Sat, 10 Jan 2009 00:50:06 -0500 Subject: [PATCH] ICache: Add instrumentation. --- ICache.v | 1 + 1 file changed, 1 insertion(+) diff --git a/ICache.v b/ICache.v index 43f6028..2e28adf 100644 --- a/ICache.v +++ b/ICache.v @@ -66,6 +66,7 @@ module ICache( always @(posedge clk) if (rd_req && !cache_hit) begin if (bus_ready) begin /* Started the fill, and we have data. */ + $display("CACHE FILL: rq adr %08x; bus addr %08x; bus data %08x", rd_addr, bus_addr, bus_rdata); cache_data[rd_idx][cache_fill_pos] <= bus_rdata; cache_fill_pos <= cache_fill_pos + 1; if (cache_fill_pos == 15) begin /* Done? */ -- 2.39.2