From: Jan Michel Date: Wed, 6 Nov 2013 12:35:53 +0000 (+0100) Subject: new flags in xml files X-Git-Url: https://jspc29.x-matter.uni-frankfurt.de/git/?a=commitdiff_plain;h=b7a4cccde6dd0b902efd10854e8d0a2834c3ac28;p=daqtools.git new flags in xml files --- diff --git a/xml-db/database/Mvd.xml b/xml-db/database/Mvd.xml index 8f63c8c..9f53e7c 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="9" purpose="status" mode="r" continuous="true"> Status information of the ROC input buffer @@ -29,17 +29,17 @@ 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 @@ -56,10 +56,10 @@ Status of the data parallelization - + Dataready flag for data word output - + Bit counter for word alignment @@ -112,29 +112,144 @@ Strobe signal if distance between two words is too long + + + 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 + + + State counter + + + Data word counter + + + + + Status of the ROC data checker + + State of the data checker + 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 since last header + + + + + Status flags for the current frame + + + Roc was active during the full frame + + + Roc was active at the beginning of the frame + + + Data discarding was requested + + + Frame completed + + + Data checker discovered errors + + + Distance between two words too long + + + Distance between header and trailer too long + + + Sensor was resetted. It sent two headers but no trailer in between + + + + + Error in data length buffer + + + Buffers Stop + + + Distance between header and header too long + + + Frame Buffer Overflow + + + Frame Buffer Underflow + + + Frame Checker OK + + + Frame Ready + + + + - + diff --git a/xml-db/schema/TrbNetCommon.xsd b/xml-db/schema/TrbNetCommon.xsd index 8986c6e..cf18c58 100644 --- a/xml-db/schema/TrbNetCommon.xsd +++ b/xml-db/schema/TrbNetCommon.xsd @@ -91,6 +91,8 @@ + + + +