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

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

73 check_flush = True
74
75#
76# create the tester and system, including ruby
77#
78tester = RubyTester(check_flush = check_flush, checks_to_complete = 100,
79 wakeup_frequency = 10, num_cpus = options.num_cpus)
80
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;

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

73 check_flush = True
74
75#
76# create the tester and system, including ruby
77#
78tester = RubyTester(check_flush = check_flush, checks_to_complete = 100,
79 wakeup_frequency = 10, num_cpus = options.num_cpus)
80
81system = System(tester = tester, physmem = SimpleMemory(null = True))
81# We set the testers as cpu for ruby to find the correct clock domains
82# for the L1 Objects.
83system = System(cpu = tester, physmem = SimpleMemory(null = True))
84
82# Dummy voltage domain for all our clock domains
83system.voltage_domain = VoltageDomain(voltage = options.sys_voltage)
84system.clk_domain = SrcClockDomain(clock = '1GHz',
85 voltage_domain = system.voltage_domain)
86
87system.mem_ranges = AddrRange('256MB')
88
89Ruby.create_system(options, system)

--- 37 unchanged lines hidden ---
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)

--- 37 unchanged lines hidden ---