lds_state.hh (12697:cd71b966be1e) | lds_state.hh (13784:1941dc118243) |
---|---|
1/* 2 * Copyright (c) 2014-2015 Advanced Micro Devices, Inc. 3 * All rights reserved. 4 * 5 * For use for simulation and test purposes only 6 * 7 * Redistribution and use in source and binary forms, with or without 8 * modification, are permitted provided that the following conditions are met: --- 422 unchanged lines hidden (view full) --- 431 } 432 433 AddrRange 434 getAddrRange() const 435 { 436 return range; 437 } 438 | 1/* 2 * Copyright (c) 2014-2015 Advanced Micro Devices, Inc. 3 * All rights reserved. 4 * 5 * For use for simulation and test purposes only 6 * 7 * Redistribution and use in source and binary forms, with or without 8 * modification, are permitted provided that the following conditions are met: --- 422 unchanged lines hidden (view full) --- 431 } 432 433 AddrRange 434 getAddrRange() const 435 { 436 return range; 437 } 438 |
439 virtual BaseSlavePort & 440 getSlavePort(const std::string& if_name, PortID idx) | 439 Port & 440 getPort(const std::string &if_name, PortID idx) |
441 { 442 if (if_name == "cuPort") { 443 // TODO need to set name dynamically at this point? 444 return cuPort; 445 } else { 446 fatal("cannot resolve the port name " + if_name); 447 } 448 } --- 61 unchanged lines hidden --- | 441 { 442 if (if_name == "cuPort") { 443 // TODO need to set name dynamically at this point? 444 return cuPort; 445 } else { 446 fatal("cannot resolve the port name " + if_name); 447 } 448 } --- 61 unchanged lines hidden --- |