A method for repairing a memory device, the memory device having a plurality of primary arrays, said plurality of primary memory arrays having at least two domains, the method comprising the steps of:
- determining after testing said memory device the number of faults within each of said domains;
- providing a plurality of groups of redundancy units, said units having each at least one redundancy element;
- assigning at least one of said redundancy groups to at least one of said two domains;
- and
- repairing faults contained within said assigned domain with said at least one of said redundancy units within said assigned redundancy group, wherein said redundancy groups are controlled by group control means.