MI_example.py (11052:3137d34acf29) MI_example.py (11065:37e19af67f62)
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;

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

184 io_controller.mandatoryQueue = MessageBuffer()
185 io_controller.requestToDir = MessageBuffer()
186 io_controller.requestToDir.master = ruby_system.network.slave
187 io_controller.responseFromDir = MessageBuffer(ordered = True)
188 io_controller.responseFromDir.slave = ruby_system.network.master
189
190 all_cntrls = all_cntrls + [io_controller]
191
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;

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

184 io_controller.mandatoryQueue = MessageBuffer()
185 io_controller.requestToDir = MessageBuffer()
186 io_controller.requestToDir.master = ruby_system.network.slave
187 io_controller.responseFromDir = MessageBuffer(ordered = True)
188 io_controller.responseFromDir.slave = ruby_system.network.master
189
190 all_cntrls = all_cntrls + [io_controller]
191
192 ruby_system.network.number_of_virtual_networks = 5
192 topology = create_topology(all_cntrls, options)
193 return (cpu_sequencers, dir_cntrl_nodes, topology)
193 topology = create_topology(all_cntrls, options)
194 return (cpu_sequencers, dir_cntrl_nodes, topology)