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

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

253 io_controller.responseFromDir = MessageBuffer(ordered = True)
254 io_controller.responseFromDir.slave = ruby_system.network.master
255 io_controller.requestToDir = MessageBuffer()
256 io_controller.requestToDir.master = ruby_system.network.slave
257 io_controller.mandatoryQueue = MessageBuffer()
258
259 all_cntrls = all_cntrls + [io_controller]
260
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;

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

253 io_controller.responseFromDir = MessageBuffer(ordered = True)
254 io_controller.responseFromDir.slave = ruby_system.network.master
255 io_controller.requestToDir = MessageBuffer()
256 io_controller.requestToDir.master = ruby_system.network.slave
257 io_controller.mandatoryQueue = MessageBuffer()
258
259 all_cntrls = all_cntrls + [io_controller]
260
261 ruby_system.network.number_of_virtual_networks = 6
261 topology = create_topology(all_cntrls, options)
262 return (cpu_sequencers, dir_cntrl_nodes, topology)
262 topology = create_topology(all_cntrls, options)
263 return (cpu_sequencers, dir_cntrl_nodes, topology)