Phase-Locking in High-Performance Systems: From Devices to Architectures