diff options
-rw-r--r-- | src/mem/ruby/tester/Check.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mem/ruby/tester/Check.cc b/src/mem/ruby/tester/Check.cc index b9e7e3c10..7896b572a 100644 --- a/src/mem/ruby/tester/Check.cc +++ b/src/mem/ruby/tester/Check.cc @@ -100,7 +100,7 @@ void Check::initiatePrefetch(Sequencer* targetSequencer_ptr) } else if (type == CacheRequestType_ATOMIC) { command = MemCmd::SwapReq; // TODO -- differentiate between atomic types } else { - assert(false); + panic("Cannot convert request to packet"); } Packet pkt(&request, command, 0); // TODO -- make dest a real NodeID @@ -143,7 +143,7 @@ void Check::initiateAction() } else if (type == CacheRequestType_ATOMIC) { command = MemCmd::SwapReq; // TODO -- differentiate between atomic types } else { - assert(false); + panic("Cannot convert request to packet"); } Packet pkt(&request, command, 0); // TODO -- make dest a real NodeID @@ -186,7 +186,7 @@ void Check::initiateCheck() } else if (type == CacheRequestType_ATOMIC) { command = MemCmd::SwapReq; // TODO -- differentiate between atomic types } else { - assert(false); + panic("Cannot convert request to packet"); } Packet pkt(&request, command, 0); // TODO -- make dest a real NodeID |