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

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

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
81# We set the testers as cpu for ruby to find the correct clock domains
82# for the L1 Objects.
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;

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

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
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))
83system = System(cpu = tester)
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

--- 38 unchanged lines hidden ---
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

--- 38 unchanged lines hidden ---