1. A method comprising: dividing a first portion of a datastream into one or more data chunks, wherein each data chunk comprises a subset of data from the first portion of the datastream; writing a first data chunk to a first FIFO register; associating a first end of chunk (EOC) control word with the first data chunk in the first FIFO register, wherein the first EOC control word includes an identifier of a second FIFO register; and writing a second data chunk to the second FIFO register.