public abstract class ProcessingElement
extends java.lang.Object
ProcessingElement
class holds information on the state of a PE.Modifier and Type | Class and Description |
---|---|
static interface |
ProcessingElement.Factory |
Constructor and Description |
---|
ProcessingElement() |
Modifier and Type | Method and Description |
---|---|
LocationAccessor |
accessLocation(java.lang.String storageId) |
LocationAccessor |
accessLocation(java.lang.String storageId,
java.math.BigInteger index) |
protected void |
addLabel(Label label) |
protected void |
addStorage(Memory storage) |
abstract ProcessingElement |
copy(boolean shared)
Creates a new copy of PE state.
|
protected MemoryDevice |
getMemory() |
MemoryDevice |
getMemoryDevice(java.lang.String deviceId) |
protected static java.util.List<ProcessingElement> |
newInstances(ProcessingElement.Factory factory,
int number) |
MemoryAllocator |
newMemoryAllocator(java.lang.String storageId,
int addressableUnitBitSize,
java.math.BigInteger baseAddress) |
protected void |
resetState() |
protected void |
setMemoryHandler(java.lang.String storageId,
MemoryDevice handler) |
protected final void addStorage(Memory storage)
protected final void addLabel(Label label)
protected static java.util.List<ProcessingElement> newInstances(ProcessingElement.Factory factory, int number)
public abstract ProcessingElement copy(boolean shared)
shared
- Specifies whether resources marked as shared must be shared or cloned.public final LocationAccessor accessLocation(java.lang.String storageId) throws ConfigurationException
ConfigurationException
public final LocationAccessor accessLocation(java.lang.String storageId, java.math.BigInteger index) throws ConfigurationException
ConfigurationException
protected final void resetState()
public final MemoryAllocator newMemoryAllocator(java.lang.String storageId, int addressableUnitBitSize, java.math.BigInteger baseAddress) throws ConfigurationException
ConfigurationException
protected final void setMemoryHandler(java.lang.String storageId, MemoryDevice handler)
protected MemoryDevice getMemory()
public final MemoryDevice getMemoryDevice(java.lang.String deviceId)