Command for connecting/disconencting sockets to bus segments.
Definition at line 43 of file SocketBusConnCmd.hh.
bool SocketBusConnCmd::Do |
( |
| ) |
|
|
virtual |
Executes the command.
- Returns
- true, if the command was succesfully executed, false otherwise.
Implements ComponentCommand.
Definition at line 71 of file SocketBusConnCmd.cc.
94 if (!hwOp->
isBound(*port))
continue;
95 int operandId = hwOp->
io(*port);
98 if (osalOp.
isNull())
break;
111 if (port->name().size() > 0 && port->name()[0] ==
'r')
References TTAMachine::Socket::attachBus(), TTAMachine::Socket::detachBus(), TTAMachine::Socket::direction(), TTAMachine::HWOperation::io(), TTAMachine::HWOperation::isBound(), TTAMachine::Socket::isConnectedTo(), Operand::isInput(), Operation::isNull(), TTAMachine::HWOperation::name(), Operation::operand(), OperationPool::operation(), TTAMachine::FunctionUnit::operation(), TTAMachine::FunctionUnit::operationCount(), TTAMachine::Socket::port(), TTAMachine::Socket::portCount(), segment_, TTAMachine::Socket::setDirection(), socket_, and UNKNOWN.