From: Brad Beckmann Date: Mon, 20 Jul 2015 14:15:18 +0000 (-0500) Subject: ruby: add useful dprints to sequencer X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=4710eba588cdfe059ab984ec78ff9e49bd7cbe69;p=gem5.git 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. --- 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(), data.getData(request_address.getOffset(), pkt->getSize()), pkt->getSize()); + DPRINTF(RubySequencer, "read data %s\n", data); } else { data.setData(pkt->getConstPtr(), request_address.getOffset(), pkt->getSize()); + DPRINTF(RubySequencer, "set data %s\n", data); } }