Mixed signal design in thin film transistors