High-reliability test vector reading circuit and method for chip DFT (Discrete Fourier Transform)

By designing the test vector reading circuit of the mode switching module and the shift control module in the chip, and identifying the test pattern using negative voltage thresholds, the efficient utilization of pin resources and reliable reading of test vectors are achieved, and the existing technology is solved Resource occupation and mistriggering issues.

CN118937951APending Publication Date: 2024-11-12杭州傲芯科技有限公司
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310795496.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-06-30
Publication Date
2024-11-12

AI Technical Summary

Technical Problem

Existing test vector reading circuits occupy chip pin resources and easily cause customers to accidentally trigger the test mode, affecting the use of chip functions, and bringing additional burdens to miniaturized chip design.

Method used

Design a high-reliability test vector reading circuit including mode switching module, clock module and shift control module, realize mode switching through pin multiplexing, and use negative voltage threshold to identify the test mode to avoid mistriggering, and use series registers Perform shift reading of test vectors to ensure the reliability of the reading process.

Benefits of technology

It realizes efficient utilization of pin resources, avoids customer-error triggering of test mode, improves the reliability and accuracy of test vector reading, reduces dynamic power consumption, and adapts to the needs of miniaturized chip design.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118937951A_ABST
    Figure CN118937951A_ABST
Patent Text Reader

Abstract

According to the high-reliability test vector reading circuit and method for the chip DFT, chip pins are divided into a working mode and a test mode in a pin multiplexing mode, and a mode switching module is arranged in the circuit; the mode switching module realizes switching between the two modes by identifying an input test control signal, a test vector reading mode is further arranged in the test mode, and an identification test control signal of the test vector reading mode is set as a negative voltage signal, so that a customer can be prevented from mistakenly triggering the test vector reading mode in the use process. In the storage module, the test vector is read and stored in a shift reading mode, so that the stability of the test vector is improved; meanwhile, the high-reliability test vector reading circuit is also provided with a shift control module which is used for controlling whether the register performs a test vector shift reading function or not, so that the integrity of the test vector is enhanced, and the occupied area of the high-reliability test vector reading circuit for the chip DFT in the chip is reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of electronic chips, and in particular to a high-reliability test vector reading circuit and method for chip DFT. Background Art

[0002] Design for Test (DFT) inserts various hardware logics used to improve the testability of the chip into the original chip design, making the chip easy to test and significantly saving the cost of chip testing. The design of the testability circuit increases the chip area to a certain extent, so multiple test items are usually designed to improve utilization, and each independent test item is distinguished by binary coding. The selection and switching of test items require corresponding test vector reading circuits to implement. The chip determines whether the chip to be tested is reliable by identifying the data of the test vector.

[0003] In the existing technology, for the test vector reading circuit, most of them adopt pin sharing or let the chip to be tested reserve specific test pins to realize the test vector reading function. Due to the limited pin resources, reserving specific test pins greatly wastes the pin resources of the chip. Although pin sharing does not occupy pin resources, customers can easily enter the test mode after getting the chip, which affects the use of the chip function and also increases the uncontrollability of the chip test vector reading process. In addition, due to the small size of the chip, the existing test vector circuit occupies a large area, which increases the burden of chip design for chips with high requirements for miniaturization. Therefore, it is necessary to design a test vector reading circuit that can avoid false triggering of the test mode during customer use, has a simple structure, and the test vector can be accurately read. Summary of the invention

[0004] In order to overcome the deficiencies of the prior art, the present invention provides a high-reliability test vector reading circuit and method for chip DFT.

[0005] In order to achieve the above-mentioned object, the present invention provides a high-reliability test vector reading circuit for chip DFT, comprising: a mode switching module, a clock module, a storage module, and a shift control module.

[0006] The mode switching module, whose input end determines whether the voltage of the input test control signal is within the voltage threshold range corresponding to the test mode, controls whether to enter the test vector reading mode.

[0007] The clock module includes three input terminals, one input terminal is connected to the output terminal of the mode switching module, one input terminal receives an external test clock signal, and the other input terminal is connected to the output terminal of the storage module; the clock module generates an internal clock signal according to the output signal of the mode switching module and the external test clock signal, which is used as the clock signal of the storage module and the shift control module, and the clock module controls whether the storage module stops reading according to the output signal of the storage module.

[0008] The storage module includes at least one register, the registers are connected in series and the input ends receive test vectors, the registers read and store the test vectors in sequence, and output the stored test vectors through the output ends.

[0009] The shift control module includes a shift controller, whose input end receives a test vector, a clock signal end is connected to the output end of the clock module, and the output end is connected to the enable end of other registers in the storage module except the first register; the shift control module controls whether the corresponding register is shifted according to the internal clock signal output by the clock module and the test vector.

[0010] Preferably, the mode switching module includes a normal mode and a test mode; in the normal mode, the test vector reading mode is turned off, and in the test mode, the test vector reading mode is turned on.

[0011] Preferably, the reading circuit is integrated in the chip, and three pins of the chip receive an external test clock signal, a test vector and a test control signal; in a normal mode or a test vector reading mode, the three pins are multiplexed.

[0012] Preferably, the method for identifying that the mode switching module enters the test mode is that the voltage threshold range of the mode switching module is a negative voltage range.

[0013] Preferably, the external test clock signal received by the input end of the clock module is a signal at a rising or falling edge.

[0014] Preferably, the first bit signal level of the test vector is high level.

[0015] Preferably, the reading circuit further includes:

[0016] The first NOT gate circuit has an input end connected to the output end of the mode switching module and an output end connected to the reset end of each register and shift controller in the storage module, providing a reset signal for each register and shift controller. The first NOT gate circuit is used when the start signal output by the mode switching module is opposite to the logic value of the effective reset signal of the register.

[0017] The second NOT gate circuit has its input end connected to the output end of the last register of the storage module, and its output end connected to the input end of the clock module. The last register in the storage module controls the clock module to output a constant level signal without a trigger edge through the inverted signal output by the second NOT gate circuit to terminate reading.

[0018] Preferably, the shift control module also includes: an OR gate circuit, whose input end receives the output signal and test vector of the shift controller output end, and the output end is connected to the input end of the shift controller; the OR gate circuit controls whether to start the shift controller according to the output signal and test vector of the shift controller.

[0019] The present invention relates to a method for reading a high-reliability test vector reading circuit for chip DFT, the method comprising the following steps:

[0020] S1: The mode switching module detects that the test control signal enters the preset voltage threshold range of the test mode, and switches the mode to the test vector reading mode;

[0021] S2: The shift controller starts, and the clock module transmits the external test clock signal to the shift controller and the storage module;

[0022] S3: The shift controller outputs an enable signal to control the corresponding register to open, the first register outputs the test vector and moves it to the second register, and the second register reads and stores the corresponding test vector in turn;

[0023] S4: Reading is finished, the last register of the storage module outputs a high level and outputs an inverted reading end signal to the clock module through the second NOT gate circuit to end the reading.

[0024] Preferably, step S2 comprises the following steps:

[0025] S2.1: The shift controller obtains the level signal of the test vector as a high level, and the shift controller starts; the clock module generates an internal clock signal according to the external test clock signal and the output signal of the mode switching module, and transmits it to each register in the shift controller and the storage module;

[0026] S2.2: The first register in the storage module starts reading the input test vector.

[0027] The beneficial effects of a high-reliability test vector reading circuit and method for chip DFT provided by the present invention are: the chip pins are divided into working mode and test mode by pin multiplexing. In addition, a mode switching module is set in the circuit, and the mode switching module realizes the switching between the two modes by identifying the input test control signal, wherein a test vector reading mode is also provided in the test mode, and the identification test control signal of the test vector reading mode is set to a negative voltage signal to distinguish it from the working voltage of other circuits of the chip, and also avoid the customer from erroneously triggering the test vector reading mode during use. When the negative voltage enters the mode switching module, factors such as load changes and electrostatic discharge inside the relevant multiplexed pins are not easy to reach the mode switching conditions, thereby improving the reliability of the test vector reading circuit. In addition, in the circuit, a storage module is set to read and store the corresponding test vector, and the storage circuit includes a plurality of serially connected registers. After the first register reads and stores the corresponding test vector, the rest of the test vectors are shifted as a whole to the next register for shift reading. When the reading is finished, the last register outputs a high level, which is inverted by the second NOT gate circuit and then outputs a low level to the clock module. The clock module outputs a low level after ANDing it with the external test clock signal and the enable signal output by the mode switching module, so that the storage module stops reading, thereby realizing the latching of its own data, and eliminating the dynamic power consumption of the subsequent circuit when the internal clock signal is flipped. Through the register shift reading method, there is no need to consider the problem of competition between the enable signal and the clock signal during the reading process, and it will not be affected by the external temperature and process. In addition, a shift control module is also provided in the circuit. The shift control module determines the level signal of the test vector to control whether the corresponding register is enabled, so as to control whether the register performs the test vector shift reading function, thereby further improving the reliability of the test vector. BRIEF DESCRIPTION OF THE DRAWINGS

[0028] Figure 1 A circuit diagram of a high reliability test vector reading circuit for chip DFT according to the present invention;

[0029] Figure 2 This is a related signal waveform diagram of a high reliability test vector reading circuit for chip DFT of the present invention;

[0030] Figure 3 A schematic diagram of a high reliability test vector reading circuit for chip DFT of the present invention connected to the pins inside the chip and outside the chip;

[0031] Figure 4 A connection diagram of a high reliability test vector reading circuit for chip DFT provided by the present invention and an external pin of the chip in a normal mode;

[0032] Figure 5A connection diagram of a high reliability test vector reading circuit for chip DFT provided by the present invention and an external pin of the chip in a test mode;

[0033] Figure 6 A flowchart of a high-reliability test vector reading method for chip DFT provided by the present invention. DETAILED DESCRIPTION

[0034] The specific implementation modes of the present invention are described in detail below with reference to the accompanying drawings.

[0035] In view of the problems existing in the prior art, the present invention provides a high-reliability test vector reading circuit for chip DFT, comprising a mode switching module 1, a clock module 2, a storage module 3, and a shift control module 4. The input end of the mode switching module 1 determines whether the voltage of the input test control signal Vcontrol is within the voltage threshold range corresponding to the test mode to control whether to enter the test vector reading mode. The clock module 2 includes three input ends, one input end is connected to the output end of the mode switching module 1, one input end receives an external test clock signal TCK, and the other input end is connected to the output end of the storage module 3; the clock module 2 generates an internal clock signal CLK according to the output signal of the mode switching module 1 and the external test clock signal TCK, which serves as the clock signal of the storage module 3 and the shift control module 4, and the clock module 2 controls whether the storage module 3 stops reading according to the output signal of the storage module 3. The storage module 3 includes at least one register, multiple registers are connected in series and the input end receives the test vector TDI, multiple registers read and store the test vector TDI in sequence, and output the stored test vector through the output end. The shift control module 4 includes a shift controller 41, whose input end receives the test vector TDI, the clock signal end is connected to the output end of the clock module 2, and the output end is connected to the enable end of other registers in the storage module 3 except the first register; the shift control module 4 controls whether the corresponding register is shifted according to the internal clock signal TCK output by the clock module 2 and the test vector TDI.

[0036] Specifically, when the test control signal Vcontrol is input to the input end of the mode switching module 1, the mode switching module 1 controls whether to enter the test vector reading mode by identifying the voltage of the test control signal Vcontrol and judging whether the current voltage is within the voltage threshold range corresponding to the test mode. If the input test control signal Vcontrol is within the voltage threshold range of the test mode, the test vector reading mode is entered, and the enable signal TCBEN output by the mode switching module 1 enables the subsequent circuit to perform the vector reading function. Among them, the enable signal TCBEN output by the mode switching module 1 is a high level. After the test vector reading mode starts, the clock module 2 generates an internal clock signal CLK according to the enable signal TCBEN output by the mode switching module 1, the external test clock signal TCK and the output signal of the storage module 3, and then transmits it to each register in the storage module 3 and the shift control module 4. At the same time, the input end of the shift control module 4 obtains the level signal of the test vector TDI, and judges whether the level signal of the test vector TDI is a high level. If it is a high level, the shift control module 4 outputs and maintains a high level to enable the corresponding register in the storage module 3.

[0037] In this embodiment, the multi-bit registers in the storage module 3 are connected in series, wherein the output of the previous register is connected to the input end of the next register, the first register is used as the input end of the storage module 3, and the last register is used as the output end of the storage module 3; the first register in the above text is the first register along the signal transmission direction. The number of registers in the storage module 3 is preferably 5 and each register can be a rising edge or falling edge timing trigger. When the storage module 3 obtains the internal clock signal CLK, the first register Bit0 preferentially reads and stores the test vector TDI, and the shift controller 4 outputs an enable signal and controls the corresponding register to turn on the reading function, and then the first register Bit0 reads the corresponding test vector and shifts the remaining test vectors to the second register Bit1 through the output end. Similarly, after the second register Bit1 is read and stored, the subsequent register is output through its output end, and the subsequent register repeats the above work to sequentially read and store the corresponding test vector, and at the same time transmits the stored test vector to the subsequent circuit through the output end until the reading is completed. After the reading is completed, the Hold Bit output signal of the last register in the storage module 3 is inverted and fed back to the clock module 2. The clock module 2 generates a read end signal to the shift controller 41 and each register in the storage circuit 3 based on its feedback signal, the external test clock signal TCK and the enable signal TCBEN output by the mode switching module 1, so that the shift controller 41 and the storage module 3 stop reading.

[0038] For register reading, a parallel structure is usually used. The corresponding register is enabled at the specified clock signal time by the counter so that the corresponding register reads the corresponding test vector. However, when reading the test vector in this way, there may be a competition problem between the internal clock signal CLK and the enable signal in the register. Signal competition means that the speed at which the two signals reach the input end is uncertain. For example, when the test vector is stored in the first register, the number of bits in the counter increases by one, and the second register is enabled. If the process is too fast or the internal clock signal CLK reaches the second register too slowly, the enable signal will reach the register earlier than the internal clock signal CLK, resulting in two adjacent registers reading the test vector TDI at the same clock edge, which leads to functional failure.

[0039] In view of the above-mentioned problems, this embodiment adopts a serial shift reading method to solve the competition problem between the internal clock signal CLK and the register enable signal. Each register in the circuit is connected in series, and the shift controller 41 outputs an enable signal to enable the corresponding register to open the reading function. When the first register Bit0 reads the corresponding test vector, the remaining test vectors TDI are shifted to the subsequent register through the output end to read the corresponding test vector in sequence. Compared with the existing register parallel reading structure and counter counting method, the register serial shift reading method in this embodiment makes each register read signal only related to the enable signal of the shift control module 4. When the bit control module 4 opens all the corresponding registers, each register follows the edge of the internal clock signal to read the corresponding test vector, avoiding the competition problem between the signals, and can more reliably realize the bit-by-bit reading of the test vector. After the reading is completed, the last register Hold Bit outputs a feedback signal to the clock module 2, and the clock module 2 outputs a low level to realize the locking of the internal clock signal CLK and the end of the reading process.

[0040] The change process of the relevant signal in this embodiment is as follows: Figure 2As shown, Bit[4] to Bit[0] represent the test vector of the corresponding number of bits read by each corresponding register. When the external test clock signal TCK is activated after a signal cycle, the test vector reading mode is activated, and the mode switching module 1 outputs a clock signal with a valid signal of a high level, and then at the rising edge of the next clock cycle, the clock module 2 transmits the internal clock signal CLK to each register in the storage module 3; at the same time, the first register reads the corresponding test vector Bit[4], and the shift controller 41 outputs an enable signal to control the corresponding register to start the storage function, and at the rising moment of the subsequent clock cycle, each register reads and stores the corresponding test vector in turn. When the reading and storage of the last test vector Bit[0] are completed, the last register Hold Bit outputs a high level and is fed back to the clock module 2 in a short time and controls the storage module 3 to stop reading.

[0041] In this embodiment, the mode switching module 1 includes a normal mode and a test mode, wherein the test mode includes a test vector reading mode and a test mode of other functions; the normal mode refers to the mode used by general users in normal use; the test mode refers to a special mode for professional staff to test chip reliability. When the mode switching module 1 is in the normal mode, the test vector reading mode is in an off state, that is, the subsequent circuit of the mode switching module 1 does not work; if the mode switching module 1 is in the test mode, the mode switching module 1 controls the start of the test vector reading mode and outputs an enable signal TCBEN to its subsequent circuit to control the subsequent circuit to perform the test vector TDI reading function. Among them, the mode switching module 1 is preferably a voltage window comparator, which controls whether to enter the test vector reading mode by comparing the voltage of the test control signal Vcontrol input to it and judging whether the voltage is within the voltage threshold range corresponding to the test vector reading mode.

[0042] In order to solve the problem of insufficient chip pin resources, the reliability of the chip is tested by low pin test, where low pin count refers to the input and output pins multiplexed as test signals (test control signal Vcontrol, test vector TDI, external test clock TCK) in test mode. In this embodiment, the read circuit is integrated in the chip, and the three pins of the chip receive the external test clock signal TCK, the test vector TDI and the test control signal Vcontrol; in the normal mode or the test mode, the three pins are multiplexed. Specifically, the read circuit is integrated in the chip, and in the test vector read mode, the three pins are only multiplexed as the input of the test vector read mode, and in the test mode after the reading is completed, the three pins are multiplexed as output.

[0043] like Figure 3As shown in the figure, it is a schematic diagram of the connection between the reading circuit inside the chip and the pins outside the chip. The structure inside the dotted box is the internal circuit of the chip, and the structure outside the dotted box is the external structure of the chip; there are 6 pins outside the chip, and the pins on the left are the sending data pin TXD, the test control signal pin Vcontrol, and the receiving data pin RXD; Pinl~Pin3 on the right are output pins. The chip includes the original circuit Working circuit and the test control module Test Control Block, where the original circuit refers to the circuit running when the chip works in the normal mode, and the internal includes the input control module InputControl and the output control module OutputControl. The test control module Test Control Block includes a high-reliability test vector reading circuit and a decoder Decoder for chip DFT. The decoder Decoder works after the reading is completed and outputs the internal test control signal.

[0044] A high reliability test vector reading circuit for chip DFT multiplexes the chip pins. The working principle is as follows: Figure 4 As shown in the figure, in normal mode, the data transmission pin TXD, the test control signal pin Vcontrol, and the data reception pin RXD are used as the input of the original circuit Working circuit, and the Pin1 to Pin3 pins on the right side of the chip are used as outputs. Figure 5As shown, in the test mode, the data transmission pin TXD, the test control signal Vcontrol pin, and the data reception pin RXD are connected to the original circuit Working circuit and the high reliability test vector reading circuit for chip DFT. During the reading process, the data transmission pin TXD, the test control signal Vcontrol pin, and the data reception pin RXD on the left side of the chip are used as inputs, and the Pin1 to Pin3 pins on the right side of the chip can be considered idle; after the reading is completed, the data transmission pin TXD and the data reception pin RXD on the left side of the chip are used as outputs, and the Pin1 to Pin3 pins on the right side can be considered idle. The switching between the normal mode and the test mode depends on the test control signal Vcontrol and the mode switching module 1. The input control module InputControl and the output control module OutputControl in the original circuit Working circuit have the function of signal selection. In the normal mode, the control test vector TDI and the external test clock signal TCK are not output to the test control module Test Control Block. The output control module OutputControl works in the stage after the test mode is read. After the work, the output signal passes through the two sets of switch circuits 7 and is output through the data transmission pin TXD and the data reception pin RXD. The two groups of switch modules 7 are both push-pull output structures composed of PMOS tubes and NMOS tubes, and the NMOS tubes are cascaded to the lower end of the PMOS tubes.

[0045] The recognition method for the mode switching module 1 to enter the test mode is that the judgment voltage threshold range of the mode switching module 1 is a negative voltage range. Specifically, the recognition method for the mode switching module 1 to enter the test vector reading mode is to use the voltage range as the judgment standard. Due to the pin multiplexing of the chip, in order to ensure that the user does not mistakenly enter the test vector reading mode during use, when setting the working voltage threshold range of the test vector reading mode, its working voltage threshold range is set to the negative voltage threshold range, such as setting it to -12V~-15V, because the normal working voltage of the chip (such as 0~3.3V) is usually operated within the positive voltage range, and the negative voltage can be distinguished from the normal working voltage range of the chip, and will not affect the function of the chip circuit. The method of using negative voltage as the test vector reading mode is relatively different from the method of using a positive voltage range (setting the identification voltage to be higher than the normal voltage, such as setting the range to 10V to 15V). The positive voltage range is easily affected by internal load changes or static electricity and enters the mode switching module 1, resulting in the phenomenon that the normal mode suddenly switches to the test mode; while using negative voltage for identification and judgment can avoid the phenomenon of false triggering of chip pins. The normal operation of the normal circuit does not involve signal processing in the negative voltage range, so the chip will not be falsely triggered to enter the test mode under normal operation, thereby improving the reliability of the reading circuit. It should be noted that the method by which the mode switching module 1 identifies the entry into the test vector reading mode includes but is not limited to the voltage threshold range, single voltage threshold detection, pulse feature detection or other methods to complete the pattern recognition function.

[0046] In this embodiment, the external test clock signal received by the input end of the clock module 2 is a signal at the rising or falling edge moment. Specifically, in the high-reliability test vector reading circuit for chip DFT, the valid signal of the external test clock signal TCK can be a clock rising edge moment signal or a falling edge moment signal. When the external test clock signal TCK is valid at the rising edge moment, the valid clock edge signal transmitted by the clock module 2 to the register in the storage module 3 and the shift controller 41 is also a rising edge moment signal. Conversely, when the external test clock signal TCK is valid at the falling edge moment, the valid clock edge signal transmitted by the clock module 2 to the register in the storage module 3 and the shift controller 41 is also a falling edge moment signal. By matching different external test clock signals TCK in a manner of converting the clock signal triggered by the circuit, the application scope of the reading circuit is broadened, and the versatility is strong.

[0047] In this embodiment, the first bit signal level of the test vector TDI is high. Specifically, after entering the mode switching module, the shift control module 4 determines whether the first bit signal level of the input test vector TDI is high. If the level signal is high, the shift control module 4 outputs an enable signal to open the corresponding register; if the level signal is low, the shift control module 4 does not output, and the reading function is not started. Thus, by identifying the control level of the test vector TDI, the register is prevented from reading the wrong test vector, thereby affecting the accuracy of the test result.

[0048] In this embodiment, the reading circuit further includes: a first NOT gate circuit 5 and a second NOT gate circuit 6; the input end of the first NOT gate circuit 5 is connected to the output end of the mode switching module 1, and the output end is connected to the reset end of each register and the shift controller 41 in the storage module 3, providing a reset signal for each register and the shift controller 41, and the first NOT gate circuit 5 is used when the start signal output by the mode switching module 1 is opposite to the logic value of the valid reset signal of the register. Specifically, when the test measurement reading mode is started, the enable signal TCBEN output by the mode switching module 1 enables the reset port of each register and the shift controller 41, and provides a reset signal for each register and the shift controller 41, so as to start each register and the shift controller 41 to start working. The input end of the second NOT gate circuit 6 is connected to the output end of the last register Hold Bit of the storage module 3, and the output end is connected to the input end of the clock module 2. The last register Hold Bit in the storage module 3 controls the clock module 2 to output a constant level signal without a trigger edge through the inverted signal output by the second NOT gate circuit 5 to terminate the reading. Specifically, after the test vector reading is completed, the last register Hold Bit outputs a high level signal, which is inverted by the second NOT gate circuit 6 and then outputs a low level signal to feedback to the clock module 2. The clock module 2 ANDs it with the external test clock signal TCK and the enable signal TCBEN output by the mode switching module 1 and then outputs a low level signal to control the storage module 3 and the shift controller 41 to stop working.

[0049] In this embodiment, the shift control module 4 further includes: an OR gate circuit 42; its input end receives the output signal of the output end of the shift controller 41 and the test vector TDI, and its output end is connected to the input end of the shift controller 41; the OR gate circuit 42 controls whether to start the shift controller according to the output signal of the shift controller 41 and the test vector TDI. Specifically, it determines whether the level signal of the test vector TDI at the input end is a high level, and then outputs and locks it to a high level. If the level signal of the test vector TDI is a low level, it remains at a low level.

[0050] like Figure 6 As shown, the present invention also relates to a high reliability test vector reading method for chip DFT, comprising the following steps:

[0051] S1: The mode switching module 1 detects that the test control signal Vcontrol enters the preset voltage threshold range of the test mode, and switches the mode to the test vector reading mode;

[0052] The mode switching module 1 determines whether the test control signal Vcontrol at the input end is within the preset voltage range of the test mode. If the current voltage is within the preset voltage range of the test mode, the mode switching module 1 switches to the test vector reading mode.

[0053] S2: the shift controller 41 is started, and the clock module 2 transmits the external test clock signal TCK to the shift controller 41 and the storage module 3;

[0054] S2.1: The shift controller 41 obtains the level signal of the test vector TDI as a high level, and the shift controller 41 starts; the clock module 2 generates an internal clock signal CLK according to the external test clock signal TCK and the output signal of the mode switching module 1, and transmits it to the shift controller 41 and each register in the storage module 3;

[0055] The shift controller 41 determines whether the level signal of the input test vector TDI is high level. If it is high level, its input end is high level. At this time, the clock module 2 transmits the clock rising edge timing signal to the shift controller 41 and the clock end of each register in the storage module 3. At this time, the shift controller 41 is turned on.

[0056] S2.2: The first register Bit0 in the storage module 3 starts to read the input test vector TDI.

[0057] After the first register in the storage module 3 obtains the internal clock signal, it starts to read and store the corresponding test vector input;

[0058] S3: the shift controller 41 outputs an enable signal to control the corresponding register to open, the first register Bit0 outputs the test vector TDI and moves it to the subsequent registers, and the subsequent registers read and store the corresponding test vectors in sequence;

[0059] After the shift controller 41 is started, it quickly outputs an enable signal to the corresponding register and starts the reading function at the same time. After the first register reads and stores the corresponding test vector, it outputs the remaining test vectors through the output end, so that the latter registers read and store the corresponding test vectors in turn until the reading is completed.

[0060] S4: Reading is finished, the last register Hold Bit of the storage module 3 outputs a high level and outputs an inverted reading end signal to the clock module 2 through the second NOT gate circuit 6 to end the reading;

[0061] After the reading is finished, the last register Hold Bit of the storage module 3 outputs a high level and outputs an inverted reading end signal to the clock module 2 through the second NOT gate circuit 6. The clock module 2 ANDs it with the external clock signal TCK and the enable signal TCBEN output by the mode switching module 1 and then outputs a low level, controlling the storage module 3 and the shift controller 41 to stop working to end the reading. The post register described above refers to the register after the first register along the transmission direction of the signal.

[0062] In summary, the present invention provides a high-reliability test vector reading circuit and method for chip DFT, which divides chip pins into working mode and test mode by pin multiplexing. In addition, a mode switching module is set in the circuit, and the mode switching module realizes switching between the two modes by identifying the input test control signal. A test vector reading mode is also provided in the test mode, and the identification test control signal of the test vector reading mode is set to a negative voltage signal to distinguish it from the working voltage of other circuits of the chip, which also avoids the customer from mistakenly triggering the test vector reading mode during use. When the negative voltage enters the mode switching module, factors such as load changes and electrostatic discharge inside the relevant multiplexed pins are not easy to reach the mode switching conditions, thereby improving the reliability of the test vector reading circuit. In addition, in the circuit, a storage module is set to read and store the corresponding test vector, and the storage circuit includes a plurality of serially connected registers. After the first register reads and stores the corresponding test vector, the rest of the test vectors are shifted as a whole to the next register for shift reading. When the reading is finished, the last register outputs a high level, which is inverted by the second NOT gate circuit and then outputs a low level to the clock module. The clock module outputs a low level after ANDing it with the external test clock signal and the enable signal output by the mode switching module, so that the storage module stops reading, thereby realizing the latching of its own data, and eliminating the dynamic power consumption of the subsequent circuit when the internal clock signal is flipped. Through the register shift reading method, there is no need to consider the problem of competition between the enable signal and the clock signal during the reading process, and it will not be affected by the external temperature and process. In addition, a shift control module is also provided in the circuit. The shift control module determines the level signal of the test vector to control whether the corresponding register is enabled, so as to control whether the register performs the test vector shift reading function, thereby further improving the reliability of the test vector.

[0063] The above is only a preferred embodiment of the present invention. It should be pointed out that ordinary technicians in this technical field can make several improvements and modifications without departing from the concept of the present invention. These improvements and modifications should also be regarded as within the scope of protection of the present invention.

Claims

1. A high reliability test vector reading circuit for chip DFT, It is characterized in that include: Mode switching module, clock module, storage module, shift control module; The mode switching module, whose input terminal determines whether the voltage of the input test control signal is within the voltage threshold range corresponding to the test mode, controls whether to enter the test vector reading mode; A clock module, comprising three input terminals, one input terminal connected to the output terminal of the mode switching module, one input terminal receiving an external test clock signal, and another input terminal connected to the output terminal of the storage module; The clock module generates an internal clock signal according to the output signal of the mode switching module and the external test clock signal, which is used as the clock signal of the storage module and the shift control module, and the clock module controls whether the storage module stops reading according to the output signal of the storage module; A storage module, comprising at least one register, the registers are connected in series and the input ends receive test vectors, the registers sequentially read and store the test vectors, and output the stored test vectors through the output ends; The shift control module comprises a shift controller, an input end of which receives a test vector, a clock signal end is connected to an output end of the clock module, and an output end is connected to an enable end of other registers in the storage module except the first register; The shift control module controls whether the corresponding register is shifted according to the internal clock signal output by the clock module and the test vector.

2. The high reliability test vector reading circuit for chip DFT according to claim 1, It is characterized in that The mode switching module includes a normal mode and a test mode; in the normal mode, the test vector reading mode is turned off, and in the test mode, the test vector reading mode is turned on.

3. The high reliability test vector reading circuit for chip DFT according to claim 2, It is characterized in that The reading circuit is integrated in a chip, and three pins of the chip receive an external test clock signal, a test vector and a test control signal; in a normal mode or a test vector reading mode, the three pins are multiplexed.

4. The high reliability test vector reading circuit for chip DFT according to claim 2, It is characterized in that The method for identifying that the mode switching module enters the test mode is that the voltage threshold range of the mode switching module is a negative voltage range.

5. The high reliability test vector reading circuit for chip DFT according to claim 1, It is characterized in that The external test clock signal received by the input end of the clock module is a signal at the rising or falling edge.

6. The high reliability test vector reading circuit for chip DFT according to claim 1, It is characterized in that The first bit signal level of the test vector is high level.

7. The high reliability test vector reading circuit for chip DFT according to claim 1, It is characterized in that The reading circuit also includes: A first NOT gate circuit, whose input end is connected to the output end of the mode switching module, whose output end is connected to the reset end of each register and the shift controller in the storage module, and provides a reset signal for each register and the shift controller, and the first NOT gate circuit is used when the start signal output by the mode switching module is opposite to the logic value of the effective reset signal of the register; The second NOT gate circuit has its input end connected to the output end of the last register of the storage module, and its output end connected to the input end of the clock module. The last register in the storage module controls the clock module to output a constant level signal without a trigger edge through the inverted signal output by the second NOT gate circuit to terminate reading.

8. The high reliability test vector reading circuit for chip DFT according to claim 1, It is characterized in that The shift control module also includes: The OR gate circuit has an input end receiving an output signal and a test vector from an output end of the shift controller, and an output end connected to an input end of the shift controller; the OR gate circuit controls whether to start the shift controller according to the output signal and the test vector of the shift controller.

9. A method for reading a high reliability test vector reading circuit for chip DFT according to any one of claims 1 to 8, It is characterized in that The method comprises the following steps: S1: The mode switching module detects that the test control signal enters the preset voltage threshold range of the test mode, and switches the mode to the test vector reading mode; S2: The shift controller starts, and the clock module transmits the external test clock signal to the shift controller and the storage module; S3: The shift controller outputs an enable signal to control the corresponding register to open, the first register outputs the test vector and moves it to the second register, and the second register reads and stores the corresponding test vector in turn; S4: Reading is finished, the last register of the storage module outputs a high level and outputs an inverted reading end signal to the clock module through the second NOT gate circuit to end the reading.

10. The reading method of the high reliability test vector reading circuit and method for chip DFT according to claim 9, It is characterized in that The step S2 comprises the following steps: S2.1: The shift controller obtains the level signal of the test vector as a high level, and the shift controller starts; the clock module generates an internal clock signal according to the external test clock signal and the output signal of the mode switching module, and transmits it to each register in the shift controller and the storage module; S2.2: The first register in the storage module starts reading the input test vector.