Testable design of RMC networks with universal tests for detecting stuck-at and bridging faults