From b7f1d675da6e3887e956bf253fef77913d38a3dc Mon Sep 17 00:00:00 2001 From: Curtis Dunham Date: Sat, 27 Sep 2014 09:08:32 -0400 Subject: mem: Output precise range when XBar has conflicts --- src/mem/xbar.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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()); } -- cgit v1.2.3