More changes so that asynchronus blocks work properly
[gem5.git] / objects / MemTest.mpy
1 simobj MemTest(SimObject):
2 type = 'MemTest'
3 cache = Param.BaseCache("L1 cache")
4 check_mem = Param.FunctionalMemory("check memory")
5 main_mem = Param.FunctionalMemory("hierarchical memory")
6 max_loads_all_threads = Param.Counter(0,
7 "terminate when all threads have reached this load count")
8 max_loads_any_thread = Param.Counter(0,
9 "terminate when any thread reaches this load count")
10 memory_size = Param.Int(65536, "memory size")
11 percent_copies = Param.Percent(0, "target copy percentage")
12 percent_dest_unaligned = Param.Percent(50,
13 "percent of copy dest address that are unaligned")
14 percent_reads = Param.Percent(65, "target read percentage")
15 percent_source_unaligned = Param.Percent(50,
16 "percent of copy source address that are unaligned")
17 percent_uncacheable = Param.Percent(10,
18 "target uncacheable percentage")
19 progress_interval = Param.Counter(1000000,
20 "progress report interval (in accesses)")
21 trace_addr = Param.Addr(0, "address to trace")