Analog signal generation and analog light emission light receiving circuit design