Framework for a Hybrid System with a pair of MCU and FPGA