com.cmpware.cmp.models
Class SPU_pipeline.InstrData

java.lang.Object
  extended by com.cmpware.cmp.models.SPU_pipeline.InstrData
Enclosing class:
SPU_pipeline

public static final class SPU_pipeline.InstrData
extends java.lang.Object

This class defines the pipeline properties for an instruction. Note that this class is intended to be used statically.


Field Summary
 java.lang.String instrName
          The instruction name
 int latency
          The instruction pipeline latency
 int pipelineNumber
          The pipeline number (0 or 1)
 int stalls
          The pipeline stalls
 
Constructor Summary
SPU_pipeline.InstrData(java.lang.String instrName, int pipelineNumber, int latency, int stalls)
          This constructor builds an InstrData class.
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

instrName

public java.lang.String instrName
The instruction name


pipelineNumber

public int pipelineNumber
The pipeline number (0 or 1)


latency

public int latency
The instruction pipeline latency


stalls

public int stalls
The pipeline stalls

Constructor Detail

SPU_pipeline.InstrData

public SPU_pipeline.InstrData(java.lang.String instrName,
                              int pipelineNumber,
                              int latency,
                              int stalls)
This constructor builds an InstrData class.

Parameters:
instrName - the instruction name
pipelineNumber - the pipeline number (0 or 1)
latency - the instruction pipeline latency.
stalls - the number of pipeline stall cycles.