]> AND Private Git Repository - blast.git/blobdiff - ConnectedInterface.h
Logo AND Algorithmique Numérique Distribuée

Private GIT Repository
finished testbench generation
[blast.git] / ConnectedInterface.h
index f0a36a486a265d02ae4a5fbe615cfd2e24342327..e3dbfd3d21b6dfe8c3c79447cf1407b990cd6708 100644 (file)
@@ -42,10 +42,11 @@ public :
   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; }
   void connectTo(ConnectedInterface* iface);
   void disconnectTo(ConnectedInterface* iface);
   //bool connectFrom(ConnectedInterface* iface);