}
// Prefetches are assumed to be 0 sized
- RequestPtr req = std::make_shared<Request>(m_address, 0, flags,
- m_tester_ptr->masterId(), curTick(), m_pc);
+ RequestPtr req = std::make_shared<Request>(
+ m_address, 0, flags, m_tester_ptr->masterId());
+ req->setPC(m_pc);
req->setContext(index);
PacketPtr pkt = new Packet(req, cmd);
Request::Flags flags;
- RequestPtr req = std::make_shared<Request>(m_address, CHECK_SIZE, flags,
- m_tester_ptr->masterId(), curTick(), m_pc);
+ RequestPtr req = std::make_shared<Request>(
+ m_address, CHECK_SIZE, flags, m_tester_ptr->masterId());
+ req->setPC(m_pc);
Packet::Command cmd;
// Stores are assumed to be 1 byte-sized
RequestPtr req = std::make_shared<Request>(
- writeAddr, 1, flags, m_tester_ptr->masterId(), curTick(), m_pc);
+ writeAddr, 1, flags, m_tester_ptr->masterId());
+ req->setPC(m_pc);
req->setContext(index);
Packet::Command cmd;
}
// Checks are sized depending on the number of bytes written
- RequestPtr req = std::make_shared<Request>(m_address, CHECK_SIZE, flags,
- m_tester_ptr->masterId(), curTick(), m_pc);
+ RequestPtr req = std::make_shared<Request>(
+ m_address, CHECK_SIZE, flags, m_tester_ptr->masterId());
+ req->setPC(m_pc);
req->setContext(index);
PacketPtr pkt = new Packet(req, MemCmd::ReadReq);
// Create a request and the packet containing request
auto req = std::make_shared<Request>(
- node_ptr->physAddr, node_ptr->size,
- node_ptr->flags, masterID, node_ptr->seqNum,
- ContextID(0));
+ node_ptr->physAddr, node_ptr->size, node_ptr->flags, masterID);
+ req->setReqInstSeqNum(node_ptr->seqNum);
req->setPC(node_ptr->pc);
// If virtual address is valid, set the asid and virtual address fields