]> jspc29.x-matter.uni-frankfurt.de Git - daqtools.git/commitdiff
make numbering of inputs coherent: every RJ has pairs 0 to 3 master
authorJan Michel <michel@physik.uni-frankfurt.de>
Thu, 27 Nov 2025 15:11:11 +0000 (16:11 +0100)
committerJan Michel <michel@physik.uni-frankfurt.de>
Thu, 27 Nov 2025 15:11:11 +0000 (16:11 +0100)
web/CtsPlugins/CtsMod19.pm

index 3f730e821d7034e00e500cf160d58851ec2a35b2..8132ca199e6bfec03a1279c95ced7646ded8c4a2 100644 (file)
@@ -31,15 +31,15 @@ sub init {
       $regs->{$key} = new TrbRegister($address + 1 + $i, $trb, {
          'input'  => {'lower' =>  0, 'len' => 7, 'type' => 'enum', 'enum' => 
             {
-              0 => 'trig_rj[3]', 1 => 'trig_rj[4]', 
-              2  => 'a[0]', 3   => 'a[1]',
-              4  => 'b[0]', 5  => 'b[1]',
-              6  => 'c[0]', 7  => 'c[1]',
-              8  => 'd[0]', 9  => 'd[1]',
-              10 => 'g[0]', 11 => 'g[1]',
-              12 => 'h[0]', 13 => 'h[1]',
-              14 => 'i[0]', 15 => 'i[1]',
-              16 => 'j[0]', 17 => 'j[1]',
+              0 => 'trig_rj[2]', 1 => 'trig_rj[3]', 
+              2  => 'a[2]', 3   => 'a[3]',
+              4  => 'b[2]', 5  => 'b[3]',
+              6  => 'c[2]', 7  => 'c[3]',
+              8  => 'd[2]', 9  => 'd[3]',
+              10 => 'g[2]', 11 => 'g[3]',
+              12 => 'h[2]', 13 => 'h[3]',
+              14 => 'i[2]', 15 => 'i[3]',
+              16 => 'j[2]', 17 => 'j[3]',
               18 => 'x[2]', 19 => 'x[3]',
               
               20 => 'int_trg[0]', 21 => 'int_trg[1]'