DirectoryMemory.py (10301:44839e8febbd) DirectoryMemory.py (10524:fff17530cef6)
1# Copyright (c) 2009 Advanced Micro Devices, Inc.
2# All rights reserved.
3#
4# Redistribution and use in source and binary forms, with or without
5# modification, are permitted provided that the following conditions are
6# met: redistributions of source code must retain the above copyright
7# notice, this list of conditions and the following disclaimer;
8# redistributions in binary form must reproduce the above copyright

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

32from m5.SimObject import SimObject
33
34class RubyDirectoryMemory(SimObject):
35 type = 'RubyDirectoryMemory'
36 cxx_class = 'DirectoryMemory'
37 cxx_header = "mem/ruby/structures/DirectoryMemory.hh"
38 version = Param.Int(0, "")
39 size = Param.MemorySize("1GB", "capacity in bytes")
1# Copyright (c) 2009 Advanced Micro Devices, Inc.
2# All rights reserved.
3#
4# Redistribution and use in source and binary forms, with or without
5# modification, are permitted provided that the following conditions are
6# met: redistributions of source code must retain the above copyright
7# notice, this list of conditions and the following disclaimer;
8# redistributions in binary form must reproduce the above copyright

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

32from m5.SimObject import SimObject
33
34class RubyDirectoryMemory(SimObject):
35 type = 'RubyDirectoryMemory'
36 cxx_class = 'DirectoryMemory'
37 cxx_header = "mem/ruby/structures/DirectoryMemory.hh"
38 version = Param.Int(0, "")
39 size = Param.MemorySize("1GB", "capacity in bytes")
40 use_map = Param.Bool(False, "enable sparse memory")
41 map_levels = Param.Int(4, "sparse memory map levels")
42 # the default value of the numa high bit is specified in the command line
43 # option and must be passed into the directory memory sim object
44 numa_high_bit = Param.Int("numa high bit")
40 # the default value of the numa high bit is specified in the command line
41 # option and must be passed into the directory memory sim object
42 numa_high_bit = Param.Int("numa high bit")