MOESI_hammer.py (7535:7f8213cb2337) | MOESI_hammer.py (7538:5691b9dd51f4) |
---|---|
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; --- 29 unchanged lines hidden (view full) --- 38 latency = 3 39 40# 41# Note: the L2 Cache latency is not currently used 42# 43class L2Cache(RubyCache): 44 latency = 15 45 | 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; --- 29 unchanged lines hidden (view full) --- 38 latency = 3 39 40# 41# Note: the L2 Cache latency is not currently used 42# 43class L2Cache(RubyCache): 44 latency = 15 45 |
46def define_options(parser): 47 return 48 |
|
46def create_system(options, phys_mem, piobus, dma_devices): 47 48 if buildEnv['PROTOCOL'] != 'MOESI_hammer': 49 panic("This script requires the MOESI_hammer protocol to be built.") 50 51 cpu_sequencers = [] 52 53 # --- 84 unchanged lines hidden --- | 49def create_system(options, phys_mem, piobus, dma_devices): 50 51 if buildEnv['PROTOCOL'] != 'MOESI_hammer': 52 panic("This script requires the MOESI_hammer protocol to be built.") 53 54 cpu_sequencers = [] 55 56 # --- 84 unchanged lines hidden --- |