ruby_direct_test.py (10120:f5ceb3c3edb6) | ruby_direct_test.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; --- 91 unchanged lines hidden (view full) --- 100system.voltage_domain = VoltageDomain(voltage = options.sys_voltage) 101 102system.clk_domain = SrcClockDomain(clock = options.sys_clock, 103 voltage_domain = system.voltage_domain) 104 105# 106# Create the ruby random tester 107# | 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; --- 91 unchanged lines hidden (view full) --- 100system.voltage_domain = VoltageDomain(voltage = options.sys_voltage) 101 102system.clk_domain = SrcClockDomain(clock = options.sys_clock, 103 voltage_domain = system.voltage_domain) 104 105# 106# Create the ruby random tester 107# |
108system.tester = RubyDirectedTester(requests_to_complete = \ | 108system.cpu = RubyDirectedTester(requests_to_complete = \ |
109 options.requests, 110 generator = generator) 111 112Ruby.create_system(options, system) 113 114# Since Ruby runs at an independent frequency, create a seperate clock 115system.ruby.clk_domain = SrcClockDomain(clock = options.ruby_clock, 116 voltage_domain = system.voltage_domain) --- 26 unchanged lines hidden --- | 109 options.requests, 110 generator = generator) 111 112Ruby.create_system(options, system) 113 114# Since Ruby runs at an independent frequency, create a seperate clock 115system.ruby.clk_domain = SrcClockDomain(clock = options.ruby_clock, 116 voltage_domain = system.voltage_domain) --- 26 unchanged lines hidden --- |