FPGA Based Diagnostics for the Mega-Amp Spherical Tokamak Upgrade