From: Jan Michel Date: Tue, 29 Mar 2016 08:16:24 +0000 (+0200) Subject: Fixing compile script to run with specified synplify command X-Git-Url: https://jspc29.x-matter.uni-frankfurt.de/git/?a=commitdiff_plain;h=c68a8e17bb7a54f6b997d2803f4a11a75041a011;p=trb3.git Fixing compile script to run with specified synplify command --- diff --git a/scripts/compile.pl b/scripts/compile.pl index af6ea20..7a35944 100755 --- a/scripts/compile.pl +++ b/scripts/compile.pl @@ -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");