Deleted Added
sdiff udiff text old ( 9157:e0bad9d7bbd6 ) new ( 9294:8fb03b13de02 )
full compact
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

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

62 public:
63 typedef MemObjectParams Params;
64 const Params *params() const
65 { return dynamic_cast<const Params *>(_params); }
66
67 MemObject(const Params *params);
68
69 /**
70 * Get a master port with a given name and index.
71 *
72 * @param if_name Port name
73 * @param idx Index in the case of a VectorPort
74 *
75 * @return A reference to the given port
76 */
77 virtual MasterPort& getMasterPort(const std::string& if_name,
78 int idx = -1);
79
80 /**
81 * Get a slave port with a given name and index.
82 *
83 * @param if_name Port name
84 * @param idx Index in the case of a VectorPort
85 *
86 * @return A reference to the given port
87 */
88 virtual SlavePort& getSlavePort(const std::string& if_name,
89 int idx = -1);
90};
91
92#endif //__MEM_MEM_OBJECT_HH__