User Tools

Site Tools


upgrade_of_fw

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
upgrade_of_fw [2018/05/16 09:36]
acqilc [Data Format]
upgrade_of_fw [2021/07/10 23:21] (current)
Line 8: Line 8:
   * The Trigger TDC is allways channel 0   * The Trigger TDC is allways channel 0
   * The mapping between TDC and PETIROC is direct:   * The mapping between TDC and PETIROC is direct:
-    * Channel 1 of TDC $ \rightarrow $  ​$\alpha$ ​Channel 0 of PETIROC+    * Channel 1 of TDC $ \rightarrow $   ​Channel 0 of PETIROC
     * ..      * .. 
     * Channel 24 of TDC $ \rightarrow $ Channel 23 of PETIROC     * Channel 24 of TDC $ \rightarrow $ Channel 23 of PETIROC
Line 19: Line 19:
   ​   ​
 ^ Tag ^ Absolute BXID ^ GTC ^ 64 or 128 channels lengths^ ^ Tag ^ Absolute BXID ^ GTC ^ 64 or 128 channels lengths^
-| 2 bytes (B4B$)| 6 bytes  (81 days)  | 4 bytes | 64 or 128 bytes , # channels per TDC|   +| 2 bytes (BEBE)| 6 bytes  (81 days)  | 4 bytes | 64 or 128 bytes , # channels per TDC|   
  
-It's a fixed length packet of 76 or 140 bytes. Then eache NON EMPTY TDC is sending one packet+It's a fixed length packet of 76 or 140 bytes. Then each NON EMPTY TDC is sending one packet
  
   * TDC packet   * TDC packet
-^Header^ Channel^ ​# Channels^ payload^ + 
-|2bytes B0B0  | 1 byte | 1bytes | ncx channel info |+^Header^ Channel ​number ​Number of Measurements ​^ payload^ 
 +|2bytes B0B0  | 1 byte | ncx 1bytes | ncx $\times$ ​channel info |
       ​       ​
 +The channel info is 5 bytes:
 +
 +  * BXID 3 bytes (40 MHz clock since **S**tart **O**f **A**cquisition front)
 +  * Coarse 1 byte (400 MHz count in the BXID)
 +  * fine 1 byte (fine TDC value 2.5 ns/​256) ​
 +
 +
 +==== Finite State Machine ====
 +
 +=== Top Level ===
 +
 +{{ :​lyon_mai2018:​toptdcreadout.png |}}
 +
 +=== Acquisition ===
 +
 +== ILC Mode ==
 +{{ :​lyon_mai2018:​acquisitiontdcilc.png |}}
 +== Trigger Mode ==
 +
 +On trigger the state machine is only modified before calling the readout FSM:
 +
 +{{ :​lyon_mai2018:​acquisitiontdcbeamtest.png |}}
  
 +=== Readout ===
  
 +{{ :​lyon_mai2018:​wiznetfsm.png |}}
  
  
upgrade_of_fw.1526463393.txt.gz · Last modified: 2021/07/10 23:20 (external edit)