On-line Self-test Mechanism for Dual-Core Lockstep System-on-Chips