Memory apparatus and data processor using the same
First Claim
1. A data processor regulated by a clock signal that automatically detects and replaces defective memory cells upon start-up, said data processor having a data bus and an address bus and comprising:
- (a) a reset signal input terminal into which a reset signal is input;
(b) a memory unit, coupled to said data bus, including a plurality of memory cells arranged in a plurality of rows and a plurality of columns, said memory unit including a spare column of memory cells;
(c) a memory failure diagnosis circuit, coupled to said reset input terminal, to said memory unit, and to said data and address buses, for testing said memory unit for defective memory cells and replacing said defective memory cells in response to said reset signal, said memory failure diagnosis circuit including;
(1) a control program memory for storing a microprogram that controls operation of said memory failure diagnosis circuit, said microprogram beginning execution in response to said reset signal;
(2) a memory failure diagnosis sub-processor, coupled to said control program memory and to said data and address buses, for executing a plurality of operations to detect and replace defective memory cells according to said microprogram, and for ensuring that said plurality of operations are always executed in a predetermined number of cycles of said clock signal regardless of whether a defective memory cell is detected and replaced, said failure diagnosis subprocessor including;
a. a counter for counting said predetermined number of cycles of said clock signal and for generating a count termination signal when a last one of said predetermined number of cycles of said clock signal is counted;
b. a first register for storing a column address of said defective memory cells in said memory unit; and
c. an execution unit, coupled to said counter, for executing each of said plurality of operations until said count termination signal is received from said counter;
(3) a column replacing circuit, coupled to said memory failure diagnosis sub-processor, for replacing a defective column of said memory unit, as identified by said column address stored in said first register, with said spare column of memory cells.
1 Assignment
0 Petitions
Accused Products
Abstract
A memory apparatus and a data processor using the same comprises, a memory mechanism, having a signal input, terminal into which a predetermined signal is inputted, a memory unit consisting of first, second and third memories, a fourth memory and a control unit which replaces the first or second memory with the third memory by switching electrical connections between the memories of the memory unit according to information written into the fourth memory, and furthermore, an operation unit which diagnoses failures in the memory mechanism in case the predetermined signal inputted from the signal input terminal, in case the failure is diagnosed in the first memory allows the control unit to replace the first memory with the third memory by writing a first value into the fourth memory, and in case the failure is diagnosed in the second memory allows the control unit to replace the second memory with the third memory by writing a second value into the fourth memory. Since the failure in the memory array unit can be relieved, manufacturing yields of the memory apparatus and the data processor including the same are improved.
-
Citations
18 Claims
-
1. A data processor regulated by a clock signal that automatically detects and replaces defective memory cells upon start-up, said data processor having a data bus and an address bus and comprising:
-
(a) a reset signal input terminal into which a reset signal is input; (b) a memory unit, coupled to said data bus, including a plurality of memory cells arranged in a plurality of rows and a plurality of columns, said memory unit including a spare column of memory cells; (c) a memory failure diagnosis circuit, coupled to said reset input terminal, to said memory unit, and to said data and address buses, for testing said memory unit for defective memory cells and replacing said defective memory cells in response to said reset signal, said memory failure diagnosis circuit including; (1) a control program memory for storing a microprogram that controls operation of said memory failure diagnosis circuit, said microprogram beginning execution in response to said reset signal; (2) a memory failure diagnosis sub-processor, coupled to said control program memory and to said data and address buses, for executing a plurality of operations to detect and replace defective memory cells according to said microprogram, and for ensuring that said plurality of operations are always executed in a predetermined number of cycles of said clock signal regardless of whether a defective memory cell is detected and replaced, said failure diagnosis subprocessor including; a. a counter for counting said predetermined number of cycles of said clock signal and for generating a count termination signal when a last one of said predetermined number of cycles of said clock signal is counted; b. a first register for storing a column address of said defective memory cells in said memory unit; and c. an execution unit, coupled to said counter, for executing each of said plurality of operations until said count termination signal is received from said counter; (3) a column replacing circuit, coupled to said memory failure diagnosis sub-processor, for replacing a defective column of said memory unit, as identified by said column address stored in said first register, with said spare column of memory cells. - View Dependent Claims (2, 3)
-
-
4. A data processor regulated by a clock signal that automatically detects and replaces defective memory cells upon start-up, said data processor having a data bus and an address bus and comprising:
-
(a) a reset signal input terminal into which a reset signal is input; (b) a memory unit, coupled to said data bus, including a plurality of memory cells arranged in a plurality rows and a plurality of columns, said memory unit including a spare row of memory cells; (c) a memory failure diagnosis circuit, coupled to said reset input terminal, to said memory unit, and to said data and address buses, for testing said memory unit for defective memory cells and replacing said defective memory cells in response to said reset signal, said memory failure diagnosis circuit including; (1) a control program memory for storing a microprogram that controls operation of said memory failure diagnosis circuit, said microprogram beginning execution in response to said reset signal; (2) a memory failure diagnosis sub-processor, coupled to said control program memory and to said data and address buses, for executing a plurality of operations to detect and replace defective memory cells according to said microprogram and for ensuring that said plurality of operations are always executed in a fixed amount of time regardless of whether a defective memory cell is detected and replaced, said failure diagnosis sub-processor including; a. a counter for counting a predetermined number of cycles of said clock signal, and for generating a count termination signal when a last one of said predetermined number of cycles of said clock signal is counted; b. a first register for storing a row address of said defective memory cells in said memory unit; and c. an execution unit, coupled to said counter, for executing each of said plurality of operations until said count termination signal is received from said counter; (3) a row replacing circuit, coupled to said memory failure diagnosis sub-processor, for replacing a defective row of said memory unit, as identified by said row address in said first register, with said spare row of memory cells. - View Dependent Claims (5, 6, 7)
-
-
8. A data processor regulated by a clock signal that automatically detects and replaces defective memory cells upon start-up, said data processor having a data bus and an address bus and comprising:
-
(a) a reset signal input terminal into which a reset signal is input; (b) a memory unit, coupled to said data bus, including a plurality of memory cells arranged in a plurality of rows and a plurality of columns, said memory unit including a spare column of memory cells and a spare row of memory cells; (c) a memory failure diagnosis circuit, coupled to said reset input terminal, to said memory unit, and to said data and address buses, for testing said memory unit for defective memory cells and replacing said defective memory cells in response to said reset signal, said memory failure diagnosis circuit including; (1) a control program memory for storing a microprogram that controls operation of said memory failure diagnosis circuit, said microprogram beginning execution in response to said reset signal; (2) a memory failure diagnosis sub-processor, coupled to said control program memory and to said data and address buses, for executing a plurality of operations to detect and replace defective memory cells according to said microprogram and for ensuring that said plurality of operations are always executed in a fixed amount of time regardless of whether a defective memory cell is detected and replaced, said failure diagnosis sub-processor including; a. a counter for counting a predetermined number of cycles of said clock signal, and for generating a count termination signal when a last one of said predetermined number of cycles of said clock signal is counted; b. a first register for storing a column address of said defective memory cells in said memory unit; c. a second register for storing a row address of said memory cells in said memory unit; and d. an execution unit, coupled to said counter, for executing each of said plurality of operations until said count termination signal is received from said counter; (3) a column replacing circuit, coupled to said memory failure diagnosis subprocessor, for replacing a defective column of said memory unit, as identified by said column address stored in said first register, with said spare column of memory cells; and (4) a row replacing circuit, coupled to said memory failure diagnosis subprocessor, for replacing a defective row of said memory unit, as identified by said row address stored in said second register, with said spare row of memory cells. - View Dependent Claims (9)
-
-
10. A data processor regulated by a clock signal that automatically detects and replaces defective memory cells upon startup, said data processor having a data bus and an address bus and comprising:
-
a data buffer coupled to said data bus and said address bus, said data buffer including; a memory unit, coupled to said data bus, including an array of memory cells arranged in a plurality of rows and a plurality of columns, said plurality of columns including a spare column of memory cells and a plurality of main columns of memory cells; a column replacing circuit, coupled to said address bus, said data bus, and said memory unit, for replacing one of said plurality of main columns determined to be a defective column with said spare column, said defective column containing at least one defective memory cell; a reset signal input; a non-volatile memory, coupled to said reset signal input, for storing a memory failure diagnosis microprogram and for generating a plurality of control signals according to said memory failure diagnosis microprogram when a reset signal is asserted at said reset signal input; an operation unit, coupled to said non-volatile memory and to said address and data buses, for executing a plurality of operations to detect and replace defective memory cells in said memory unit, and for ensuring that said plurality of operations are always executed in fixed amount of time regardless of whether a defective memory cell is detected and replaced, said operation unit including; a counter for counting a predetermined number of cycles of said clock signal; an execution unit, coupled to said counter, for executing each of said plurality of operations responsive to said plurality of control signals and until said counter counts a last one of said predetermined number of cycles of said clock signal; a first register for storing a defective column number identifying said defective column; and a second register for storing data indicating the number of defective cells in said defective column. - View Dependent Claims (11)
-
-
12. A data processor regulated by a clock signal that automatically detects and replaces defective memory cells upon startup, said data processor having a data bus and an address bus and comprising:
-
a data buffer coupled to said data bus and said address bus, said data buffer including; a memory unit, coupled to said data bus, including an array of memory cells arranged in a plurality of rows and a plurality of columns, said plurality of rows including a spare row of memory cells and a plurality of main rows of memory cells; a row decoding unit, coupled to said address bus and to said memory unit, for accessing one of said plurality of main rows according to an input address on said address bus, and for accessing said spare row instead when said input address corresponds to a defective row address, said defective row address identifying one of said plurality of mains rows containing at least one defective memory cell; a reset signal input; a non-volatile memory, coupled to said reset signal input, for storing a memory failure diagnosis microprogram and for generating a plurality of control signals according to said memory failure diagnosis microprogram when a reset signal is asserted at said reset signal input; an operation unit, coupled to said non-volatile memory and to said address and data buses, for executing a plurality of operations to detect and replace defective memory cells in said memory unit, and for ensuring that said plurality of operations are always executed in a fixed amount of time regardless of whether a defective memory cell is detected and replaced, said operation unit including; a counter for counting a predetermined number of cycles of said clock signal; an execution unit, coupled to said counter, for executing each of said plurality of operations responsive to said plurality of control signals and until said counter counts a last one of said predetermined number of cycles of said clock signal; a first register for storing said defective row address; and a second register for storing data indicating a total number of said plurality of rows having a defective memory cell detected therein. - View Dependent Claims (13)
-
-
14. A data processor regulated by a clock signal that automatically detects and replaces defective memory cells upon startup, said data processor having a data bus and an address bus and comprising:
-
a data buffer coupled to said data bus and said address bus, said data buffer including; a memory unit, coupled to said data bus, including an array of memory cells arranged in a plurality of rows and a plurality of columns, said plurality of rows including a spare row of memory cells and a plurality of main rows of memory cells, said plurality of columns including a spare column of memory cells and a plurality of main columns of memory cells; a column replacing circuit, coupled to said address bus, said data bus, and said memory unit, for replacing one of said plurality of main columns determined to be a defective column with said spare column, said defective column containing at least one defective memory cell; and a row decoding unit, coupled to said address bus and to said memory unit, for accessing one of said plurality of main rows according to an input address on said address bus, and for accessing said spare row instead when said input address corresponds to a defective row address, said defective row address identifying one of said plurality of mains rows containing at least one defective memory cell; a reset signal input; a non-volatile memory, coupled to said reset signal input, for storing a memory failure diagnosis microprogram and for generating a plurality of control signals according to said memory failure diagnosis microprogram when a reset signal is asserted at said reset signal input; an operation unit, coupled to said non-volatile memory and to said address and data buses, for executing a plurality of operations to detect and replace defective memory cells in said memory unit, and for ensuring that said plurality of operations are always executed in a fixed amount of time regardless of whether a defective memory cell is detected and replaced, said operation unit including; a counter for counting a predetermined number of cycles of said clock signal; an execution unit, coupled to said counter, for executing each of said plurality of operations responsive to said plurality of control signals and until said counter counts a last one of said predetermined number of cycles of said clock signal; a first register for storing a defective column number identifying said defective column; and a second register for storing data indicating the number of defective cells in said defective column; a third register for storing said defective row address; and a fourth register for storing data indicating a total number of said plurality of rows having a defective memory cell detected therein. - View Dependent Claims (15)
-
-
16. In a data processor having memory unit, a counter, and a register, said memory unit including a plurality of memory cells arranged in a plurality of rows and a plurality of columns, said plurality of rows including a spare row and said plurality of columns including a spare column, a method for automatically detecting and replacing defective memory cells in said memory unit upon startup comprising the steps of:
-
asserting a reset signal to indicate startup of said data processor; executing a startup sequence in response to said reset signal, said startup sequence having a first part and a second part and including the steps of; initializing said counter to count a predetermined number of cycles of a clock signal, wherein said predetermined number of cycles of said clock signal corresponds to said first part of said startup sequence; generating a count termination signal when a last one of said predetermined number of cycles of said clock signal is counted; detecting and replacing defective memory cells in said memory unit while said counter counts said predetermined number of cycles of said clock signal and until said count termination signal is generated, said step of detecting and replacing including; setting each of said plurality of memory cells in said memory unit to a predetermined value; reading out a stored value from each of said plurality of memory cells; determining if said stored value and said predetermined value coincide for each of said plurality of memory cells; storing data in said register to indicate a location of a particular one of said plurality of memory cells when said stored value and said predetermined value do not coincide for said particular one of said plurality of memory cells; and replacing said location of said defective memory cell with one of said spare row and said spare column; and executing said second part of said startup sequence only after said count termination signal has been generated regardless of whether a defective memory cell was identified in said detecting and replacing step.
-
-
17. In a data processor having memory unit, a counter, and a register, said memory unit including a plurality of memory cells arranged in a plurality of rows and a plurality of columns, said plurality of rows including a spare row and said plurality of columns including a spare column, and said plurality columns having column numbers associated therewith, a method for automatically detecting and replacing defective memory cells in said memory unit upon startup comprising the steps of:
-
asserting a reset signal to indicate startup of said data processor; executing a startup sequence in response to said reset signal, said startup sequence having a first part and a second part and including the steps of; initializing said counter to count a predetermined number of cycles of a clock signal, wherein said predetermined number of cycles of said clock signal corresponds to said first part of said startup sequence generating a count termination signal when a last one of said predetermined number of cycles of said clock signal is counted; detecting and replacing defective memory cells in said memory unit while said counter counts said predetermined number of cycles of said clock signal and until said count termination signal is generated by said counter, said step of detecting and replacing including; setting each of said plurality of memory cells in said memory unit to a predetermined value; reading out a stored value from each of said plurality of memory cells; determining if said stored value and said predetermined value coincide for each of said plurality of memory cells; recording said column number associated with each one of said plurality of memory cells where said stored value and said predetermined value do not coincide; storing in said register one of said column numbers recorded in said recording step; replacing said column identified by said register with said spare column; and executing said second part of said startup sequence only after said count termination signal has been generated regardless of whether a defective memory cell was identified in said detecting and replacing step.
-
-
18. In a data processor having memory unit, a counter, and a register, said memory unit including a plurality of memory cells arranged in a plurality of rows and a plurality of columns, said plurality of rows including a spare row and said plurality of columns including a spare column, and said plurality of rows having row addresses associated therewith, a method for automatically detecting and replacing defective memory cells in said memory unit upon startup comprising the steps of:
-
asserting a reset signal to indicate startup of said data processor; executing a startup sequence in response to said reset signal, said startup sequence having a first part and a second part and including the steps of; initializing said counter to count a predetermined number of cycles of said clock signal, wherein said predetermined number of cycles of said clock signal corresponds to said first part of said startup sequence; generating a clock termination signal when a last one of said predetermined number of clock cycles of said clock signal is counted; detecting and replacing defective memory cells in said memory unit while said counter counts said predetermined number of cycles of said clock signal and until said count termination signal is generated by said counter, said step of detecting and replacing including; setting each of said plurality of memory cells in said memory unit to a predetermined value; selecting one of said plurality of rows of said memory unit; reading out a stored value from each of said plurality of memory cells in said row; determining if said stored value and said predetermined value coincide for each of said plurality of memory cells in said row; storing in said register said row address of a said row if said stored value and said predetermined value do not coincide for any one of said plurality of memory cells in said row; inhibiting future access to said row if said stored value and said predetermined value do not coincide for any one of said plurality of memory cells in said row; repeating steps for each of said plurality of rows until all of said plurality of rows of said memory unit have been tested; and replacing, after said step of repeating, said row finally identified by said register with said spare row; and executing said second part of said startup sequence only after said count termination signal has been generated regardless of whether a defective memory cell was identified in said detecting and replacing step.
-
Specification