MESI_Three_Level.py (11022:e6e3b7097810) MESI_Three_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# Copyright (c) 2013 Mark D. Hill and David A. Wood
4# All rights reserved.
5#
6# Redistribution and use in source and binary forms, with or without
7# modification, are permitted provided that the following conditions are
8# met: redistributions of source code must retain the above copyright

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

255 io_controller.mandatoryQueue = MessageBuffer()
256 io_controller.responseFromDir = MessageBuffer(ordered = True)
257 io_controller.responseFromDir.slave = ruby_system.network.master
258 io_controller.requestToDir = MessageBuffer()
259 io_controller.requestToDir.master = ruby_system.network.slave
260
261 all_cntrls = all_cntrls + [io_controller]
262
1# Copyright (c) 2006-2007 The Regents of The University of Michigan
2# Copyright (c) 2009 Advanced Micro Devices, Inc.
3# Copyright (c) 2013 Mark D. Hill and David A. Wood
4# All rights reserved.
5#
6# Redistribution and use in source and binary forms, with or without
7# modification, are permitted provided that the following conditions are
8# met: redistributions of source code must retain the above copyright

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

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