RubyTester.hh (8975:7f36d4436074) RubyTester.hh (9031:32ecc0217c5e)
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

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

52
53 public:
54 //
55 // Currently, each instatiation of the RubyTester::CpuPort supports
56 // only instruction or data requests, not both. However, for those
57 // RubyPorts that support both types of requests, separate InstOnly
58 // and DataOnly CpuPorts will map to that RubyPort
59
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

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

52
53 public:
54 //
55 // Currently, each instatiation of the RubyTester::CpuPort supports
56 // only instruction or data requests, not both. However, for those
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)
60 CpuPort(const std::string &_name, RubyTester *_tester, PortID _id)
61 : MasterPort(_name, _tester, _id), tester(_tester)
62 {}
63
64 protected:
65 virtual bool recvTimingResp(PacketPtr pkt);
66 virtual void recvRetry()
67 { panic("%s does not expect a retry\n", name()); }
68 };

--- 97 unchanged lines hidden ---
61 : MasterPort(_name, _tester, _id), tester(_tester)
62 {}
63
64 protected:
65 virtual bool recvTimingResp(PacketPtr pkt);
66 virtual void recvRetry()
67 { panic("%s does not expect a retry\n", name()); }
68 };

--- 97 unchanged lines hidden ---