A translational platform for prototyping closed-loop neuromodulation systems | Synapse