diff options
Diffstat (limited to 'util/tlm/sc_ext.hh')
-rw-r--r-- | util/tlm/sc_ext.hh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/util/tlm/sc_ext.hh b/util/tlm/sc_ext.hh index 79416f5ce..970a1b73d 100644 --- a/util/tlm/sc_ext.hh +++ b/util/tlm/sc_ext.hh @@ -62,8 +62,12 @@ class Gem5Extension: public tlm::tlm_extension<Gem5Extension> getExtension(const tlm::tlm_generic_payload &payload); PacketPtr getPacket(); + bool isPipeThrough() const { return pipeThrough; } + void setPipeThrough() { pipeThrough = true; } + private: PacketPtr Packet; + bool pipeThrough; }; } |