An Optimal Algorithm for Testing Stuck-at Faults in Random Access Memories | Synapse