A state-machine architecture to control 4 optical phase locks via PI controllers.