]> Joshua Wise's Git repositories - firearm.git/commitdiff
ICache: Add instrumentation.
authorJoshua Wise <joshua@rebirth.joshuawise.com>
Sat, 10 Jan 2009 05:50:06 +0000 (00:50 -0500)
committerJoshua Wise <joshua@rebirth.joshuawise.com>
Sat, 10 Jan 2009 05:50:06 +0000 (00:50 -0500)
ICache.v

index 43f60281abd93bc5850f147835ff09771ec0caa9..2e28adfabd54e1a98c338332a6ef122439089000 100644 (file)
--- 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? */
This page took 0.025418 seconds and 4 git commands to generate.