RubyDirectedTester.hh (8229:78bf55f23338) RubyDirectedTester.hh (8655:e4001326a5ba)
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

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

48{
49 public:
50 class CpuPort : public SimpleTimingPort
51 {
52 private:
53 RubyDirectedTester *tester;
54
55 public:
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

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

48{
49 public:
50 class CpuPort : public SimpleTimingPort
51 {
52 private:
53 RubyDirectedTester *tester;
54
55 public:
56 CpuPort(const std::string &_name, RubyDirectedTester *_tester, uint _idx)
56 CpuPort(const std::string &_name, RubyDirectedTester *_tester, uint32_t _idx)
57 : SimpleTimingPort(_name, _tester), tester(_tester), idx(_idx)
58 {}
59
57 : SimpleTimingPort(_name, _tester), tester(_tester), idx(_idx)
58 {}
59
60 uint idx;
60 uint32_t idx;
61
62 protected:
63 virtual bool recvTiming(PacketPtr pkt);
64 virtual Tick recvAtomic(PacketPtr pkt);
65 };
66
67 typedef RubyDirectedTesterParams Params;
68 RubyDirectedTester(const Params *p);

--- 50 unchanged lines hidden ---
61
62 protected:
63 virtual bool recvTiming(PacketPtr pkt);
64 virtual Tick recvAtomic(PacketPtr pkt);
65 };
66
67 typedef RubyDirectedTesterParams Params;
68 RubyDirectedTester(const Params *p);

--- 50 unchanged lines hidden ---