name = reference->getName();\r
width = reference->getWidth();\r
direction = reference->getDirection();\r
name = reference->getName();\r
width = reference->getWidth();\r
direction = reference->getDirection();\r
- purpose = reference->getPurpose();\r
- level = reference->getLevel(); \r
- connectedFrom = NULL;\r
+ purpose = reference->getPurpose(); \r
+ connectedFrom = NULL; \r
FunctionalInterface *inter = new FunctionalInterface(owner, reference);\r
inter->setWidth(width);\r
inter->setDirection(direction);\r
FunctionalInterface *inter = new FunctionalInterface(owner, reference);\r
inter->setWidth(width);\r
inter->setDirection(direction);\r
2 - iface is owned by the parent group of the block that owns this\r
2.1 - this is an output, iface is an output of the group\r
2.2 - both are inout\r
2 - iface is owned by the parent group of the block that owns this\r
2.1 - this is an output, iface is an output of the group\r
2.2 - both are inout\r
\r
*/\r
if (direction == Input) return false;\r
if (iface->isReferenceInterface()) return false;\r
if (iface->getConnectedFrom() != NULL) return false;\r
\r
*/\r
if (direction == Input) return false;\r
if (iface->isReferenceInterface()) return false;\r
if (iface->getConnectedFrom() != NULL) return false;\r
if (getOwner()->getParent() == iface->getOwner()->getParent()) {\r
\r
if ((direction == Output) && (iface->getDirection() == Input)) return true;\r
if ((direction == InOut) && (iface->getDirection() == InOut)) return true;\r
}\r
if (getOwner()->getParent() == iface->getOwner()->getParent()) {\r
\r
if ((direction == Output) && (iface->getDirection() == Input)) return true;\r
if ((direction == InOut) && (iface->getDirection() == InOut)) return true;\r
}\r
else if (getOwner()->getParent() == iface->getOwner()) {\r
if ((direction == Output) && (iface->getDirection() == Output)) return true;\r
if ((direction == InOut) && (iface->getDirection() == InOut)) return true;\r
}\r
else if (getOwner()->getParent() == iface->getOwner()) {\r
if ((direction == Output) && (iface->getDirection() == Output)) return true;\r
if ((direction == InOut) && (iface->getDirection() == InOut)) return true;\r
}\r