ruby_mem_test.py (9302:c2e70a9bc340) ruby_mem_test.py (9790:ccc428657233)
1# Copyright (c) 2006-2007 The Regents of The University of Michigan
2# Copyright (c) 2009 Advanced Micro Devices, Inc.
3# All rights reserved.
4#
5# Redistribution and use in source and binary forms, with or without
6# modification, are permitted provided that the following conditions are
7# met: redistributions of source code must retain the above copyright
8# notice, this list of conditions and the following disclaimer;

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

103 progress_interval = options.progress,
104 suppress_func_warnings = options.suppress_func_warnings) \
105 for i in xrange(options.num_cpus) ]
106
107system = System(cpu = cpus,
108 funcmem = SimpleMemory(in_addr_map = False),
109 funcbus = NoncoherentBus(),
110 physmem = SimpleMemory())
1# Copyright (c) 2006-2007 The Regents of The University of Michigan
2# Copyright (c) 2009 Advanced Micro Devices, Inc.
3# All rights reserved.
4#
5# Redistribution and use in source and binary forms, with or without
6# modification, are permitted provided that the following conditions are
7# met: redistributions of source code must retain the above copyright
8# notice, this list of conditions and the following disclaimer;

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

103 progress_interval = options.progress,
104 suppress_func_warnings = options.suppress_func_warnings) \
105 for i in xrange(options.num_cpus) ]
106
107system = System(cpu = cpus,
108 funcmem = SimpleMemory(in_addr_map = False),
109 funcbus = NoncoherentBus(),
110 physmem = SimpleMemory())
111system.clock = options.sys_clock
111
112if options.num_dmas > 0:
113 dmas = [ MemTest(atomic = False,
114 max_loads = options.maxloads,
115 issue_dmas = True,
116 percent_functional = 0,
117 percent_uncacheable = 0,
118 progress_interval = options.progress,

--- 66 unchanged lines hidden ---
112
113if options.num_dmas > 0:
114 dmas = [ MemTest(atomic = False,
115 max_loads = options.maxloads,
116 issue_dmas = True,
117 percent_functional = 0,
118 percent_uncacheable = 0,
119 progress_interval = options.progress,

--- 66 unchanged lines hidden ---