latency = '1ns'
mshrs = 10
tgts_per_mshr = 5
- protocol = CoherenceProtocol(protocol='moesi')
class L2Cache(BaseCache):
assoc = 8
-# Copyright (c) 2006 The Regents of The University of Michigan
+# Copyright (c) 2006-2007 The Regents of The University of Michigan
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
parser.add_option("-f", "--frequency",
default = "1GHz",
help="Frequency of each CPU")
-parser.add_option("-p", "--protocol",
- default="moesi",
- help="The coherence protocol to use for the L1'a (i.e. MOESI, MOSI)")
parser.add_option("--l1size",
default = "32kB")
parser.add_option("--l1latency",
block_size = 64
mshrs = 12
tgts_per_mshr = 8
- protocol = CoherenceProtocol(protocol=options.protocol)
# ----------------------
# Base L2 Cache Definition
parser.add_option("-f", "--frequency",
default = "1GHz",
help="Frequency of each CPU")
-parser.add_option("-p", "--protocol",
- default="moesi",
- help="The coherence protocol to use for the L1'a (i.e. MOESI, MOSI)")
parser.add_option("--l1size",
default = "32kB")
parser.add_option("--l1latency",
block_size = 64
mshrs = 12
tgts_per_mshr = 8
- protocol = CoherenceProtocol(protocol=options.protocol)
# ----------------------
# Base L2 Cache Definition
mshrs = Param.Int("number of MSHRs (max outstanding requests)")
prioritizeRequests = Param.Bool(False,
"always service demand misses first")
- protocol = Param.CoherenceProtocol(NULL, "coherence protocol to use")
repl = Param.Repl(NULL, "replacement policy")
size = Param.MemorySize("capacity in bytes")
split = Param.Bool(False, "whether or not this cache is split")
block_size = 64
mshrs = 12
tgts_per_mshr = 8
- protocol = CoherenceProtocol(protocol='moesi')
# ----------------------
# Base L2 Cache
block_size = 64
mshrs = 4
tgts_per_mshr = 8
- protocol = CoherenceProtocol(protocol='moesi')
# ----------------------
# Base L2 Cache
block_size = 64
mshrs = 4
tgts_per_mshr = 8
- protocol = CoherenceProtocol(protocol='moesi')
# ----------------------
# Base L2 Cache
block_size = 64
mshrs = 4
tgts_per_mshr = 8
- protocol = CoherenceProtocol(protocol='moesi')
# ----------------------
# Base L2 Cache
block_size = 64
mshrs = 4
tgts_per_mshr = 8
- protocol = CoherenceProtocol(protocol='moesi')
# ----------------------
# Base L2 Cache
block_size = 64
mshrs = 4
tgts_per_mshr = 8
- protocol = CoherenceProtocol(protocol='moesi')
# ----------------------
# Base L2 Cache
block_size = 64
mshrs = 4
tgts_per_mshr = 8
- protocol = CoherenceProtocol(protocol='moesi')
# ----------------------
# Base L2 Cache
block_size = 64
mshrs = 4
tgts_per_mshr = 8
- protocol = CoherenceProtocol(protocol='moesi')
# ----------------------
# Base L2 Cache