From: Joshua Wise Date: Sat, 10 Jan 2009 05:50:06 +0000 (-0500) Subject: ICache: Add instrumentation. X-Git-Url: http://git.joshuawise.com/firearm.git/commitdiff_plain/981270c3e15a542f5ca03780c562bc24c6c90735 ICache: Add instrumentation. --- 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? */