Patent ID: 8843801
Filing Date: 2014-09-23
Classification: G06F,G11C

Abstract:
1. A write circuit for writing data into a memory chip, comprising: a data collecting unit, disposed with a first data bus and a first data conversion control line, and used every time slot by the first data bus, the data bus having a data bus width a, for collecting a pieces of data and by the first data conversion control line for collecting first conversion control data corresponding to every a pieces of data, so as to collect a*b pieces of data to be checked and a pieces of check data in total, b being a number of time slots, a*b being a numerical multiplication of the data bus width a and the number of time slots b; a first check unit, connected to an output end of the data collecting unit, and used for checking whether a*b pieces of data to be checked and the b pieces of first conversion control data from the data collecting unit are incorrect according to the a pieces of check data from the data collecting unit, so as to output a first check result indicating whether data is correct; a data restoring unit, connected to the output end of the data collecting unit, and used for, when the first conversion control data from the data collecting unit is a first value “0”, negating a pieces of data to be checked corresponding to the conversion control data and then outputting the negated data; otherwise directly outputting the a pieces of data to be checked; a first check data generating unit, connected to an output end of the data restoring unit, and used for separately generating a group of first check data according to a a a first adjusting unit, connected to an output end of the first check data generating unit and an output end of the first check unit, and used for, when the first check unit outputs the first check result indicating that data is incorrect, adjusting each group of first check data; otherwise, performing no adjustment; and a write unit, separately connected to an output end of the first adjusting unit and the output end of the data restoring unit, and used for outputting the a