MOESI_CMP_token.py (7535:7f8213cb2337) MOESI_CMP_token.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;

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

39 latency = 3
40
41#
42# Note: the L2 Cache latency is not currently used
43#
44class L2Cache(RubyCache):
45 latency = 15
46
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;

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

39 latency = 3
40
41#
42# Note: the L2 Cache latency is not currently used
43#
44class L2Cache(RubyCache):
45 latency = 15
46
47def define_options(parser):
48 return
49
47def create_system(options, phys_mem, piobus, dma_devices):
48
49 if buildEnv['PROTOCOL'] != 'MOESI_CMP_token':
50 panic("This script requires the MOESI_CMP_token protocol to be built.")
51
52 #
53 # number of tokens that the owner passes to requests so that shared blocks can
54 # respond to read requests

--- 107 unchanged lines hidden ---
50def create_system(options, phys_mem, piobus, dma_devices):
51
52 if buildEnv['PROTOCOL'] != 'MOESI_CMP_token':
53 panic("This script requires the MOESI_CMP_token protocol to be built.")
54
55 #
56 # number of tokens that the owner passes to requests so that shared blocks can
57 # respond to read requests

--- 107 unchanged lines hidden ---