Add functional PrintReq command for memory-system debugging.

--HG--
extra : convert_revision : 73b753e57c355b7e6873f047ddc8cb371c3136b7
This commit is contained in:
Steve Reinhardt
2008-01-02 12:20:15 -08:00
parent 659aef3eb8
commit 3952e41ab1
23 changed files with 458 additions and 123 deletions

View File

@@ -399,3 +399,10 @@ MemTestParams::create()
{
return new MemTest(this);
}
void
MemTest::printAddr(Addr a)
{
cachePort.printAddr(a);
}

View File

@@ -62,6 +62,8 @@ class MemTest : public MemObject
virtual Port *getPort(const std::string &if_name, int idx = -1);
void printAddr(Addr a);
protected:
class TickEvent : public Event
{