Param: Transition to Cycles for relevant parameters

This patch is a first step to using Cycles as a parameter type. The
main affected modules are the CPUs and the Ruby caches. There are
definitely plenty more places that are affected, but this patch serves
as a starting point to making the transition.

An important part of this patch is to actually enable parameters to be
specified as Param.Cycles which involves some changes to params.py.
This commit is contained in:
Andreas Hansson
2012-09-07 12:34:38 -04:00
parent 4124ea09f8
commit 287ea1a081
24 changed files with 111 additions and 100 deletions

View File

@@ -375,16 +375,16 @@ class DefaultCommit
/** Priority List used for Commit Policy */
std::list<ThreadID> priority_list;
/** IEW to Commit delay, in ticks. */
unsigned iewToCommitDelay;
/** IEW to Commit delay. */
Cycles iewToCommitDelay;
/** Commit to IEW delay, in ticks. */
unsigned commitToIEWDelay;
/** Commit to IEW delay. */
Cycles commitToIEWDelay;
/** Rename to ROB delay, in ticks. */
unsigned renameToROBDelay;
/** Rename to ROB delay. */
Cycles renameToROBDelay;
unsigned fetchToCommitDelay;
Cycles fetchToCommitDelay;
/** Rename width, in instructions. Used so ROB knows how many
* instructions to get from the rename instruction queue.