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

Private GIT Repository
finished testbench generation
[blast.git] / GroupInterface.h
index 49b4957eacfee2f42c5c204e2c401c153b0e2d44..6bedd67151d34e2090b3df488a63e6bb480d84ed 100644 (file)
@@ -10,6 +10,7 @@
 #include "Exception.h"
 class Exception;
 
+
 using namespace std;
 using namespace Qt;
 
@@ -37,16 +38,19 @@ public :
   GroupInterface(AbstractBlock* _owner, const QString& _name, int _direction, int _purpose) throw (Exception);
 
   // getters
-
+  int getWidth();
+  int getClockDomain() throw(Exception); // determine at which freq. is synchronized iface
   // setters
 
   // testers
   bool isGroupInterface();
-  bool canConnectTo(AbstractInterface* iface);
-  bool canConnectFrom(AbstractInterface* iface);
+  bool canConnectTo(AbstractInterface* iface, bool testClock);
+  bool canConnectFrom(AbstractInterface* iface, bool testClock);
 
   // others
   AbstractInterface *clone();
+  QList<ConnectedInterface *> getForwardFunctionalInterfaces(GroupInterface* groupIface);
+
   void connectionsValidation(QStack<AbstractInterface *> *interfacetoValidate, QList<AbstractInterface *> *validatedInterfaces) throw(Exception);
 
 };