summaryrefslogtreecommitdiff
path: root/src/mem/xbar.cc
diff options
context:
space:
mode:
authorCurtis Dunham <Curtis.Dunham@arm.com>2014-09-27 09:08:32 -0400
committerCurtis Dunham <Curtis.Dunham@arm.com>2014-09-27 09:08:32 -0400
commitb7f1d675da6e3887e956bf253fef77913d38a3dc (patch)
tree4c1172c77d33f5aa6f82a044fc7e6cd3af9cef98 /src/mem/xbar.cc
parent725be98fe8002b897e137db26453754152f41606 (diff)
downloadgem5-b7f1d675da6e3887e956bf253fef77913d38a3dc.tar.xz
mem: Output precise range when XBar has conflicts
Diffstat (limited to 'src/mem/xbar.cc')
-rw-r--r--src/mem/xbar.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mem/xbar.cc b/src/mem/xbar.cc
index 6e4630fb6..d56e726d5 100644
--- a/src/mem/xbar.cc
+++ b/src/mem/xbar.cc
@@ -407,8 +407,9 @@ BaseXBar::recvRangeChange(PortID master_port_id)
r.to_string(), master_port_id);
if (portMap.insert(r, master_port_id) == portMap.end()) {
PortID conflict_id = portMap.find(r)->second;
- fatal("%s has two ports with same range:\n\t%s\n\t%s\n",
+ fatal("%s has two ports responding within range %s:\n\t%s\n\t%s\n",
name(),
+ r.to_string(),
masterPorts[master_port_id]->getSlavePort().name(),
masterPorts[conflict_id]->getSlavePort().name());
}