// creating control interface if needed
if (refI->getAssociatedIface() != NULL) {
QString ctlName = cloneIface->getName()+"_enb";
- ReferenceInterface* ctlIface = new ReferenceInterface(refB,ctlName,"boolean","1",cloneIface->getDirection(), AbstractInterface::Control, 1);
+ ReferenceInterface* ctlIface = new ReferenceInterface(refB,ctlName,cloneIface->getDirection(), AbstractInterface::Control,"boolean","1", AbstractInterface::LittleEndian, 1);
refB->addInterface(ctlIface);
if (! ctlIface->setAssociatedIface(cloneIface)) {
cerr << "Abnormal case while cloning an interface and creating its associated control interface" << endl;