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

Private GIT Repository
finished VHDL gen. (but have to test further
[blast.git] / SourceItem.cpp
index ca252c1bde1c4b09a49c8fee051aba8d9bb9fd51..52cf8875798085325f8c4c69eddec5381c4e3c92 100644 (file)
@@ -598,7 +598,7 @@ void SourceItem::load(QDomElement funcElement) throw(Exception) {
     throw(Exception(PROJECTFILE_CORRUPTED));
   }
   if (referenceMd5 != referenceXml) {
-    throw(Exception(PROJECTFILE_CORRUPTED));
+    reference = referenceXml;
   }
   else {
     reference = referenceMd5;
@@ -630,7 +630,7 @@ void SourceItem::load(QDomElement funcElement) throw(Exception) {
     BlockParameter *blockParam = NULL;
     blockParam = functionalBlock->getParameterFromName(name);
     if (blockParam == NULL) throw(Exception(PROJECTFILE_CORRUPTED));
-    blockParam->setValue(value);
+    blockParam->setValue(value);    
   }  
 
   // recreate all (non-control) interfaces because of some may have a multiplicity>1 with several examplars