MOESI_hammer.py (13951:b8ec67ca5e42) MOESI_hammer.py (13980:62a28c423e91)
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.slave = ruby_system.network.master
254 io_controller.requestToDir = MessageBuffer()
255 io_controller.requestToDir.master = ruby_system.network.slave
256 io_controller.mandatoryQueue = MessageBuffer()
257
258 all_cntrls = all_cntrls + [io_controller]
259 # Register configuration with filesystem
260 else:
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.slave = ruby_system.network.master
254 io_controller.requestToDir = MessageBuffer()
255 io_controller.requestToDir.master = ruby_system.network.slave
256 io_controller.mandatoryQueue = MessageBuffer()
257
258 all_cntrls = all_cntrls + [io_controller]
259 # Register configuration with filesystem
260 else:
261 FileSystemConfig.config_filesystem(options)
262
263 for i in xrange(options.num_cpus):
264 FileSystemConfig.register_cpu(physical_package_id = 0,
265 core_siblings = [],
266 core_id = i,
267 thread_siblings = [])
268
269 FileSystemConfig.register_cache(level = 1,
270 idu_type = 'Instruction',

--- 21 unchanged lines hidden ---
261 for i in xrange(options.num_cpus):
262 FileSystemConfig.register_cpu(physical_package_id = 0,
263 core_siblings = [],
264 core_id = i,
265 thread_siblings = [])
266
267 FileSystemConfig.register_cache(level = 1,
268 idu_type = 'Instruction',

--- 21 unchanged lines hidden ---