OpenASIP
2.0
|
#include <OperationBindingCheck.hh>
Public Member Functions | |
OperationBindingCheck () | |
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 () |
Additional Inherited Members | |
Protected Member Functions inherited from MachineCheck | |
MachineCheck (const std::string &shortDesc_) | |
Check that tests port bindings in machine
Definition at line 42 of file OperationBindingCheck.hh.
OperationBindingCheck::OperationBindingCheck | ( | ) |
Definition at line 45 of file OperationBindingCheck.cc.
|
virtual |
Checks that machine's FU's have legal port and trigger bindings
mach | machine to check |
results | place where to put detailed error descriptions |
Implements MachineCheck.
Definition at line 55 of file OperationBindingCheck.cc.
References MachineCheckResults::addError(), TTAMachine::Machine::Navigator< ComponentType >::count(), TTAMachine::Machine::functionUnitNavigator(), TTAMachine::Port::inputSocket(), TTAMachine::FUPort::isOpcodeSetting(), TTAMachine::FUPort::isTriggering(), TTAMachine::Machine::Navigator< ComponentType >::item(), TTAMachine::HWOperation::name(), TTAMachine::Component::name(), TTAMachine::FunctionUnit::operation(), TTAMachine::FunctionUnit::operationCount(), TTAMachine::FunctionUnit::operationPort(), TTAMachine::FunctionUnit::operationPortCount(), TTAMachine::Port::outputSocket(), TTAMachine::HWOperation::pipeline(), TTAMachine::HWOperation::port(), TTAMachine::ExecutionPipeline::readOperands(), and TTAMachine::ExecutionPipeline::writtenOperands().