FPGA-optimized Hardware acceleration for Spiking Neural Networks