This invention discloses a circuit and testing method for testing analog circuits in 3D stacked chips, relating to the field of design for
testability of 3D packaged chips. To meet the testing requirements of analog circuits in 3D stacked chips and achieve real-time monitoring of the
voltage value of the
analog signal under test, which changes relatively smoothly, this invention addresses the shortcomings of existing IEEE 1149.4 analog testing schemes, such as the susceptibility to interference during transmission within 3D packaged chips and the inability of low-resolution ADC schemes to quantitatively obtain
voltage values. The invention proposes an analog circuit testing scheme based on Σ-Δ modulation. The testing circuit includes: a test
control unit (TAP) conforming to the IEEE 1149 protocol, used to receive JTAG commands, select the node under test, and configure the sampling
clock frequency and sampling number; an analog
multiplexer (MUX) used to select the analog
voltage signal of the specified node under test; a Σ-Δ modulator used to modulate the analog voltage into a 1-bit modulated
square wave with a high-level ratio proportional to the voltage; a sampling
control unit used to monitor the start command and generate a sampling
clock, and control the
discharge of the integrating
capacitor of the Σ-Δ modulator; and a dedicated
transmission channel for the modulated
square wave across the entire
chip. The analog signals of this invention are transmitted between stacked chips in the form of modulated square
waves, providing
interference immunity; the Σ-Δ modulation circuit has a simplified structure and low
layout area overhead. The test circuit described conforms to the IEEE 1149 standard and is compatible with existing JTAG
test equipment.