MOESI_AMD_Base.py (13974:af47a3ae0f6b) MOESI_AMD_Base.py (13980:62a28c423e91)
1# Copyright (c) 2010-2015 Advanced Micro Devices, Inc.
2# All rights reserved.
3#
4# For use for simulation and test purposes only
5#
6# Redistribution and use in source and binary forms, with or without
7# modification, are permitted provided that the following conditions are met:
8#

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

323
324 cp_cntrl.mandatoryQueue = MessageBuffer()
325 cp_cntrl.triggerQueue = MessageBuffer(ordered = True)
326
327 cpuCluster.add(cp_cntrl)
328
329 # Register CPUs and caches for each CorePair and directory (SE mode only)
330 if not full_system:
1# Copyright (c) 2010-2015 Advanced Micro Devices, Inc.
2# All rights reserved.
3#
4# For use for simulation and test purposes only
5#
6# Redistribution and use in source and binary forms, with or without
7# modification, are permitted provided that the following conditions are met:
8#

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

323
324 cp_cntrl.mandatoryQueue = MessageBuffer()
325 cp_cntrl.triggerQueue = MessageBuffer(ordered = True)
326
327 cpuCluster.add(cp_cntrl)
328
329 # Register CPUs and caches for each CorePair and directory (SE mode only)
330 if not full_system:
331 FileSystemConfig.config_filesystem(options)
332 for i in xrange((options.num_cpus + 1) // 2):
333 FileSystemConfig.register_cpu(physical_package_id = 0,
334 core_siblings =
335 xrange(options.num_cpus),
336 core_id = i*2,
337 thread_siblings = [])
338
339 FileSystemConfig.register_cpu(physical_package_id = 0,

--- 51 unchanged lines hidden ---
331 for i in xrange((options.num_cpus + 1) // 2):
332 FileSystemConfig.register_cpu(physical_package_id = 0,
333 core_siblings =
334 xrange(options.num_cpus),
335 core_id = i*2,
336 thread_siblings = [])
337
338 FileSystemConfig.register_cpu(physical_package_id = 0,

--- 51 unchanged lines hidden ---