Speech recognition in programmable logic