de.cau.cs.kieler.krep.evalbench.program
Class KepConfig

java.lang.Object
  extended by de.cau.cs.kieler.krep.evalbench.program.KepConfig
All Implemented Interfaces:
IConfig

public class KepConfig
extends Object
implements IConfig

Configuration of the Kiel Esterel Processor.

Rating yellow
(2010-02-05) review by cmot, msp

Field Summary
 
Fields inherited from interface de.cau.cs.kieler.krep.evalbench.program.IConfig
BYTE_LEN, BYTE_MASK
 
Constructor Summary
KepConfig()
           
 
Method Summary
 int getlTick()
           
 int getMaxROM()
           
 int getnSignals()
           
 int getnThread()
           
 String getType()
           
 int getWidthCounter()
           
 boolean isKEP()
          
 boolean isKLP()
          
 void setlTick(int lT)
           
 void setMaxROM(int tMaxROM)
           
 void setnSignals(int nSig)
           
 void setnThread(int nThr)
           
 void setType(String t)
           
 void setWidthCounter(int wCounter)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

KepConfig

public KepConfig()
Method Detail

getType

public String getType()
Returns:
the type

setType

public void setType(String t)
Parameters:
t - the type to set

getnSignals

public int getnSignals()
Returns:
the nSignals

setnSignals

public void setnSignals(int nSig)
Parameters:
nSig - the number of signals

getnThread

public int getnThread()
Returns:
the nThread

setnThread

public void setnThread(int nThr)
Parameters:
nThr - the number of threads to set

getWidthCounter

public int getWidthCounter()
Returns:
the widthCounter

setWidthCounter

public void setWidthCounter(int wCounter)
Parameters:
wCounter - the counter width to set

getlTick

public int getlTick()
Returns:
the lTick

setlTick

public void setlTick(int lT)
Parameters:
lT - the length of a Tick to set

getMaxROM

public int getMaxROM()
Returns:
the maxROM

setMaxROM

public void setMaxROM(int tMaxROM)
Parameters:
tMaxROM - the tMaxROM to set

isKEP

public boolean isKEP()

Specified by:
isKEP in interface IConfig
Returns:
true if the current processor is a Kiel Esterel processor

isKLP

public boolean isKLP()

Specified by:
isKLP in interface IConfig
Returns:
true if the current processor is a Lustre processor