https://wiki.anl.gov/wiki_gsdaq/index.php?action=history&feed=atom&title=Digitizer_Channel_Design_Overview Digitizer Channel Design Overview - Revision history 2024-03-29T08:27:04Z Revision history for this page on the wiki MediaWiki 1.39.5 https://wiki.anl.gov/wiki_gsdaq/index.php?title=Digitizer_Channel_Design_Overview&diff=2404&oldid=prev Copp at 14:22, October 5, 2021 2021-10-05T14:22:11Z <p></p> <table style="background-color: #fff; color: #202122;" data-mw="interface"> <col class="diff-marker" /> <col class="diff-content" /> <col class="diff-marker" /> <col class="diff-content" /> <tr class="diff-title" lang="en"> <td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">ā† Older revision</td> <td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">Revision as of 14:22, October 5, 2021</td> </tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l21">Line 21:</td> <td colspan="2" class="diff-lineno">Line 21:</td></tr> <tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>''Go back to [[ANL Digitizer Firmware for Advanced Users]]''</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>''Go back to [[ANL Digitizer Firmware for Advanced Users]]''</div></td></tr> <tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td></tr> <tr><td class="diff-marker" data-marker="āˆ’"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>''Go back to [[Digital Gammasphere <del style="font-weight: bold; text-decoration: none;">and the SBX </del>Upgrade]]''</div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>''Go back to [[Digital Gammasphere Upgrade <ins style="font-weight: bold; text-decoration: none;">Project</ins>]]''</div></td></tr> </table> Copp https://wiki.anl.gov/wiki_gsdaq/index.php?title=Digitizer_Channel_Design_Overview&diff=2383&oldid=prev Copp: Created page with "== Channel Design Overview == The 10 channels of the firmware are implemented as continuously running data pipelines. Data enters the pipeline every tick of the clock from th..." 2021-09-29T16:35:13Z <p>Created page with &quot;== Channel Design Overview == The 10 channels of the firmware are implemented as continuously running data pipelines. Data enters the pipeline every tick of the clock from th...&quot;</p> <p><b>New page</b></p><div>== Channel Design Overview ==<br /> The 10 channels of the firmware are implemented as continuously running data pipelines. Data enters the pipeline every tick of the clock from the ADC, proceeds through the pipeline and eventually falls off the back end. If conditions are satisfied data samples at the back end are copied into a buffer known as the Channel FIFO. <br /> <br /> In the middle of the pipeline multiple delay buffers with accumulators provide running sums of the data spanning programmable ranges of time. <br /> <br /> Other delay buffers in the pipeline provide delays for calculation of discriminator functions. When a discriminator hit occurs, various time values and data sums are stored as a header. Headers are stored in an Event Header FIFO that holds the headers so long as the associated waveform data is still in pipeline.<br /> <br /> [[File:Dig pic 44.png|center|Figure 2: 10 channel data flow diagram.]]<br /> <br /> === Channel Interactions ===<br /> When an event is selected for readout, the header from the Event Header FIFO is combined with the matching set of ADC data samples from the Channel FIFO, and this package of data is sent to the board-wide Accepted Event FIFO that services all 10 channels. The Accepted Event FIFO is drained by a state machine that copies the data to the FIFO memory external to the FPGA unless the external FIFO cannot be written to because it is too full; in that case the data is lost and counted as a dropped event. Because there are 10 Channel FIFOs that fill simultaneously from all 10 channels but only one Accepted Event FIFO, large event sizes combined with sufficient rate may result in dropped events because the channels block each other from access to the Accepted Event FIFO.<br /> <br /> == Channel Pipeline Structure ==<br /> The pipeline structure found in every channel is shown as Figure 3. The signal enters at the left and propagates to the right with time, backwards of a traditional oscilloscope image. When the edge of the signal reaches the middle, where the discriminator logic lies, the discriminator fires, capturing all the sum values shown plus timestamp and status information. This is all read out in the header of the data as explained in the next section.<br /> <br /> Note the discriminator in the middle of the design across buffer ā€˜dā€™, and the coarse discriminator placed well earlier in the pipeline.<br /> <br /> [[File:Dic pic 40.png|center|Figure 3: Pipeline structure of channel showing progression of waveform with time.]]<br /> <br /> <br /> ''Go back to [[ANL Digitizer Firmware for Advanced Users]]''<br /> <br /> ''Go back to [[Digital Gammasphere and the SBX Upgrade]]''</div> Copp