+void ReferenceBlock::createInterfaceForParameters() throw(Exception){
+ ReferenceInterface* iface = NULL;
+ foreach(BlockParameter* param, params) {
+
+ if (param->isWishboneParameter()) {
+ BlockParameterWishbone* p = (BlockParameterWishbone*)param;
+ int orientation = -1;
+ if (p->getWBAccess() == BlockParameter::Read) {
+ iface = new ReferenceInterface(this,p->getName(),p->getType(),p->getWidth(), AbstractInterface::Output, AbstractInterface::Wishbone,1);
+ outputs.append(iface);
+ }
+ else if (p->getWBAccess() == BlockParameter::Write) {
+ iface = new ReferenceInterface(this,p->getName(),p->getType(),p->getWidth(), AbstractInterface::Input, AbstractInterface::Wishbone,1);
+ inputs.append(iface);
+ }
+ ReferenceInterface* iface = new ReferenceInterface(this,p->getName(),p->getType(),p->getWidth(), orientation, AbstractInterface::Wishbone,1);
+ }
+ }
+}
+
+void ReferenceBlock::parametersValidation(QList<AbstractBlock *> *checkedBlocks, QList<AbstractBlock *> *blocksToConfigure) {