ruby_random_test.py (10519:7a3ad4b09ce4) ruby_random_test.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;

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

92 checks_to_complete = options.maxloads,
93 wakeup_frequency = options.wakeup_freq)
94
95#
96# Create the M5 system. Note that the Memory Object isn't
97# actually used by the rubytester, but is included to support the
98# M5 memory size == Ruby memory size checks
99#
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;

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

92 checks_to_complete = options.maxloads,
93 wakeup_frequency = options.wakeup_freq)
94
95#
96# Create the M5 system. Note that the Memory Object isn't
97# actually used by the rubytester, but is included to support the
98# M5 memory size == Ruby memory size checks
99#
100system = System(cpu = tester, physmem = SimpleMemory(),
101 mem_ranges = [AddrRange(options.mem_size)])
100system = System(cpu = tester, mem_ranges = [AddrRange(options.mem_size)])
102
103# Create a top-level voltage domain and clock domain
104system.voltage_domain = VoltageDomain(voltage = options.sys_voltage)
105
106system.clk_domain = SrcClockDomain(clock = options.sys_clock,
107 voltage_domain = system.voltage_domain)
108
109Ruby.create_system(options, False, system)

--- 47 unchanged lines hidden ---
101
102# Create a top-level voltage domain and clock domain
103system.voltage_domain = VoltageDomain(voltage = options.sys_voltage)
104
105system.clk_domain = SrcClockDomain(clock = options.sys_clock,
106 voltage_domain = system.voltage_domain)
107
108Ruby.create_system(options, False, system)

--- 47 unchanged lines hidden ---