diff options
author | Korey Sewell <ksewell@umich.edu> | 2011-02-04 00:08:20 -0500 |
---|---|---|
committer | Korey Sewell <ksewell@umich.edu> | 2011-02-04 00:08:20 -0500 |
commit | ab3d37d398a59e15cec656ca2b8790a7bc19ad48 (patch) | |
tree | 5ef5db187167d4f821a967c42cb0b383c55c8bf5 /src/cpu/inorder/resource_pool.cc | |
parent | f80508de653e6b97d1cdd009dccae62d68ffabf0 (diff) | |
download | gem5-ab3d37d398a59e15cec656ca2b8790a7bc19ad48.tar.xz |
inorder: implement separate fetch unit
instead of having one cache-unit class be responsible for both data and code
accesses, separate code that is just for fetch in it's own derived class off the
original base class. This makes the code easier to manage as well as handle
future cases of special fetch handling
Diffstat (limited to 'src/cpu/inorder/resource_pool.cc')
-rw-r--r-- | src/cpu/inorder/resource_pool.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cpu/inorder/resource_pool.cc b/src/cpu/inorder/resource_pool.cc index a0ec910f5..a037cbe9e 100644 --- a/src/cpu/inorder/resource_pool.cc +++ b/src/cpu/inorder/resource_pool.cc @@ -54,7 +54,7 @@ ResourcePool::ResourcePool(InOrderCPU *_cpu, ThePipeline::Params *params) stage_width * 2, 0, _cpu, params)); memObjects.push_back(ICache); - resources.push_back(new CacheUnit("icache_port", ICache, + resources.push_back(new FetchUnit("icache_port", ICache, stage_width * MaxThreads, 0, _cpu, params)); |