projects
/
gem5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a254786
)
ruby: add useful dprints to sequencer
author
Brad Beckmann
<Brad.Beckmann@amd.com>
Mon, 20 Jul 2015 14:15:18 +0000
(09:15 -0500)
committer
Brad Beckmann
<Brad.Beckmann@amd.com>
Mon, 20 Jul 2015 14:15:18 +0000
(09:15 -0500)
Added two data block dprints that are useful when tracking down data check
failures in the ruby random tester.
src/mem/ruby/system/Sequencer.cc
patch
|
blob
|
history
diff --git
a/src/mem/ruby/system/Sequencer.cc
b/src/mem/ruby/system/Sequencer.cc
index e2be52083b44b1d8aaa3a904a89e20bb92f30bcb..32e4c107c7f3a63d6c2fc27aa1b4eaaceb78bb7a 100644
(file)
--- 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);
}
}