CMX
CMX firmware code in-line documentation
 All Classes Namespaces Files Functions Variables
main_crt_vs_cp.vhd File Reference

The crate module (main_crt) for the multiplicty adder (CMX CP). Interprets the backplane data to form local sums over threshold. More...

Go to the source code of this file.

Entities

main_crt  entity
 
struct  architecture
 

Detailed Description

The crate module (main_crt) for the multiplicty adder (CMX CP). Interprets the backplane data to form local sums over threshold.

The crate module receives the local backplane data from all the CPMs in the crate. The crate module logic is divided into a few parts. In the first step, the trigger object lists is added with the total number of 70 TOBs. Based on that list, the mask for the trigger objects which passed the thresholds is formed. The eta-dependence threshold scheme is used here. And, its based on the following principle: In the code, presence bits are combined with the fine position and form the pointer which is used to select a proper threshold set (eta=0, eta=1, eta=2, eta=3). In total: 14x16x4=896 thresholds (Max_Num_CPM x Max_Num_Thr x Eta_Slices = 14 x 16 x 4). In the final step, the global multiplicty counts per each threshold bin are calculated. The bit overflow and the parity but is also calculated.

Author
P. Plucinski, SU and W. Fedorko, UBC.
Date
June 18 2013

Definition in file main_crt_vs_cp.vhd.