RubyDirectedTester.hh (8950:a6830d615eff) | RubyDirectedTester.hh (8965:1ebd7c856abc) |
---|---|
1/* 2 * Copyright (c) 1999-2008 Mark D. Hill and David A. Wood 3 * Copyright (c) 2009-2010 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 --- 40 unchanged lines hidden (view full) --- 49 public: 50 class CpuPort : public MasterPort 51 { 52 private: 53 RubyDirectedTester *tester; 54 55 public: 56 CpuPort(const std::string &_name, RubyDirectedTester *_tester, | 1/* 2 * Copyright (c) 1999-2008 Mark D. Hill and David A. Wood 3 * Copyright (c) 2009-2010 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 --- 40 unchanged lines hidden (view full) --- 49 public: 50 class CpuPort : public MasterPort 51 { 52 private: 53 RubyDirectedTester *tester; 54 55 public: 56 CpuPort(const std::string &_name, RubyDirectedTester *_tester, |
57 uint32_t _idx) 58 : MasterPort(_name, _tester), tester(_tester), idx(_idx) | 57 Port::PortId _id) 58 : MasterPort(_name, _tester, _id), tester(_tester) |
59 {} 60 | 59 {} 60 |
61 uint32_t idx; 62 | |
63 protected: 64 virtual bool recvTiming(PacketPtr pkt); 65 virtual void recvRetry() 66 { panic("%s does not expect a retry\n", name()); } 67 }; 68 69 typedef RubyDirectedTesterParams Params; 70 RubyDirectedTester(const Params *p); --- 51 unchanged lines hidden --- | 61 protected: 62 virtual bool recvTiming(PacketPtr pkt); 63 virtual void recvRetry() 64 { panic("%s does not expect a retry\n", name()); } 65 }; 66 67 typedef RubyDirectedTesterParams Params; 68 RubyDirectedTester(const Params *p); --- 51 unchanged lines hidden --- |