Belle II KLM Scint Firmware  1
KLMHitDataSerializer Entity Reference
Inheritance diagram for KLMHitDataSerializer:
fifo_cc bram_sdp_cc WaveformReadout KLMReadoutCtrl klm_scint

Entities

beh  architecture
 

Libraries

ieee 

Use Clauses

std_logic_1164 
numeric_std 
std_logic_unsigned 

Ports

clk   in std_logic
rst   in std_logic
run   in std_logic
first_hit   in std_logic
last_hit   in std_logic
null_hit   in std_logic
word1   in std_logic_vector ( 15 downto 0 )
word2   in std_logic_vector ( 15 downto 0 )
word3   in std_logic_vector ( 15 downto 0 )
word4   in std_logic_vector ( 15 downto 0 )
fifo_ren   in std_logic
fifo_empty   out std_logic
fifo_dout   out std_logic_vector ( 17 downto 0 )
fifo_err_cnt   out std_logic_vector ( 15 downto 0 )
busy   out std_logic

Detailed Description

Module to make the DAQ KLM hit data The module sends daq data to fifo

DAQ Packet Format

Word Word contents
1
type(2:0) / lane(4:0) / axis(0) / chnl(6:0) 
2
                  ctime(15:0)               
3
TRGBITS(4:0) /              TDC(10:0)       
4
TBD(3:0)   /              chg(11:0)         

word format: |eof_n(0)|sof_n(0)|data(15:0)| null packet : "00" & x"FFFF";

Definition at line 20 of file KLMHitDataSerializer.vhd.


The documentation for this class was generated from the following file: