run.py (10720:67b3e74de9ae) | run.py (11053:62544e45c0f4) |
---|---|
1# Copyright (c) 2005-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 --- 144 unchanged lines hidden (view full) --- 153 else: 154 input = options.rootdir + '/apps/water-spatial/input.p' + str(options.numcpus) 155 cwd = options.rootdir + '/apps/water-spatial' 156 157# -------------------- 158# Base L1 Cache Definition 159# ==================== 160 | 1# Copyright (c) 2005-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 --- 144 unchanged lines hidden (view full) --- 153 else: 154 input = options.rootdir + '/apps/water-spatial/input.p' + str(options.numcpus) 155 cwd = options.rootdir + '/apps/water-spatial' 156 157# -------------------- 158# Base L1 Cache Definition 159# ==================== 160 |
161class L1(BaseCache): | 161class L1(Cache): |
162 latency = options.l1latency 163 mshrs = 12 164 tgts_per_mshr = 8 165 166# ---------------------- 167# Base L2 Cache Definition 168# ---------------------- 169 | 162 latency = options.l1latency 163 mshrs = 12 164 tgts_per_mshr = 8 165 166# ---------------------- 167# Base L2 Cache Definition 168# ---------------------- 169 |
170class L2(BaseCache): | 170class L2(Cache): |
171 latency = options.l2latency 172 mshrs = 92 173 tgts_per_mshr = 16 174 write_buffers = 8 175 176# ---------------------- 177# Define the cpus 178# ---------------------- --- 109 unchanged lines hidden --- | 171 latency = options.l2latency 172 mshrs = 92 173 tgts_per_mshr = 16 174 write_buffers = 8 175 176# ---------------------- 177# Define the cpus 178# ---------------------- --- 109 unchanged lines hidden --- |