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 |
Modifier | Constructor and Description |
---|---|
protected |
ProcessingElement() |
protected |
ProcessingElement(ProcessingElement other) |
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() |
protected MemoryAllocator |
getMemoryAllocator() |
MemoryDevice |
getMemoryDevice(java.lang.String deviceId) |
protected void |
initMemoryAllocator(java.lang.String storageId,
int addressableUnitBitSize,
java.math.BigInteger baseAddress) |
protected static java.util.List<ProcessingElement> |
newInstances(ProcessingElement.Factory factory,
int number) |
protected void |
resetState() |
protected void |
setMemoryHandler(java.lang.String storageId,
MemoryDevice handler) |
protected ProcessingElement()
protected ProcessingElement(ProcessingElement other)
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()
protected final void initMemoryAllocator(java.lang.String storageId, int addressableUnitBitSize, java.math.BigInteger baseAddress) throws ConfigurationException
ConfigurationException
protected MemoryAllocator getMemoryAllocator()
protected final void setMemoryHandler(java.lang.String storageId, MemoryDevice handler)
protected MemoryDevice getMemory()
public final MemoryDevice getMemoryDevice(java.lang.String deviceId)