]> jspc29.x-matter.uni-frankfurt.de Git - trb3sc.git/commitdiff
made minor changes in the compile script, added config file for gsi
authorCahit <c.ugur@gsi.de>
Wed, 10 Jun 2015 13:47:21 +0000 (15:47 +0200)
committerCahit <c.ugur@gsi.de>
Wed, 10 Jun 2015 13:47:21 +0000 (15:47 +0200)
scripts/compile.pl
template/config_compile_gsi.pl [new file with mode: 0644]
template/trb3sc_basic.prj

index 75776b8f17cd1b587b37c9b8f46fef2ce331eae7..39bb2b4570baccb3e159fa6ad9fa66815042d935 100755 (executable)
@@ -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 <<EOF;
 
diff --git a/template/config_compile_gsi.pl b/template/config_compile_gsi.pl
new file mode 100644 (file)
index 0000000..b9f3af9
--- /dev/null
@@ -0,0 +1,12 @@
+TOPNAME                      => "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,
+
+
index 22be06a4f6a758399fa63ad522bbb80a403df3b6..106715b103cf04c31b73ad992ec0e46d1a4b27db 100644 (file)
@@ -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"