Sequential Monte Carlo template for Maxeler FPGA accelerators