Hello,
the "count" value corresponds to the number of instances of the equivalent
unit, just as you understood.
It does not "override" something, but defines the number of the specific FU
that will be created and
pushed in the fuPool. I suggest you to have a look in the file "fu_pool.cc" in
the main constructor
and it will become clear to you.
Kind regards,
--
Kleovoulos Kalaitzidis
Doctorant - Équipe PACAP
Centre de recherche INRIA Rennes - Bretagne Atlantique
Bâtiment 12E, Bureau E321, Campus de Beaulieu,
35042 Rennes Cedex, France
----- Original Message -----
> From: "Ayman Moussa" <ayman.mouss...@imperial.ac.uk>
> To: "gem5 users mailing list" <gem5-users@gem5.org>
> Sent: Thursday, May 25, 2017 10:02:31 PM
> Subject: [gem5-users] Default functional units
> In src/cpu/o3/ FUPool.py , the DefaultFUPool() contains one of each
> functional unit:
> class DefaultFUPool(FUPool):
> FUList = [ IntALU(), IntMultDiv(), FP_ALU(), FP_MultDiv(), ReadPort(),
> SIMD_Unit(), WritePort(), RdWrPort(), IprPort() ]
> However there is a "count" parameter in each class definition in
> FuncUnitConfig.py that varies for each unit i.e
> class IntALU(FUDesc):
> opList = [ OpDesc(opClass='IntAlu') ]
> count = 6
> class FP_ALU(FUDesc):
> opList = [ OpDesc(opClass='FloatAdd', opLat=2),
> OpDesc(opClass='FloatCmp', opLat=2),
> OpDesc(opClass='FloatCvt', opLat=2) ]
> count = 4
> etc
> I'm confused by what this means. In the default pool, do we only have 1 of
> each functional unit or does the parameter "count" override the number of
> units for that class i.e count=6 means there will be 6 Integer ALUs?? I have
> looked at config.ini but I cannot tell how many functional units there are.
> I'm writing this for my thesis and I would really appreciate if someone could
> clear this up for me.
> Thanks
> Ayman
> _______________________________________________
> gem5-users mailing list
> gem5-users@gem5.org
> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
_______________________________________________
gem5-users mailing list
gem5-users@gem5.org
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users