Proposal for Neuromorphic Hardware using Spin Devices