An EMG-based patient monitoring system using Zynq SoC device