Abstract: We propose an automatic approach for implementing light processing functions on programmable photonic integrated circuits. Our approach offers two unprecedented and significant advantages.