SimpleMemory.py (8931:7a1dfb191e3f) SimpleMemory.py (9120:48eeef8a0997)
1# Copyright (c) 2012 ARM Limited
2# All rights reserved.
3#
4# The license below extends only to copyright in the software and shall
5# not be construed as granting a license to any other intellectual
6# property including but not limited to intellectual property relating
7# to a hardware implementation of the functionality of the software
8# licensed hereunder. You may use the software subject to the license

--- 30 unchanged lines hidden (view full) ---

39# Authors: Nathan Binkert
40# Andreas Hansson
41
42from m5.params import *
43from AbstractMemory import *
44
45class SimpleMemory(AbstractMemory):
46 type = 'SimpleMemory'
1# Copyright (c) 2012 ARM Limited
2# All rights reserved.
3#
4# The license below extends only to copyright in the software and shall
5# not be construed as granting a license to any other intellectual
6# property including but not limited to intellectual property relating
7# to a hardware implementation of the functionality of the software
8# licensed hereunder. You may use the software subject to the license

--- 30 unchanged lines hidden (view full) ---

39# Authors: Nathan Binkert
40# Andreas Hansson
41
42from m5.params import *
43from AbstractMemory import *
44
45class SimpleMemory(AbstractMemory):
46 type = 'SimpleMemory'
47 port = VectorSlavePort("Slave ports")
47 port = SlavePort("Slave ports")
48 latency = Param.Latency('30ns', "Request to response latency")
49 latency_var = Param.Latency('0ns', "Request to response latency variance")
48 latency = Param.Latency('30ns', "Request to response latency")
49 latency_var = Param.Latency('0ns', "Request to response latency variance")