Analog and Neuromorphic computing with a framework on a reconfigurable platform