]> jspc29.x-matter.uni-frankfurt.de Git - trb3.git/commitdiff
Fixing compile script to run with specified synplify command
authorJan Michel <j.michel@gsi.de>
Tue, 29 Mar 2016 08:16:24 +0000 (10:16 +0200)
committerJan Michel <j.michel@gsi.de>
Tue, 29 Mar 2016 08:16:24 +0000 (10:16 +0200)
scripts/compile.pl

index af6ea20b0ed0f3a65015204e4134f6598b83c4ce..7a359445dd86d2dec36fe8702f8decc32797c298 100755 (executable)
@@ -202,7 +202,8 @@ if ($syn==1 || $all==1) {
   system ("./compile_tdc.pl", $WORKDIR, $TOPNAME, "prj") if ($include_TDC); ## edit prj file for different designs
 
   print GREEN, "Starting synthesis process...\n\n", RESET;
-  $c="$synplify_path/bin/synplify_premier_dp -batch ../$TOPNAME.prj";
+  $synplify_command = "$synplify_path/bin/synplify_premier_dp -batch ../$TOPNAME.prj" unless $synplify_command;
+  $c="$synplify_command -batch ../$TOPNAME.prj";
   $r=execute($c, "do_not_exit" );
 
   $fh = new FileHandle("<$TOPNAME".".srr");