From 3189acde4ebac5123ac68e54ff09943370234423 Mon Sep 17 00:00:00 2001 From: Manuel Penschuck Date: Fri, 24 Oct 2014 22:35:09 +0200 Subject: [PATCH] CBMNetBridge: Completed register description --- web/htdocs/cbmnet/bridge.pl | 45 ++++++++++----- xml-db/database/CBMNetBridge.xml | 95 +++++++++++++++++++++++++------- 2 files changed, 106 insertions(+), 34 deletions(-) diff --git a/web/htdocs/cbmnet/bridge.pl b/web/htdocs/cbmnet/bridge.pl index d4c5d95..df434f8 100755 --- a/web/htdocs/cbmnet/bridge.pl +++ b/web/htdocs/cbmnet/bridge.pl @@ -23,20 +23,37 @@ $page->{title} = "CBMNet Bridge"; $page->{link} = "../"; my @setup; -$setup[0]->{name} = "Readout"; -$setup[0]->{cmd} = "CBMNetBridge-0xf3c0-Readout"; -$setup[0]->{period} = -1; -$setup[0]->{address} = 1; - -$setup[1]->{name} = "ReadoutDebug"; -$setup[1]->{cmd} = "CBMNetBridge-0xf3c0-ReadoutDebug"; -$setup[1]->{period} = -1; -$setup[1]->{address} = 1; - -$setup[2]->{name} = "SyncModule"; -$setup[2]->{cmd} = "CBMNetBridge-0xf3c0-SyncModule"; -$setup[2]->{period} = 1; -$setup[2]->{address} = 1; +my $i = 0; + +$setup[$i]->{name} = "Readout"; +$setup[$i]->{cmd} = "CBMNetBridge-0xf3c0-Readout"; +$setup[$i]->{period} = -1; +$setup[$i]->{address} = 1; + +$i++; +$setup[$i]->{name} = "ReadoutDebug"; +$setup[$i]->{cmd} = "CBMNetBridge-0xf3c0-ReadoutDebug"; +$setup[$i]->{period} = -1; +$setup[$i]->{address} = 1; + +$i++; +$setup[$i]->{name} = "SyncModule"; +$setup[$i]->{cmd} = "CBMNetBridge-0xf3c0-SyncModule"; +$setup[$i]->{period} = 1; +$setup[$i]->{address} = 1; + +$i++; +$setup[$i]->{name} = "LinkDebug"; +$setup[$i]->{cmd} = "CBMNetBridge-0xf3c0-LinkDebug"; +$setup[$i]->{period} = 1; +$setup[$i]->{address} = 1; + +$i++; +$setup[$i]->{name} = "TrbNetPatternGen"; +$setup[$i]->{cmd} = "CBMNetBridge-0x8001-TrbNetPatternGen"; +$setup[$i]->{period} = 1; +$setup[$i]->{address} = 1; + xmlpage::initPage(\@setup,$page); diff --git a/xml-db/database/CBMNetBridge.xml b/xml-db/database/CBMNetBridge.xml index 98ebae1..a3250be 100644 --- a/xml-db/database/CBMNetBridge.xml +++ b/xml-db/database/CBMNetBridge.xml @@ -2,12 +2,12 @@ CBMNet Bridge for Read-out and Synchronisation - + General purpose control of the read-out @@ -26,39 +26,41 @@ Counts number of time the CBMNet Link becomes active (i.e. hints reconnects) + + + Number of cycles CBMNet link is inactive (100 MHz domain) + + Dead time of the CBMNet data channel, i.e. cycles with stop asserted (125 MHz domain) - + + + + + Number of TrbNet events successfully read, i.e. stored in FIFO + Number of Transactions completed - + + + + + Number of TrbNet events aborted, e.g. because FIFO is full + Number of CBM Frames handed over - - - - - Number of TrbNet events successfully read, i.e. stored in FIFO - + - - Number of cycles CBMNet link is inactive (100 MHz domain) - - - - Number of TrbNet events aborted, e.g. because FIFO is full - - - + Debug Data of TrbNet Decoder @@ -229,7 +231,25 @@ - + + Low-Level testing feature of the CBMNet link + + Low-Level testing feature of the CBMNet link + + + + + + + 0: Normal function (read-out), 1: Link-Tester + + + + + + + + General status and control register @@ -319,4 +339,39 @@ + + + PGen is only available in the peripheral CBMNet FPGA + + Status and Configuration of pattern generator + + + + + Number the length gets incremented between two events + + + + + Minimal SE-payload length send by generator + + + + + Maximal SE-payload length send by generator + + + + + + Event-Id is incremented with each new event + + + + + Number of clock cycles between two events (waiting time in 10ns) + + + + \ No newline at end of file -- 2.43.0