From c68a8e17bb7a54f6b997d2803f4a11a75041a011 Mon Sep 17 00:00:00 2001 From: Jan Michel Date: Tue, 29 Mar 2016 10:16:24 +0200 Subject: [PATCH] Fixing compile script to run with specified synplify command --- scripts/compile.pl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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"); -- 2.43.0