Text this: Magnetic domain wall based synaptic and activation function generator for neuromorphic accelerators