摘要 |
The present invention provides apparatus for incremental data storage including: first dual port RAM for storing a plurality of data values, each data value being stored at a respective address of the RAM, addressing means for selecting an address of the RAM, writing means for writing a data value to a selected address; receiving means for receiving a subsequent data value to be added to an initial data value stored at a selected address; reading means for reading the initial data value from the selected address; adding means for adding the subsequent data value to the initial data value, so that the writing means can write the resulting cumulative data value to the selected address so replacing the initial data value and becoming the initial data value for subsequent operations; reset control means for controlling the write_means so as to selectively ignore the output of the adding means when it is desired to write an initial data value to the selected address. Effectively, using this arrangement each location in the RAM's memory is adapted to function as both an accumulator and a storage element. |