memtest-ruby.py (13618:47a709f53226) memtest-ruby.py (13718:89e8bcc7253b)
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;

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

61options.ports=32
62
63#MAX CORES IS 8 with the fals sharing method
64nb_cores = 8
65
66# ruby does not support atomic, functional, or uncacheable accesses
67cpus = [ MemTest(percent_functional=50,
68 percent_uncacheable=0, suppress_func_warnings=True) \
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;

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

61options.ports=32
62
63#MAX CORES IS 8 with the fals sharing method
64nb_cores = 8
65
66# ruby does not support atomic, functional, or uncacheable accesses
67cpus = [ MemTest(percent_functional=50,
68 percent_uncacheable=0, suppress_func_warnings=True) \
69 for i in xrange(nb_cores) ]
69 for i in range(nb_cores) ]
70
71# overwrite options.num_cpus with the nb_cores value
72options.num_cpus = nb_cores
73
74# system simulated
75system = System(cpu = cpus)
76# Dummy voltage domain for all our clock domains
77system.voltage_domain = VoltageDomain()

--- 41 unchanged lines hidden ---
70
71# overwrite options.num_cpus with the nb_cores value
72options.num_cpus = nb_cores
73
74# system simulated
75system = System(cpu = cpus)
76# Dummy voltage domain for all our clock domains
77system.voltage_domain = VoltageDomain()

--- 41 unchanged lines hidden ---