OpenASIP  2.0
Public Member Functions | Public Attributes | List of all members
SimpleOperationExecutor::BufferCell Struct Reference
Collaboration diagram for SimpleOperationExecutor::BufferCell:
Collaboration graph

Public Member Functions

 BufferCell ()
 

Public Attributes

SimValueio_ [EXECUTOR_MAX_OPERAND_COUNT]
 Inputs and outputs for the operation. More...
 
SimValue ioOrig_ [EXECUTOR_MAX_OPERAND_COUNT]
 Original inputs and outputs of the operation. More...
 
Operationoperation_
 Operation to be executed, set to NULL when results have been moved to output ports. More...
 
bool ready_
 Flag telling whether results are ready or not. More...
 
OperationboundOperation_
 Tells the operation for which the bindings are initialized in this "pipeline cell", NULL in case bindings have not been initialized. More...
 

Detailed Description

Models one cell of the ring buffer of operations.

Definition at line 69 of file SimpleOperationExecutor.hh.

Constructor & Destructor Documentation

◆ BufferCell()

SimpleOperationExecutor::BufferCell::BufferCell ( )
inline

Constructor.

Definition at line 73 of file SimpleOperationExecutor.hh.

73  :
74  operation_(NULL), ready_(false), boundOperation_(NULL) {}

Member Data Documentation

◆ boundOperation_

Operation* SimpleOperationExecutor::BufferCell::boundOperation_

Tells the operation for which the bindings are initialized in this "pipeline cell", NULL in case bindings have not been initialized.

Definition at line 89 of file SimpleOperationExecutor.hh.

Referenced by SimpleOperationExecutor::startOperation().

◆ io_

SimValue* SimpleOperationExecutor::BufferCell::io_[EXECUTOR_MAX_OPERAND_COUNT]

Inputs and outputs for the operation.

Definition at line 76 of file SimpleOperationExecutor.hh.

Referenced by SimpleOperationExecutor::advanceClock(), and SimpleOperationExecutor::startOperation().

◆ ioOrig_

SimValue SimpleOperationExecutor::BufferCell::ioOrig_[EXECUTOR_MAX_OPERAND_COUNT]

Original inputs and outputs of the operation.

Note
the limitation on max io ports to avoid dynamic allocation of the array.

Definition at line 80 of file SimpleOperationExecutor.hh.

Referenced by SimpleOperationExecutor::startOperation().

◆ operation_

Operation* SimpleOperationExecutor::BufferCell::operation_

Operation to be executed, set to NULL when results have been moved to output ports.

Definition at line 83 of file SimpleOperationExecutor.hh.

Referenced by SimpleOperationExecutor::advanceClock(), and SimpleOperationExecutor::startOperation().

◆ ready_

bool SimpleOperationExecutor::BufferCell::ready_

Flag telling whether results are ready or not.

Definition at line 85 of file SimpleOperationExecutor.hh.

Referenced by SimpleOperationExecutor::startOperation().


The documentation for this struct was generated from the following file:
SimpleOperationExecutor::BufferCell::operation_
Operation * operation_
Operation to be executed, set to NULL when results have been moved to output ports.
Definition: SimpleOperationExecutor.hh:83
SimpleOperationExecutor::BufferCell::boundOperation_
Operation * boundOperation_
Tells the operation for which the bindings are initialized in this "pipeline cell",...
Definition: SimpleOperationExecutor.hh:89
SimpleOperationExecutor::BufferCell::ready_
bool ready_
Flag telling whether results are ready or not.
Definition: SimpleOperationExecutor.hh:85