From: Jan Michel Date: Wed, 25 Nov 2015 12:12:01 +0000 (+0100) Subject: Adding register description of GBE X-Git-Url: https://jspc29.x-matter.uni-frankfurt.de/git/?a=commitdiff_plain;h=bc15d0982e65610b99d765be29892dcb728b3f69;p=daqtools.git Adding register description of GBE --- diff --git a/web/htdocs/network/gbe.pl b/web/htdocs/network/gbe.pl new file mode 100755 index 0000000..2e25d32 --- /dev/null +++ b/web/htdocs/network/gbe.pl @@ -0,0 +1,49 @@ +#!/usr/bin/perl +if ($ENV{'SERVER_SOFTWARE'} =~ /HTTPi/i) { + print "HTTP/1.0 200 OK\n"; + print "Content-type: text/html\r\n\r\n"; + } +else { + use lib '..'; + use if (!($ENV{'SERVER_SOFTWARE'} =~ /HTTPi/i)), apacheEnv; + print "Content-type: text/html\n\n"; + } + +use CGI ':standard'; +use XML::LibXML; +use POSIX; +use CGI::Carp qw(fatalsToBrowser); + +use lib qw|../commands htdocs/commands|; +use xmlpage; + +my $page; + +$page->{title} = "GBE"; +$page->{link} = "../"; + +my @setup; + +push(@setup,({name => "EB IP", + cmd => "GBE-0xff7f-IpTable", + period => 10000, + address => 1})); + +push(@setup,({name => "SubEvt", + cmd => "GBE-0xff7f-SubEvt", + period => 10000, + address => 1})); + +push(@setup,({name => "GbEStatus", + cmd => "GBE-0xff7f-GbEStatus", + period => 1000, + address => 1})); + +xmlpage::initPage(\@setup,$page); + + + + +1; + + diff --git a/xml-db/database/GBE.xml b/xml-db/database/GBE.xml index c28652e..5ce6156 100644 --- a/xml-db/database/GBE.xml +++ b/xml-db/database/GBE.xml @@ -6,12 +6,182 @@ > Registers for the Gigabit Ethernet Interface - - + + + + + Higher 16 Bit of Destination MAC addresses + + + + Lower 32 Bit of Destination MAC addresses + + + + Destination IP addresses + + + + + + + Destination port + + + + Higher 16 Bit of Source MAC addresses + + + + Lower 32 Bit of Source MAC addresses + + + + Source IP addresses + + + + + + + Source port + + + + + + + + SubEvent ID + + + + SubEvent Decoding + + + + Queue Decoding + + + + Maximum Ethernet frame size in byte + + + + Update the readout counter, i.e. the internal frame number generation + + + + Enable event data transport via GbE + + + + Enable multi-event mode + + + + Enable receiver path + + + + Include additional header in slow control packets + + + + Add trigger type to decoding field + + + - - Number of clock cycles with trigger asserted - - + + + Received Bytes + + + + Received Frames + + + + Dropped Packets on RX + + + + + Transmitted Bytes + + + + TransmittedFrames + + + + Transmitted UDP Packets + + + + + Received Frames for slow control + + + + Received Bytes for slow control + + + + Transmitted Frames for slow control + + + + Transmitted Bytes for slow control + + + + Status of the slow control interface + + + + + + + + + Received Frames for data channel + + + + Received Bytes for data channel + + + + Transmitted Frames for data channel + + + + Transmitted Bytes for data channel + + + + Status of the data interface + + + + + + + + + Status of the data interface + + + + + + + + + + +