cluster.py (9790:ccc428657233) cluster.py (9815:3b3b94536547)
1# Copyright (c) 2006-2007 The Regents of The University of Michigan
2# All rights reserved.
3#
4# Redistribution and use in source and binary forms, with or without
5# modification, are permitted provided that the following conditions are
6# met: redistributions of source code must retain the above copyright
7# notice, this list of conditions and the following disclaimer;
8# redistributions in binary form must reproduce the above copyright

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

134
135
136# --------------------
137# Base L1 Cache Definition
138# ====================
139
140class L1(BaseCache):
141 latency = options.l1latency
1# Copyright (c) 2006-2007 The Regents of The University of Michigan
2# All rights reserved.
3#
4# Redistribution and use in source and binary forms, with or without
5# modification, are permitted provided that the following conditions are
6# met: redistributions of source code must retain the above copyright
7# notice, this list of conditions and the following disclaimer;
8# redistributions in binary form must reproduce the above copyright

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

134
135
136# --------------------
137# Base L1 Cache Definition
138# ====================
139
140class L1(BaseCache):
141 latency = options.l1latency
142 block_size = 64
143 mshrs = 12
144 tgts_per_mshr = 8
145
146# ----------------------
147# Base L2 Cache Definition
148# ----------------------
149
150class L2(BaseCache):
142 mshrs = 12
143 tgts_per_mshr = 8
144
145# ----------------------
146# Base L2 Cache Definition
147# ----------------------
148
149class L2(BaseCache):
151 block_size = 64
152 latency = options.l2latency
153 mshrs = 92
154 tgts_per_mshr = 16
155 write_buffers = 8
156
157# ----------------------
158# Define the clusters with their cpus
159# ----------------------

--- 146 unchanged lines hidden ---
150 latency = options.l2latency
151 mshrs = 92
152 tgts_per_mshr = 16
153 write_buffers = 8
154
155# ----------------------
156# Define the clusters with their cpus
157# ----------------------

--- 146 unchanged lines hidden ---