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

Private GIT Repository
add graph modif, progress on vhdl generation
[blast.git] / BlockParameterGeneric.cpp
index 5b15eb98d368ff60895a5b4eabf719e3e2bb64e9..5b694fcbb0448d8943e825450ea1eb66fcb30824 100644 (file)
@@ -57,13 +57,13 @@ QString BlockParameterGeneric::toVHDL(int context, int flags) {
     }\r
 \r
     if (!userValue.isNull()) {\r
-      ret = formatValue.arg(name).arg(type).arg(userValue.toString());\r
+      ret = formatValue.arg(name).arg(getTypeString()).arg(userValue.toString());\r
     }\r
     else if (!defaultValue.isNull()) {\r
-      ret = formatValue.arg(name).arg(type).arg(defaultValue.toString());\r
+      ret = formatValue.arg(name).arg(getTypeString()).arg(defaultValue.toString());\r
     }\r
     else {\r
-      ret = formatNoValue.arg(name).arg(type);\r
+      ret = formatNoValue.arg(name).arg(getTypeString());\r
     }\r
   }\r
   else if (context == BlockParameter::Architecture) {\r