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...)

How to Change single to/from double buffer for DAQ memories

The current fastcontrol block in ZPD firmware has a potential problem when buffer bull + read_event + l1a happens within 2.2 micro second. In order to avoid the DAQ data corruption due to this, a double buffering skim for DAQ memories was implemented. The default version in IR2 has the single buffer DAQ memory and if this causes the DAQ data corruption at the high rate, one has to switch to the double buffering mode and it requires rebuilding the firmware.

Launch FPGA Advantage design browser, click on decisionmodule to expand the tree. If you click on the daq_mem under the decisionmodule, you will see something similar to the below:


As you can see above, the single buffer is selected as a "default view" (The default view indicator is the cyan triangle in front of the single.bd ). Move the mouse to the double.bd, right click to expand a menu, and select properties(see below picture). After you select properties, you can choose default view radio button, and press ok to have it in effect.

One should repeat this for the sergio as well. For sergio, it is again teh daq_mem tree to be expanded. See below:


Once you are done, recompile and redo the synthesis to eventually build the new firmware.