MESI_Two_Level.py (11022:e6e3b7097810) MESI_Two_Level.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;

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

231 io_controller.mandatoryQueue = MessageBuffer()
232 io_controller.responseFromDir = MessageBuffer(ordered = True)
233 io_controller.responseFromDir.slave = ruby_system.network.master
234 io_controller.requestToDir = MessageBuffer()
235 io_controller.requestToDir.master = ruby_system.network.slave
236
237 all_cntrls = all_cntrls + [io_controller]
238
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;

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

231 io_controller.mandatoryQueue = MessageBuffer()
232 io_controller.responseFromDir = MessageBuffer(ordered = True)
233 io_controller.responseFromDir.slave = ruby_system.network.master
234 io_controller.requestToDir = MessageBuffer()
235 io_controller.requestToDir.master = ruby_system.network.slave
236
237 all_cntrls = all_cntrls + [io_controller]
238
239 ruby_system.network.number_of_virtual_networks = 3
239 topology = create_topology(all_cntrls, options)
240 return (cpu_sequencers, dir_cntrl_nodes, topology)
240 topology = create_topology(all_cntrls, options)
241 return (cpu_sequencers, dir_cntrl_nodes, topology)