Test trimming circuit with single input port
By designing a test and trimming circuit with a single input port, one port of the finished integrated circuit is used to implement the trimming function, which solves the problems of complex packaging pins and increased testing difficulty in integrated circuit design, improves integration and correction efficiency, and is suitable for High-precision integrated chip.
Patent Information
- Application Number
- CN202410963004.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-18
- Publication Date
- 2024-09-27
AI Technical Summary
Under the trend of intelligence, refinement, and miniaturization, existing integrated circuit designs have complicated packaging pins and increased testing difficulty. There is a lack of efficient single-input port testing and trimming circuit solutions.
Design a single-input port test and trimming circuit. Through the connection of the first circuit, the second circuit, the third circuit, the fourth circuit and the fifth circuit, a port of the finished integrated circuit is used to realize the trimming function, including burn-in. Complete the identification, reset signal identification, pulse width identification, burning code registration and address bit decoding, and use the field effect transistor matrix to replace the switch array to realize the burning and status reading of the fuse.
It improves the integration level of integrated circuits and reduces the difficulty of testing. It is suitable for integrated chips that do not have standard communication ports and have fewer ports but have many versions and high precision, achieving efficient correction of the parameter matrix to be modified.
Smart Images

Figure CN118713657A
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of circuit design, and in particular to a test and adjustment circuit with a single input port. Background Art
[0002] Finished product adjustment technology is used to correct high-precision parameters in integrated circuits and solidify the functions of various versions of finished products. As the electronics market pursues the intelligentization, refinement and miniaturization of systems, the precision of integrated circuit performance parameters is getting higher and higher, more and more parameters need to be adjusted, and the package pins are becoming more and more complex. Summary of the invention
[0003] In view of the above-mentioned deficiencies in current integrated circuit design, the present invention provides a test and adjustment circuit with a single input port, which can adjust the integrated circuit product by using only one port of the integrated circuit product, thereby improving the circuit integration, reducing the circuit testing difficulty, and making the packaging pins simpler.
[0004] To achieve the above object, the embodiments of the present invention adopt the following technical solutions:
[0005] A test and adjustment circuit with a single input port is used for testing and adjusting a module to be adjusted. The test and adjustment circuit includes an identification circuit, a register and a latch. The test and adjustment circuit includes a first circuit, a second circuit, a third circuit, a fourth circuit and a fifth circuit. The first circuit input end has only one input interface to realize the input of a test code and a burn-in code. The first circuit output end is connected to the third circuit, the fourth circuit and the fifth circuit input ends. The third circuit and the fourth circuit output ends are connected to the fifth circuit input end. The fifth circuit output end is connected to the module to be adjusted. The first circuit realizes the recognition of burn-in completion and burn-in enable. The second circuit realizes the recognition of a reset signal. The third circuit realizes the recognition of a pulse width. The fifth circuit realizes the burn-in code storage function. The sixth circuit realizes the address bit burn-in code decoding and the burn-in enable switch function.
[0006] According to one aspect of the present invention, the input interface inputs control codes in series, and the code categories and code values are distinguished by the code signal level value, code signal pulse width, and the number of code square waves.
[0007] According to one aspect of the present invention, the circuit performs time-sharing adjustment on multiple adjustment parameters without power failure, and each adjustment includes a complete adjustment control process.
[0008] According to one aspect of the present invention, the first circuit is a burn-in adjustment completion identification circuit and a burn-in adjustment enable identification circuit. One end of the resistor in the first circuit is respectively connected to the input end of the field effect tube and the capacitor to form a negative voltage comparator, and the negative voltage is detected in this way; the output end of the negative voltage comparator is then connected to the input end of the reset signal register to realize the burn-in adjustment completion and burn-in adjustment enable identification functions; according to the state of all trimming completion of the integrated chip, it is determined whether the output logic of the first circuit is controlled by the input signal or the output logic is locked and not controlled by the input signal.
[0009] According to one aspect of the present invention, the second circuit is a reset signal recognition circuit, and the trimmed input signal from the first circuit detects the start bit after being delayed by a low-pass filter signal; the output logic is determined by the input power-on reset signal and the single trimming completion reset signal, and a high level code is input after the power-on reset is completed or the single trimming is completed to lock the output signal logic.
[0010] According to one aspect of the present invention, the third circuit is a pulse width recognition circuit and an address bit storage circuit. The adjusted input signal enters the shift register after being filtered by a latch and a rising edge triggered low-pass filter, so that the address code as a whole moves one position to the right; the address bit circuit latches the input signal to determine the input of the address code or locks the address bit register.
[0011] According to one aspect of the present invention, the fourth circuit is a latch and burn-in code register circuit, the trimming input signal and the burn-in code circuit latch input signal are input into the burn-in code register after passing through the latch; the high and low levels of the trimming circuit reset signal are determined according to the start code state; the burn-in code input is determined or the burn-in code register is locked by the burn-in code circuit latch input signal; the square wave input in the trimming input signal is used as the clock trigger signal of the burn-in code register, and thereby triggers the logic flip of the register.
[0012] According to one aspect of the present invention, the burn-in code register adopts a binary divider structure, and outputs a fixed code value after the reset signal of the trimming circuit completes initialization; under the trigger of the input square wave in the trimming input signal, the binary divider performs multiple flipping actions, and the output code value increases by the number of inversion actions, and the output binary code result corresponds to the number of input square waves in the input signal.
[0013] According to one aspect of the present invention, the fifth circuit is a field effect transistor matrix column, in which field effect transistors are used to replace switches, and field effect transistor arrays are used to replace switch arrays. The fuse burning and adjustment action is completed by the field effect transistors and the field effect transistor arrays being turned on at the same time through control signals, and the fuse status can be read at the power-on reset stage and the burning and adjustment stage.
[0014] According to one aspect of the present invention, the test and adjustment circuit has a single input interface with a multiplexed output or is dedicated to adjustment.
[0015] The advantages of the implementation of the present invention are as follows: through the connection of the first circuit, the second circuit, the third circuit, the fourth circuit and the fifth circuit, only one pin of the integrated circuit product is needed to realize the adjustment of the integrated circuit product and the correction control of the internal parameter matrix to be adjusted, thereby improving the integration of the circuit and reducing the difficulty of circuit testing. It is suitable for integrated chips that have no standard communication ports, have fewer ports, but have various versions and higher precision. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings required for use in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0017] Figure 1 It is a structural schematic diagram of a test and adjustment circuit with a single input port according to the present invention;
[0018] Figure 2 is a structural schematic diagram of the first circuit of the present invention;
[0019] Figure 3 is a structural schematic diagram of the second circuit of the present invention;
[0020] Figure 4 is a structural schematic diagram of the third circuit of the present invention;
[0021] Figure 5 is a structural schematic diagram of a fourth circuit according to the present invention;
[0022] Figure 6 is a structural schematic diagram of the fifth circuit of the present invention; DETAILED DESCRIPTION
[0023] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0024] Embodiment 1:
[0025] like Figure 1A test and adjustment circuit with a single input port is shown, the test and adjustment circuit includes an identification circuit, a memory and a latch, and is characterized in that the first circuit input end in the test and adjustment circuit has only one input interface for inputting a test code and a burn-in code, the first circuit output end is connected to the third circuit, the fourth circuit and the fifth circuit input ends, the third circuit and the fourth circuit output ends are connected to the fifth circuit input end, and the fifth circuit output end is connected to the module to be adjusted; the first circuit realizes the identification of burn-in completion and burn-in enable, the second circuit realizes the identification of a reset signal, the third circuit realizes the identification of a pulse width, the fifth circuit realizes the burn-in code storage function, and the sixth circuit realizes the address bit burn-in code decoding and the burn-in enable switch function.
[0026] In this embodiment, the single input interface of the test and adjustment circuit is multiplexed for output or dedicated for adjustment; the input interface serially inputs the control code, and the code category and code value are distinguished by the code signal level value, code signal pulse width, and number of code square waves; multiple adjustment parameters are adjusted in time without power failure, and each adjustment includes a complete adjustment control process.
[0027] like Figure 2 As shown, the first circuit includes a burn-in adjustment completion identification circuit and a burn-in adjustment enable identification circuit. The input signal 'Trim_end' comes from the dedicated burn-in adjustment state identification fuse state logic output: before the integrated chip completes all trimming, this input logic bit is '1', and the output logic in circuit 1 is controlled by the input signals 'Trim_code_input' and 'Reset_Trim'; when the integrated chip completes all trimming, this input logic bit is '0', and the output logic in circuit 1 is locked and is not controlled by the input signals 'Trim_code_input' and 'Reset_Trim'.
[0028] 'R1', 'NM1', 'NM2', 'NM3', 'NM4', 'PM1', 'PM2', 'PM3', and 'cap1' form a negative voltage comparator. If 'Trim_code_input' is at -0.3V level, a logic '0' output will be obtained at the upper plate node of cap1, and filtered through the cap1 capacitor and current sink NM3 to eliminate glitch interference.
[0029] The input signal 'Reset_Trim' is the reset signal of the entire trimming circuit. Before the start code is valid, 'Reset_Trim' is at a low level. After the start code is valid and before the trimming enable code ends, 'Reset_Trim' is at a high level.
[0030] like Figure 3As shown, the second circuit includes a reset signal recognition circuit. The input signal 'POR' is a power-on reset signal. During power-on reset, the output logic '0', and after the power-on reset is completed, the output logic '1'. The input signal 'ReN_Cr' is a single trimming completion reset signal. During a single trimming, the output logic '0', and after the single trimming is completed, the output logic '1'. After the power-on reset is completed or the single trimming is completed, 'Trim_code_input' inputs a high-level code with a duration greater than 1ms, and this circuit sets the output signal 'Reset_Trim' to '1' logic and locks it until 'Reset_Trim' is set to '0' after this trimming is completed.
[0031] like Figure 4 As shown, the third circuit includes a pulse width recognition circuit and an n-bit address bit memory circuit. The input signal 'Lock_addcodein' is the input signal latched by the address bit circuit. When the logic is '0', the input of the address code is allowed, and when the logic is '1', the address bit register is locked. When the input pulse width of the input signal 'Trim_code_input' is ≥0.4ms, it is filtered by the rising edge triggering low-pass filter, inputs logic '1' to the shift register 'DF0' and causes the address code to shift right by one position as a whole; when the input pulse width of the input signal 'Trim_code_input' is ≤0.1ms, it is filtered by the rising edge triggering low-pass filter, inputs logic '0' to the shift register 'DF0' and causes the address code to shift right by one position as a whole. The input signal 'Reset_Trim' is the reset signal of the entire trimming circuit. Before the start code is valid, 'Reset_Trim' is low level, and after the start code is valid and before the burn-in enable code ends, 'Reset_Trim' is high level.
[0032] like Figure 5 As shown, the fourth circuit includes a latch and a u-bit trim code register circuit. The input signal 'Reset_Trim' is the reset signal of the entire trim circuit. Before the start code is valid, 'Reset_Trim' is a low level. After the start code is valid and before the trim enable code ends, 'Reset_Trim' is a high level. The input signal 'Lock_trimcodein' is the latch input signal of the u-bit trim code circuit. When it is logical '0', the input of the trim code is allowed. When it is logical '1', the trim code register is locked. In this example, the input signal 'Trim_code_input' inputs a square wave, and the input square wave serves as the clock trigger signal of the u-bit trim code register to trigger the logic flip of this register. In this example, the u-bit trim code register adopts a binary divider structure. Its output binary code is 'Cr …Cr <1> Cr <0> '. After the input signal 'Reset_Trim' is initialized, the output code value is '0...00'. Under the trigger of the input signal 'Trim_code_input' input square wave, the divider performs 2x flipping actions, and the output code value increases from '0' to '2x'. The output binary code result is the number of square waves of the input signal 'Trim_code_input'.
[0033] like Figure 6 As shown, the fifth circuit is Ar in the example circuit matrix <r>Column, that is, the circuit corresponding to the address code value r. This example implements the address bit r burn-in code decoding circuit, fuse array, burn-in enable switch, pre-scan and burn-in code storage circuit functions. In this example, the switch 'KrP' is replaced by the PMOS tube 'PMr', and the NMOS tube array 'NMr1<0,u>' replaces the switch 'KrN' array. In this example, the burn-in action of the fuse is completed by the PMOS tube 'PMr' and the NMOS tube array 'NMr1<0,u>' being turned on at the same time through the control signal 'EnN_Trim'. When the NMOS tube 'NMr1<0,u>' of a certain x-way in the r array is turned on <x>' is turned on, then there is a large enough current to blow the fuse Fr <x>The current flows through the fuse Fr <x>The r array is selected by the address code. For example, in this example, if the address code value is 'r', the r array is selected. <x>'Whether it is turned on or not is determined by the burn-in adjustment code Trim_code<0,u>. For example, if the burn-in adjustment code value is 'xtr', the corresponding trimming step number is 'xtr', and the corresponding NMOS tube 'NMr1<0,u>' in the corresponding NMOS tube array 'NMr1<0,u>' <x>The NMOS transistor array 'NMr2' is controlled by the input signal 'En_read' to read the fuse status during the power-on reset stage and the burn-out stage.
[0034] The advantages of the implementation of the present invention are as follows: through the connection of the first circuit, the second circuit, the third circuit, the fourth circuit and the fifth circuit, only one pin of the integrated circuit product is needed to realize the adjustment of the integrated circuit product and the correction control of the internal parameter matrix to be adjusted, thereby improving the integration of the circuit and reducing the difficulty of circuit testing. It is suitable for integrated chips that have no standard communication ports, have fewer ports, but have various versions and higher precision.
[0035] Embodiment 2:
[0036] like Figure 1 A test and adjustment circuit with a single input port is shown, the test and adjustment circuit includes an identification circuit, a memory and a latch, and is characterized in that the first circuit input end in the test and adjustment circuit has only one input interface for inputting a test code and a burn-in code, the first circuit output end is connected to the third circuit, the fourth circuit and the fifth circuit input ends, the third circuit and the fourth circuit output ends are connected to the fifth circuit input end, and the fifth circuit output end is connected to the module to be adjusted; the first circuit realizes the identification of burn-in completion and burn-in enable, the second circuit realizes the identification of a reset signal, the third circuit realizes the identification of a pulse width, the fifth circuit realizes the burn-in code storage function, and the sixth circuit realizes the address bit burn-in code decoding and the burn-in enable switch function.
[0037] In this embodiment, the single input interface of the test and adjustment circuit is multiplexed for output or dedicated for adjustment; the input interface serially inputs the control code, and the code category and code value are distinguished by the code signal level value, code signal pulse width, and number of code square waves; multiple adjustment parameters are adjusted in time without power failure, and each adjustment includes a complete adjustment control process.
[0038] like Figure 2 As shown, the burn-in completion identification circuit and the burn-in enable identification circuit of the first circuit are replaced with a high-voltage identification circuit, and a burn-in enable logic signal is generated by applying high voltage. By replacing the circuit modules in this embodiment, the embodiment can also obtain the same result.
[0039] like Figure 3 As shown, the second circuit includes a reset signal recognition circuit. The input signal 'POR' is a power-on reset signal. During power-on reset, the output logic '0', and after the power-on reset is completed, the output logic '1'. The input signal 'ReN_Cr' is a single trimming completion reset signal. During a single trimming, the output logic '0', and after the single trimming is completed, the output logic '1'. After the power-on reset is completed or the single trimming is completed, 'Trim_code_input' inputs a high-level code with a duration greater than 1ms, and this circuit sets the output signal 'Reset_Trim' to '1' logic and locks it until 'Reset_Trim' is set to '0' after this trimming is completed.
[0040] like Figure 4 As shown, the third circuit includes a pulse width recognition circuit and an n-bit address bit memory circuit. The input signal 'Lock_addcodein' is the input signal latched by the address bit circuit. When the logic is '0', the input of the address code is allowed, and when the logic is '1', the address bit register is locked. When the input pulse width of the input signal 'Trim_code_input' is ≥0.4ms, it is filtered by the rising edge triggering low-pass filter, inputs logic '1' to the shift register 'DF0' and causes the address code to shift right by one position as a whole; when the input pulse width of the input signal 'Trim_code_input' is ≤0.1ms, it is filtered by the rising edge triggering low-pass filter, inputs logic '0' to the shift register 'DF0' and causes the address code to shift right by one position as a whole. The input signal 'Reset_Trim' is the reset signal of the entire trimming circuit. Before the start code is valid, 'Reset_Trim' is low level, and after the start code is valid and before the burn-in enable code ends, 'Reset_Trim' is high level.
[0041] like Figure 5 As shown, the fourth circuit includes a latch and a u-bit trim code register circuit. The input signal 'Reset_Trim' is the reset signal of the entire trim circuit. Before the start code is valid, 'Reset_Trim' is a low level. After the start code is valid and before the trim enable code ends, 'Reset_Trim' is a high level. The input signal 'Lock_trimcodein' is the latch input signal of the u-bit trim code circuit. When it is logical '0', the input of the trim code is allowed. When it is logical '1', the trim code register is locked. In this example, the input signal 'Trim_code_input' inputs a square wave, and the input square wave serves as the clock trigger signal of the u-bit trim code register to trigger the logic flip of this register. In this example, the u-bit trim code register adopts a binary divider structure. Its output binary code is 'Cr …Cr <1> Cr <0> '. After the input signal 'Reset_Trim' is initialized, the output code value is '0...00'. Under the trigger of the input signal 'Trim_code_input' input square wave, the divider performs 2x flipping actions, and the output code value increases from '0' to '2x'. The output binary code result is the number of square waves of the input signal 'Trim_code_input'.
[0042] like Figure 6 As shown, the fifth circuit is Ar in the example circuit matrix <r>Column, that is, the circuit corresponding to the address code value r. This example implements the address bit r burn-in code decoding circuit, fuse array, burn-in enable switch, pre-scan and burn-in code storage circuit functions. In this example, the switch 'KrP' is replaced by the PMOS tube 'PMr', and the NMOS tube array 'NMr1<0,u>' replaces the switch 'KrN' array. In this example, the burn-in action of the fuse is completed by the PMOS tube 'PMr' and the NMOS tube array 'NMr1<0,u>' being turned on at the same time through the control signal 'EnN_Trim'. When the NMOS tube 'NMr1<0,u>' of a certain x-way in the r array is turned on <x>' is turned on, then there is a large enough current to blow the fuse Fr <x>The current flows through the fuse Fr <x>The r array is selected by the address code. For example, in this example, if the address code value is 'r', the r array is selected. <x>'Whether it is turned on or not is determined by the burn-in adjustment code Trim_code<0,u>. For example, if the burn-in adjustment code value is 'xtr', the corresponding trimming step number is 'xtr', and the corresponding NMOS tube 'NMr1<0,u>' in the corresponding NMOS tube array 'NMr1<0,u>' <x>The NMOS transistor array 'NMr2' is controlled by the input signal 'En_read' to read the fuse status during the power-on reset stage and the burn-out stage.
[0043] The advantages of the implementation of the present invention are as follows: through the connection of the first circuit, the second circuit, the third circuit, the fourth circuit and the fifth circuit, only one pin of the integrated circuit product is needed to realize the adjustment of the integrated circuit product and the correction control of the internal parameter matrix to be adjusted, thereby improving the integration of the circuit and reducing the difficulty of circuit testing. It is suitable for integrated chips that have no standard communication ports, have fewer ports, but have various versions and higher precision.
[0044] By changing the circuit structure in the above embodiments, the same result and function can be obtained.
[0045] Embodiment three:
[0046] like Figure 1 A test and adjustment circuit with a single input port is shown, the test and adjustment circuit includes an identification circuit, a memory and a latch, and is characterized in that the first circuit input end in the test and adjustment circuit has only one input interface for inputting a test code and a burn-in code, the first circuit output end is connected to the third circuit, the fourth circuit and the fifth circuit input ends, the third circuit and the fourth circuit output ends are connected to the fifth circuit input end, and the fifth circuit output end is connected to the module to be adjusted; the first circuit realizes the identification of burn-in completion and burn-in enable, the second circuit realizes the identification of a reset signal, the third circuit realizes the identification of a pulse width, the fifth circuit realizes the burn-in code storage function, and the sixth circuit realizes the address bit burn-in code decoding and the burn-in enable switch function.
[0047] In this embodiment, the single input interface of the test and adjustment circuit is multiplexed for output or dedicated for adjustment; the input interface serially inputs the control code, and the code category and code value are distinguished by the code signal level value, code signal pulse width, and number of code square waves; multiple adjustment parameters are adjusted in time without power failure, and each adjustment includes a complete adjustment control process.
[0048] like Figure 2 As shown, the first circuit includes a burn-in adjustment completion identification circuit and a burn-in adjustment enable identification circuit. The input signal 'Trim_end' comes from the dedicated burn-in adjustment state identification fuse state logic output: before the integrated chip completes all trimming, this input logic bit is '1', and the output logic in circuit 1 is controlled by the input signals 'Trim_code_input' and 'Reset_Trim'; when the integrated chip completes all trimming, this input logic bit is '0', and the output logic in circuit 1 is locked and is not controlled by the input signals 'Trim_code_input' and 'Reset_Trim'.
[0049] 'R1', 'NM1', 'NM2', 'NM3', 'NM4', 'PM1', 'PM2', 'PM3', and 'cap1' form a negative voltage comparator. If 'Trim_code_input' is at -0.3V level, a logic '0' output will be obtained at the upper plate node of cap1, and filtered through the cap1 capacitor and current sink NM3 to eliminate glitch interference.
[0050] The input signal 'Reset_Trim' is the reset signal of the entire trimming circuit. Before the start code is valid, 'Reset_Trim' is at a low level. After the start code is valid and before the trimming enable code ends, 'Reset_Trim' is at a high level.
[0051] like Figure 3 As shown, the reset signal recognition circuit of the second circuit is replaced by a pulse duty cycle recognition circuit or a pulse number recognition circuit, so as to realize signal recognition. By replacing the circuit module in this embodiment, the embodiment can also obtain the same result.
[0052] like Figure 4 As shown, the third circuit includes a pulse width recognition circuit and an n-bit address bit memory circuit. The input signal 'Lock_addcodein' is the input signal latched by the address bit circuit. When the logic is '0', the input of the address code is allowed, and when the logic is '1', the address bit register is locked. When the input pulse width of the input signal 'Trim_code_input' is ≥0.4ms, it is filtered by the rising edge triggering low-pass filter, inputs logic '1' to the shift register 'DF0' and causes the address code to shift right by one position as a whole; when the input pulse width of the input signal 'Trim_code_input' is ≤0.1ms, it is filtered by the rising edge triggering low-pass filter, inputs logic '0' to the shift register 'DF0' and causes the address code to shift right by one position as a whole. The input signal 'Reset_Trim' is the reset signal of the entire trimming circuit. Before the start code is valid, 'Reset_Trim' is low level, and after the start code is valid and before the burn-in enable code ends, 'Reset_Trim' is high level.
[0053] like Figure 5 As shown, the fourth circuit includes a latch and a u-bit trim code register circuit. The input signal 'Reset_Trim' is the reset signal of the entire trim circuit. Before the start code is valid, 'Reset_Trim' is a low level. After the start code is valid and before the trim enable code ends, 'Reset_Trim' is a high level. The input signal 'Lock_trimcodein' is the latch input signal of the u-bit trim code circuit. When it is logical '0', the input of the trim code is allowed. When it is logical '1', the trim code register is locked. In this example, the input signal 'Trim_code_input' inputs a square wave, and the input square wave serves as the clock trigger signal of the u-bit trim code register to trigger the logic flip of this register. In this example, the u-bit trim code register adopts a binary divider structure. Its output binary code is 'Cr …Cr <1> Cr <0> '. After the input signal 'Reset_Trim' is initialized, the output code value is '0...00'. Under the trigger of the input signal 'Trim_code_input' input square wave, the divider performs 2x flipping actions, and the output code value increases from '0' to '2x'. The output binary code result is the number of square waves of the input signal 'Trim_code_input'.
[0054] like Figure 6 As shown, the fifth circuit is Ar in the example circuit matrix <r>Column, that is, the circuit corresponding to the address code value r. This example implements the address bit r burn-in code decoding circuit, fuse array, burn-in enable switch, pre-scan and burn-in code storage circuit functions. In this example, the switch 'KrP' is replaced by the PMOS tube 'PMr', and the NMOS tube array 'NMr1<0,u>' replaces the switch 'KrN' array. In this example, the burn-in action of the fuse is completed by the PMOS tube 'PMr' and the NMOS tube array 'NMr1<0,u>' being turned on at the same time through the control signal 'EnN_Trim'. When the NMOS tube 'NMr1<0,u>' of a certain x-way in the r array is turned on <x>' is turned on, then there is a large enough current to blow the fuse Fr <x>The current flows through the fuse Fr <x>The r array is selected by the address code. For example, in this example, if the address code value is 'r', the r array is selected. <x>'Whether it is turned on or not is determined by the burn-in adjustment code Trim_code<0,u>. For example, if the burn-in adjustment code value is 'xtr', the corresponding trimming step number is 'xtr', and the corresponding NMOS tube 'NMr1<0,u>' in the corresponding NMOS tube array 'NMr1<0,u>' <x>The NMOS transistor array 'NMr2' is controlled by the input signal 'En_read' to read the fuse status during the power-on reset stage and the burn-out stage.
[0055] The advantages of the implementation of the present invention are as follows: through the connection of the first circuit, the second circuit, the third circuit, the fourth circuit and the fifth circuit, only one pin of the integrated circuit product is needed to realize the adjustment of the integrated circuit product and the correction control of the internal parameter matrix to be adjusted, thereby improving the integration of the circuit and reducing the difficulty of circuit testing. It is suitable for integrated chips that have no standard communication ports, have fewer ports, but have various versions and higher precision.
[0056] By changing the circuit structure in the above embodiments, the same result and function can be obtained.
[0057] Embodiment 4:
[0058] like Figure 1 A test and adjustment circuit with a single input port is shown, the test and adjustment circuit includes an identification circuit, a memory and a latch, and is characterized in that the first circuit input end in the test and adjustment circuit has only one input interface for inputting a test code and a burn-in code, the first circuit output end is connected to the third circuit, the fourth circuit and the fifth circuit input ends, the third circuit and the fourth circuit output ends are connected to the fifth circuit input end, and the fifth circuit output end is connected to the module to be adjusted; the first circuit realizes the identification of burn-in completion and burn-in enable, the second circuit realizes the identification of a reset signal, the third circuit realizes the identification of a pulse width, the fifth circuit realizes the burn-in code storage function, and the sixth circuit realizes the address bit burn-in code decoding and the burn-in enable switch function.
[0059] In this embodiment, the single input interface of the test and adjustment circuit is multiplexed for output or dedicated for adjustment; the input interface serially inputs the control code, and the code category and code value are distinguished by the code signal level value, code signal pulse width, and number of code square waves; multiple adjustment parameters are adjusted in time without power failure, and each adjustment includes a complete adjustment control process.
[0060] like Figure 2 As shown, the first circuit includes a burn-in adjustment completion identification circuit and a burn-in adjustment enable identification circuit. The input signal 'Trim_end' comes from the dedicated burn-in adjustment state identification fuse state logic output: before the integrated chip completes all trimming, this input logic bit is '1', and the output logic in circuit 1 is controlled by the input signals 'Trim_code_input' and 'Reset_Trim'; when the integrated chip completes all trimming, this input logic bit is '0', and the output logic in circuit 1 is locked and is not controlled by the input signals 'Trim_code_input' and 'Reset_Trim'.
[0061] 'R1', 'NM1', 'NM2', 'NM3', 'NM4', 'PM1', 'PM2', 'PM3', and 'cap1' form a negative voltage comparator. If 'Trim_code_input' is at -0.3V level, a logic '0' output will be obtained at the upper plate node of cap1, and filtered through the cap1 capacitor and current sink NM3 to eliminate glitch interference.
[0062] The input signal 'Reset_Trim' is the reset signal of the entire trimming circuit. Before the start code is valid, 'Reset_Trim' is at a low level. After the start code is valid and before the trimming enable code ends, 'Reset_Trim' is at a high level.
[0063] like Figure 3 As shown, the second circuit includes a reset signal recognition circuit. The input signal 'POR' is a power-on reset signal. During power-on reset, the output logic '0', and after the power-on reset is completed, the output logic '1'. The input signal 'ReN_Cr' is a single trimming completion reset signal. During a single trimming, the output logic '0', and after the single trimming is completed, the output logic '1'. After the power-on reset is completed or the single trimming is completed, 'Trim_code_input' inputs a high-level code with a duration greater than 1ms, and this circuit sets the output signal 'Reset_Trim' to '1' logic and locks it until 'Reset_Trim' is set to '0' after this trimming is completed.
[0064] like Figure 4 As shown, the pulse width identification circuit of the third circuit is replaced by a pulse number identification circuit, which can achieve the effect of pulse duty cycle identification at a fixed frequency. By replacing the circuit module in this embodiment, the embodiment can also achieve the same result.
[0065] like Figure 5 As shown, the fourth circuit includes a latch and a u-bit trim code register circuit. The input signal 'Reset_Trim' is the reset signal of the entire trim circuit. Before the start code is valid, 'Reset_Trim' is a low level. After the start code is valid and before the trim enable code ends, 'Reset_Trim' is a high level. The input signal 'Lock_trimcodein' is the latch input signal of the u-bit trim code circuit. When it is logical '0', the input of the trim code is allowed. When it is logical '1', the trim code register is locked. In this example, the input signal 'Trim_code_input' inputs a square wave, and the input square wave serves as the clock trigger signal of the u-bit trim code register to trigger the logic flip of this register. In this example, the u-bit trim code register adopts a binary divider structure. Its output binary code is 'Cr …Cr <1> Cr <0> '. After the input signal 'Reset_Trim' is initialized, the output code value is '0...00'. Under the trigger of the input signal 'Trim_code_input' input square wave, the divider performs 2x flipping actions, and the output code value increases from '0' to '2x'. The output binary code result is the number of square waves of the input signal 'Trim_code_input'.
[0066] like Figure 6 As shown, the fifth circuit is Ar in the example circuit matrix <r>Column, that is, the circuit corresponding to the address code value r. This example implements the address bit r burn-in code decoding circuit, fuse array, burn-in enable switch, pre-scan and burn-in code storage circuit functions. In this example, the switch 'KrP' is replaced by the PMOS tube 'PMr', and the NMOS tube array 'NMr1<0,u>' replaces the switch 'KrN' array. In this example, the burn-in action of the fuse is completed by the PMOS tube 'PMr' and the NMOS tube array 'NMr1<0,u>' being turned on at the same time through the control signal 'EnN_Trim'. When the NMOS tube 'NMr1<0,u>' of a certain x-way in the r array is turned on <x>' is turned on, then there is a large enough current to blow the fuse Fr <x>The current flows through the fuse Fr <x>The r array is selected by the address code. For example, in this example, if the address code value is 'r', the r array is selected. <x>'Whether it is turned on or not is determined by the burn-in adjustment code Trim_code<0,u>. For example, if the burn-in adjustment code value is 'xtr', the corresponding trimming step number is 'xtr', and the corresponding NMOS tube 'NMr1<0,u>' in the corresponding NMOS tube array 'NMr1<0,u>' <x>The NMOS transistor array 'NMr2' is controlled by the input signal 'En_read' to read the fuse status during the power-on reset stage and the burn-out stage.
[0067] The advantages of the implementation of the present invention are as follows: through the connection of the first circuit, the second circuit, the third circuit, the fourth circuit and the fifth circuit, only one pin of the integrated circuit product is needed to realize the adjustment of the integrated circuit product and the correction control of the internal parameter matrix to be adjusted, thereby improving the integration of the circuit and reducing the difficulty of circuit testing. It is suitable for integrated chips that have no standard communication ports, have fewer ports, but have various versions and higher precision.
[0068] By changing the circuit structure in the above embodiments, the same result and function can be obtained.
[0069] The above is only a specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any changes or substitutions that can be easily thought of by any technician familiar with the art within the technical scope disclosed in the present invention should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention shall be based on the protection scope of the claims.< / x> < / x> < / x> < / x> < / x> < / r> < / x> < / x> < / x> < / x> < / x> < / r> < / x> < / x> < / x> < / x> < / x> < / r> < / x> < / x> < / x> < / x> < / x> < / r>
Claims
1. A test and adjustment circuit with a single input port, used for testing and adjusting a module to be adjusted, the test and adjustment circuit comprising an identification circuit, a register and a latch, characterized in that: The test and adjustment circuit includes a first circuit, a second circuit, a third circuit, a fourth circuit and a fifth circuit. The input end of the first circuit has only one input interface to realize the input of the test code and the burn-in adjustment code. The output end of the first circuit is connected to the input ends of the third circuit, the fourth circuit and the fifth circuit. The output ends of the third circuit and the fourth circuit are connected to the input end of the fifth circuit. The output end of the fifth circuit is connected to the module to be adjusted. The first circuit realizes the recognition of burn-in adjustment completion and burn-in adjustment enablement. The second circuit realizes the recognition of the reset signal. The third circuit realizes the recognition of the pulse width. The fifth circuit realizes the burn-in adjustment code storage function. The sixth circuit realizes the decoding of the address bit burn-in adjustment code and the burn-in adjustment enable switch function. The first circuit, the second circuit, the third circuit, the fourth circuit and the fifth circuit cooperate to realize the adjustment of the integrated circuit finished product through a single pin.
2. The single-input test and adjustment circuit according to claim 1, characterized in that: The test adjustment circuit adjusts multiple adjustment parameters in a time-sharing manner without power failure, and each adjustment includes a complete adjustment control process.
3. The single-input test and adjustment circuit according to claim 1, characterized in that: The input interface inputs control codes in series, and the control codes are distinguished by code type and code value, which are realized by code signal level value, code signal pulse width, and number of code square waves.
4. The single-input test and adjustment circuit according to claim 1, characterized in that: The first circuit is a burn-in adjustment completion identification circuit and a burn-in adjustment enable identification circuit. One end of the resistor in the first circuit is respectively connected to the input end of the field effect tube and the capacitor to form a negative voltage comparator, and the negative voltage is detected in this way; the output end of the negative voltage comparator is then connected to the input end of the reset signal register to realize the burn-in adjustment completion and burn-in adjustment enable identification functions; according to the state of all the trimming and completion of the integrated chip, it is determined whether the output logic of the first circuit is controlled by the input signal or the output logic is locked and not controlled by the input signal.
5. The single-input test and adjustment circuit according to claim 1, characterized in that: The second circuit is a reset signal recognition circuit. The trimmed input signal from the first circuit detects the start bit after being delayed by a low-pass filter signal. The output logic is determined by the input power-on reset signal and the single trimming completion reset signal, and a high-level code is input after the power-on reset is completed or the single trimming is completed to lock the output signal logic.
6. The test and adjustment circuit with a single input port according to claim 1, characterized in that: The third circuit is a pulse width recognition circuit and an address bit storage circuit. The trimmed input signal enters the shift register after being filtered by a latch and a rising edge triggered low-pass filter, so that the address code as a whole moves one position to the right; the address bit circuit latches the input signal to determine the input of the address code or locks the address bit register.
7. The test and adjustment circuit with a single input port according to claim 1, characterized in that: The fourth circuit is a latch and burn-in code register circuit, the trimming input signal and the burn-in code circuit latch input signal are input into the burn-in code register after passing through the latch; the high and low levels of the trimming circuit reset signal are determined according to the start code state; the burn-in code input is determined or the burn-in code register is locked by the burn-in code circuit latch input signal; the square wave input in the trimming input signal is used as the clock trigger signal of the burn-in code register, and thereby triggers the logic flip of the register.
8. The test and adjustment circuit with a single input port according to claim 8, characterized in that: The burn-in code register adopts a binary divider structure, and outputs a fixed code value after the reset signal of the trimming circuit completes initialization; under the trigger of the input square wave in the trimming input signal, the binary divider performs multiple flipping actions, and the output code value increases by the number of inversion actions, and the output binary code result corresponds to the number of input square waves in the input signal.
9. The test and adjustment circuit with a single input port according to claim 1, characterized in that: The fifth circuit is a field effect tube matrix column, in which field effect tubes are used to replace switches, and field effect tube arrays are used to replace switch arrays. The fuse burning and adjustment action is completed by the field effect tubes and the field effect tube arrays being turned on at the same time through control signals, and the fuse status can be read at the power-on reset stage and the burning and adjustment stage.
10. The single-input test and adjustment circuit according to any one of claims 1 to 9, characterized in that: The input interface of the test and adjustment circuit is also used as an output, or the input interface of the test and adjustment circuit is also used for adjustment.
