SLAC PEP-II
BABAR
SLAC<->RAL
Babar logo
HEPIC E,S & H Databases PDG HEP preprints
Organization Detector Computing Physics Documentation
Personnel Glossary Sitemap Search Hypernews
Unwrap page!
Det. Search
Who's who?
Meetings
FAQ
Images
Archive
Systems
Performance
Intern. region
Vertex Tracker
Drift chamber
DIRC
Calorimeter
IFR
LST
Magnet
Electronics
Trigger
Operations
Run Coordination
Contact Experts
Shift Takers Info
Operations Manual
Electronic Logbook
Ops Hypernews
Shift Signup
Check this page for HTML 4.01 Transitional compliance with the
W3C Validator
(More checks...)

Finder/Fitter VHDL Constants

There are 3 VHDL packages which contain constants derived from the ZPD basic parameters such as the minimum pT, number of 1/pT bins, etc.:
  • finder.finder_lut_init
  • finder.prm_constants
  • fitter.lut_init
The VHDL for these packages is generated by
dumpZpdLut -v
Which is part of the L1DctConfig package. This will generate 3 files:
  • finder_lut_init_package_body.vhd
  • prm_constants_package.vhd
  • fitter_lut_init_pkg_body.vhd
If you need to change the ZPD basic parameters (e.g. to change the minimum pT or the number of tanλ bins), edit L1DctConfig/dumpZpdLut to change the basic parameter values from their defaults, compile, and re-run. Then copy the generated files:
  • finder_lut_init_package_body.vhd → src/finder/finder_lut_init/_package_body.vhd
  • prm_constants_package.vhd → src/finder/prm_constants/_package.vhd
  • fitter_lut_init_pkg_body.vhd → src/fitter/fitter_lut_init/_package_body.vhd
Note that the PRM constants are the package header (_package.vhd) while the others are the package body (_package_body.vhd). The somewhat odd naming scheme is due to a combination of history and Mentor Graphics HDL Designer Series pickiness about what packages are called.

Then follow the synthesis instructions to remake the Finder/Fitter firmware.