QDomElement input = doc.createElement("input");\r
input.setAttribute("name",iface->getName());\r
input.setAttribute("type",iface->getTypeString());\r
QDomElement input = doc.createElement("input");\r
input.setAttribute("name",iface->getName());\r
input.setAttribute("type",iface->getTypeString());\r
input.setAttribute("multiplicity","1");\r
input.setAttribute("purpose",iface->getPurposeString());\r
input.setAttribute("endian",iface->getEndianessString());\r
input.setAttribute("multiplicity","1");\r
input.setAttribute("purpose",iface->getPurposeString());\r
input.setAttribute("endian",iface->getEndianessString());\r
QDomElement output = doc.createElement("output");\r
output.setAttribute("name",iface->getName());\r
output.setAttribute("type",iface->getTypeString());\r
QDomElement output = doc.createElement("output");\r
output.setAttribute("name",iface->getName());\r
output.setAttribute("type",iface->getTypeString());\r
output.setAttribute("multiplicity","1");\r
output.setAttribute("purpose",iface->getPurposeString());\r
output.setAttribute("endian",iface->getEndianessString());\r
output.setAttribute("multiplicity","1");\r
output.setAttribute("purpose",iface->getPurposeString());\r
output.setAttribute("endian",iface->getEndianessString());\r
QDomElement bidir = doc.createElement("bidir");\r
bidir.setAttribute("name",iface->getName());\r
bidir.setAttribute("type",iface->getTypeString());\r
QDomElement bidir = doc.createElement("bidir");\r
bidir.setAttribute("name",iface->getName());\r
bidir.setAttribute("type",iface->getTypeString());\r
bidir.setAttribute("multiplicity","1");\r
bidir.setAttribute("purpose",iface->getPurposeString());\r
bidir.setAttribute("endian",iface->getEndianessString());\r
bidir.setAttribute("multiplicity","1");\r
bidir.setAttribute("purpose",iface->getPurposeString());\r
bidir.setAttribute("endian",iface->getEndianessString());\r
void VHDLConverter::updateArchitecture() {\r
QRegularExpression rxLT("<=",QRegularExpression::CaseInsensitiveOption);\r
QRegularExpression rxGT("=>",QRegularExpression::CaseInsensitiveOption);\r
void VHDLConverter::updateArchitecture() {\r
QRegularExpression rxLT("<=",QRegularExpression::CaseInsensitiveOption);\r
QRegularExpression rxGT("=>",QRegularExpression::CaseInsensitiveOption);\r
- line.replace(rxLT,"<=");\r
- line.replace(rxGT,"=>");\r
-\r
+ //line.replace(rxLT,"<=");\r
+ //line.replace(rxGT,"=>");\r
+ archLines.replace(i,line);\r