Integrated Synthesis Methodology for Crossbar Arrays