Scan output trigger

By introducing a selection circuit and a control circuit into the scan output flip-flop, and using the test enable signal and clock signal to control the transmission of data signals and test signals, the unnecessary power consumption of the traditional scan output flip-flop caused by the common output terminal always running is solved. Problem, the energy efficiency of the scan chain is improved.

CN113608112BActive Publication Date: 2024-10-22MEDIATEK INC
View PDF 15 Cites 0 Cited by

Patent Information

Application Number
CN202110321801.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Priority Date
2021-03-11
Filing Date
2021-03-25
Publication Date
2024-10-22
Estimated Expiration
2041-03-25

AI Technical Summary

Technical Problem

When traditional scan output flip-flops perform normal data and scan data transmission, the circuit of the common output terminal is always running, resulting in unnecessary increase in power consumption.

Method used

A new scan output flip-flop is designed. Through the selection circuit and control circuit, the test enable signal and clock signal are used to control the transmission of data signals and test signals. The scan output is only activated as needed in test mode or normal mode. stage circuit or data output stage circuit, thereby avoiding the additional power consumption of the delay chain.

Benefits of technology

It effectively reduces the unnecessary power consumption of the scan chain, especially in normal mode, avoiding the additional functions of the delay chain and improving energy efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113608112B_ABST
    Figure CN113608112B_ABST
Patent Text Reader

Abstract

The present invention provides a scan output trigger, which is used to output a scan output signal at a scan output terminal of the scan output trigger, comprising: a selection circuit, comprising a first input terminal and a second input terminal, which is controlled by a first test enable signal to transmit a data signal on the first input terminal or a test signal on the second input terminal to an output terminal of the selection circuit as an input signal; a control circuit, which is controlled by a first clock signal and a second clock signal to generate a first control signal and a second control signal according to the input signal; and a scan output stage circuit, wherein the scan output stage circuit is controlled by the first test enable signal and the second test enable signal to generate the scan output signal only according to one of the first control signal and the second control signal. The implementation of the present invention can reduce unnecessary power consumption of the scan chain.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to a flip-flop design, and more particularly, to a scan output flip-flop. Background Art

[0002] Scan chains are used to detect various manufacturing faults in combinational logic blocks during the test process. Typically, a scan chain consists of a plurality of scan output flip-flops connected in series, and a delay chain is added in the scan path between the data output terminal of a scan output flip-flop and the scan input terminal of the next scan output flip-flop. A conventional scan output flip-flop can use a common output terminal to transmit normal data and scan data. Therefore, whether normal data or scan data is transmitted, the circuit at the back end of the common output terminal is still running, which increases unnecessary power consumption. Therefore, an innovative scan output flip-flop design is needed. Summary of the invention

[0003] The present invention provides a scan output trigger, which avoids extra power consumption in a delay chain.

[0004] A scan output trigger provided by the present invention is used to output a scan output signal at a scan output terminal of the scan output trigger, comprising: a selection circuit, comprising a first input terminal and a second input terminal, the selection circuit being controlled by a first test enable signal to transmit a data signal on the first input terminal or a test signal on the second input terminal to an output terminal of the selection circuit for use as an input signal; a control circuit, coupled to the output terminal of the selection circuit, the control circuit being controlled by a first clock signal and a second clock signal to generate a first control signal and a second control signal according to the input signal, wherein the second clock signal is an inversion of the first clock signal, and the second control signal is an inversion of the first control signal; and a scan output stage circuit, wherein the scan output stage circuit only receives one of the first control signal and the second control signal, and the scan output stage circuit is controlled by the first test enable signal and the second test enable signal to generate the scan output signal according to only one of the first control signal and the second control signal, wherein the second test enable signal is an inversion of the first test enable signal.

[0005] Another scan output trigger provided by the present invention is used to output a data output signal at the data output terminal of the scan output trigger, including: a selection circuit, including a first input terminal and a second input terminal, the selection circuit is controlled by a first test enable signal to transmit the data signal on the first input terminal or the test signal on the second input terminal to the output terminal of the selection circuit for use as an input signal; a control circuit, coupled to the output terminal of the selection circuit, the control circuit is controlled by a first clock signal and a second clock signal to generate a control signal according to the input signal, wherein the second clock signal is the inversion of the first clock signal; and a data output stage circuit, wherein the data output stage circuit receives the control signal and is controlled by a first test enable signal and a second test enable signal to generate the data output signal according to the control signal, wherein the second test enable signal is the inversion of the first test enable signal.

[0006] Therefore, the embodiments of the present invention provide a new scan output flip-flop architecture, which can reduce unnecessary power consumption of the scan chain. BRIEF DESCRIPTION OF THE DRAWINGS

[0007] Figure 1 is a diagram showing a scan output flip-flop according to an embodiment of the present invention.

[0008] Figure 2 FIG. 1 is a diagram showing a scan output stage circuit according to a first embodiment of the present invention.

[0009] Figure 3 FIG. 1 is a diagram showing a scan output stage circuit according to a second embodiment of the present invention.

[0010] Figure 4 FIG. 1 is a diagram showing a scan output stage circuit according to a third embodiment of the present invention.

[0011] Figure 5 FIG. 4 is a diagram showing a scan output stage circuit according to a fourth embodiment of the present invention.

[0012] Figure 6 FIG. 5 is a diagram showing a scan output stage circuit according to a fifth embodiment of the present invention.

[0013] Figure 7 FIG. 1 is a diagram showing a scan output stage circuit according to a sixth embodiment of the present invention.

[0014] Figure 8 FIG. 4 is a diagram of another scan output flip-flop according to an embodiment of the present invention.

[0015] Fig. 9 FIG. 1 is a diagram showing a data output stage circuit according to a first embodiment of the present invention.

[0016] Fig.10 FIG. 1 is a diagram showing a data output stage circuit according to a second embodiment of the present invention. DETAILED DESCRIPTION

[0017] Certain words are used in the specification and claims to refer to specific components. It should be understood by those skilled in the art that hardware manufacturers may use different terms to refer to the same component. The specification and claims do not use differences in names as a way to distinguish components, but use differences in the functions of components as the criteria for distinction. "Including" and "including" mentioned throughout the specification and claims are open-ended terms, so they should be interpreted as "including but not limited to". "Substantially" means that within an acceptable error range, those skilled in the art can solve the technical problem within a certain error range and basically achieve the technical effect. In addition, the term "coupled" includes any direct and indirect electrical connection means. Therefore, if the text describes a first device coupled to a second device, it means that the first device can be directly electrically connected to the second device, or indirectly electrically connected to the second device through other devices or connection means. The following is a preferred way to implement the present invention, the purpose of which is to illustrate the spirit of the present invention rather than to limit the scope of protection of the present invention. The scope of protection of the present invention shall be subject to the definition of the claims.

[0018] The following description is the best embodiment of the present invention. These descriptions are used to illustrate the general principles of the present invention and should not be used to limit the present invention. The scope of protection of the present invention should be determined based on the claims of the present invention.

[0019] The embodiment of the present invention provides a new scan output trigger architecture, which can reduce unnecessary power consumption of the scan chain.

[0020] A scan output trigger provided by the present invention is used to output a scan output signal at a scan output terminal of the scan output trigger, comprising: a selection circuit, comprising a first input terminal and a second input terminal, the selection circuit being controlled by a first test enable signal to transmit a data signal on the first input terminal or a test signal on the second input terminal to an output terminal of the selection circuit for use as an input signal; a control circuit, coupled to the output terminal of the selection circuit, the control circuit being controlled by a first clock signal and a second clock signal to generate a first control signal and a second control signal according to the input signal, wherein the second clock signal is an inversion of the first clock signal, and the second control signal is an inversion of the first control signal; and a scan output stage circuit, wherein the scan output stage circuit only receives one of the first control signal and the second control signal, and the scan output stage circuit is controlled by the first test enable signal and the second test enable signal to generate the scan output signal according to only one of the first control signal and the second control signal, wherein the second test enable signal is an inversion of the first test enable signal.

[0021] Another scan output trigger provided by the present invention is used to output a data output signal at the data output terminal of the scan output trigger, including: a selection circuit, including a first input terminal and a second input terminal, the selection circuit is controlled by a first test enable signal to transmit the data signal on the first input terminal or the test signal on the second input terminal to the output terminal of the selection circuit for use as an input signal; a control circuit, coupled to the output terminal of the selection circuit, the control circuit is controlled by a first clock signal and a second clock signal to generate a control signal according to the input signal, wherein the second clock signal is the inversion of the first clock signal; and a data output stage circuit, wherein the data output stage circuit receives the control signal and is controlled by a first test enable signal and a second test enable signal to generate the data output signal according to the control signal, wherein the second test enable signal is the inversion of the first test enable signal.

[0022] Figure 1 1 is a diagram of a scan output trigger according to an embodiment of the present invention. Figure 1 As shown in FIG1 , the scan output trigger 1 includes a selection circuit 10, a control circuit 11, a scan output stage circuit 12, a signal generating circuit 13 and a clock generating circuit 14. The scan output trigger 1 has: a data input terminal D, a scan input terminal TD, a test enable terminal TE, a clock input terminal CK, a data output terminal Q and a scan output terminal SQ. Figure 1In the embodiment of the present invention, the selection circuit 10 includes a multiplexer 100. An input terminal (-) of the multiplexer 100 is coupled to a data input terminal D for receiving a data signal S10, another input terminal (+) of the multiplexer 100 is coupled to a scan input terminal TD for receiving a test signal S11, and a selection terminal of the multiplexer 100 is coupled to a test enable terminal TE for receiving a test enable signal STE. The multiplexer 100 generates an input signal S12 at its output terminal. The multiplexer 100 is controlled by a test enable signal (used as a selection signal) STE to selectively send a data signal S10 or a test signal S11 to the output terminal of the multiplexer 100 as an input signal S12.

[0023] like Figure 1 As shown, the signal generating circuit 13 also receives the test enable signal STE to generate another test enable signal STEB which is inverted with the test enable signal STE. Figure 1 In an embodiment of the present invention, the signal generating circuit 13 includes an inverter 130. An input terminal of the inverter 130 is coupled to a test enable terminal TE for receiving a test enable signal STE. In addition, the inverter 130 inverts the test enable signal STE to generate a test enable signal STEB at an output terminal of the inverter 130. Therefore, the test enable signal STEB is the inversion of the test enable signal STE. In other embodiments, the signal generating circuit 13 can be implemented by any other circuit structure that can receive the test enable signal STE and generate a test enable signal STEB that is inverted from the test enable signal STE.

[0024] The clock generating circuit 14 receives the clock signal SCK through the clock terminal CK to generate another clock signal SCKB which is the inverse of the clock signal SCK. Figure 1 In an embodiment of the present invention, the clock generation circuit 14 includes an inverter 140. An input terminal of the inverter 140 is coupled to a clock terminal CK for receiving a clock signal SCK. In addition, the inverter 140 inverts the clock signal SCK to generate a clock signal SCKB at an output terminal of the inverter 140. Therefore, the clock signal SCKB is an inversion of the clock signal SCK. Each of the clock signals SCK and SCKB may alternately have a high voltage level VH and a low voltage level VL. In other embodiments, the clock generation circuit 14 may be implemented by any other circuit structure capable of receiving the clock signal SCK and generating a clock signal SCKB inverted from the clock signal SCK.

[0025] like Figure 1As shown, the control circuit 11 receives the input signal S12 and is controlled by the clock signals SCK and SCKB to generate control signals S13 and S14, wherein the scan output stage circuit 12 receives only one of the control signals S13 and S14. Figure 1 In the embodiment of the present invention, the control circuit 11 includes tri-state inverters 110, 112 and 116, inverters 111, 115 and 117 and a transmission gate 118. The input terminal of the tri-state inverter 110 is coupled to the output terminal of the multiplexer 100, and the output terminal of the tri-state inverter 110 is coupled to the node N10. The tri-state inverter 110 is controlled by the clock signal SCKB generated by the clock generating circuit 14. Only when the clock signal SCKB is at a high voltage level VH, the tri-state inverter 110 performs signal inversion. The input terminal of the inverter 111 is coupled to the node N10, and the output terminal of the inverter 111 is coupled to the node N11. The input terminal of the tri-state inverter 112 is coupled to the node N11, and the output terminal of the tri-state inverter 112 is coupled to the node N10. The tri-state inverter 112 is controlled by the clock signal SCK. Only when the clock signal SCK is at the high voltage level VH, the tri-state inverter 112 performs signal inversion. The inverter 111 and the tri-state inverter 112 form a latch circuit.

[0026] The transmission gate 118 is composed of a P-type transistor 113 and an N-type transistor 114. In the present embodiment, the transistors 113 and 114 are implemented by metal oxide semiconductor (MOS) transistors. Therefore, the transistor 113 is a P-type metal oxide semiconductor (PMOS) transistor, and the transistor 114 is an N-type metal oxide semiconductor (NMOS) transistor. The gate (also referred to as a "control electrode") of the PMOS transistor 113 receives the clock signal SCKB, the source of the PMOS transistor 113 is coupled to the node N11, and the drain of the PMOS transistor 113 is coupled to the node N12. The gate of the NMOS transistor 114 receives the clock signal SCK, the drain of the NMOS transistor 114 is coupled to the node N11, and the source of the NMOS transistor 114 is coupled to the node N12. The transmission gate 118 is controlled by the clock signals SCK and SCKB to generate a control signal S13 at the node N12 according to the signal at the node N11.

[0027] The input terminal of inverter 115 is coupled to node N12, and the output terminal of inverter 115 is coupled to node N13. Inverter 115 inverts control signal S13 at node N12 to generate another control signal S14 at node N13. Therefore, control signal S14 is the inversion of control signal S13. The input terminal of tri-state inverter 116 is coupled to node N13, and the output terminal of tri-state inverter 116 is coupled to node N12. Tri-state inverter 116 is controlled by clock signal SCKB at clock terminal CK. Only when clock signal SCKB is at high voltage level VH, tri-state inverter 116 performs signal inversion. Inverter 115 and tri-state inverter 116 form another latch circuit. The input terminal of inverter 117 is coupled to node N13, and the output terminal of inverter 117 is coupled to data output terminal Q of scan output flip-flop 1. The inverter 117 inverts the control signal S14 at the node N13 to generate an inverted signal. The inverted signal is sent to the data output terminal Q to be used as the data output signal S15. Therefore, the data output signal S15 is the inversion of the control signal S14.

[0028] The scan output stage circuit 12 accesses only one internal node of the control circuit 11 to provide only one control signal from the control circuit 11 to the scan output stage circuit 12. For example, the scan stage circuit 12 receives the control signal S14 obtained by processing the input signal S12, but does not receive the control signal S13 obtained by processing the input signal S12. Since the output stage circuit 12 has less influence on the control circuit 11, the control circuit 11 can be more robust.

[0029] like Figure 1 As shown, the scan output stage circuit 12 also receives the test enable signals STE and STEB. The scan output stage circuit 12 is controlled by the test enable signals STE and STEB to generate a scan output signal S16 according to only one control signal (eg, S14). The scan output signal S16 is sent to the scan output terminal SQ.

[0030] When the scan output trigger 1 operates in a test mode, the selection circuit 10 sends the test signal S11 to the output terminal of the selection circuit 10 as the input signal S12 according to the test enable signal STE at a high voltage level VH (STE=1), and the voltage level of the scan output signal S16 changes with the voltage level of the test signal S11.

[0031] When the scan output flip-flop 1 operates in normal mode, the selection circuit 10 sends the data signal S10 to the output terminal of the selection circuit 10 as the input signal S12 according to the test enable signal STE at the low voltage level VL (STE=0), and the scan output stage circuit 12 maintains the scan output signal S16 at a fixed voltage level (for example, a high voltage level or a low voltage level) regardless of the level of the data signal S10. A plurality of scan output flip-flops 1 can be applied in a scan chain, and a delay chain is added in the scan path between the scan output terminal SQ of one scan output flip-flop and the scan input terminal TD of the subsequent scan output flip-flop. In this case, the scan output stage circuit 12 in each scan output flip-flop maintains (gates) the scan output signal S16 of the scan output terminal SQ at a fixed voltage level in normal mode, which avoids the extra power consumption of the delay chain. Therefore, in Figure 1 In the illustrated embodiment, by providing a new scan output flip-flop architecture, the extra function of the delay chain is avoided in the normal mode, thereby ultimately reducing unnecessary power consumption of the scan chain.

[0032] Figure 2 FIG. 1 is a diagram showing a scan output stage circuit according to a first embodiment of the present invention. Figure 1 The scan output stage circuit 12 shown can be used Figure 2 The scanning output stage circuit 200 is implemented as shown. The scanning output stage circuit 200 includes three transistors 202, 204 and 206. Figure 2 , transistors 202 and 204 are PMOS transistors, and transistor 206 is an NMOS transistor. The gate (also referred to as a “control electrode”) of the PMOS transistor 204 is arranged to receive the test enable signal STE, the source of the PMOS transistor 204 is arranged to receive the reference voltage (e.g., the power supply voltage VDD having a relatively high voltage level) of the scan output stage circuit 200, and the drain of the PMOS transistor 204 is coupled to the scan output terminal SQ. The gate (also referred to as a “control electrode”) of the PMOS transistor 202 is arranged to receive the control signal S14, the source of the PMOS transistor 202 is arranged to receive the reference voltage (e.g., the power supply voltage VDD) of the scan output stage circuit 200, and the drain of the PMOS transistor 202 is coupled to the scan output terminal SQ. The gate (also referred to as “control electrode”) of the NMOS transistor 206 is arranged to receive the control signal S14 , the source of the NMOS transistor 206 is arranged to receive another test enable signal STEB, and the drain of the NMOS transistor 206 is coupled to the scan output terminal SQ.

[0033] In response to the test enable signal STE, the scan output trigger 1 can selectively operate in a normal mode or a test mode. When the test enable signal STE is at a high voltage level VH (STE=1), the scan output trigger 1 operates in the test mode. Since STE=1, the PMOS transistor 204 is turned off. Since the test enable signal STEB is the inversion of the test enable signal STE, the test enable signal STEB is at a low voltage level VL (STEB=0). Therefore, the PMOS transistor 202 and the NMOS transistor 206 form an inverter so that the voltage level of the scan output signal S16 changes with the inversion signal of the voltage level of the control signal S14, wherein the control signal S14 is obtained by processing the test signal S11.

[0034] When the test enable signal STE is at a low voltage level VL (STE=0), the scan output trigger 1 operates in a normal mode. Since the test enable signal STEB is the inversion of the test enable signal STE, the test enable signal STEB is at a high voltage level VH (STEB=1). Therefore, the PMOS transistor 202 and the NMOS transistor 206 do not form an inverter. Specifically, the voltage level at the scan output terminal SQ cannot be pulled down by any one of the PMOS transistor 202 and the NMOS transistor 206. In addition, since STE=0, the PMOS transistor 204 is turned on. Therefore, the voltage level on the scan output terminal SQ is pulled up by the power supply voltage VDD through the PMOS transistor 204. In this way, no matter what the voltage level of the data signal S10 is, the scan output stage circuit 200 maintains the scan output signal S16 at a fixed voltage level (e.g., VDD).

[0035] Figure 3 FIG. 1 is a diagram showing a scan output stage circuit according to a second embodiment of the present invention. Figure 1 The scan output stage circuit 12 shown can be used Figure 3 The scanning output stage circuit 300 is implemented as shown. The scanning output stage circuit 300 includes three transistors 302, 304 and 306. Figure 3In the embodiment of the present invention, transistor 302 is a PMOS transistor, and transistors 304 and 306 are NMOS transistors. The gate (also referred to as a "control electrode") of the NMOS transistor 306 is arranged to receive a test enable signal STEB, the source of the NMOS transistor 306 is arranged to receive a reference voltage (e.g., ground voltage GND) of the scan output stage circuit 300, and the drain of the NMOS transistor 306 is coupled to the scan output terminal SQ. The gate (also referred to as a "control electrode") of the NMOS transistor 304 is arranged to receive a control signal S14, the source of the NMOS transistor 304 is arranged to receive a reference voltage (e.g., ground voltage GND) of the scan output stage circuit 300, and the drain of the NMOS transistor 304 is coupled to the scan output terminal SQ. The gate (also referred to as a "control electrode") of the PMOS transistor 302 is arranged to receive a control signal S14, the source of the PMOS transistor 302 is arranged to receive another test enable signal STE, and the drain of the PMOS transistor 302 is coupled to the scan output terminal SQ.

[0036] In response to the test enable signal STE, the scan output trigger 1 can selectively operate in a normal mode or a test mode. When the test enable signal STE is at a high voltage level VH (STE=1), the scan output trigger 1 operates in the test mode. Since the test enable signal STEB is the inversion of the test enable signal STE, the test enable signal STEB is at a low voltage level VL (STEB=0). Therefore, the NMOS transistor 306 is turned off due to STEB=0. In addition, since the test enable signal STE is at a high voltage level VH (STE=1), the PMOS transistor 302 and the NMOS transistor 304 form an inverter, so that the voltage level of the scan output signal S16 changes with the inversion signal of the voltage level of the control signal S14, wherein the control signal S14 is obtained by processing the test signal S11.

[0037] When the test enable signal STE is at a low voltage level VL (STE=0), the scan output flip-flop 1 operates in a normal mode. Since the test enable signal STE is at a low voltage level VL (STE=0), the PMOS transistor 302 and the NMOS transistor 304 do not form an inverter. Specifically, the voltage level at the scan output terminal SQ is not pulled up by any of the PMOS transistor 302 and the NMOS transistor 304. In addition, since the test enable signal STEB is the inversion of the test enable signal STE, the NMOS transistor is turned on due to STEB=1. Therefore, the voltage level on the scan output terminal SQ is pulled down by the ground voltage GND through the NMOS transistor 306. In this way, no matter what the voltage level of the data signal S10 is, the scan output stage circuit 300 maintains the scan output signal S16 at a fixed voltage level (e.g., GND).

[0038] Each of the scan output stage circuits 200 and 300 requires only three additional transistors, so the area loss is small. In addition to the power saving feature, the proposed scan output stage circuit can also have other features. For example, the proposed scan output stage circuit can add a delay component to avoid violating the hold time in the scan path.

[0039] Figure 4 is a diagram of a scan output stage circuit according to a third embodiment of the present invention. The main difference between the scan output stage circuits 200 and 400 is that the scan output stage circuit 400 has at least one first delay component coupled between a reference voltage (e.g., VDD) and the source of the PMOS transistor 202, and at least one second delay component coupled between the test enable signal STEB and the source of the NMOS transistor 206. In this embodiment, each of the first delay components is implemented by a PMOS transistor, and each of the second delay components is implemented by an NMOS transistor. Figure 4 As shown, three PMOS transistors 402, 404 and 406 are connected in series between a reference voltage (eg, VDD) and the source of the PMOS transistor 202, wherein a gate (also referred to as a "control electrode") of each of the PMOS transistors 402, 404 and 406 is arranged to receive a test enable signal STEB.

[0040] like Figure 1As shown, the test enable signal STEB is generated from the inverter 140. Therefore, when the scan output flip-flop 1 operates in the test mode because the test enable signal STE is set to the high voltage level VH (STE=1), an NMOS transistor (not shown) in the inverter 140 is turned on so that the test enable signal STEB has a low voltage level VL (STEB=0). When the scan output flip-flop 1 operates in the test mode, the NMOS transistor (not shown) in the inverter 140 can also be used as a second delay element coupled to the source of the NMOS transistor 206. Referring to Figure 4 , two NMOS transistors 408 and 410 are connected in series between the test enable signal STEB and the source of the PMOS transistor 206, wherein the gate (also called “control electrode”) of each of the NMOS transistors 408 and 410 is arranged to receive the test enable signal STE.

[0041] When the test enable signal STE is at a high voltage level VH (STE=1), the scan output flip-flop 1 operates in a test mode. Because the PMOS transistors 402, 404, and 406 are turned on in response to STEB=0, a first delay component coupled between a reference voltage (e.g., VDD) and the source of the PMOS transistor 202 is enabled. Because the NMOS transistors 408 and 410 are turned on in response to STE=1, a second delay component coupled between the test enable signal STEB and the source of the NMOS transistor 206 is enabled. It should be noted that an additional second delay component is enabled by an NMOS transistor (not shown) in the inverter 140, wherein the NMOS is used to generate the test enable signal STEB. With the aid of the delay component, the scan output signal S16 output from one scan output flip-flop to the next scan output flip-flop can meet the hold time constraint.

[0042] When the test enable signal STE is at a low voltage level VL (STE=0), the scan output flip-flop 1 operates in a normal mode. Because the PMOS transistors 402, 404, and 406 are turned off in response to STEB=1, a first delay component between a reference voltage (e.g., VDD) and the source of the PMOS transistor 202 is disabled. Because the NMOS transistors 408 and 410 are turned off in response to STE=0, a second delay component coupled between the test enable signal STEB and the source of the NMOS transistor 206 is disabled. Since the PMOS transistor 204 is turned on so that the scan output signal S16 has a fixed voltage level (e.g., VDD), the holding function of the scan output stage circuit 400 in the normal mode is not affected by the PMOS transistors 402, 404, and 406 and the NMOS transistors 408 and 410.

[0043] Figure 5 is a diagram of a scan output stage circuit according to a fourth embodiment of the present invention. The main difference between the scan output stage circuits 200 and 500 is that the scan output stage circuit 500 has at least one first delay element coupled between the control signal S14 and the gate of the PMOS transistor 202 and at least one second delay element coupled between the control signal S14 and the gate of the NMOS transistor 206. In this embodiment, each first delay element is implemented by a PMOS transistor, and each second delay element is implemented by an NMOS transistor. Figure 5 As shown, the PMOS transistor 502 is coupled between the control signal S14 and the gate of the PMOS transistor 202, wherein the gate of the PMOS transistor 502 (also referred to as the "control electrode") is arranged to receive a reference voltage (e.g., GND). In addition, the NMOS transistor 504 is coupled between the control signal S14 and the gate of the NMOS transistor 206, wherein the gate of the NMOS transistor 504 (also referred to as the "control electrode") is arranged to receive another reference voltage (e.g., VDD).

[0044] When the test enable signal STE is at a high voltage level VH (STE=1), the scan output flip-flop 1 operates in the test mode. The gate of the PMOS transistor 202 receives the control signal S14 via a first delay element (turned on by the ground voltage GND) implemented by the PMOS transistor 502. The gate of the NMOS transistor 206 receives the control signal S14 via a second delay element (turned on by the power supply voltage VDD) implemented by the NMOS transistor 504. With the help of the delay element, the scan output signal S16 output from one scan output flip-flop to the next scan output flip-flop can meet the hold time limit.

[0045] When the test enable signal STE is at a low voltage level VL (STE=0), the scan output flip-flop 1 operates in a normal mode. Since the PMOS transistor 204 is turned on to make the scan output signal S16 have a fixed voltage level (e.g., VDD), the retention function of the scan output stage circuit 500 in the normal mode is not affected by the PMOS transistor 502 and the NMOS transistor 504.

[0046] Figure 6is a diagram of a scan output stage circuit according to a fifth embodiment of the present invention. The main difference between the scan output stage circuits 300 and 600 is that the scan output stage circuit 600 has at least one first delay component coupled between a reference voltage (e.g., GND) and the source of the NMOS transistor 304, and at least one second delay component coupled between the test enable signal STE and the source of the PMOS transistor 302. In this embodiment, each of the first delay components is implemented by an NMOS transistor, and each of the second delay components is implemented by a PMOS transistor. Figure 6 As shown, NMOS transistors 606, 608, and 610 are connected in series between a reference voltage (e.g., GND) and the source of NMOS transistor 304, wherein a gate (also referred to as a "control electrode") of each of NMOS transistors 606, 608, and 610 is arranged to receive a test enable signal STE. In addition, NMOS transistors 602 and 604 are connected in series between the test enable signal STE and the source of PMOS transistor 302, wherein a gate (also referred to as a "control electrode") of each of PMOS transistors 602 and 604 is arranged to receive a test enable signal STEB.

[0047] When the test enable signal STE is at a high voltage level VH (STE=1), the scan output flip-flop 1 operates in a test mode. Because the NMOS transistors 606, 608, and 610 are turned on in response to STE=1, a first delay component coupled between a reference voltage (e.g., GND) and the source of the NMOS transistor 304 is enabled. Because the PMOS transistors 602 and 604 are turned on in response to STEB=0, a second delay component coupled between the test enable signal STE and the source of the PMOS transistor 302 is enabled. With the help of the delay component, the scan output signal S16 output from one scan output flip-flop to the next scan output flip-flop can meet the hold time restriction.

[0048] When the test enable signal STE is at a low voltage level VL (STE=0), the scan output flip-flop 1 operates in a normal mode. Because the NMOS transistors 606, 608, and 610 are turned off in response to STE=0, the first delay component coupled between the reference voltage (e.g., GND) and the source of the NMOS transistor 304 is disabled. Because the PMOS transistors 602 and 604 are turned off in response to STEB=1, the second delay component coupled between the test enable signal STE and the source of the PMOS transistor 302 is disabled. Since the PMOS transistor 306 is turned on so that the scan output signal S16 has a fixed voltage level (e.g., GND), the holding function of the scan output stage circuit 600 in the normal mode is not affected by the PMOS transistors 602, 604 and the NMOS transistors 606, 608, and 610.

[0049] Figure 7 is a diagram of a scan output stage circuit according to a sixth embodiment of the present invention. The main difference between the scan output stage circuits 300 and 700 is that the scan output stage circuit 700 has at least one first delay element coupled between the control signal S14 and the gate of the PMOS transistor 302 and at least one second delay element coupled between the control signal S14 and the gate of the NMOS transistor 304. In this embodiment, each first delay element is implemented by a PMOS transistor, and each second delay element is implemented by an NMOS transistor. Figure 7 As shown, the PMOS transistor 702 is coupled between the control signal S14 and the gate of the PMOS transistor 302, wherein the gate of the PMOS transistor 702 (also referred to as the "control electrode") is arranged to receive a reference voltage (e.g., GND). In addition, the NMOS transistor 704 is coupled between the control signal S14 and the gate of the NMOS transistor 304, wherein the gate of the NMOS transistor 704 (also referred to as the "control electrode") is arranged to receive another reference voltage (e.g., VDD).

[0050] When the test enable signal STE is at a high voltage level VH (STE=1), the scan output flip-flop 1 operates in the test mode. The gate of the PMOS transistor 302 receives the control signal S14 via a first delay element (turned on by the ground voltage GND) implemented by the PMOS transistor 702. The gate of the NMOS transistor 304 receives the control signal S14 via a second delay element (turned on by the power supply voltage VDD) implemented by the NMOS transistor 704. With the help of the delay element, the scan output signal S16 output from one scan output flip-flop to the next scan output flip-flop can meet the hold time limit.

[0051] When the test enable signal STE is at a low voltage level VL (STE=0), the scan output flip-flop 1 operates in a normal mode. Since the NMOS transistor 306 is turned on to make the scan output signal S16 have a fixed voltage level (e.g., GND), the holding function of the scan output stage circuit 700 in the normal mode is not affected by the PMOS transistor 702 and the NMOS transistor 704.

[0052] As described above, the scan output stage circuit 12 is designed to have a hold function that is enabled in the normal mode to hold the scan output signal S16 at a fixed voltage level. In the test mode, the same concept can be applied to the data output signal S15 output from the data output terminal Q.

[0053] Figure 8 FIG. 1 is a diagram of another scan output trigger according to an embodiment of the present invention. Figure 8 As shown, the scan output trigger 800 includes a control circuit 811, a data output stage circuit 812, a scan output stage circuit 814, and the above-mentioned selection circuit 10, the signal generating circuit 13 and the clock generating circuit 14. Similar to the scan output trigger 1, the scan output trigger 800 has a data input terminal D, a scan input terminal TD, a test enable terminal TE, a clock input terminal CK, a data output terminal Q and a scan output terminal SQ. The control circuit 811 receives an input signal S12, wherein the data signal S10 is selected as the input signal S12 in the normal mode (STE=0), and the test signal S11 is selected as the input signal S12 in the test mode (STE=1). The control circuit 811 is controlled by the clock signals SCK and SCKB to generate control signals S13 and S14, wherein the control signal S14 is the inversion of the control signal S13. In Figure 8 In the embodiment of the present invention, the control circuit 811 includes the aforementioned tri-state inverters 110, 112 and 116, inverters 111 and 115, and a transmission gate 118. Since a person skilled in the art can easily understand the details of the control circuit 811 after reading the above paragraphs on the control circuit 11, similar descriptions are omitted here for the sake of brevity.

[0054] In one exemplary design, the scan output stage circuit 814 may be the scan output stage circuit 12, which may be implemented using one of the scan output stage circuits 200, 300, 400, 500, 600, and 700. For example, the scan output stage circuit 814 receives only one of the control signals S13 and S14. In another exemplary design, the scan output stage circuit 814 may be different from the scan output stage circuit 12. For example, both the control signals S13 and S14 are received by the scan output stage circuit 814. In fact, any scan output flip-flop using the proposed data output stage circuit 812 is within the scope of the present invention.

[0055] In this embodiment, only one internal node of the control circuit 811 is accessed by the data output stage circuit 812, so that only one control signal (eg, S14) is provided from the control circuit 811 to the data output stage circuit 812. Figure 8 As shown, the data output stage circuit 812 is coupled to the node N13 for receiving the control signal S14, and also receives the test enable signals STE and STEB. The data output stage circuit 812 is controlled by the test enable signals STE and STEB to generate the data output signal S15 only according to one control signal (e.g., S14) received from the control circuit 811. The data output signal S15 is sent to the data output terminal Q.

[0056] When the scan output trigger 800 operates in normal mode, the selection circuit 10 sends the data signal S10 to the output terminal of the selection circuit 10 as the input signal S12 according to the test enable signal STE (STE=0) at the low voltage level VL, and the voltage level of the data output signal S15 varies with the voltage level of the data signal S10.

[0057] When the scan output flip-flop 800 operates in the test mode, the selection circuit 10 sends the test signal S11 to the output terminal of the selection circuit 10 as the input signal S12 according to the test enable signal STE (STE=1) at the high voltage level VH, and the data output stage circuit 812 keeps the data output signal S15 at a fixed voltage level (e.g., a high voltage level or a low voltage level) regardless of the voltage level of the signal S11. Multiple scan output flip-flops 800 can be applied in the scan chain, and a combinational logic circuit is added in the data path between the data output terminal Q of one scan output flip-flop and the data input terminal D of the subsequent scan output. In this case, the data output stage circuit 812 in each scan output flip-flop keeps the data output signal S15 of the data output terminal Q at a fixed voltage level in the test mode, which avoids the extra power consumption of the combinational logic circuit. Therefore, in the test mode, the data output stage circuit 812 in each scan output flip-flop keeps the data output signal S15 of the data output terminal Q at a fixed voltage level, which avoids the extra power consumption of the combinational logic circuit. Therefore, in the test mode, the data output stage circuit 812 in each scan output flip-flop keeps the data output signal S15 of the data output terminal Q at a fixed voltage level, which avoids the extra power consumption of the combinational logic circuit. Figure 8In the illustrated embodiment, by providing a new scan output flip-flop architecture, the extra functions of the combinational logic circuit are avoided in the scan mode, thereby ultimately reducing unnecessary power consumption of the scan chain.

[0058] Fig. 9 FIG. 1 is a diagram showing a data output stage circuit according to a first embodiment of the present invention. Figure 8 The data output stage circuit 812 shown in FIG. 8 can be used Fig. 9 The data output stage circuit 900 shown in FIG. 9 is implemented as shown in FIG. The data output stage circuit 900 includes three transistors 902, 904 and 906. Fig. 9 In the illustrated embodiment, transistors 902 and 904 are PMOS transistors, and transistor 906 is an NMOS transistor. The gate (also referred to as a "control electrode") of the PMOS transistor 904 is arranged to receive the test enable signal STEB, the source of the PMOS transistor 904 is arranged to receive the reference voltage (e.g., the power supply voltage VDD, having a relatively high voltage level) of the data output stage circuit 900, and the drain of the PMOS transistor 904 is coupled to the data output terminal Q. The gate (also referred to as a "control electrode") of the PMOS transistor 902 is coupled to the node N13 for receiving the control signal S14, the source of the PMOS transistor 902 is arranged to receive the reference voltage (e.g., the power supply voltage VDD) of the data output stage circuit 900, and the drain of the PMOS transistor 902 is coupled to the data output terminal Q. The gate (also called “control electrode”) of the NMOS transistor 906 is coupled to the node N13 for receiving the control signal S14 , the source of the NMOS transistor 906 is arranged to receive another test enable signal STE , and the drain of the NMOS transistor 906 is coupled to the data output terminal Q .

[0059] In response to the test enable signal STE, the scan output flip-flop 800 can selectively operate in a normal mode or a test mode. When the test enable signal STE is at a low voltage level VL (STE=0), the scan output flip-flop 800 operates in a normal mode. Since the test enable signal STEB is the inversion of the test enable signal STE, the PMOS transistor 904 is turned off due to STEB=1. Since the test enable signal STE is at a low voltage level VL (STE=0), the PMOS transistor 902 and the NMOS transistor 906 form an inverter, which is used as a gate included in the Figure 1 The inverter 117 in the control circuit 11 of the scan output flip-flop shown in FIG. Therefore, the voltage level of the data output signal S15 changes with the inverted signal of the voltage level of the control signal S14, wherein the control signal S14 is obtained by processing the data signal S10. In addition, due to Figure 1 The inverter 117 shown can be composed of Fig. 9As shown, the data output stage circuit 900 is implemented with the PMOS transistor 902 and the NMOS transistor 906 , requiring only one additional transistor (ie, the PMOS transistor 904 ), thus having a very low area penalty.

[0060] When the test enable signal STE is at a high voltage level VH (STE=1), the scan output flip-flop 800 operates in a test mode. Since the test enable signal STE is at a high voltage level VH (STE=1), the PMOS transistor 902 and the NMOS transistor 906 do not form an inverter. Specifically, the voltage level at the data output terminal Q is not pulled down by any of the PMOS transistor 902 and the NMOS transistor 906. In addition, since the test enable signal STEB is the inversion of the test enable signal STE, the PMOS transistor is turned on due to STEB=0. Therefore, the voltage level on the data output terminal Q is pulled up by the power supply voltage VDD through the PMOS transistor 904. In this way, the data output stage circuit 900 maintains the data output signal S15 at a fixed voltage level (e.g., VDD) regardless of the voltage level of the test signal S11.

[0061] Fig.10 FIG. 1 is a diagram showing a data output stage circuit according to a second embodiment of the present invention. Figure 8 The data output stage circuit 812 shown in FIG. 8 can be used Fig.10 The data output stage circuit 1000 shown in FIG. 1000 includes three transistors 1002, 1004, and 1006. Fig.10 , transistor 1002 is a PMOS transistor, and transistors 1004 and 1006 are NMOS transistors. The gate (also referred to as a “control electrode”) of the NMOS transistor 1006 is arranged to receive a test enable signal STE, the source of the NMOS transistor 1006 is arranged to receive a reference voltage (e.g., ground voltage GND) of the data output stage circuit 1000, and the drain of the NMOS transistor 1006 is coupled to the data output terminal Q. The gate (also referred to as a “control electrode”) of the NMOS transistor 1004 is coupled to a node N13 for receiving a control signal S14, the source of the NMOS transistor 1004 is arranged to receive a reference voltage (e.g., ground voltage GND) of the data output stage circuit 1000, and the drain of the NMOS transistor 1004 is coupled to the data output terminal Q. The gate (also called “control electrode”) of the PMOS transistor 1002 is coupled to the node N13 for receiving the control signal S14 , the source of the PMOS transistor 1002 is arranged to receive another test enable signal STEB , and the drain of the PMOS transistor 1002 is coupled to the data output terminal Q .

[0062] In response to the test enable signal STE, the scan output flip-flop 800 can selectively operate in a normal mode or a test mode. When the test enable signal STE is at a low voltage level VL (STE=0), the scan output flip-flop 800 operates in a normal mode. The NMOS transistor 1006 is turned off due to STE=0. Since the test enable signal STEB is the inversion of the test enable signal STE, the PMOS transistor 1002 and the NMOS transistor 1004 form an inverter, which is used as a Figure 1 The inverter 117 in the control circuit 11 of the scan output flip-flop 1 shown in FIG. Therefore, the voltage level of the data output signal S15 changes with the inverted signal of the voltage level of the control signal S14, wherein the control signal S14 is obtained by processing the data signal S10. In addition, due to Figure 1 The inverter 117 shown can be used Fig.10 The data output stage circuit 1000 is implemented with the PMOS transistor 1002 and the NMOS transistor 1004 shown in FIG. 1 , and only one additional transistor (ie, the PMOS transistor 1006 ) is required, thus having a very low area penalty.

[0063] When the test enable signal STE is at a high voltage level VH (STE=1), the scan output flip-flop 800 operates in a test mode. Since the test enable signal STEB is the inversion of the test enable signal STE, the PMOS transistor 1002 and the NMOS transistor 1004 do not form an inverter. Specifically, the voltage level at the data output terminal Q is not pulled up by any of the PMOS transistor 1002 and the NMOS transistor 1004. In addition, the NMOS transistor 1006 is turned on due to STE=1. Therefore, the voltage level at the data output terminal Q is pulled down by the ground voltage GND through the NMOS transistor 1006. In this way, the data output stage circuit 1000 maintains the data output signal S15 at a fixed voltage level (e.g., GND) regardless of the voltage level of the test signal S11.

[0064] Although the present invention is disclosed as above with preferred embodiments, it is not intended to limit the scope of the present invention. Any person skilled in the art may make some changes and modifications without departing from the spirit and scope of the present invention. Therefore, the protection scope of the present invention shall be determined by the definition of the claims.

Claims

1. A scan output trigger, characterized in that: Used to output a scan output signal at a scan output terminal of the scan output trigger, comprising: A selection circuit comprising a first input terminal and a second input terminal, wherein the selection circuit is controlled by a first test enable signal to transmit a data signal on the first input terminal or a test signal on the second input terminal to an output terminal of the selection circuit as an input signal; a control circuit coupled to the output terminal of the selection circuit, the control circuit being controlled by a first clock signal and a second clock signal to generate a first control signal and a second control signal according to the input signal, wherein the second clock signal is an inversion of the first clock signal, and the second control signal is an inversion of the first control signal; and a scan output stage circuit, wherein the scan output stage circuit receives only one of the first control signal and the second control signal, the scan output stage circuit is controlled by the first test enable signal and the second test enable signal to generate the scan output signal according to only one of the first control signal and the second control signal, wherein the second test enable signal is an inversion of the first test enable signal; Wherein, the scan output stage circuit comprises: a first transistor of the first type comprising a control electrode arranged to receive the first test enable signal, a first electrode arranged to receive a reference voltage of the scan output flip-flop, and a second electrode coupled to the scan output terminal; a second first type transistor comprising a control electrode arranged to receive only one of the first control signal and the second control signal, a first electrode arranged to receive the reference voltage, and a second electrode coupled to the scan output terminal; and A second type transistor includes a control electrode arranged to receive only one of the first control signal and the second control signal, a first electrode arranged to receive the second test enable signal, and a second electrode coupled to the scan output terminal.

2. The scan output trigger as claimed in claim 1, characterized in that When the scan output trigger operates in normal mode, the selection circuit sends the data signal to the output terminal of the selection circuit as the input signal according to the first test enable signal, and the scan output stage circuit maintains the scan output signal at a fixed voltage level regardless of the voltage level of the data signal.

3. The scan output trigger as claimed in claim 1, wherein: The second type of transistor is implemented by an N-type transistor, the first type of transistor is implemented by a P-type transistor, and the reference voltage is a power supply voltage of the scan output trigger.

4. The scan output trigger as claimed in claim 1, wherein: The scan output stage circuit also includes: at least one first delay element coupled between the first electrode of the second first type transistor and the reference voltage; and At least one second delay element is coupled between the first electrode of the second type transistor and the second test enable signal.

5. The scan output trigger as claimed in claim 4, characterized in that The second type transistor is a first second type transistor, each first delay component included in the at least one first delay component is implemented by a third first type transistor, the third first type transistor includes a control electrode arranged to receive the second test enable signal, and each second delay component included in the at least one second delay component is implemented by a second second type transistor, the second second type transistor includes a control electrode arranged to receive the first test enable signal.

6. The scan output trigger as claimed in claim 5, characterized in that: The second type of transistor is implemented by an N-type transistor, the first type of transistor is implemented by a P-type transistor, and the reference voltage is a power supply voltage of the scan output trigger.

7. The scan output trigger as claimed in claim 1, wherein: The scan output stage circuit also includes: at least one first delay element coupled between the control electrode of the second first-type transistor and one of the first control signal and the second control signal; and At least one second delay element is coupled between the control electrode of the second type transistor and one of the first control signal and the second control signal.

8. The scan output trigger as claimed in claim 7, characterized in that: The second type transistor is a first second type transistor, the reference voltage is a first reference voltage, each first delay component included in the at least one first delay component is implemented by a third first type transistor, the third first type transistor includes a second reference voltage control electrode arranged to receive the scan output trigger, and each second delay component included in the at least one second delay component is implemented by a second second type transistor, the second second type transistor includes a control electrode arranged to receive the first reference voltage.

9. The scan output trigger as claimed in claim 8, characterized in that: The second type of transistor is implemented by an N-type transistor, the first type of transistor is implemented by a P-type transistor, the first reference voltage is a power supply voltage of the scan output trigger, and the second reference voltage is a ground voltage of the scan output trigger.

10. A scan output trigger, characterized in that: Used to output a scan output signal at a scan output terminal of the scan output trigger, comprising: A selection circuit comprising a first input terminal and a second input terminal, wherein the selection circuit is controlled by a first test enable signal to transmit a data signal on the first input terminal or a test signal on the second input terminal to an output terminal of the selection circuit as an input signal; a control circuit coupled to the output terminal of the selection circuit, the control circuit being controlled by a first clock signal and a second clock signal to generate a first control signal and a second control signal according to the input signal, wherein the second clock signal is an inversion of the first clock signal, and the second control signal is an inversion of the first control signal; and a scan output stage circuit, wherein the scan output stage circuit receives only one of the first control signal and the second control signal, the scan output stage circuit is controlled by the first test enable signal and the second test enable signal to generate the scan output signal according to only one of the first control signal and the second control signal, wherein the second test enable signal is an inversion of the first test enable signal; Wherein, the scan output stage circuit comprises: a first transistor of the first type, comprising a control electrode arranged to receive the second test enable signal, a first electrode arranged to receive a reference voltage of the scan output flip-flop, and a second electrode coupled to the scan output terminal; a second first type transistor comprising a control electrode arranged to receive only one of the first control signal and the second control signal, a first electrode arranged to receive the reference voltage, and a second electrode coupled to the scan output terminal; and A second type transistor includes a control electrode arranged to receive only one of the first control signal and the second control signal, a first electrode arranged to receive the first test enable signal, and a second electrode coupled to the scan output terminal.

11. The scan output trigger as claimed in claim 10, characterized in that: The second type transistor is implemented by a P-type transistor, the first type transistor is implemented by an N-type transistor, and the reference voltage is a ground voltage of the scan output flip-flop.

12. The scan output trigger as claimed in claim 10, characterized in that: The scan output stage circuit also includes: at least one first delay element coupled between the first electrode of the second first type transistor and the reference voltage; and At least one second delay element is coupled between the first electrode of the second type transistor and the first test enable signal.

13. The scan output trigger as claimed in claim 12, characterized in that: The second type transistor is a first second type transistor, each first delay component included in the at least one first delay component is implemented by a third first type transistor, the third first type transistor includes a control electrode arranged to receive the first test enable signal, and each second delay component included in the at least one second delay component is implemented by a second second type transistor, the second second type transistor includes a control electrode arranged to receive the second test enable signal.

14. The scan output trigger as claimed in claim 13, characterized in that: The second type of transistor is implemented by a P-type transistor, the first type of transistor is implemented by an N-type transistor, and the reference voltage is a ground voltage of the scan output trigger.

15. The scan output trigger as claimed in claim 10, characterized in that The scan output stage circuit also includes: at least one first delay element coupled between the control electrode of the second first-type transistor and one of the first control signal and a second control signal; and At least one second delay element is coupled between a control electrode of the second type transistor and one of the first control signal and the second control signal.

16. The scan output trigger as claimed in claim 15, characterized in that: The second type transistor is a first second type transistor, the reference voltage is a first reference voltage, each first delay component included in the at least one first delay component is implemented by a third first type transistor, the third first type transistor includes a control electrode arranged to receive the second reference voltage of the scan output trigger, and each second delay component included in the at least one second delay component is implemented by a second second type transistor, the second second type transistor includes a control electrode arranged to receive the first reference voltage.

17. The scan output flip-flop of claim 16, wherein: The second type of transistor is implemented by a P-type transistor, the first type of transistor is implemented by an N-type transistor, the first reference voltage is a ground voltage of the scan output trigger, and the second reference voltage is a power supply voltage of the scan output trigger.

18. A scan output trigger, characterized in that: The method is used to output a data output signal at a data output terminal of the scan output trigger and to output a scan output signal at a scan output terminal of the scan output trigger, comprising: A selection circuit comprising a first input terminal and a second input terminal, wherein the selection circuit is controlled by a first test enable signal to transmit a data signal on the first input terminal or a test signal on the second input terminal to an output terminal of the selection circuit as an input signal; a control circuit coupled to the output terminal of the selection circuit, the control circuit being controlled by a first clock signal and a second clock signal to generate a first control signal and a second control signal according to the input signal, wherein the second clock signal is an inversion of the first clock signal, and the second control signal is an inversion of the first control signal; a data output stage circuit, wherein the data output stage circuit receives only one of the first control signal and the second control signal, and the data output stage circuit is controlled by the first test enable signal and the second test enable signal to generate the data output signal according to only one of the first control signal and the second control signal, wherein the second test enable signal is the inversion of the first test enable signal; a scan output stage circuit, wherein the scan output stage circuit receives only one of the first control signal and the second control signal, and the scan output stage circuit is controlled by the first test enable signal and the second test enable signal to generate the scan output signal according to only one of the first control signal and the second control signal; Wherein, the scan output stage circuit comprises: a first transistor of the first type comprising a control electrode arranged to receive the first test enable signal, a first electrode arranged to receive a reference voltage of the scan output flip-flop, and a second electrode coupled to the scan output terminal; a second first type transistor comprising a control electrode arranged to receive only one of the first control signal and the second control signal, a first electrode arranged to receive the reference voltage, and a second electrode coupled to the scan output terminal; and a transistor of a second type comprising a control electrode arranged to receive only one of the first control signal and the second control signal, a first electrode arranged to receive the second test enable signal, and a second electrode coupled to the scan output terminal; Alternatively, the scan output stage circuit comprises: a first transistor of the first type, comprising a control electrode arranged to receive the second test enable signal, a first electrode arranged to receive a reference voltage of the scan output flip-flop, and a second electrode coupled to the scan output terminal; a second first type transistor comprising a control electrode arranged to receive only one of the first control signal and the second control signal, a first electrode arranged to receive the reference voltage, and a second electrode coupled to the scan output terminal; and A second type transistor includes a control electrode arranged to receive only one of the first control signal and the second control signal, a first electrode arranged to receive the first test enable signal, and a second electrode coupled to the scan output terminal.

19. The scan output trigger as claimed in claim 18, characterized in that: When the scan output trigger operates in the test mode, the selection circuit sends the test signal to the output terminal of the selection circuit as an input signal according to the first test enable signal, and the data output stage circuit maintains the data output signal at a fixed voltage level regardless of the voltage level of the test signal.

20. The scan output flip-flop of claim 18, wherein: The data output stage circuit comprises: a first transistor of the first type comprising a control electrode arranged to receive the second test enable signal, a first electrode arranged to receive the reference voltage of the scan output flip-flop, and a second electrode coupled to the data output terminal; a second first type transistor comprising a control electrode arranged to receive one of the first control signal and the second control signal, a first electrode arranged to receive the reference voltage, and a second electrode coupled to the data output terminal; and A second type transistor includes a control electrode arranged to receive one of the first control signal and the second control signal, a first electrode arranged to receive the first test enable signal, and a second electrode coupled to the data output terminal.

21. The scan output trigger as claimed in claim 20, characterized in that The second type transistor of the data output stage circuit is implemented by an N-type transistor, the first type transistor of the data output stage circuit is implemented by a P-type transistor, and the reference voltage is a power supply voltage of the scan output flip-flop.

22. The scan output flip-flop of claim 18, wherein: The data output stage circuit comprises: a first transistor of the first type comprising a control electrode arranged to receive the first test enable signal, a first electrode arranged to receive a reference voltage of the scan output flip-flop, and a second electrode coupled to the data output terminal; a second first type transistor comprising a control electrode arranged to receive the control signal, a first electrode arranged to receive the reference voltage, and a second electrode coupled to the data output terminal; and A second type transistor includes a control electrode arranged to receive the control signal, a first electrode arranged to receive the second test enable signal, and a second electrode coupled to the data output terminal.

23. The scan output trigger as claimed in claim 22, characterized in that The second type transistor of the data output stage circuit is implemented by a P-type transistor, the first type transistor of the data output stage circuit is implemented by an N-type transistor, and the reference voltage is a ground voltage of the scan output flip-flop.

Citation Information

Patent Citations

  • Scan flip-flop with internal latency for scan input

    CN101720527A

  • Scan test circuit with scan clock

    CN102914738A

  • Scan chain trigger capable of tolerating soft errors

    CN103391102A

  • Low-power scanning trigger unit

    CN103576082A

  • Three-stage pseudo single-phase clock trigger with scanning structure

    CN105071789A