From: Jan Michel Date: Wed, 1 Apr 2015 15:27:17 +0000 (+0200) Subject: updated registers of MVD roc X-Git-Url: https://jspc29.x-matter.uni-frankfurt.de/git/?a=commitdiff_plain;h=d707131287763b278d67b14d961764b3a29843b9;p=daqtools.git updated registers of MVD roc --- diff --git a/web/htdocs/mvd/roc.pl b/web/htdocs/mvd/roc.pl index 2173cc5..97c9488 100755 --- a/web/htdocs/mvd/roc.pl +++ b/web/htdocs/mvd/roc.pl @@ -25,17 +25,17 @@ $page->{link} = "../"; my @setup; $setup[0]->{name} = "RocStatus"; $setup[0]->{cmd} = "Mvd-0xfe4d-RocStatus"; -$setup[0]->{period} = 5000; +$setup[0]->{period} = 1000; $setup[0]->{address} = 1; $setup[1]->{name} = "RocStatistics"; $setup[1]->{cmd} = "Mvd-0xfe4d-RocStatistics"; -$setup[1]->{period} = 5000; +$setup[1]->{period} = 1000; $setup[1]->{address} = 1; -$setup[2]->{name} = "RocStatus"; -$setup[2]->{cmd} = "Mvd-0xfe4d-RocStatus"; -$setup[2]->{period} = -1; +$setup[2]->{name} = "ClusterFinder"; +$setup[2]->{cmd} = "Mvd-0xfe4d-ClusterFinder"; +$setup[2]->{period} = 1000; $setup[2]->{generic} = 1; xmlpage::initPage(\@setup,$page); diff --git a/xml-db/database/Mvd.xml b/xml-db/database/Mvd.xml index 22659a5..8fbedfe 100644 --- a/xml-db/database/Mvd.xml +++ b/xml-db/database/Mvd.xml @@ -7,7 +7,7 @@ Registers for the MVD ROC + address="0000" size="11" purpose="status" mode="r" continuous="true"> Status information of the ROC input buffer @@ -65,15 +65,15 @@ Dataready flag for data word output + + Dataready flag for data word output in last clock cycle + Bit counter for word alignment Word Aligner is started - - Word Aligner is running - Frame trailer has been detected @@ -93,10 +93,7 @@ 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 @@ -112,239 +109,234 @@ Strobe signal if distance between two words is too long + + Number of data words of last frame + Status of the ROC data checker - - Code of the last found error - NoHeader - FrameNumberError - LengthMismatch - LengthBroken - PCountNotZero - DCountNotZero - DCountBroken - BadStateCount - BadRowNumber - BadRowHeader - BadColumnNumber - RowsNotOrdered - PCountNotZero - DCountNotZero - BadStateCount - BadRowNumber - BadRowHeader - BadColumnNumber - RowsNotOrdered - ColumnNotOrdered - PCountBroken - CountBroken - BadColumnNumber1 - BadColumnNumber2 - ColumnNotOrdered1 - ColumnNotOrdered2 - Error - - + State of the data checker Idle - FrameNum - Dlen - RowCol - ColRow - ColCol - - + CntHeader + Framenum + CntFramenum + Dlen + CntDlen + Row + Col + CntTrailer + + State counter - + Data word counter + + Data Handler error + + + Received package is not a Header in IDLE state + + + Frame number is not in the ascending order + + + Datalengths are not same on both channels + + + Datalength is larger than 570 + + + Data counter is 0, but the 'state' counter is not 0 + + + Data counter is not 0 on Trailer package + + + Data counter turned 0 during normal package readout + + + Number of states is not between 1 and 9 + + + Matrix row address is larger than 575 + + + Overflow bit is set, but less than 9 states are present + + + Matrix column address is larger than 1151 + + + Row address inconsistent (row is lower than the one before) + + + Column address inconsistent (column is lower than the one before) + + + State counter is not 1 in the COLROW state + + + Received package is not a Trailer in CntTrailer state + - - Status of the ROC data checker - - State of the data checker + + Status of the frame buffer + + Number of data words stored in the frame data buffer + + Idle - Start - TriggerData - WaitMDH - WaitBusy - Discard - - - Number of buffered frames - - - Frame Buffer Underflow - - - Frame Buffer Overflow - - - Header Timeout - - - There was a header, but the trailer of the last frame was not seen before - - - Header found, frame active - - - Clock cycles between the last two header words + GetInfo + CheckTime + BigTime + SmallTime + Delete + Readout + Wait4 + Finish + + + Number of data words stored in the frame info buffer - - - - Status flags for the last frame. Values are updated after a frame as been finished. This register contains bits 0 to 15 of the status word also present in the data files. - - Sensor was all the time active during readout - - - Sensor is currently active - - - The TrbNet buffers are OK + + The frame info buffer is full - - Frame Complete (Data Checker status bit 31) - - - Data checker discovered errors - - - Distance between two words too long - - - Distance between header and trailer too long - - - Reset Detected (2x Header and no Trailer in between) - - - Received package is not a Header in IDLE state (Data Checker 1) - - - Frame number is not in the ascending order (Data Checker 2) - - - Datalengths are not same on both channels (Data Checker 3) - - - Datalength is larger than 570 (Data Checker 4) - - - Data counter is 0, but the 'state' counter is not 0 (Data Checker 5) - - - Data counter is not 0 on Trailer package (Data Checker 6) - - - Data counter turned 0 during normal package readout (Data Checker 7) - - - Number of states is not between 1 and 9 (Data Checker 8) - - - - - Status flags for the last frame. Values are updated after a frame as been finished. This register contains bits 16 to 31 of the status word also present in the data files. - - Matrix row address is larger than 575 (Data Checker 9) - - - Overflow bit is set, but less than 9 states are present (Data Checker 10) - - - Matrix column address is larger than 1151 (Data Checker 11) - - - Row address inconsistent (row is lower than the one before) (Data Checker 12) - - - Column address inconsistent (column is lower than the one before) (Data Checker 13) + + The frame info buffer is full - - State counter is not 1 in the COLROW state (Data Checker 14) + + The frame data buffer is full - - Wrong column address on channel 2 in COLCOL state (Data Checker 15) + + The frame data buffer is full - - Frame Writer datalength error - FIFO empty - - - Buffers Stop + + Frame Buffer Output active (not discarding) - - Distance between header and header too long - - - Frame Buffer Overflow - - - Frame Buffer Underflow - - - Trailer detected, going back to IDLE (Data Checker 30) - - - Status is ready - - - - - Fill-level of the frame buffer - - Number of data words stored in the frame data buffer - - - Number of data words stored in the frame length buffer - + + Frame Read Ongoing + + + + Timestamp of current frame (on output side) + + - - Status flags for the frame buffer - - The frame data buffer is full - - - The frame length buffer is full - - - The frame data buffer is full + + Status of the read-out header formatter + + Idle + JustWait + Format0 + Format1 + Format2 + Format3 + Format4 + Format5 + Format6 + Format7 + + + + + Status of the TrbNet readout interface + + Idle + Trig + TrigDataReady + Format + Format0 + Frame + RWData + Finish + Rel + + + Frame Data input is valid - - The frame length buffer is full + + Readout header formatter busy - - The buffers are almost full, no more frames can be stored. Data will be discarded + + Toggling between storing 16 bit word and writing combined 32 bit - - - - Status of the data formatter - - Idle - GetDlen - Format1 - Format2 - Format3 - Format4 - Format5 - Format6 - Format7 - Read - Write1 - Write2 - Finish - Done + + Current 16 Bit data word - + + + + + + Cluster Finder Status + + + + Cluster Finder Status + + + + Cluster Finder Status + + + + Cluster Finder Status + + + + Cluster Finder Status + + + + Cluster Finder Status + + + + Cluster Finder Status + + + + Cluster Finder Status + + + + Cluster Finder Wrapper Status + + The data input buffer is almost full + + + The data input buffer is full + + + The data input buffer is empty + + + The data input buffer fill level + + + The frame info input buffer is almost full + + + The frame info input buffer is full + + + The frame info input buffer is empty + + + The frame info input buffer fill level + + + +