Created
September 29, 2019 08:18
-
-
Save cirosantilli/bc08208d20ccde678ca64824310ed7a2 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/mem/packet.hh b/src/mem/packet.hh | |
index 130cc41ad..7bccfb09f 100644 | |
--- a/src/mem/packet.hh | |
+++ b/src/mem/packet.hh | |
@@ -56,6 +56,7 @@ | |
#include <bitset> | |
#include <cassert> | |
#include <list> | |
+#include <iostream> | |
#include "base/addr_range.hh" | |
#include "base/cast.hh" | |
@@ -196,7 +197,10 @@ class MemCmd | |
public: | |
- bool isRead() const { return testCmdAttrib(IsRead); } | |
+ bool isRead() const { | |
+ std::cout << "hello" << std::endl; | |
+ return testCmdAttrib(IsRead); | |
+ } | |
bool isWrite() const { return testCmdAttrib(IsWrite); } | |
bool isUpgrade() const { return testCmdAttrib(IsUpgrade); } | |
bool isRequest() const { return testCmdAttrib(IsRequest); } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment