diff options
Diffstat (limited to 'src/mem/bridge.cc')
-rw-r--r-- | src/mem/bridge.cc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/mem/bridge.cc b/src/mem/bridge.cc index 3fa9e5bb9..aa059ad13 100644 --- a/src/mem/bridge.cc +++ b/src/mem/bridge.cc @@ -78,8 +78,9 @@ Bridge::getPort(const std::string &if_name, int idx) else return NULL; - if (port->getPeer() != NULL) - panic("bridge side %s already connected to.", if_name); + if (port->getPeer() != NULL && !port->getPeer()->isDefaultPort()) + panic("bridge side %s already connected to %s.", + if_name, port->getPeer()->name()); return port; } |