RubyDirectedTester.cc (9171:ae88ecf37145) | RubyDirectedTester.cc (9294:8fb03b13de02) |
---|---|
1/* 2 * Copyright (c) 2012 ARM Limited 3 * All rights reserved 4 * 5 * The license below extends only to copyright in the software and shall 6 * not be construed as granting a license to any other intellectual 7 * property including but not limited to intellectual property relating 8 * to a hardware implementation of the functionality of the software --- 60 unchanged lines hidden (view full) --- 69 70void 71RubyDirectedTester::init() 72{ 73 assert(ports.size() > 0); 74 generator->setDirectedTester(this); 75} 76 | 1/* 2 * Copyright (c) 2012 ARM Limited 3 * All rights reserved 4 * 5 * The license below extends only to copyright in the software and shall 6 * not be construed as granting a license to any other intellectual 7 * property including but not limited to intellectual property relating 8 * to a hardware implementation of the functionality of the software --- 60 unchanged lines hidden (view full) --- 69 70void 71RubyDirectedTester::init() 72{ 73 assert(ports.size() > 0); 74 generator->setDirectedTester(this); 75} 76 |
77MasterPort & 78RubyDirectedTester::getMasterPort(const std::string &if_name, int idx) | 77BaseMasterPort & 78RubyDirectedTester::getMasterPort(const std::string &if_name, PortID idx) |
79{ 80 if (if_name != "cpuPort") { 81 // pass it along to our super class 82 return MemObject::getMasterPort(if_name, idx); 83 } else { 84 if (idx >= static_cast<int>(ports.size())) { 85 panic("RubyDirectedTester::getMasterPort: unknown index %d\n", idx); 86 } --- 55 unchanged lines hidden --- | 79{ 80 if (if_name != "cpuPort") { 81 // pass it along to our super class 82 return MemObject::getMasterPort(if_name, idx); 83 } else { 84 if (idx >= static_cast<int>(ports.size())) { 85 panic("RubyDirectedTester::getMasterPort: unknown index %d\n", idx); 86 } --- 55 unchanged lines hidden --- |