Text this: March-based SRAM diagnostic algorithm for distinguishing stuck-at and transition faults