RubyTester.hh (8965:1ebd7c856abc) RubyTester.hh (8975:7f36d4436074)
1/*
2 * Copyright (c) 1999-2008 Mark D. Hill and David A. Wood
3 * Copyright (c) 2009 Advanced Micro Devices, Inc.
4 * All rights reserved.
5 *
6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions are
8 * met: redistributions of source code must retain the above copyright

--- 48 unchanged lines hidden (view full) ---

57 // RubyPorts that support both types of requests, separate InstOnly
58 // and DataOnly CpuPorts will map to that RubyPort
59
60 CpuPort(const std::string &_name, RubyTester *_tester, PortId _id)
61 : MasterPort(_name, _tester, _id), tester(_tester)
62 {}
63
64 protected:
1/*
2 * Copyright (c) 1999-2008 Mark D. Hill and David A. Wood
3 * Copyright (c) 2009 Advanced Micro Devices, Inc.
4 * All rights reserved.
5 *
6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions are
8 * met: redistributions of source code must retain the above copyright

--- 48 unchanged lines hidden (view full) ---

57 // RubyPorts that support both types of requests, separate InstOnly
58 // and DataOnly CpuPorts will map to that RubyPort
59
60 CpuPort(const std::string &_name, RubyTester *_tester, PortId _id)
61 : MasterPort(_name, _tester, _id), tester(_tester)
62 {}
63
64 protected:
65 virtual bool recvTiming(PacketPtr pkt);
65 virtual bool recvTimingResp(PacketPtr pkt);
66 virtual void recvRetry()
67 { panic("%s does not expect a retry\n", name()); }
68 };
69
70 struct SenderState : public Packet::SenderState
71 {
72 SubBlock* subBlock;
73 Packet::SenderState *saved;

--- 92 unchanged lines hidden ---
66 virtual void recvRetry()
67 { panic("%s does not expect a retry\n", name()); }
68 };
69
70 struct SenderState : public Packet::SenderState
71 {
72 SubBlock* subBlock;
73 Packet::SenderState *saved;

--- 92 unchanged lines hidden ---