cpu_policy.hh revision 1060
1#ifndef __CPU_POLICY_HH__
2#define __CPU_POLICY_HH__
3
4#include "cpu/beta_cpu/fetch.hh"
5#include "cpu/beta_cpu/decode.hh"
6#include "cpu/beta_cpu/rename.hh"
7#include "cpu/beta_cpu/iew.hh"
8#include "cpu/beta_cpu/commit.hh"
9
10#include "cpu/beta_cpu/inst_queue.hh"
11#include "cpu/beta_cpu/regfile.hh"
12#include "cpu/beta_cpu/free_list.hh"
13#include "cpu/beta_cpu/rename_map.hh"
14#include "cpu/beta_cpu/rob.hh"
15
16template<class Impl>
17struct SimpleCPUPolicy
18{
19    typedef PhysRegFile<Impl> RegFile;
20    typedef SimpleFreeList FreeList;
21    typedef SimpleRenameMap RenameMap;
22    typedef ROB<Impl> ROB;
23    typedef InstructionQueue<Impl> IQ;
24
25    typedef SimpleFetch<Impl> Fetch;
26    typedef SimpleDecode<Impl> Decode;
27    typedef SimpleRename<Impl> Rename;
28    typedef SimpleIEW<Impl, IQ> IEW;
29    typedef SimpleCommit<Impl> Commit;
30};
31
32#endif //__CPU_POLICY_HH__
33