(a) Block memory consisting of nine-row memories
(b) Row memory contains an upper FIFO and lower FIFO
Figure 6: Block memory architecture for storing template blocks.