summaryrefslogtreecommitdiff
path: root/src/python/m5/params.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/python/m5/params.py')
-rw-r--r--src/python/m5/params.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/python/m5/params.py b/src/python/m5/params.py
index 86b4b0504..4dd879783 100644
--- a/src/python/m5/params.py
+++ b/src/python/m5/params.py
@@ -184,7 +184,10 @@ class VectorParamValue(list):
return [ v.getValue() for v in self ]
def unproxy(self, base):
- return [v.unproxy(base) for v in self]
+ if len(self) == 1 and isinstance(self[0], AllProxy):
+ return self[0].unproxy(base)
+ else:
+ return [v.unproxy(base) for v in self]
class SimObjectVector(VectorParamValue):
# support clone operation