From: Cahit Date: Wed, 10 Jun 2015 13:47:21 +0000 (+0200) Subject: made minor changes in the compile script, added config file for gsi X-Git-Url: https://jspc29.x-matter.uni-frankfurt.de/git/?a=commitdiff_plain;h=71a3b75015ee8dc10668ff48c40a2838f36cf0c8;p=trb3sc.git made minor changes in the compile script, added config file for gsi --- diff --git a/scripts/compile.pl b/scripts/compile.pl index 75776b8..39bb2b4 100755 --- a/scripts/compile.pl +++ b/scripts/compile.pl @@ -112,15 +112,16 @@ system("ln -sfT $lattice_path $WORKDIR/lattice-diamond"); print GREEN, "Generating constraints file...\n\n", RESET; system("cp ../pinout/$TOPNAME.lpf $WORKDIR/$TOPNAME.lpf"); system("cat ../tdc_release/trbnet_constraints.lpf >> $WORKDIR/$TOPNAME.lpf"); -system("cat ../tdc_release/tdc_constraints_script.lpf >> $WORKDIR/$TOPNAME.lpf"); +system("cat ../tdc_release/tdc_constraints_64.lpf >> $WORKDIR/$TOPNAME.lpf"); system("cat ../tdc_release/unimportant_lines_constraints.lpf >> $WORKDIR/$TOPNAME.lpf"); #copy delay line to project folder -system("ln -s ../tdc_release/Adder_304.ngo $WORKDIR/"); +system("rm $WORKDIR/Adder_304.ngo"); +system("ln -s ../../../tdc/base/cores/ecp3/TDC/Adder_304.ngo $WORKDIR/Adder_304.ngo"); #generate timestamp my $t=time; -my $fh = new FileHandle(">version.vhd"); +my $fh = new FileHandle(">$WORKDIR/version.vhd"); die "could not open file" if (! defined $fh); print $fh < "trb3sc_basic", +lm_license_file_for_synplify => "27000\@lxcad01.gsi.de", +lm_license_file_for_par => "1702\@hadeb05.gsi.de", +lattice_path => '/opt/lattice/diamond/3.4_x64/', +synplify_path => '/opt/synplicity/J-2014.09-SP2', +#synplify_command => "/opt/lattice/diamond/3.4_x64/bin/lin64/synpwrap -fg -options", +synplify_command => "/opt/synplicity/J-2014.09-SP2/bin/synplify_premier_dp", + + +firefox_open => 0, + + diff --git a/template/trb3sc_basic.prj b/template/trb3sc_basic.prj index 22be06a..106715b 100644 --- a/template/trb3sc_basic.prj +++ b/template/trb3sc_basic.prj @@ -53,7 +53,7 @@ impl -active "workdir" #Packages -add_file -vhdl -lib work "version.vhd" +add_file -vhdl -lib work "workdir/version.vhd" add_file -vhdl -lib work "config.vhd" add_file -vhdl -lib work "../../trb3/base/trb3_components.vhd" add_file -vhdl -lib work "../../trbnet/trb_net_std.vhd"