memtest-ruby.py (10405:7a618c07e663) memtest-ruby.py (10519:7a3ad4b09ce4)
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;

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

93 voltage_domain = system.voltage_domain)
94
95# All cpus are associated with cpu_clk_domain
96for cpu in cpus:
97 cpu.clk_domain = system.cpu_clk_domain
98
99system.mem_ranges = AddrRange('256MB')
100
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;

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

93 voltage_domain = system.voltage_domain)
94
95# All cpus are associated with cpu_clk_domain
96for cpu in cpus:
97 cpu.clk_domain = system.cpu_clk_domain
98
99system.mem_ranges = AddrRange('256MB')
100
101Ruby.create_system(options, system)
101Ruby.create_system(options, False, system)
102
103# Create a separate clock domain for Ruby
104system.ruby.clk_domain = SrcClockDomain(clock = options.ruby_clock,
105 voltage_domain = system.voltage_domain)
106
107assert(len(cpus) == len(system.ruby._cpu_ports))
108
109for (i, ruby_port) in enumerate(system.ruby._cpu_ports):

--- 25 unchanged lines hidden ---
102
103# Create a separate clock domain for Ruby
104system.ruby.clk_domain = SrcClockDomain(clock = options.ruby_clock,
105 voltage_domain = system.voltage_domain)
106
107assert(len(cpus) == len(system.ruby._cpu_ports))
108
109for (i, ruby_port) in enumerate(system.ruby._cpu_ports):

--- 25 unchanged lines hidden ---