Changeset 10181 for firmware


Ignore:
Timestamp:
Feb 25, 2011, 3:57:38 PM (9 years ago)
Author:
neise
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • firmware/FAD/doc/memory_manager.tex

    r10156 r10181  
    332332\subsection{mem manager calculations}
    333333
    334 Memory manager knows the size of FADs internal data RAM. This is implemented as VHDL-Generics called {\tt RAM_ADD_WIDTH_64B}
    335 and {\tt RAM_ADD_WIDTH_16B}. Since word width is 64bit on the input side and 16bit on the outpt two generics are used.
     334Memory manager knows the size of FADs internal data RAM. This is implemented as VHDL-Generics called RAM\_ADD\_WIDTH\_64B
     335and RAM\_ADD\_WIDTH\_16B. Since word width is 64bit on the input side and 16bit on the outpt two generics are used.
    336336Currently the values are:
    337337\begin{table}[htbp]
    338338\begin{tabular}{ll}
    339 RAM_ADD_WIDTH_64B & 12 \\
    340 RAM_ADD_WIDTH_16B & 14 \\
     339RAM\_ADD\_WIDTH\_64B & 12 \\
     340RAM\_ADD\_WIDTH\_16B & 14 \\
    341341\end {tabular}
    342342\caption{values of RAM width}
     
    353353The number of samples of each channel beeing digitized is called region of interest(ROI). Since the ROI of each of the 36 input channel may be defined independently, but the RAM is organized in 64bit words on the input side, the memory manager needs to calculate the effective ROI of each channel first. The DRS Chips are digitized in a parallel manner, but their 9 channels are digitized serially. So first each DRS is ordered to output its channel 0 data, until as many samples are digitized as the maximum of all channel 0 ROIs is.
    354354
    355 In the states called MAX_ROI0..2 the array containing the maxima of each group of channels is calculated.
     355In the states called MAX\_ROI0..2 the array containing the maxima of each group of channels is calculated.
    356356In addition the so called channel size array is calculated. This is the number of 16bit words which is needed to store a group of
    357357channels in the W5300 FIFO. The header is included into the group of channels 0, while the package footer is included into group of channels 9.
     
    366366        fifo\_channels\_array   & array (0 to 8) of integer range 0 to 9                                                & ??? \\
    367367        \hline \\
    368         event_size                              & integer range 0 to RAM\_SIZE\_16B                                                             & ???\\
    369         event_size_ram                  & integer range 0 to RAM\_SIZE\_16B                                                             & ???\\
    370         event_size_ram_64b              & integer range 0 to RAM\_SIZE\_64B                                                             & ??? \\
     368        event\_size                             & integer range 0 to RAM\_SIZE\_16B                                                             & ???\\
     369        event\_size\_ram                        & integer range 0 to RAM\_SIZE\_16B                                                             & ???\\
     370        event\_size\_ram\_64b           & integer range 0 to RAM\_SIZE\_64B                                                             & ??? \\
    371371\end {tabular}
    372372\caption{ -no caption- -no label-}
Note: See TracChangeset for help on using the changeset viewer.