memtest-ruby.py (8920:99083b5b7ed4) | memtest-ruby.py (8931:7a1dfb191e3f) |
---|---|
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; --- 63 unchanged lines hidden (view full) --- 72 percent_uncacheable=0, suppress_func_warnings=True) \ 73 for i in xrange(nb_cores) ] 74 75# overwrite options.num_cpus with the nb_cores value 76options.num_cpus = nb_cores 77 78# system simulated 79system = System(cpu = cpus, | 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; --- 63 unchanged lines hidden (view full) --- 72 percent_uncacheable=0, suppress_func_warnings=True) \ 73 for i in xrange(nb_cores) ] 74 75# overwrite options.num_cpus with the nb_cores value 76options.num_cpus = nb_cores 77 78# system simulated 79system = System(cpu = cpus, |
80 funcmem = PhysicalMemory(), 81 physmem = PhysicalMemory()) | 80 funcmem = SimpleMemory(in_addr_map = False), 81 physmem = SimpleMemory()) |
82 83Ruby.create_system(options, system) 84 85assert(len(cpus) == len(system.ruby._cpu_ruby_ports)) 86 87for (i, ruby_port) in enumerate(system.ruby._cpu_ruby_ports): 88 # 89 # Tie the cpu test and functional ports to the ruby cpu ports and --- 26 unchanged lines hidden --- | 82 83Ruby.create_system(options, system) 84 85assert(len(cpus) == len(system.ruby._cpu_ruby_ports)) 86 87for (i, ruby_port) in enumerate(system.ruby._cpu_ruby_ports): 88 # 89 # Tie the cpu test and functional ports to the ruby cpu ports and --- 26 unchanged lines hidden --- |