Embedded Pattern Recognition With Field Programmable Gate Arrays