From 4e4a53140e43822ad5843ee7825024f087009b0e Mon Sep 17 00:00:00 2001 From: Hadaq in Frankfurt Date: Tue, 19 Mar 2013 17:35:01 +0100 Subject: [PATCH] Corrected generate_chainorder. Changed Sensor DB prototype_setup.db, run aforementioned script. bn --- soft/toolbox/jtag_atomic/chains.ini | 14 +++++++------- soft/toolbox/jtag_atomic/generate_chainorder.pl | 2 +- soft/toolbox/prototype_setup.db | 8 ++++---- 3 files changed, 12 insertions(+), 12 deletions(-) diff --git a/soft/toolbox/jtag_atomic/chains.ini b/soft/toolbox/jtag_atomic/chains.ini index 837a05f..2c49570 100644 --- a/soft/toolbox/jtag_atomic/chains.ini +++ b/soft/toolbox/jtag_atomic/chains.ini @@ -1,6 +1,6 @@ ;WARNING this file is generated automatically. don't edit manually. -[chain1] +[newchain1] FPGAtrbnetAddr=0xf308 RAMtrbnetAddr=0xa000 CMDreg_trbnetAddr=0xa120 @@ -38,9 +38,9 @@ guiBM_NP_defaults1=h_delay1,h_prog_ram,h_set_timing_10mhz,h_set_inout,h_maps_res guiBM_NP_defaults2="" -;BEGIN GENERATE_CHAINORDER chain1 -JNR0_sensor4=sensor4.ini -JNR1_sensor3=sensor3.ini -JNR2_sensor2=sensor2.ini -JNR3_sensor1=sensor1.ini -;END GENERATE_CHAINORDER chain1 +;BEGIN GENERATE_CHAINORDER newchain1 +JNR0_sensor8=sensor8.ini +JNR1_sensor7=sensor7.ini +JNR2_sensor6=sensor6.ini +JNR3_sensor5=sensor5.ini +;END GENERATE_CHAINORDER newchain1 diff --git a/soft/toolbox/jtag_atomic/generate_chainorder.pl b/soft/toolbox/jtag_atomic/generate_chainorder.pl index f6c683a..fb1185f 100755 --- a/soft/toolbox/jtag_atomic/generate_chainorder.pl +++ b/soft/toolbox/jtag_atomic/generate_chainorder.pl @@ -55,7 +55,7 @@ my @chain_names = sort keys (%chains); open(CHAINSFILE,">", "./chains.ini") || die("Cannot open file chains.ini!"); print CHAINSFILE ";WARNING this file is generated automatically. don't edit manually.\n"; -for (my $i=0;$i<3;$i++) { +for (my $i=0;$i