cluster.py (10720:67b3e74de9ae) | cluster.py (11053:62544e45c0f4) |
---|---|
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 --- 123 unchanged lines hidden (view full) --- 132 cmd = 'WATER-SPATIAL' 133 input = options.rootdir + 'apps/water-spatial/input.p' + str(options.numcpus) 134 135 136# -------------------- 137# Base L1 Cache Definition 138# ==================== 139 | 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 --- 123 unchanged lines hidden (view full) --- 132 cmd = 'WATER-SPATIAL' 133 input = options.rootdir + 'apps/water-spatial/input.p' + str(options.numcpus) 134 135 136# -------------------- 137# Base L1 Cache Definition 138# ==================== 139 |
140class L1(BaseCache): | 140class L1(Cache): |
141 latency = options.l1latency 142 mshrs = 12 143 tgts_per_mshr = 8 144 145# ---------------------- 146# Base L2 Cache Definition 147# ---------------------- 148 | 141 latency = options.l1latency 142 mshrs = 12 143 tgts_per_mshr = 8 144 145# ---------------------- 146# Base L2 Cache Definition 147# ---------------------- 148 |
149class L2(BaseCache): | 149class L2(Cache): |
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 --- | 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 --- |