de.cau.cs.kieler.krep.evalbench.program
Class KlpConfig
java.lang.Object
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

- (2010-02-05) review by cmot, msp
Constructor Summary |
KlpConfig(int ncores,
int nio,
int nregs,
int nirom)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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)
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