ruby_mem_test.py (10519:7a3ad4b09ce4) ruby_mem_test.py (10524:fff17530cef6)
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;

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

102 percent_uncacheable = 0,
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 = NoncoherentXBar(),
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;

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

102 percent_uncacheable = 0,
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 = NoncoherentXBar(),
110 physmem = SimpleMemory(),
111 clk_domain = SrcClockDomain(clock = options.sys_clock),
112 mem_ranges = [AddrRange(options.mem_size)])
113
114if options.num_dmas > 0:
115 dmas = [ MemTest(atomic = False,
116 max_loads = options.maxloads,
117 issue_dmas = True,
118 percent_functional = 0,

--- 70 unchanged lines hidden ---
110 clk_domain = SrcClockDomain(clock = options.sys_clock),
111 mem_ranges = [AddrRange(options.mem_size)])
112
113if options.num_dmas > 0:
114 dmas = [ MemTest(atomic = False,
115 max_loads = options.maxloads,
116 issue_dmas = True,
117 percent_functional = 0,

--- 70 unchanged lines hidden ---