Hello All,
It looks like default command line options override default values in
configuration scripts. I'm not sure if this would be considered a bug.
For example: O3_ARM_v7a.py defines dcache size as 32kB. Options.py
defines the default for command line option --l1d_size as 64kB.
CacheConfig.py sets the dcache size based on the command line. The
result is that size, associativity, and block size for caches, when not
set on the command line, default to the default values for the options,
*not* the values set in the configuration script.
This could be problematic given that arm_detailed has apparently been
tuned to something, but running with --cpu-type arm_detailed does not
actually run the configuration defined in O3_ARM_v7a.py. I don't
immediately see a good solution.
This behavior appears to be present in the latest dev version, but I
don't have time atm to fight through the compilation to check.
Has anyone else run into this and/or think it's a problem and/or have an
idea for a solution?
-Erik
--
The University of Edinburgh is a charitable body, registered in
Scotland, with registration number SC005336.
_______________________________________________
gem5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/gem5-dev