The present invention provides a pulse width modulation signal generation circuit
that generates pulse width modulation signals that can suppress the increase in
power consumption caused by the increase in grayscale, together with a data line
drive circuit, electro-optical device, and electronic instrument that use the same.
The pulse width modulation signal generation circuit generates a pulse width modulation
signal based on (a+b) bits of grayscale data that have been read from RAM. During
that time, the circuit detects a match between a first count value and the high-order
the a-bit grayscale data and a match between a second count value, which is one
less than that first count value, and the high-order the a-bit grayscale data.
In a decoder circuit, one of the match detection results is used to output a pulse
width modulation signal, in correspondence with a result of decoding a frame number
and the low-order b-bit the grayscale data.