Changeset 10181
- Timestamp:
- 02/25/11 15:57:38 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
firmware/FAD/doc/memory_manager.tex
r10156 r10181 332 332 \subsection{mem manager calculations} 333 333 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.334 Memory manager knows the size of FADs internal data RAM. This is implemented as VHDL-Generics called RAM\_ADD\_WIDTH\_64B 335 and RAM\_ADD\_WIDTH\_16B. Since word width is 64bit on the input side and 16bit on the outpt two generics are used. 336 336 Currently the values are: 337 337 \begin{table}[htbp] 338 338 \begin{tabular}{ll} 339 RAM _ADD_WIDTH_64B & 12 \\340 RAM _ADD_WIDTH_16B & 14 \\339 RAM\_ADD\_WIDTH\_64B & 12 \\ 340 RAM\_ADD\_WIDTH\_16B & 14 \\ 341 341 \end {tabular} 342 342 \caption{values of RAM width} … … 353 353 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. 354 354 355 In the states called MAX _ROI0..2 the array containing the maxima of each group of channels is calculated.355 In the states called MAX\_ROI0..2 the array containing the maxima of each group of channels is calculated. 356 356 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 357 357 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. … … 366 366 fifo\_channels\_array & array (0 to 8) of integer range 0 to 9 & ??? \\ 367 367 \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 & ??? \\ 371 371 \end {tabular} 372 372 \caption{ -no caption- -no label-}
Note:
See TracChangeset
for help on using the changeset viewer.