Ruby.py (8258:7c377f5162f8) Ruby.py (8322:19949c6de823)
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;

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

140 ruby_profiler = RubyProfiler(num_of_sequencers = len(cpu_sequencers))
141
142 ruby = RubySystem(clock = options.clock,
143 network = network,
144 profiler = ruby_profiler,
145 tracer = RubyTracer(),
146 mem_size = total_mem_size)
147
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;

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

140 ruby_profiler = RubyProfiler(num_of_sequencers = len(cpu_sequencers))
141
142 ruby = RubySystem(clock = options.clock,
143 network = network,
144 profiler = ruby_profiler,
145 tracer = RubyTracer(),
146 mem_size = total_mem_size)
147
148 ruby.cpu_ruby_ports = cpu_sequencers
148 ruby._cpu_ruby_ports = cpu_sequencers
149 ruby.random_seed = options.random_seed
150
151 return ruby
149 ruby.random_seed = options.random_seed
150
151 return ruby