# Changeset 10181

Ignore:
Timestamp:
Feb 25, 2011, 3:57:38 PM (10 years ago)
Message:

File:
1 edited

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

 r10156 \subsection{mem manager calculations} Memory manager knows the size of FADs internal data RAM. This is implemented as VHDL-Generics called {\tt RAM_ADD_WIDTH_64B} and {\tt RAM_ADD_WIDTH_16B}. Since word width is 64bit on the input side and 16bit on the outpt two generics are used. Memory manager knows the size of FADs internal data RAM. This is implemented as VHDL-Generics called RAM\_ADD\_WIDTH\_64B and RAM\_ADD\_WIDTH\_16B. Since word width is 64bit on the input side and 16bit on the outpt two generics are used. Currently the values are: \begin{table}[htbp] \begin{tabular}{ll} RAM_ADD_WIDTH_64B & 12 \\ RAM_ADD_WIDTH_16B & 14 \\ RAM\_ADD\_WIDTH\_64B & 12 \\ RAM\_ADD\_WIDTH\_16B & 14 \\ \end {tabular} \caption{values of RAM width} The 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. In the states called MAX_ROI0..2 the array containing the maxima of each group of channels is calculated. In the states called MAX\_ROI0..2 the array containing the maxima of each group of channels is calculated. In addition the so called channel size array is calculated. This is the number of 16bit words which is needed to store a group of channels 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. fifo\_channels\_array   & array (0 to 8) of integer range 0 to 9                                                & ??? \\ \hline \\ event_size                              & integer range 0 to RAM\_SIZE\_16B                                                             & ???\\ event_size_ram                  & integer range 0 to RAM\_SIZE\_16B                                                             & ???\\ event_size_ram_64b              & integer range 0 to RAM\_SIZE\_64B                                                             & ??? \\ event\_size                             & integer range 0 to RAM\_SIZE\_16B                                                             & ???\\ event\_size\_ram                        & integer range 0 to RAM\_SIZE\_16B                                                             & ???\\ event\_size\_ram\_64b           & integer range 0 to RAM\_SIZE\_64B                                                             & ??? \\ \end {tabular} \caption{ -no caption- -no label-}
Note: See TracChangeset for help on using the changeset viewer.