From ad30098b6b698f1b86a57a7573c9af6601b783bf Mon Sep 17 00:00:00 2001 From: Jan Michel Date: Fri, 2 Jul 2021 19:43:37 +0200 Subject: [PATCH] change compile.pl to use local nodelist and to accept any mapper options --- scripts/compile.pl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/compile.pl b/scripts/compile.pl index b2fb59e..6c497f1 100755 --- a/scripts/compile.pl +++ b/scripts/compile.pl @@ -32,7 +32,7 @@ my $include_GBE = $config{include_GBE} || 0; my $twr_number_of_errors = $config{twr_number_of_errors} || 10; my $pinout_file = $config{pinout_file} || $TOPNAME; my $nodelist_file = $config{nodelist_file} || 'nodelist.txt'; -my $MAPOPT = $config{mapper_options} || ''; +my $MAPOPT = $config{mapper_options} || '-retime -split_node'; $FAMILYNAME = $config{Familyname} if $config{Familyname}; $DEVICENAME = $config{Devicename} if $config{Devicename}; @@ -292,7 +292,7 @@ if($map==1 || $all==1){ $c=qq|ngdbuild -a $FAMILYNAME -d $DEVICENAME -p "$lattice_path/ispfpga/ep5c00/data" -dt "$TOPNAME.ngo" "$TOPNAME.ngd"|; execute($c); - $c=qq|map $MAPOPT -retime -split_node -a $FAMILYNAME -p $DEVICENAME -t $PACKAGE -s $SPEEDGRADE "$TOPNAME.ngd" -pr "$TOPNAME.prf" -o "$tpmap.ncd" -mp "$TOPNAME.mrp" "$TOPNAME.lpf"|; + $c=qq|map $MAPOPT -a $FAMILYNAME -p $DEVICENAME -t $PACKAGE -s $SPEEDGRADE "$TOPNAME.ngd" -pr "$TOPNAME.prf" -o "$tpmap.ncd" -mp "$TOPNAME.mrp" "$TOPNAME.lpf"|; execute($c); $c=qq|htmlrpt -mrp $TOPNAME.mrp $TOPNAME|; @@ -348,7 +348,7 @@ if($par==1 || $all==1){ system("rm $TOPNAME.ncd"); if ($isMultiPar) { - $c=qq|LC_ALL=en_US.UTF-8; par -m ../../scripts/$nodelist_file -n $nrNodes -f "../par.p2t" $tpmap.ncd $TOPNAME.dir $TOPNAME.prf;|; + $c=qq|LC_ALL=en_US.UTF-8; par -m ../$nodelist_file -n $nrNodes -f "../par.p2t" $tpmap.ncd $TOPNAME.dir $TOPNAME.prf;|; execute($c); # find and copy the .ncd file which has met the timing constraints -- 2.43.0