traffic_gen.cc (9241:6cfb9a7acb1b) | traffic_gen.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 --- 52 unchanged lines hidden (view full) --- 61} 62 63TrafficGen* 64TrafficGenParams::create() 65{ 66 return new TrafficGen(this); 67} 68 | 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 --- 52 unchanged lines hidden (view full) --- 61} 62 63TrafficGen* 64TrafficGenParams::create() 65{ 66 return new TrafficGen(this); 67} 68 |
69MasterPort& 70TrafficGen::getMasterPort(const string& if_name, int idx) | 69BaseMasterPort& 70TrafficGen::getMasterPort(const string& if_name, PortID idx) |
71{ 72 if (if_name == "port") { 73 return port; 74 } else { 75 return MemObject::getMasterPort(if_name, idx); 76 } 77} 78 --- 560 unchanged lines hidden --- | 71{ 72 if (if_name == "port") { 73 return port; 74 } else { 75 return MemObject::getMasterPort(if_name, idx); 76 } 77} 78 --- 560 unchanged lines hidden --- |