FUPool.py (7760:e93e7e0caae1) FUPool.py (9338:97b4a2be1e5b)
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

--- 19 unchanged lines hidden (view full) ---

28
29from m5.SimObject import SimObject
30from m5.params import *
31from FuncUnit import *
32from FuncUnitConfig import *
33
34class FUPool(SimObject):
35 type = 'FUPool'
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

--- 19 unchanged lines hidden (view full) ---

28
29from m5.SimObject import SimObject
30from m5.params import *
31from FuncUnit import *
32from FuncUnitConfig import *
33
34class FUPool(SimObject):
35 type = 'FUPool'
36 cxx_header = "cpu/o3/fu_pool.hh"
36 FUList = VectorParam.FUDesc("list of FU's for this pool")
37
38class DefaultFUPool(FUPool):
39 FUList = [ IntALU(), IntMultDiv(), FP_ALU(), FP_MultDiv(), ReadPort(),
40 SIMD_Unit(), WritePort(), RdWrPort(), IprPort() ]
37 FUList = VectorParam.FUDesc("list of FU's for this pool")
38
39class DefaultFUPool(FUPool):
40 FUList = [ IntALU(), IntMultDiv(), FP_ALU(), FP_MultDiv(), ReadPort(),
41 SIMD_Unit(), WritePort(), RdWrPort(), IprPort() ]