git.joshuawise.com
/
firearm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
03bbc40
)
DCache: Be more verbose about fills.
author
Joshua Wise
<joshua@rebirth.joshuawise.com>
Thu, 15 Jan 2009 07:44:48 +0000
(
02:44
-0500)
committer
Joshua Wise
<joshua@rebirth.joshuawise.com>
Thu, 15 Jan 2009 07:44:48 +0000
(
02:44
-0500)
DCache.v
patch
|
blob
|
blame
|
history
diff --git
a/DCache.v
b/DCache.v
index
edfcde1
..
ab68448
100644
(file)
--- a/
DCache.v
+++ b/
DCache.v
@@
-80,6
+80,7
@@
module DCache(
cache_fill_pos <= 0;
else if (rd_req && !cache_hit) begin
if (bus_ready && bus_ack) begin /* Started the fill, and we have data. */
cache_fill_pos <= 0;
else if (rd_req && !cache_hit) begin
if (bus_ready && bus_ack) begin /* Started the fill, and we have data. */
+ $display("DCACHE: FILL: rd addr %08x; bus addr %08x; bus data %08x, bus_req %d, bus_ack %d", addr, bus_addr, bus_rdata, bus_req, bus_ack);
cache_data[idx][cache_fill_pos] <= bus_rdata;
cache_fill_pos <= cache_fill_pos + 1;
if (cache_fill_pos == 15) begin /* Done? */
cache_data[idx][cache_fill_pos] <= bus_rdata;
cache_fill_pos <= cache_fill_pos + 1;
if (cache_fill_pos == 15) begin /* Done? */
This page took
0.018881 seconds
and
4
git commands to generate.