FPGA finite state machine analog I2C bus design