The Synthesis Of Memristive Neuromorphic Circuits