cms-gem-daq-project / ctp7_modules

0 stars 13 forks source link

Bug Fix: Cluster Size Set to Wrong Bit Position in Output word of sbitReadoutLocal #45

Closed bdorney closed 6 years ago

bdorney commented 6 years ago

cluster address is a 10 bit number, cluster size is a 3 bit number. Cluster size was being stored in the wrong place and L1A delay was over writting the 3rd bit of cluster size.

Description

clusterSize is a 3 bit number. sbitAddress is a 10 bit number.

Right now clusterSize is being written incorrectly to bits [14:12] but should be bits [13:11]. This causes L1A delay to overwrite the 3rd bit of clusterSize (L1A delay starts at bit 14).

Types of changes

Motivation and Context

Output data word was incorrect.

How Has This Been Tested?

Change is trivial.

Checklist: