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