]> jspc29.x-matter.uni-frankfurt.de Git - trb3.git/commitdiff
CTS: Compile on lxhadeb07 does not work...Synplify cant handle missing component...
authorAndreas Neiser <neiser@kph.uni-mainz.de>
Tue, 2 Dec 2014 09:28:41 +0000 (10:28 +0100)
committerAndreas Neiser <neiser@kph.uni-mainz.de>
Tue, 2 Dec 2014 09:28:41 +0000 (10:28 +0100)
cts/compile_central_gsi.pl
cts/config_mainz_a2.vhd

index 860b8be81989398dba879af20eb115b4dbc2350f..85e7631f8185a89bd23f0edf09c39e9df5637457 100755 (executable)
@@ -22,6 +22,7 @@ my $lattice_bin_path             = "$lattice_path/bin/lin64"; # note the lin or
 my $config_vhd                   = 'config_mainz_a2.vhd';
 ###################################################################################
 
+system("ln -f -s $config_vhd config.vhd");
 system("./compile_constraints.pl");
 
 symlink($CbmNetPath, '../cbmnet/cbmnet') unless (-e '../cbmnet/cbmnet');
@@ -47,17 +48,6 @@ my $DEVICENAME="LFE3-150EA";
 my $PACKAGE="FPBGA1156";
 my $SPEEDGRADE="8";
 
-my $WORKDIR = "workdir";
-unless(-d $WORKDIR) {
-  mkdir $WORKDIR or die "can't create workdir '$WORKDIR': $!";
-  system ("cd workdir; ../../base/linkdesignfiles.sh; cd ..;");
-  system ("ln -sfT ../tdc_release/Adder_304.ngo $WORKDIR/Adder_304.ngo");
-  system ("cp ../base/mulipar_nodelist_example.txt $WORKDIR/nodelist.txt");
-}
-
-system("ln -sfT $lattice_path $WORKDIR/lattice-diamond");
-system("ln -f -s $config_vhd config.vhd");
-
 #generate timestamp
 my $t=time;
 my $fh = new FileHandle(">version.vhd");
@@ -86,7 +76,7 @@ my $c="$synplify_path/bin/synplify_premier_dp -batch $TOPNAME.prj";
 $r=execute($c, "do_not_exit" );
 
 
-chdir $WORKDIR;
+chdir './workdir';
 $fh = new FileHandle("<$TOPNAME".".srr");
 my @a = <$fh>;
 $fh -> close;
index 5a75a41febed20025459e49287505f10fde1b8cf..55c44437081a702ef75cfb4283d71513977199d7 100644 (file)
@@ -32,7 +32,7 @@ package config is
     constant USE_EXTERNAL_CLOCK : integer range c_NO to c_YES := c_NO;    
        
 --Which external trigger module (ETM) to use?
-    constant INCLUDE_ETM : integer range c_NO to c_YES := c_NO;
+    constant INCLUDE_ETM : integer range c_NO to c_YES := c_YES;
     type ETM_CHOICE_type is (ETM_CHOICE_MBS_VULOM, ETM_CHOICE_MAINZ_A2, ETM_CHOICE_CBMNET);
     constant ETM_CHOICE : ETM_CHOICE_type := ETM_CHOICE_MAINZ_A2;