summaryrefslogtreecommitdiff
path: root/src/dev/io_device.cc
diff options
context:
space:
mode:
authorAndreas Hansson <andreas.hansson@arm.com>2012-07-09 12:35:39 -0400
committerAndreas Hansson <andreas.hansson@arm.com>2012-07-09 12:35:39 -0400
commitb265d9925c123f0df50db98cf56dab6a3596b54b (patch)
tree2b115ce862733a499c453352db3a6ae5b9f93cd6 /src/dev/io_device.cc
parent1c2ee987f37f4aac16cd0ff3e3ceeff949066a94 (diff)
downloadgem5-b265d9925c123f0df50db98cf56dab6a3596b54b.tar.xz
Port: Align port names in C++ and Python
This patch is a first step to align the port names used in the Python world and the C++ world. Ultimately it serves to make the use of config.json together with output from the simulation easier, including post-processing of statistics. Most notably, the CPU, cache, and bus is addressed in this patch, and there might be other ports that should be updated accordingly. The dash name separator has also been replaced with a "." which is what is used to concatenate the names in python, and a separation is made between the master and slave port in the bus.
Diffstat (limited to 'src/dev/io_device.cc')
-rw-r--r--src/dev/io_device.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dev/io_device.cc b/src/dev/io_device.cc
index b03afc5c6..30779cfb4 100644
--- a/src/dev/io_device.cc
+++ b/src/dev/io_device.cc
@@ -47,7 +47,7 @@
#include "sim/system.hh"
PioPort::PioPort(PioDevice *dev)
- : SimpleTimingPort(dev->name() + "-pio", dev), device(dev)
+ : SimpleTimingPort(dev->name() + ".pio", dev), device(dev)
{
}