diff --git a/src/systemc/tlm_bridge/gem5_to_tlm.cc b/src/systemc/tlm_bridge/gem5_to_tlm.cc index f6ea811bdb..8c11c9721e 100644 --- a/src/systemc/tlm_bridge/gem5_to_tlm.cc +++ b/src/systemc/tlm_bridge/gem5_to_tlm.cc @@ -105,13 +105,10 @@ packet2payload(PacketPtr packet) trans->set_command(tlm::TLM_IGNORE_COMMAND); } else if (packet->isRead()) { trans->set_command(tlm::TLM_READ_COMMAND); - } else if (packet->isInvalidate()) { - /* Do nothing */ - trans->set_command(tlm::TLM_IGNORE_COMMAND); } else if (packet->isWrite()) { trans->set_command(tlm::TLM_WRITE_COMMAND); } else { - SC_REPORT_FATAL("Gem5ToTlmBridge", "No R/W packet"); + trans->set_command(tlm::TLM_IGNORE_COMMAND); } // Attach the packet pointer to the TLM transaction to keep track. @@ -284,10 +281,6 @@ Gem5ToTlmBridge::recvTimingReq(PacketPtr packet) panic_if(packet->cacheResponding(), "Should not see packets where cache is responding"); - panic_if(!(packet->isRead() || packet->isWrite()), - "Should only see read and writes at TLM memory\n"); - - // We should never get a second request after noting that a retry is // required. sc_assert(!needToSendRequestRetry);