FlashDevice.py (10801:049eb85e8ea2) FlashDevice.py (13665:9c7fe3811b88)
1# Copyright (c) 2013-2015 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

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

33# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
34# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
35#
36# Authors: Rene de Jong
37#
38
39from m5.params import *
40from m5.proxy import *
1# Copyright (c) 2013-2015 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

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

33# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
34# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
35#
36# Authors: Rene de Jong
37#
38
39from m5.params import *
40from m5.proxy import *
41from AbstractNVM import *
42
41
42from m5.objects.AbstractNVM import *
43
43#Distribution of the data.
44#sequential: sequential (address n+1 is likely to be on the same plane as n)
45#Random: @TODO Not yet implemented
46#stripe: striping over all the planes
47class DataDistribution(Enum): vals = ['sequential', 'stripe']
48
49class FlashDevice(AbstractNVM):
50 type = 'FlashDevice'

--- 24 unchanged lines hidden ---
44#Distribution of the data.
45#sequential: sequential (address n+1 is likely to be on the same plane as n)
46#Random: @TODO Not yet implemented
47#stripe: striping over all the planes
48class DataDistribution(Enum): vals = ['sequential', 'stripe']
49
50class FlashDevice(AbstractNVM):
51 type = 'FlashDevice'

--- 24 unchanged lines hidden ---