From 4710eba588cdfe059ab984ec78ff9e49bd7cbe69 Mon Sep 17 00:00:00 2001 From: Brad Beckmann Date: Mon, 20 Jul 2015 09:15:18 -0500 Subject: [PATCH] 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. --- src/mem/ruby/system/Sequencer.cc | 2 ++ 1 file changed, 2 insertions(+) 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); } } -- 2.30.2