ruby_direct_test.py (9365:644be05ee7c2) ruby_direct_test.py (9790:ccc428657233)
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;

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

88 sys.exit(1)
89
90#
91# Create the M5 system. Note that the Memory Object isn't
92# actually used by the rubytester, but is included to support the
93# M5 memory size == Ruby memory size checks
94#
95system = System(physmem = SimpleMemory())
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;

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

88 sys.exit(1)
89
90#
91# Create the M5 system. Note that the Memory Object isn't
92# actually used by the rubytester, but is included to support the
93# M5 memory size == Ruby memory size checks
94#
95system = System(physmem = SimpleMemory())
96
96system.clock = options.sys_clock
97#
98# Create the ruby random tester
99#
100system.tester = RubyDirectedTester(requests_to_complete = \
101 options.requests,
102 generator = generator)
103
104Ruby.create_system(options, system)

--- 26 unchanged lines hidden ---
97#
98# Create the ruby random tester
99#
100system.tester = RubyDirectedTester(requests_to_complete = \
101 options.requests,
102 generator = generator)
103
104Ruby.create_system(options, system)

--- 26 unchanged lines hidden ---