|
OpenASIP 2.2
|
#include <AddressSpaceCheck.hh>


Public Member Functions | |
| AddressSpaceCheck (OperationPool &operationPool) | |
| virtual | ~AddressSpaceCheck () |
| virtual bool | check (const TTAMachine::Machine &mach, MachineCheckResults &results) const |
Public Member Functions inherited from MachineCheck | |
| virtual std::string | shortDescription () const |
| virtual std::string | description () const |
| virtual bool | canFix (const TTAMachine::Machine &mach) const |
| virtual std::string | fix (TTAMachine::Machine &mach) const |
| virtual | ~MachineCheck () |
Private Attributes | |
| OperationPool & | operationPool_ |
Additional Inherited Members | |
Protected Member Functions inherited from MachineCheck | |
| MachineCheck (const std::string &shortDesc_) | |
MachineCheck to check if the FUs' operations access memory and there is a memory address space available for them.
Definition at line 50 of file AddressSpaceCheck.hh.
| AddressSpaceCheck::AddressSpaceCheck | ( | OperationPool & | operationPool | ) |
The constructor.
| operationPool | operation pool to search the operations for |
Definition at line 51 of file AddressSpaceCheck.cc.
|
virtual |
|
virtual |
Checks that if the FUs' operations access memory, there is a memory address space available for them.
| mach | Machine to be checked. |
| results | Check results. |
Implements MachineCheck.
Definition at line 71 of file AddressSpaceCheck.cc.
References MachineCheckResults::addError(), TTAMachine::FunctionUnit::addressSpace(), TTAMachine::Machine::Navigator< ComponentType >::count(), TTAMachine::Machine::functionUnitNavigator(), NullOperation::instance(), TTAMachine::Machine::Navigator< ComponentType >::item(), TTAMachine::HWOperation::name(), Operation::name(), OperationPool::operation(), TTAMachine::FunctionUnit::operation(), TTAMachine::FunctionUnit::operationCount(), operationPool_, and Operation::usesMemory().
Referenced by MachineStateBuilder::buildMachineState().

|
private |
Definition at line 59 of file AddressSpaceCheck.hh.
Referenced by check().