class RubyDirectedTester : public MemObject
{
public:
- class CpuPort : public SimpleTimingPort
+ class CpuPort : public Port
{
private:
RubyDirectedTester *tester;
public:
- CpuPort(const std::string &_name, RubyDirectedTester *_tester, uint32_t _idx)
- : SimpleTimingPort(_name, _tester), tester(_tester), idx(_idx)
+ CpuPort(const std::string &_name, RubyDirectedTester *_tester,
+ uint32_t _idx)
+ : Port(_name, _tester), tester(_tester), idx(_idx)
{}
uint32_t idx;
protected:
virtual bool recvTiming(PacketPtr pkt);
virtual Tick recvAtomic(PacketPtr pkt);
+ virtual void recvFunctional(PacketPtr pkt) { }
+ virtual void recvRangeChange() { }
};
typedef RubyDirectedTesterParams Params;
class RubyTester : public MemObject
{
public:
- class CpuPort : public SimpleTimingPort
+ class CpuPort : public Port
{
private:
RubyTester *tester;
public:
CpuPort(const std::string &_name, RubyTester *_tester, int _idx)
- : SimpleTimingPort(_name, _tester), tester(_tester), idx(_idx)
+ : Port(_name, _tester), tester(_tester), idx(_idx)
{}
int idx;
protected:
virtual bool recvTiming(PacketPtr pkt);
virtual Tick recvAtomic(PacketPtr pkt);
+ virtual void recvFunctional(PacketPtr pkt) { }
+ virtual void recvRangeChange() { }
};
struct SenderState : public Packet::SenderState