Presentation is loading. Please wait.

Presentation is loading. Please wait.

Some Details on CKM Data Format Jinyuan Wu for CKM Collaboration April 2002.

Similar presentations


Presentation on theme: "Some Details on CKM Data Format Jinyuan Wu for CKM Collaboration April 2002."— Presentation transcript:

1

2 Some Details on CKM Data Format Jinyuan Wu for CKM Collaboration April 2002

3 Questions

4 Q: TDC Word Bit Layout The rearrangement is very useful. TDC word represents unique time. TDC ordering represents hit ordering. Caution: TS and TDC are in different units: convert unit while calculating  T. 0TS of HitTDC 0TS of HitTDC

5 Q: Error Checking It’s important to consider it from beginning. A check sum word is attached at the end of a centenary. (Place holder only for now).

6 Centenaries: (TDC Example) Roll-over Marker TDC data Check sum word Roll-over Marker Check sum word TDC data C. 0 C. 1 1 Check sum of past centenary 1101 110TS[7:0]0ETime (1ns/bin)DTS[9:6]1Ch. #010TS[9:6]1Ch. #010TS[7:0]0ETime (1ns/bin)DTS[7:0]0ETime (1ns/bin)DTS[7:0]0ETime (1ns/bin)DTS[7:0]0ETime (1ns/bin)DTS[7:0]0ETime (1ns/bin)DTS[7:0]0ETime (1ns/bin)DTS[7:0]0ETime (1ns/bin)DTS[7:0]0ETime (1ns/bin)D

7 TDC Data 07815 Roll-over Marker 1 Check sum of past centenary TS[7:0]0E TDC data Time (1ns/bin)D Double hit marker from TDC Earliest Time from CLK leading edge Error bit 1 TS[9:6]1Ch. #0 Check sum word 1 1 0 0

8 Q: Centenary, Millenary A centenary is 256 CLK cycles. (Or 2.5 to 6.4  s). A millenary could be 256 centenaries. (Or 0.65 to 1.6 ms. Use 256 for now, should be determined after having knowledge about switch).

9 Millenary Structure Millenary Header Centenary 0 Millenary ID [11:0]1110 Millenary ID [23:12]1111 Millenary ID [31:24]1111Reset ID [3:0] Unified Channel Number [11:0]1111 Unified Channel Number [23:12]1111 Millenary Word Count [11:0]1111 Millenary Word Count [23:12]1111 Millenary Check Sum [11:0]1111Centenary ID = TS[15:8]1010TS[9:6]1Ch. #010TS[7:0]0ETime (1ns/bin)D1 Check sum of past centenary 110TS[7:0]0ETime (1ns/bin)DCentenary ID = TS[15:8]1010TS[9:6]1Ch. #010TS[7:0]0ETime (1ns/bin)D1 Check sum of past centenary 110 Centenary 255 Centenary ID word: Inserted while forming Millenary

10 Millenary Header Words 07815 The 1 st header word Millenary ID [11:0]1110 Millenary ID [23:12]1111 The 2 nd header word Millenary ID [31:24]1111Reset ID [3:0] Unified Channel Number [11:0]1111 Unified Channel Number [23:12]1111 Millenary Word Count [11:0]1111 Millenary Word Count [23:12]1111 Millenary Check Sum [11:0]1111 Optional Redundant check information. Inserted after collecting the whole Millenary Centenary ID = TS[15:8]1010 Centenary ID One for each centenary

11 Remarks on Millenary Both header identification and data block size mechanisms are allowed. Header identification is preferred. Word count and check sum are used as redundant check.

12 Q: Hitlet? Suggested module for now: direct pipeline dump. When over-threshold data exist, dump: –Header. –2 empty slots. –Over-threshold slots. –2 empty tail slots. Any other data fragments can be chopped from the pipeline dump in software. 9 0-4 6 5 7 5 Hitlet Hdr 0-4

13 Q: (QIE+TDC) or (QIE)+(TDC)? QIE TDC PMT There is a possibility TDC and QIE data exist in same chip. Hardware effort is the same for (QIE+TDC) or (QIE)+(TDC). (QIE+TDC) might have advantage in software stage. Suggestion: leave both schemes possible, defer the choice until the trigger study result comes out.

14 Veto System Data 07815 Roll-over Marker 1 Check sum of past centenary 1 TS[9:6]1Ch. #0 Check sum word 1 1 0 0 TS[9:0]10E Hitlet Header QIE (2 range, 6 mantissa)00CapID QIE only data 01 (QIE+TDC) data QIE (2 range, 6 mantissa)Time (1ns/bin)D

15 Hitlets, Centenary Roll-over Marker Check sum word TS[9:6]1Ch. #0101 Check sum of past centenary 110TS[9:0]10E Hitlet Header QIE (2 range, 6 mantissa)00CapID QIE only data (QIE+TDC) data 01QIE (2 range, 6 mantissa)Time (1ns/bin)DQIE (2 range, 6 mantissa)00CapIDQIE (2 range, 6 mantissa)00CapIDQIE (2 range, 6 mantissa)00CapIDQIE (2 range, 6 mantissa)00CapIDQIE (2 range, 6 mantissa)00CapIDTS[9:0]10EQIE (2 range, 6 mantissa)00CapIDQIE (2 range, 6 mantissa)00CapIDQIE (2 range, 6 mantissa)00CapIDQIE (2 range, 6 mantissa)00CapIDQIE (2 range, 6 mantissa)00CapID

16 Summary (1): (QIE+TDC) Data M. Header Millenary Centenary 0 Centenary 1 Centenary 255 Roll-over marker Centenary ID Check Sum 0-42 Hitlets, 0-255 words Hitlet Hitlet Hdr. 2 Empty QIE words QIE(+TDC) word(s) 2 Empty QIE words Centenary

17 Further Saving Use centenary ID only (eliminate roll-over marker). Eliminate empty centenaries. Suggestion: don’t worry about it for now but keep it in mind.

18 Summary (2): TDC Data M. Header Millenary Centenary 0 Centenary 1 Centenary 255 Roll-over marker Centenary ID Check Sum 0-255 TDC words Centenary

19 The End Thanks


Download ppt "Some Details on CKM Data Format Jinyuan Wu for CKM Collaboration April 2002."

Similar presentations


Ads by Google