A method of manufacturing a device having embedded memory including a
plurality of memory cells. During manufacturing test, a first test stress
is applied to selected cells of the plurality of memory cells with a
built-in self test. At least one weak memory cell is identified. The at
least one weak memory cell is repaired. A second test stress is applied
to the selected cells and the repaired cells with the built-in self test.