le fait de sauvegarder la lofig change le nom des signaux car

cela supprime les cheminons.
la table de hash sur les noms de signaux n'est alors plus valide.
c'est pour cela que l'on reporte la sauvegarde apres les
statistiques.
This commit is contained in:
Francois Donnet 2003-10-30 17:03:53 +00:00
parent c41ac1c1d3
commit f2ab614f51
1 changed files with 8 additions and 9 deletions

View File

@ -382,15 +382,6 @@ extern int main (int argc, char* argv[])
fprintf(stdout,"%ld ps\n",(long) getmaxRC(lofig)); fprintf(stdout,"%ld ps\n",(long) getmaxRC(lofig));
/*saving file*/
if (output_file) {
fprintf(stdout,"Saving file '%s.%s'...\n",output_file,mbk_out_lo);
lofig->NAME=output_file;
savelofig(lofig); /*change la lofigchain en mode .al*/
lofigchain(lofig);
}
if (verbose_mode) { if (verbose_mode) {
ptype_list* ptype, *ptype2, *new_percentage, *new_model; ptype_list* ptype, *ptype2, *new_percentage, *new_model;
losig_list* losig; losig_list* losig;
@ -458,6 +449,14 @@ extern int main (int argc, char* argv[])
} }
} }
/*saving file*/
if (output_file) {
fprintf(stdout,"Saving file '%s.%s'...\n",output_file,mbk_out_lo);
lofig->NAME=output_file;
savelofig(lofig); /*change la lofigchain en mode .al*/
lofigchain(lofig);
}
/*colors and weight informations for xsch alliance displayer*/ /*colors and weight informations for xsch alliance displayer*/
if (xsch_file) { if (xsch_file) {