memtest-ruby.py (10688:22452667fd5c) memtest-ruby.py (11320:42ecb523c64a)
1# Copyright (c) 2006-2007 The Regents of The University of Michigan
2# Copyright (c) 2010 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;

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

71
72# ruby does not support atomic, functional, or uncacheable accesses
73cpus = [ MemTest(percent_functional=50,
74 percent_uncacheable=0, suppress_func_warnings=True) \
75 for i in xrange(nb_cores) ]
76
77# overwrite options.num_cpus with the nb_cores value
78options.num_cpus = nb_cores
1# Copyright (c) 2006-2007 The Regents of The University of Michigan
2# Copyright (c) 2010 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;

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

71
72# ruby does not support atomic, functional, or uncacheable accesses
73cpus = [ MemTest(percent_functional=50,
74 percent_uncacheable=0, suppress_func_warnings=True) \
75 for i in xrange(nb_cores) ]
76
77# overwrite options.num_cpus with the nb_cores value
78options.num_cpus = nb_cores
79
79
80# system simulated
81system = System(cpu = cpus)
82# Dummy voltage domain for all our clock domains
83system.voltage_domain = VoltageDomain()
84system.clk_domain = SrcClockDomain(clock = '1GHz',
85 voltage_domain = system.voltage_domain)
86
87# Create a seperate clock domain for components that should run at

--- 40 unchanged lines hidden ---
80# system simulated
81system = System(cpu = cpus)
82# Dummy voltage domain for all our clock domains
83system.voltage_domain = VoltageDomain()
84system.clk_domain = SrcClockDomain(clock = '1GHz',
85 voltage_domain = system.voltage_domain)
86
87# Create a seperate clock domain for components that should run at

--- 40 unchanged lines hidden ---