]> jspc29.x-matter.uni-frankfurt.de Git - daqtools.git/commitdiff
add retransmission bit to network map
authorJan Michel <j.michel@gsi.de>
Wed, 19 Aug 2020 13:06:45 +0000 (15:06 +0200)
committerJan Michel <j.michel@gsi.de>
Wed, 19 Aug 2020 13:06:45 +0000 (15:06 +0200)
web/htdocs/network/map.pl

index c1b0e8a87dfa4c1571f058a457bf799fe631776c..b3d363cb5993cb2f30a57379724bcddbe0a769b2 100755 (executable)
@@ -217,6 +217,7 @@ if($ENV{'QUERY_STRING'} =~ /getmap/) {
           if ($inclHigh->{$addr} & 0x400) { $feat .= "\nSPI";}
           if ($inclHigh->{$addr} & 0x800) { $feat .= "\nUART";}
           if ($inclHigh->{$addr} & 0x2000){ $feat .= "\nGbE";}  
+          if ($inclHigh->{$addr} & 0x4000){ $feat .= "\nRetransmission";}
           if ($inclHigh->{$addr}>>12&0xF) {
             $feat .= "\nInput monitor:";
             my $d = trb_register_read($addr,0xdf8f) // trb_register_read($addr,0xdf8f);
@@ -227,8 +228,8 @@ if($ENV{'QUERY_STRING'} =~ /getmap/) {
           
           if(($inclHigh->{$addr}>>16&0xF) == 1 || ($inclHigh->{$addr}>>16&0xF) == 2) {
             my $value = $inclHigh->{$addr}>>16&0xF;  
-            if($value==1) {$feat .="\nTrigger Module: simple or";}
-            if($value==2) {$feat .="\nTrigger Module: edge detect";}
+            if($value==1) {$feat .="\nTrigger Module: standard";}
+            if($value==2) {$feat .="\nTrigger Module: extended logic";}
             my $d = trb_register_read($addr,0xdf31) // trb_register_read($addr,0xcf27);
             $feat .= sprintf(", %i inputs, %i outputs",($d->{$addr}&0x3F),($d->{$addr}>>8&0xF));
           }