summaryrefslogtreecommitdiff
path: root/src/mem/PhysicalMemory.py
diff options
context:
space:
mode:
authorAli Saidi <saidi@eecs.umich.edu>2008-04-10 14:44:52 -0400
committerAli Saidi <saidi@eecs.umich.edu>2008-04-10 14:44:52 -0400
commitfe12f3835354e62aca078789f4b07470f35396a2 (patch)
treeb04bf6ebbf6a92d73990b214b654c4457b637570 /src/mem/PhysicalMemory.py
parented27c4c52183d9527a0c123b9be84bbe968f4afa (diff)
downloadgem5-fe12f3835354e62aca078789f4b07470f35396a2.tar.xz
PhysicalMemory: Add parameter for variance in memory delay.
--HG-- extra : convert_revision : b931472e81dedb650b7accb9061cb426f1c32e66
Diffstat (limited to 'src/mem/PhysicalMemory.py')
-rw-r--r--src/mem/PhysicalMemory.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mem/PhysicalMemory.py b/src/mem/PhysicalMemory.py
index 99bd27f2b..4e8a830de 100644
--- a/src/mem/PhysicalMemory.py
+++ b/src/mem/PhysicalMemory.py
@@ -1,4 +1,4 @@
-# Copyright (c) 2005-2007 The Regents of The University of Michigan
+# Copyright (c) 2005-2008 The Regents of The University of Michigan
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
@@ -36,6 +36,7 @@ class PhysicalMemory(MemObject):
range = Param.AddrRange(AddrRange('128MB'), "Device Address")
file = Param.String('', "memory mapped file")
latency = Param.Latency('1t', "latency of an access")
+ latency_var = Param.Latency('0ns', "access variablity")
zero = Param.Bool(False, "zero initialize memory")
class DRAMMemory(PhysicalMemory):