An Edge AI System Based on FPGA Platform for Railway Fault Detection