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; --- 85 unchanged lines hidden (view full) --- 94# Create the ruby random tester 95# 96system.tester = RubyDirectedTester(requests_to_complete = \ 97 options.requests, 98 generator = generator) 99 100system.ruby = Ruby.create_system(options, system) 101 |
102assert(options.num_cpus == len(system.ruby._cpu_ruby_ports)) |
103 |
104for ruby_port in system.ruby._cpu_ruby_ports: |
105 # 106 # Tie the ruby tester ports to the ruby cpu ports 107 # 108 system.tester.cpuPort = ruby_port.port 109 110# ----------------------- 111# run simulation 112# ----------------------- --- 14 unchanged lines hidden --- |