rubytest-ruby.py (10300:ed3816dae6d5) rubytest-ruby.py (10519:7a3ad4b09ce4)
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;

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

84
85# Dummy voltage domain for all our clock domains
86system.voltage_domain = VoltageDomain(voltage = options.sys_voltage)
87system.clk_domain = SrcClockDomain(clock = '1GHz',
88 voltage_domain = system.voltage_domain)
89
90system.mem_ranges = AddrRange('256MB')
91
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;

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

84
85# Dummy voltage domain for all our clock domains
86system.voltage_domain = VoltageDomain(voltage = options.sys_voltage)
87system.clk_domain = SrcClockDomain(clock = '1GHz',
88 voltage_domain = system.voltage_domain)
89
90system.mem_ranges = AddrRange('256MB')
91
92Ruby.create_system(options, system)
92Ruby.create_system(options, False, system)
93
94# Create a separate clock domain for Ruby
95system.ruby.clk_domain = SrcClockDomain(clock = '1GHz',
96 voltage_domain = system.voltage_domain)
97
98assert(options.num_cpus == len(system.ruby._cpu_ports))
99
100#

--- 29 unchanged lines hidden ---
93
94# Create a separate clock domain for Ruby
95system.ruby.clk_domain = SrcClockDomain(clock = '1GHz',
96 voltage_domain = system.voltage_domain)
97
98assert(options.num_cpus == len(system.ruby._cpu_ports))
99
100#

--- 29 unchanged lines hidden ---