Development of Smart, Compact Fusion Diagnostics using Field-Programmable Gate Arrays