From: Jan Michel Date: Tue, 5 Nov 2013 14:22:28 +0000 (+0100) Subject: added some mvd / roc registers X-Git-Url: https://jspc29.x-matter.uni-frankfurt.de/git/?a=commitdiff_plain;h=238375b1c6600d5ffca327b698643dd207ee02ac;p=daqtools.git added some mvd / roc registers --- diff --git a/web/htdocs/mvd/roc.pl b/web/htdocs/mvd/roc.pl index 946dbc7..1420fe7 100755 --- a/web/htdocs/mvd/roc.pl +++ b/web/htdocs/mvd/roc.pl @@ -16,9 +16,15 @@ $page->{title} = "MVD Read-out Controller Register"; $page->{link} = "../"; my @setup; -$setup[0]->{name} = "Status"; -$setup[0]->{cmd} = "Mvd-0xfe4d-Status"; +$setup[0]->{name} = "RocStatus"; +$setup[0]->{cmd} = "Mvd-0xfe4d-RocStatus"; $setup[0]->{period} = 5000; +$setup[0]->{address} = 1; + +$setup[1]->{name} = "RocStatus"; +$setup[1]->{cmd} = "Mvd-0xfe4d-RocStatus"; +$setup[1]->{period} = -1; +$setup[1]->{generic} = 1; xmlpage::initPage(\@setup,$page); diff --git a/xml-db/database/Mvd.xml b/xml-db/database/Mvd.xml index 32e1a4d..8f63c8c 100644 --- a/xml-db/database/Mvd.xml +++ b/xml-db/database/Mvd.xml @@ -6,18 +6,14 @@ > Registers for the MVD ROC - + address="0000" size="6" purpose="status" mode="r" continuous="true"> Status information of the ROC input buffer The input data fifo is empty - - The input data fifo is almost full - The input data fifo is full @@ -27,31 +23,118 @@ The input data is valid - + The input clock is active - + Counter to check activity of the input data clock Toggle Flipflop monitoring changes on the input data clock - - + + + Content of the two data shift registers to parallelize MAPS data + + Content of the first data shift register + + + Content of the second data shift register + + - + + MAPS data after detection of 16 bit boundary + + Data word on the first data channel + + + Data word on the second data channel + + + + + Status of the data parallelization + + Dataready flag for data word output + + + Bit counter for word alignment + + + Word Aligner is started + + + Word Aligner is running + + + Frame trailer has been detected + + + Frame header has been detected + + + Frame trailer is too late + + + Bit count since start of frame + + + + + Status of the ROC data handler + + Status of the data handler state machine + Idle + Data + + + The current frame contains too many data words + + + Counter for time between two data words from sensor + + + Number of data words of the current frame + + + + Status of the ROC data handler + + Data Handler is busy + + + Data length valid strobe + + + Strobe signal if distance between two words is too long + + + + +