Accelerating an IoT Application by using CPU-FPGA tightly coupled architecture