{Masking faults in memories by using spares or by reconfiguring using programmable devices with substitution of defective spares}