system("cp ../base/$TOPNAME.lpf $WORKDIR/$TOPNAME.lpf");
system("cat currentRelease/trbnet_constraints.lpf >> $WORKDIR/$TOPNAME.lpf");
system("cat currentRelease/tdc_constraints_64.lpf >> $WORKDIR/$TOPNAME.lpf");
+system("cat currentRelease/unimportant_lines_constraints.lpf >> $WORKDIR/$TOPNAME.lpf");
system("cat unimportant_lines_constraints.lpf >> $WORKDIR/$TOPNAME.lpf");
execute($c);
# TWR Timing Report
- $c=qq|trce -c -v 15 -o "$TOPNAME.twr.setup" "$TOPNAME.ncd" "$TOPNAME.prf"|;
+ $c=qq|trce -c -v 65 -o "$TOPNAME.twr.setup" "$TOPNAME.ncd" "$TOPNAME.prf"|;
execute($c);
- $c=qq|trce -hld -c -v 5 -o "$TOPNAME.twr.hold" "$TOPNAME.ncd" "$TOPNAME.prf"|;
+ $c=qq|trce -hld -c -v 65 -o "$TOPNAME.twr.hold" "$TOPNAME.ncd" "$TOPNAME.prf"|;
execute($c);
$c=qq|ltxt2ptxt $TOPNAME.ncd|;
-- Test Connector - Logic Analyser
---------------------------------------------------------------------------
--- TEST_LINE <= logic_analyser_i;
- TEST_LINE(15 downto 12) <= (others => '0');
+-- TEST_LINE <= logic_analyser_i;
+ TEST_LINE <= (others => '0');
-------------------------------------------------------------------------------
-- TDC
my $lattice_path = '/opt/lattice/diamond/3.0_x64/';
my $lattice_bin_path = "$lattice_path/bin/lin64"; # note the lin/lin64 at the end, no isfgpa needed
my $synplify_path = '/opt/synplicity/I-2013.09-SP1';
-#my $lattice_path = '/opt/lattice/diamond/2.01/';
-#my $lattice_bin_path = "$lattice_path/bin/lin"; # note the lin/lin64 at the end, no isfgpa needed
-#my $synplify_path = '/opt/synplicity/F-2012.03-SP1';
my $lm_license_file_for_synplify = "27000\@lxcad01.gsi.de";
my $lm_license_file_for_par = "1702\@hadeb05.gsi.de";
###################################################################################
system("cp ../base/$TOPNAME.lpf $WORKDIR/$TOPNAME.lpf");
system("cat currentRelease/trbnet_constraints.lpf >> $WORKDIR/$TOPNAME.lpf");
system("cat currentRelease/tdc_constraints_64.lpf >> $WORKDIR/$TOPNAME.lpf");
+system("cat currentRelease/unimportant_lines_constraints.lpf >> $WORKDIR/$TOPNAME.lpf");
system("cat unimportant_lines_constraints.lpf >> $WORKDIR/$TOPNAME.lpf");
+
#generate timestamp
my $t=time;
my $fh = new FileHandle(">version.vhd");
execute($c);
# TWR Timing Report
- $c=qq|trce -c -v 15 -o "$TOPNAME.twr.setup" "$TOPNAME.ncd" "$TOPNAME.prf"|;
- execute($c);
-
- $c=qq|trce -hld -c -v 5 -o "$TOPNAME.twr.hold" "$TOPNAME.ncd" "$TOPNAME.prf"|;
+ $c=qq|trce -c -v 65 -o "$TOPNAME.twr.setup" "$TOPNAME.ncd" "$TOPNAME.prf"|;
execute($c);
- $c=qq|ltxt2ptxt $TOPNAME.ncd|;
+ $c=qq|trce -hld -c -v 65 -o "$TOPNAME.twr.hold" "$TOPNAME.ncd" "$TOPNAME.prf"|;
execute($c);
-
+
my $c="cat $TOPNAME.par";
system($c);
-
}
-
+
if($bitgen==1 || $all==1){
+ $c=qq|ltxt2ptxt $TOPNAME.ncd|;
+ execute($c);
+
$c=qq|bitgen -w -g CfgMode:Disable -g RamCfg:Reset -g ES:No $TOPNAME.ncd $TOPNAME.bit $TOPNAME.prf|;
# $c=qq|$lattice_path/ispfpga/bin/lin/bitgen -w "$TOPNAME.ncd" "$TOPNAME.prf"|;
execute($c);