First steps toward getting full system to work with
[gem5.git] / python / m5 / objects / MemTest.py
1 from m5 import *
2 class MemTest(SimObject):
3 type = 'MemTest'
4 cache = Param.BaseCache("L1 cache")
5 check_mem = Param.FunctionalMemory("check memory")
6 main_mem = Param.FunctionalMemory("hierarchical memory")
7 max_loads = Param.Counter("number of loads to execute")
8 memory_size = Param.Int(65536, "memory size")
9 percent_copies = Param.Percent(0, "target copy percentage")
10 percent_dest_unaligned = Param.Percent(50,
11 "percent of copy dest address that are unaligned")
12 percent_reads = Param.Percent(65, "target read percentage")
13 percent_source_unaligned = Param.Percent(50,
14 "percent of copy source address that are unaligned")
15 percent_uncacheable = Param.Percent(10,
16 "target uncacheable percentage")
17 progress_interval = Param.Counter(1000000,
18 "progress report interval (in accesses)")
19 trace_addr = Param.Addr(0, "address to trace")