User Tools

Site Tools


phase1:phase1:pxlpilotfed

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
phase1:phase1:pxlpilotfed [2015/12/09 12:50] – [case 'a'] leacphase1:phase1:pxlpilotfed [2015/12/09 12:56] – [case 'a'] leac
Line 50: Line 50:
   ffff ffff              1111111111111111    1111111111111111   ffff ffff              1111111111111111    1111111111111111
      
 +The above is the output of one fiber. The fiber is selcted by a VME command:
 +  //this choose the channel read by piggy: ex. CHa_CHb_mux+0x2304 reads channel 4
 +  VMEout(0x3,LAD_N+0x1a8000,4,CHa_CHb_mux+0x2300); // ch selection for transparent mode: 5-fiber#12, 4-fiber#11, 3-fiber#10, 2-fiber#9, 1-fiber# 8, 0-fiber#7
 +  VMEout(0x3,LAD_S+0x1a8000,4,CHa_CHb_mux+0x2304); // ch selection for transparent mode: 5-fiber#12, 4-fiber#11, 3-fiber#10, 2-fiber#9, 1-fiber# 8, 0-fiber#7
 +  
 +The output can be decoded using Satoshi's script (see: https://github.com/hsatoshi/FpixTbmDecoder):\\
 +  ./FpixTbmDecoder/bin/decode_piggy
 +  -----------------------------------
 +  ----------- TBM B -----------------
 +  -----------------------------------
 +  ---- Input words -------
 +  0111 1111 1100 0000 
 +  0001 1011 1000 0111 
 +  1111 1110 1110 0010 
 +  0000 0001 1111 1111 
 +  1111 1111 1111 1111 
 +  1111 1111 1111 1111 
 +  1111 1111 1111 1111 
 +  1111 1111 1111 1111 
 +  1111 11
 +  ---------------------------
 +  011111111100 : TBM_Header
 +  00000001 : Event Number 
 +  10111000 : DataID 
 +  011111111110 : TBM Trailer
 +  1110001000   : TBM Trailer - info
 +    * 1 : NoTokenPass
 +    * 1 : Reset TBM
 +    * 1 : Reset Roc
 +    * 0 : Sync Error
 +    * 0 : Sync Trigger
 +    * 0 : Clear Trig Cntr
 +    * 1 : Cal Trigger
 +    * 0 : Stack Full
 +    * 0 : Auto Reset Sent
 +    * 0 : Pkam Reset Sent
 +  000001   : TBM Trailer - 6bit stack counter
 +  - - - end decoding - - - -  
 +  Data structure of input seems fine. Decode finished finiding TBM trailer.
 +  - - - Dump leftover - - - 
 +  1111 1111 1111 1111 
 +  1111 1111 1111 1111 
 +  1111 1111 1111 1111 
 +  1111 1111 1111 1111 
 +  1111 1111 1111 11
 +  -----------------------------------
 +  ----------- TBM A -----------------
 +  -----------------------------------
 +  ---- Input words -------
 +  0111 1111 1100 0000 
 +  0001 1100 0000 0111 
 +  1111 1110 1110 0010 
 +  0000 0001 1111 1111 
 +  1111 1111 1111 1111 
 +  1111 1111 1111 1111 
 +  1111 1111 1111 1111 
 +  1111 1111 1111 1111 
 +  1111 111
 +  ---------------------------
 +  011111111100 : TBM_Header
 +  00000001 : Event Number 
 +  11000000 : DataID 
 +  011111111110 : TBM Trailer
 +  1110001000   : TBM Trailer - info
 +    * 1 : NoTokenPass
 +    * 1 : Reset TBM
 +    * 1 : Reset Roc
 +    * 0 : Sync Error
 +    * 0 : Sync Trigger
 +    * 0 : Clear Trig Cntr
 +    * 1 : Cal Trigger
 +    * 0 : Stack Full
 +    * 0 : Auto Reset Sent
 +    * 0 : Pkam Reset Sent
 +  000001   : TBM Trailer - 6bit stack counter
 +  - - - end decoding - - - -  
 +  Data structure of input seems fine. Decode finished finiding TBM trailer.
 +   - - - Dump leftover - - - 
 +  1111 1111 1111 1111 
 +  1111 1111 1111 1111 
 +  1111 1111 1111 1111 
 +  1111 1111 1111 1111 
 +  1111 1111 1111 111
  
  
phase1/phase1/pxlpilotfed.txt · Last modified: 2015/12/09 19:01 by leac