]> jspc29.x-matter.uni-frankfurt.de Git - trb3sc.git/commitdiff
No triple printing of par report, default for Synplify command
authorJan Michel <j.michel@gsi.de>
Fri, 27 May 2016 08:47:23 +0000 (10:47 +0200)
committerJan Michel <j.michel@gsi.de>
Fri, 27 May 2016 08:47:23 +0000 (10:47 +0200)
scripts/compile.pl

index 1c4427f5eba208d5370e8a547cfde155c8b8aa09..2e95fcc79cae7f1bfbc0a425356c915955325279 100755 (executable)
@@ -246,6 +246,7 @@ my $tpmap = $TOPNAME . "_map" ;
 chdir $WORKDIR;
 if($syn==1 || $all==1){
     print GREEN, "Starting synthesis process...\n\n", RESET;
+    $synplify_command = "$synplify_path/bin/synplify_premier_dp" unless $synplify_command;
     $c="$synplify_command -batch ../$TOPNAME.prj";
     $r=execute($c, "do_not_exit" );
 
@@ -372,6 +373,8 @@ if($par==1 || $all==1){
             print RED, "#################################################\n\n", RESET;
             exit 129;
         }
+      $c="cat $TOPNAME.par";
+      system($c);
     }
     else
     {
@@ -380,8 +383,6 @@ if($par==1 || $all==1){
         #my $c="cp $TOPNAME.dir/5_1.ncd $TOPNAME.ncd";
         #system($c);
     }
-    my $c="cat $TOPNAME.par";
-    system($c);
 
 }
 
@@ -400,8 +401,6 @@ if($timing==1 || $all==1){
     $c=qq|iotiming -s "$TOPNAME.ncd" "$TOPNAME.prf"|;
     execute($c);
 
-    my $c="cat $TOPNAME.par";
-    system($c);
 }
     
 if($bitgen==1 || $all==1){