Proposal For Neuromorphic Hardware Using Spin Devices