diff options
author | Anthony Gutierrez <atgutier@umich.edu> | 2013-11-15 13:21:15 -0500 |
---|---|---|
committer | Anthony Gutierrez <atgutier@umich.edu> | 2013-11-15 13:21:15 -0500 |
commit | 8a53da22c2f07aed924a45ab296f7468d842d7f6 (patch) | |
tree | 14f1df0a4b3aa217840384e3dee2ce53270e570d /src/cpu/o3/O3CPU.py | |
parent | f028da7af7792bec226372ef23c1d103ad68ad30 (diff) | |
download | gem5-8a53da22c2f07aed924a45ab296f7468d842d7f6.tar.xz |
cpu: allow the fetch buffer to be smaller than a cache line
the current implementation of the fetch buffer in the o3 cpu
is only allowed to be the size of a cache line. some
architectures, e.g., ARM, have fetch buffers smaller than a cache
line, see slide 22 at:
http://www.arm.com/files/pdf/at-exploring_the_design_of_the_cortex-a15.pdf
this patch allows the fetch buffer to be set to values smaller
than a cache line.
Diffstat (limited to 'src/cpu/o3/O3CPU.py')
-rw-r--r-- | src/cpu/o3/O3CPU.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cpu/o3/O3CPU.py b/src/cpu/o3/O3CPU.py index 044ee9d59..a6094e47c 100644 --- a/src/cpu/o3/O3CPU.py +++ b/src/cpu/o3/O3CPU.py @@ -60,6 +60,7 @@ class DerivO3CPU(BaseCPU): "delay") commitToFetchDelay = Param.Cycles(1, "Commit to fetch delay") fetchWidth = Param.Unsigned(8, "Fetch width") + fetchBufferSize = Param.Unsigned(64, "Fetch buffer size in bytes") renameToDecodeDelay = Param.Cycles(1, "Rename to decode delay") iewToDecodeDelay = Param.Cycles(1, "Issue/Execute/Writeback to decode " |