summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBrad Beckmann <Brad.Beckmann@amd.com>2015-07-20 09:15:18 -0500
committerBrad Beckmann <Brad.Beckmann@amd.com>2015-07-20 09:15:18 -0500
commit4710eba588cdfe059ab984ec78ff9e49bd7cbe69 (patch)
tree6efe6998e4c030683ec83277b34ddaebcfff869d /src
parenta254786a19e382c639bd76ff60d4b4518e1801c7 (diff)
downloadgem5-4710eba588cdfe059ab984ec78ff9e49bd7cbe69.tar.xz
ruby: add useful dprints to sequencer
Added two data block dprints that are useful when tracking down data check failures in the ruby random tester.
Diffstat (limited to 'src')
-rw-r--r--src/mem/ruby/system/Sequencer.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mem/ruby/system/Sequencer.cc b/src/mem/ruby/system/Sequencer.cc
index e2be52083..32e4c107c 100644
--- a/src/mem/ruby/system/Sequencer.cc
+++ b/src/mem/ruby/system/Sequencer.cc
@@ -536,9 +536,11 @@ Sequencer::hitCallback(SequencerRequest* srequest, DataBlock& data,
memcpy(pkt->getPtr<uint8_t>(),
data.getData(request_address.getOffset(), pkt->getSize()),
pkt->getSize());
+ DPRINTF(RubySequencer, "read data %s\n", data);
} else {
data.setData(pkt->getConstPtr<uint8_t>(),
request_address.getOffset(), pkt->getSize());
+ DPRINTF(RubySequencer, "set data %s\n", data);
}
}