inline bool isConnectedTo(){return connectedTo.length() != 0;}
inline bool isConnectedToMany(){return connectedTo.length()>=2;}
inline bool isConnectedFrom(){return connectedFrom != NULL;}
- virtual bool canConnectTo(AbstractInterface* iface) = 0;
- virtual bool canConnectFrom(AbstractInterface* iface) = 0;
+ virtual bool canConnectTo(AbstractInterface* iface, bool testClock) = 0;
+ virtual bool canConnectFrom(AbstractInterface* iface, bool testClock) = 0;
// others
void resetOutputPattern() { outputPattern = NULL; }