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

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

public class KlpConfig
extends Object
implements IConfig

Holds the actual configuration of a Kiel Reactive 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
KlpConfig(int ncores, int nio, int nregs, int nirom)
           
 
Method Summary
 int getCores()
           
 int getIo()
           
 int getIrom()
           
 int getLWord()
           
 int getRegs()
           
 boolean isKEP()
           
 boolean isKLP()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

KlpConfig

public KlpConfig(int ncores,
                 int nio,
                 int nregs,
                 int nirom)
Parameters:
ncores - number of cores (for KRP)
nio - (number of IO signals)
nregs - (number of registers)
nirom - (size of instruction ROM)
Method Detail

getLWord

public int getLWord()
Returns:
length of one word

getCores

public int getCores()
Returns:
number of cores

getIo

public int getIo()
Returns:
number of IO signals

getRegs

public int getRegs()
Returns:
number of registers

getIrom

public int getIrom()
Returns:
size of the instruction ROM

isKEP

public boolean isKEP()
Specified by:
isKEP in interface IConfig
Returns:
whether the processor is a Kiel Esterel processor

isKLP

public boolean isKLP()
Specified by:
isKLP in interface IConfig
Returns:
whether the processor is a Kiel Lustre processor