From 00411f3f697c0c4b9ceedcb53fb911cdc2aba72a Mon Sep 17 00:00:00 2001 From: Jan Michel Date: Wed, 28 Jan 2015 18:04:21 +0100 Subject: [PATCH] changed pulser project compile script --- pulser/compile_frankfurt.pl | 16 +++++++++------- pulser/trb3_periph.vhd | 2 +- 2 files changed, 10 insertions(+), 8 deletions(-) diff --git a/pulser/compile_frankfurt.pl b/pulser/compile_frankfurt.pl index 96a0633..2781079 100755 --- a/pulser/compile_frankfurt.pl +++ b/pulser/compile_frankfurt.pl @@ -10,12 +10,12 @@ use strict; #Settings for this project my $TOPNAME = "trb3_periph"; #Name of top-level entity -my $lattice_path = '/d/jspc29/lattice/diamond/3.2_x64'; -my $synplify_path = '/d/jspc29/lattice/synplify/I-2013.09-SP1/'; -my $synplify_path_gsi = '/opt/synplicity/I-2013.09-SP1'; -my $lm_license_file_for_synplify = "27000\@lxcad01.gsi.de"; -#my $lm_license_file_for_par = "1702\@hadeb05.gsi.de"; -my $lm_license_file_for_par = "1710\@cronos.e12.physik.tu-muenchen.de"; +my $lattice_path = '/d/jspc29/lattice/diamond/3.4_x64'; +my $synplify_path = '/d/jspc29/lattice/synplify/J-2014.09-SP2/'; +# my $synplify_path_gsi = '/opt/synplicity/I-2013.09-SP1'; +my $lm_license_file_for_synplify = "1702\@hadeb05.gsi.de";#"27000\@lxcad01.gsi.de"; +my $lm_license_file_for_par = "1702\@hadeb05.gsi.de"; +# my $lm_license_file_for_par = "1710\@cronos.e12.physik.tu-muenchen.de"; ################################################################################### $ENV{'PAR_DESIGN_NAME'}=$TOPNAME; @@ -78,8 +78,10 @@ $fh->close; system("env| grep LM_"); my $r = ""; +my $c="$lattice_path/bin/lin64/synpwrap -fg -options -batch $TOPNAME.prj"; +#my $c="$synplify_path/bin/synplify_pro -batch $TOPNAME.prj"; # my $c="$synplify_path/bin/synplify_premier_dp -batch $TOPNAME.prj"; -my $c="ssh -p 59222 jmichel\@cerberus \"cd /home/jmichel/git/trb3/pulser; LM_LICENSE_FILE=27000\@lxcad01.gsi.de $synplify_path_gsi/bin/synplify_premier_dp -batch $TOPNAME.prj\""; +# my $c="ssh -p 59222 jmichel\@cerberus \"cd /home/jmichel/git/trb3/pulser; LM_LICENSE_FILE=27000\@lxcad01.gsi.de $synplify_path_gsi/bin/synplify_premier_dp -batch $TOPNAME.prj\""; $r=execute($c, "do_not_exit" ); diff --git a/pulser/trb3_periph.vhd b/pulser/trb3_periph.vhd index a7ee6ee..149f881 100644 --- a/pulser/trb3_periph.vhd +++ b/pulser/trb3_periph.vhd @@ -354,7 +354,7 @@ end generate; timer <= timer + 1 when rising_edge(clk_200_i); process begin wait until rising_edge(clk_200_i); - if timer = x"01" then din_i <= x"1"; + if timer = x"01" then din_i <= x"f"; elsif timer = x"02" then din_i <= x"0"; elsif timer = x"03" then din_i <= x"0"; elsif timer = x"80" then din_i <= x"f"; -- 2.43.0