bridge.hh (2665:a124942bacb8) bridge.hh (2738:5d7a31c7fa29)
1/*
2 * Copyright (c) 2006 The Regents of The University of Michigan
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are
7 * met: redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer;

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

172 BridgePort portA, portB;
173
174 /** If this bridge should acknowledge writes. */
175 bool ackWrites;
176
177 public:
178
179 /** A function used to return the port associated with this bus object. */
1/*
2 * Copyright (c) 2006 The Regents of The University of Michigan
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are
7 * met: redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer;

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

172 BridgePort portA, portB;
173
174 /** If this bridge should acknowledge writes. */
175 bool ackWrites;
176
177 public:
178
179 /** A function used to return the port associated with this bus object. */
180 virtual Port *getPort(const std::string &if_name);
180 virtual Port *getPort(const std::string &if_name, int idx = -1);
181
182 virtual void init();
183
184 Bridge(const std::string &n, int qsa, int qsb, Tick _delay, int write_ack);
185};
186
187#endif //__MEM_BUS_HH__
181
182 virtual void init();
183
184 Bridge(const std::string &n, int qsa, int qsb, Tick _delay, int write_ack);
185};
186
187#endif //__MEM_BUS_HH__