From 7bddb3efd6903168b53d4f1a6ad3080948dec430 Mon Sep 17 00:00:00 2001 From: Jan Michel Date: Fri, 12 Jul 2013 16:22:46 +0200 Subject: [PATCH] some more changes to ui.pl --- soft/toolbox/jtag_atomic/ui.pl | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/soft/toolbox/jtag_atomic/ui.pl b/soft/toolbox/jtag_atomic/ui.pl index 5352d45..87d4ea0 100755 --- a/soft/toolbox/jtag_atomic/ui.pl +++ b/soft/toolbox/jtag_atomic/ui.pl @@ -226,6 +226,7 @@ $chainsini = $ENV{'JTAGCONFIGPATH'}."/".$chainsini if exists($ENV{'JTAGCONFIGPAT # foreach my $chain (reverse sort keys %allchains) { my $chain = $opt_chain; my %chain_settings=%{$allchains{$chain}}; + my $chainnr = $chain_settings{'chainnr'}; my $chain_fpga_addr = any2dec($chain_settings{'FPGAtrbnetAddr'}); my $cmd_reg_addr = any2dec($chain_settings{'CMDreg_trbnetAddr'}); my $data_reg_addr = any2dec($chain_settings{'DATAreg_trbnetAddr'}); @@ -263,22 +264,18 @@ $chainsini = $ENV{'JTAGCONFIGPATH'}."/".$chainsini if exists($ENV{'JTAGCONFIGPAT $subr = generate_h_set_inout($chain, $chain_fpga_addr, $conf_signals_addr); } elsif(("h_".$opt_operation) eq 'h_maps_reset_before_on' ) { - my $chainnr = $chain_settings{'chainnr'}; my $conf_resetbeforeinit_addr = any2dec($chain_settings{'CONFresetbeforeinit_trbnetAddr'}); $subr = generate_h_maps_reset(1,$chain, $chainnr, $chain_fpga_addr, $conf_resetbeforeinit_addr); } elsif(("h_".$opt_operation) eq 'h_maps_reset_before_off' ) { - my $chainnr = $chain_settings{'chainnr'}; my $conf_resetbeforeinit_addr = any2dec($chain_settings{'CONFresetbeforeinit_trbnetAddr'}); $subr = generate_h_maps_reset(0,$chain, $chainnr, $chain_fpga_addr, $conf_resetbeforeinit_addr); } elsif(("h_".$opt_operation) eq 'h_maps_reset_after_on' ) { - my $chainnr = $chain_settings{'chainnr'}; my $conf_resetafterfirstwrite_addr = any2dec($chain_settings{'CONFresetafterfirstwrite_trbnetAddr'}); $subr = generate_h_maps_reset(1,$chain, $chainnr, $chain_fpga_addr, $conf_resetafterfirstwrite_addr); } elsif(("h_".$opt_operation) eq 'h_maps_reset_after_off' ) { - my $chainnr = $chain_settings{'chainnr'}; my $conf_resetafterfirstwrite_addr = any2dec($chain_settings{'CONFresetafterfirstwrite_trbnetAddr'}); $subr = generate_h_maps_reset(0,$chain, $chainnr, $chain_fpga_addr, $conf_resetafterfirstwrite_addr); } -- 2.43.0