X-Git-Url: https://bilbo.iut-bm.univ-fcomte.fr/and/gitweb/blast.git/blobdiff_plain/48f48e6a26a54751ecd0ab90b10ab972cc5e89cd..HEAD:/ReferenceInterface.h?ds=inline diff --git a/ReferenceInterface.h b/ReferenceInterface.h index d5219b6..68c0179 100644 --- a/ReferenceInterface.h +++ b/ReferenceInterface.h @@ -19,10 +19,11 @@ class ReferenceInterface : public AbstractInterface { public : ReferenceInterface(AbstractBlock *_owner) throw(Exception); - ReferenceInterface(AbstractBlock* _owner, const QString& _name, const QString& _type, const QString& _width, int _direction, int _purpose, int _multiplicity=1) throw (Exception); + ReferenceInterface(AbstractBlock* _owner, const QString& _name, int _direction, int _purpose, const QString& _type, const QString& _width, int _endianess = LittleEndian, int _multiplicity=1) throw (Exception); // getters - inline int getMultiplicity() { return multiplicity; } + inline int getMultiplicity() { return multiplicity; } + int getClockDomain() throw(Exception); // determine at which freq. is synchronized iface // setters void setMultiplicity(int _multiplicity); @@ -30,6 +31,7 @@ public : bool isReferenceInterface(); // others + bool checkSetClockIface(QString _name); static int translatePurpose(const QString& txt); static int translateMultiplicity(const QString& txt);