Logic circuit for pre-burning fuse in chip
By designing logic circuits for use in the chip, including frequency division modules, comparison modules, timing modules and latch output modules, the problem of accuracy deviation in chip design is solved and high-precision fuse pre-burning and signal measurement are achieved. Improved the accuracy of the chip output signal.
Patent Information
- Application Number
- CN202410700621.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-31
- Publication Date
- 2024-09-20
AI Technical Summary
During the chip design process, due to accuracy deviations caused by process deviations, it is difficult for high-precision chips to directly implement accurate correction of analog signals. Existing technology cannot effectively achieve pre-burning of fuses within the chip, affecting the accuracy of the chip's output signal.
A logic circuit including a frequency division module, a comparison module, a timing module and a latch output module is designed. The logic circuit is controlled by external input signals to output high and low level signals, simulates the situation after fuse burning, and directly measures the pre-burning The signal value output by the rear chip improves the accuracy.
It achieves high-precision control of fuse pre-burning in the chip, directly measures the chip output signal value, and improves the accuracy and intuitiveness of the chip output signal.
Smart Images

Figure CN118677441A
Abstract
Description
Technical Field
[0001] The invention relates to the technical field of chips, and in particular to a logic circuit used for pre-burning fuses in chips. Background Art
[0002] For general analog chips or mixed analog and digital chips, the analog quantities such as current and voltage contained in the output signal are important indicators of the chip, and the accuracy of these indicators determines the quality of the chip. In the chip design process, the accuracy deviation caused by process deviation is often unavoidable, so in general high-precision chips, the output analog value is corrected by burning fuses. Summary of the invention
[0003] The object of the present invention is to provide a logic circuit for pre-burning fuses in a chip to solve the problems in the background technology.
[0004] In order to solve the above technical problems, the present invention provides a logic circuit for pre-burning fuses in a chip, comprising a frequency division module Block1, a comparison module Block2, a timing module Block3 and a latch output module Block4;
[0005] The input signal READY is connected to the input terminal EN of the frequency division module Block1 and the input terminal A3 of the comparison module BLOCK2; the external input signal ENN is connected to the input terminal ENN of the comparison module Block2; the external input signal Ibias is connected to the input terminal Ibias of the comparison module Block2; the external input signal VIN1 is connected to the input terminal VIN1 of the comparison module Block2; the external input signal VIN2 is connected to the input terminal VIN2 of the comparison module Block2;
[0006] The input terminal D of the frequency dividing module Block1 is connected to the output terminal Z3 of the comparison module Block2; the output terminal Z5 of the frequency dividing module Block1 is connected to the input terminal TMEN of the comparison module Block2, the input terminal TMEN of the timing module Block3, and the input terminal TMEN of the latch output module Block4; the output terminal Z2 of the frequency dividing module Block1 is connected to the input terminal A5 of the comparison module Block2; the output terminal Z3 of the frequency dividing module Block1 is connected to the input terminal A1 of the comparison module Block2; the output terminal Z4 of the frequency dividing module Block1 is connected to the input terminal A2 of the comparison module Block2;
[0007] The input terminal A4 of the comparison module Block2 is connected to the output terminal A4 of the timing module Block3; the output terminal Z1 of the comparison module Block2 is connected to the input terminal A of the timing module Block3; the output terminal Z6 of the comparison module Block2 is connected to the input terminal CK of the timing module Block3; the output terminal Z7 of the comparison module Block2 is connected to the input terminal ENN of the timing module Block3; the output terminal ZN3 of the comparison module Block2 is connected to the input terminal R of the timing module Block3; the output terminal Z1_1 of the comparison module Block2 is connected to the input terminal CTRL4 of the latch output module Block4; the output terminal Z2 of the comparison module Block2 is connected to the input terminal CTRL5 of the latch output module Block4;
[0008] The output terminal CKOUT2 of the timing module Block3 is connected to the input terminal CTRL0 of the latch output module Block4; the output terminal CKOUT1 of the timing module Block3 is connected to the input terminal CTRL1 of the latch output module Block4; the output terminal Z0 of the timing module Block3 is connected to the input terminal A0 of the latch output module Block4; the output terminal Z1 of the timing module Block3 is connected to the input terminal A1 of the latch output module Block4; the output terminal Z2 of the timing module Block3 is connected to the input terminal A0 of the latch output module Block4 The output terminal Z3 of the timing module Block3 is connected to the input terminal A2 of the latch output module Block4; the output terminal Z4 of the timing module Block3 is connected to the input terminal A4 of the latch output module Block4; the output terminal Z5 of the timing module Block3 is connected to the input terminal A5 of the latch output module Block4; the output terminal Z6 of the timing module Block3 is connected to the input terminal A6 of the latch output module Block4; the output terminal Z7 of the timing module Block3 is connected to the input terminal A7 of the latch output module Block4;
[0009] Latch output module Block4 output terminal Z1 <7> Connection output signal Z1 <7> , output terminal Z1<6:0> is connected to output signal Z1<6:0>, output terminal Z2<7:0> is connected to output signal Z2<7:0>, output terminal Z3<7:0> is connected to output signal Z3<7:0>, and output terminal Z4<7:0> is connected to output signal Z4<7:0>;
[0010] When the READY signal is low or the ENN signal is high, the logic circuit is not enabled and all output signals remain high; when the READY signal is high and the ENN signal is low, the logic circuit is enabled; the input signal IBias provides a driving current for the comparison module Block2; VIN1 and VIN2 send clock signals of a certain level and frequency, send the virtual burning code, and finally output the corresponding code in parallel through the output signals Z1<6:0>, Z2<7:0>, Z3<7:0>, and Z4<7:0> to achieve the pre-Trim function.
[0011] In one embodiment, the frequency division module Block1 includes D flip-flops DFF1-DFF4, inverters INV1-INV21, three-input NOR gates NOR1-NOR7, NOR15, two-input NOR gates NOR8-NOR14, NOR16, NAND gates NAND1-NAND10, capacitors C1, C2; wherein the external pins include input pins EN and D, and output pins Z2, Z3, Z4, and Z5;
[0012] The input pin EN is connected to the input end of the inverter INV21, the output end of the inverter INV21 is connected to the input end SET of the D flip-flop DFF1~DFF4, the first input end of the NOR gate NOR13, and the first input end of the NOR gate NOR15; the input signal D is connected to the input end D of the D flip-flop DFF1 and the input end of the inverter INV1, the output end of the inverter INV1 is connected to the input end of the inverter INV2, the output end of the inverter INV2 is connected to the input end of the inverter INV3 and the positive electrode of the capacitor C1, the negative electrode of the capacitor C1 is grounded, the output end of the inverter INV3 is connected to the input end of the inverter INV4, the output end of the inverter INV4 is connected to the input end of the inverter INV5, and the output end of the inverter INV5 is respectively connected to the first input ends of the NOR gates NOR1~NOR7; the output signal of the output end Q of the D flip-flop DFF1 is F1, which is connected to the second input ends of the NOR gates NOR3 and NOR5; the output end of the D flip-flop DFF1 The output signal is F1_N, which is connected to the input terminal D of the D flip-flop DFF2 and the second input terminals of the NOR gates NOR2 and NOR4; the output signal of the output terminal Q of the D flip-flop DFF2 is F2, which is connected to the third input terminals of the NOR gates NOR4 and NOR5 and the second input terminal of the NOR gate NOR14; the output terminal of the D flip-flop DFF2 The output signal is F2_N, which is connected to the input terminal D of the D flip-flop DFF3 and the third input terminals of the NOR gates NOR2 and NOR3; the output signal of the output terminal Q of the D flip-flop DFF3 is F3, which is connected to the second input terminals of the NOR gates NOR1 and NOR7; the output terminal of the D flip-flop DFF3 The output signal is F3_N, which is connected to the input terminal D of the D flip-flop DFF4 and the second input terminal of the NOR gate NOR6; the output signal of the output terminal Q of the D flip-flop DFF4 is F4, which is connected to the third input terminals of the NOR gates NOR6 and NOR7; the output terminal of the D flip-flop DFF4 The output signal is F4_N, which is connected to the third input terminal of the NOR gate NOR1; the output terminal of the NOR gate NOR1 is connected to the first input terminals of the NAND gates NAND1 and NAND2, the output terminal of the NOR gate NOR2 is connected to the first input terminals of the NAND gates NAND4 and NAND8, the output terminal of the NOR gate NOR3 is connected to the second input terminal of the NAND gate NAND1 and the first input terminal of the NAND gate NAND5, the output terminal of the NOR gate NOR4 is connected to the second input terminal of the NAND gate NAND2 and the first input terminal of the NAND gate NAND6, the output terminal of the NOR gate NOR5 is connected to the second input terminal of the NAND gate NAND3 and the first input terminal of the NAND gate NAND7, and the output terminal of the NOR gate NOR6 is connected to the NAND gate NA The second input end of ND4 and NAND7, the output end of the NOR gate NOR7 is connected to the second input end of the NAND gate NAND8; the output end of the NAND gate NAND1 is connected to the input end of the inverter INV6, the output end of the NAND gate NAND2 is connected to the input end of the inverter INV7, the output end of the NAND gate NAND3 is connected to the input end of the inverter INV8, the output end of the NAND gate NAND4 is connected to the input end of the inverter INV9, the output end of the NAND gate NAND5 is connected to the input end of the inverter INV10, the output end of the NAND gate NAND6 is connected to the input end of the inverter INV11, the output end of the NAND gate NAND7 is connected to the input end of the inverter INV12, and the output end of the NAND gate NAND8 is connected to the input end of the inverter INV9. The output end of inverter INV6 is connected to the first input end of NOR gate NOR12, the input end of inverter INV14, and the first input end of NOR gate NOR8. The output ends of inverters INV7 and INV9 are respectively connected to the first and second input ends of NOR gate NOR9. The output end of inverter INV8 is connected to the second input end of NOR gate NOR8. The output ends of inverters INV10 and INV12 are respectively connected to the first and second input ends of NOR gate NOR10. The output end of inverter INV11 is connected to the first input end of NOR gate NOR11. The output end of inverter INV13 is connected to the second input end of NOR gate NOR11 and the output end of NOR gate NOR16. The second input terminal; the output terminals of the NOR gates NOR8 and NOR10 are respectively connected to the first and second input terminals of the NAND gate NAND10, and the output terminals of the NOR gates NOR9 and NOR11 are respectively connected to the first and second input terminals of the NAND gate NAND9; the output terminal of the NAND gate NAND9 is connected to the input terminal of the inverter INV15, and the output terminal of the inverter INV15 is connected to the output pin Z2 of the frequency division module Block1; the output terminal of the NAND gate NAND10 is connected to the input terminal of the inverter INV16, and the output terminal of the inverter INV16 is connected to the output pin Z3 of the frequency division module Block1; the output terminal of the inverter INV14 is connected to the positive electrode of the capacitor C2 and the second input terminal of the NOR gate NOR12;The output end of the NOR gate NOR13 is connected to the input end of the inverter INV19 and the first input end of the NOR gate NOR14, and the output end of the NOR gate NOR14 is connected to the second input end of the NOR gate NOR13; the output end of the inverter INV19 is connected to the input end of the inverter INV20, and the output end of the inverter INV20 is connected to the output pin Z5 of the frequency division module Block1; the output end of the NOR gate NOR12 is connected to the second input end of the NOR gate NOR15, the output end of the NOR gate NOR15 is connected to the first input end of the NOR gate NOR16 and the input end of the inverter INV17, and the output end of the NOR gate NOR16 is connected to the third input end of the NOR gate NOR15; the output end of the inverter INV17 is connected to the input end of the inverter INV18, and the output end of the inverter INV18 is connected to the output pin Z5 of the frequency division module Block1.;
[0013] In one implementation, the comparison module Block2 includes PMOS tubes MP1-MP7, NMOS tubes MN1-MN5, resistors RES1, RES2, capacitors C3, C4, C5, two-input NAND gates NAND11-NAND14 and NAND16, three-input NAND gate NAND15; inverters INV22-INV42, two-input NOR gate NOR18, three-input NOR gate NOR17, Schmitt triggers SMIT1, SMIT2; wherein the external pins include input pins EN, IBias, TMEN, VIN1, VIN2, A1, A2, A3, A4, A5, and output pins Z1, Z1_1, Z2, Z3, Z6, Z7, ZN3;
[0014] VDD is connected to the source and substrate of PMOS tube MP1, the source and substrate of PMOS tube MP2, and the substrate of PMOS tube MP3; GND is connected to the source and substrate of NMOS tubes MN1 to MN5; the source of PMOS tube MP3 is connected to the gate and drain of PMOS tube MP1; the input pin TMEN is connected to the gate of PMOS tube MP2, the second input of NAND gate NAND11, and the first input of NAND gate NAND12; the drain of PMOS tube MP2 is connected to the gate and drain of PMOS tube MP3, the gate of PMOS tube MP5, the gate of PMOS tube MP7, and the drain of NMOS tube MN2; the gate of NMOS tube MN2 is connected to input pin IBias. s, the gate and drain of NMOS tube MN1, the drain of NMOS tube MN5, the gate of NMOS tube MN3, and the gate of NMOS tube MN4; the gate of NMOS tube MN5 is connected to the input pin ENN; the input pin VIN1 is connected to the upper end of resistor RES1, the lower end of resistor RES1 is connected to the source and substrate of PMOS tube MP4 and the substrate of PMOS tube MP5, the source of PMOS tube MP5 is connected to the gate and drain of PMOS tube MP4, the drain of PMOS tube MP5 is connected to the drain of NMOS tube MN3 and the input of Schmitt trigger SMIT2, and the signal is VIN1_BUF; the input pin VIN2 is connected to the upper end of resistor RES2, and the resistor RES1 is connected to the source and substrate of PMOS tube MP4 and the substrate of PMOS tube MP5. The lower end of the PMOS tube 2 is connected to the source end and substrate of the PMOS tube MP6 and the substrate of the PMOS tube MP7, the source end of the PMOS tube MP7 is connected to the gate end and the drain end of the PMOS tube MP6, the drain end of the PMOS tube MP7 is connected to the drain end of the NMOS tube MN4 and the input end of the Schmitt trigger SMIT1, and the signal is VIN2_BUF; the input pin A1 is connected to the first input end of the NAND gate NAND11, the output end of the NAND gate NAND11 is connected to the input end of the inverter INV22, the output end of the inverter INV22 is connected to the input end of the inverter INV23 and the output pin Z2, the output end of the inverter INV23 is connected to the input end of the inverter INV24, the output end of the inverter INV24 is connected to the input end of the inverter INV24. The output end is connected to the input pin Z1_1; the input pin A2 is connected to the input end of the inverter INV25, the output end of the inverter INV25 is connected to the positive electrode of the capacitor C3 and the input end of the inverter INV26, the negative electrode of the capacitor C3 is connected to GND, the output end of the inverter INV26 is connected to the input end of the inverter INV27, the output end of the inverter INV27 is connected to the input end of the inverter INV28, and the output end of the inverter INV28 is connected to the output pin Z2; the output end of the Schmitt trigger SMIT1 is connected to the second input end of the NAND gate NAND12, the output end of the NAND gate NAND12 is connected to the input end of the inverter INV29, and the output end of the inverter INV29 is connected to the output pin Z7;Input pin A4 is connected to the input end of inverter INV30 and the first input end of NAND gate NAND13, the output end of inverter INV30 is connected to the positive electrode of capacitor C4 and the second input end of NAND gate NAND13, the negative electrode of capacitor C4 is connected to GND, the output end of NAND gate NAND13 is connected to the input end of inverter INV31, the output end of inverter INV31 is connected to the first input end of NOR gate NOR17; input pin A3 is connected to the input end of inverter INV32 and the first input end of NAND gate NAND15, inverter INV32 The output end of is connected to the second input end of the NOR gate NOR17 and the output pin ZN3, the input pin A5 is connected to the input end of the inverter INV37 and the first input end of the NAND gate NAND14, the output end of the inverter INV37 is connected to the positive electrode of the capacitor C5 and the second input end of the NAND gate NAND14, the negative electrode of the capacitor C5 is connected to GND, the output end of the NAND gate NAND14 is connected to the input end of the inverter INV38, the output end of the inverter INV38 is connected to the second input end of the NOR gate NOR18, and the output end of the NOR gate NOR18 is connected to the NOR gate The third input terminal of NOR17, the output terminal of the NOR gate NOR17 is connected to the first input terminal of the NOR gate NOR18 and the input terminal of the inverter INV33, the output terminal of the inverter INV33 is connected to the third input terminal of the NAND gate NAND15 and the input terminal of the inverter INV36, the output terminal of the inverter INV36 is connected to the first input terminal of the NAND gate NAND16; the output terminal of the Schmitt trigger SMIT2 is connected to the second input terminal of the NAND gate NAND15 and the input terminal of the inverter INV39, the output terminal of the inverter INV39 is connected to the inverter I The input end of NV40 and the output end of inverter INV40 are connected to the second input end of NAND gate NAND16; the output end of NAND gate NAND16 is connected to the input end of inverter INV41, the output end of inverter INV41 is connected to the input end of inverter INV42, and the output end of inverter INV42 is connected to output pin Z6; the output end of NAND gate NAND15 is connected to the input end of inverter INV34, the output end of inverter INV34 is connected to the input end of inverter INV35, and the output end of inverter INV35 is connected to output pin Z3.;
[0015] In one embodiment, the timing module Block3 includes D flip-flops DFF5-DFF9, inverters INV43-INV53, two-input NAND gates NAND17-NAND25, two-input NOR gates NOR19-NOR20, three-input NOR gates NOR21-NOR28, and RS flip-flops RS1-RS8; wherein the external pins include input pins CK, R, TMEN, A, ENN, and output pins CKOUT1, CKOUT2, A4, Z0, Z1, Z2, Z3, Z4, Z5, Z6, and Z7;
[0016] In the timing module Block3, the input pin R is connected to the CLR terminal of the D flip-flops DFF5 to DFF9 and the second input terminal of the NOR gate NOR20; the input pin CK is connected to the SET terminal of the D flip-flop DFF5 and the first input terminal of the NAND gate NAND17, and the input terminal D of the D flip-flop DFF5 is connected to the output terminal of the D flip-flop DFF5. The SET terminal of the D flip-flop DFF6, the first input terminal of the NOR gate NOR21, the first input terminal of the NOR gate NOR23, the first input terminal of the NOR gate NOR25, and the first input terminal of the NOR gate NOR27, the signal line is F1_N; the output terminal Q of the D flip-flop DFF5 is connected to the first input terminal of the NOR gate NOR22, the first input terminal of the NOR gate NOR24, the first input terminal of the NOR gate NOR26, and the first input terminal of the NOR gate NOR28, the signal line is F1; the input terminal D of the D flip-flop DFF6 is connected to the output terminal of the D flip-flop DFF6 The SET terminal of the D flip-flop DFF7, the second input terminal of the NOR gate NOR21, the second input terminal of the NOR gate NOR22, the second input terminal of the NOR gate NOR25, and the second input terminal of the NOR gate NOR26, the signal is F2_N; the output terminal Q of the D flip-flop DFF6 is connected to the second input terminal of the NOR gate NOR23, the second input terminal of the NOR gate NOR24, the second input terminal of the NOR gate NOR27, and the second input terminal of the NOR gate NOR28, the signal is F2; the input terminal D of the D flip-flop DFF7 is connected to the output terminal of the D flip-flop DFF7 The SET terminal of the D flip-flop DFF8, the third input terminal of the NOR gate NOR21, the third input terminal of the NOR gate NOR22, the third input terminal of the NOR gate NOR23, and the third input terminal of the NOR gate NOR24 are connected to the SET terminal of the D flip-flop DFF8, and the signal is F3_N; the output terminal Q of the D flip-flop DFF7 is connected to the third input terminal of the NOR gate NOR25, the third input terminal of the NOR gate NOR26, the third input terminal of the NOR gate NOR27, and the third input terminal of the NOR gate NOR28, and the signal is F3; the input terminal D of the D flip-flop DFF8 is connected to the output terminal The output terminal Q of the D flip-flop DFF8 is connected to the input terminal of the inverter INV43, and the output terminal of the inverter INV43 is connected to the output pin CKOUT1; the input terminal D of the D flip-flop DFF9 is connected to the output terminal The output terminal Q of the D flip-flop DFF9 is connected to the input terminal of the inverter INV45, the output terminal of the inverter INV45 is connected to the input terminal of the inverter INV46, and the input terminal of the inverter INV46 is connected to the output pin CKOUT2; the input pin TMEN is connected to the second input terminal of the NAND gate NAND17, the output terminal of the NAND gate NAND17 is connected to the input terminal of the inverter INV47, the output terminal of the inverter INV47 is connected to the positive electrode of the capacitor C6 and the input terminal of the inverter INV48, the negative electrode of the capacitor C6 is connected to GND, the output terminal of the inverter INV48 is connected to the input terminal of the inverter INV49, and the output terminal of the inverter INV49 is connected to the first input terminal of the NAND gates NAND18 to NAND25. The signal is sel; the input pin A is connected to the input end of the inverter INV50, the output end of the inverter INV50 is connected to the positive electrode of the capacitor C7 and the output end of the inverter INV51, and the negative electrode of the capacitor C7 is connected to GND; the output end of the inverter INV51 is connected to the input end of the inverter INV52 and the first input end of the NOR gate NOR19, the output end of the inverter INV52 is connected to the positive electrode of the capacitor C8 and the second input end of the NOR gate NOR19, and the negative electrode of the capacitor C8 is connected to GND; the output end of the NOR gate NOR19 is connected to the first input end of the NOR gate NOR20, the output end of the NOR gate NOR20 is connected to the input end of the inverter INV53, and the output end of the inverter INV53 is connected to the RS trigger The input terminal RST of RS1~RS8, the signal is rst; the input pin ENN is connected to the input terminal ENN of RS flip-flops RS1~RS8; the output terminal of the NOR gate NOR21 is connected to the second input terminal of the NAND gate NAND18, the output terminal of the NAND gate NAND18 is connected to the input terminal of the inverter INV54 and the IN terminal of the RS flip-flop RS1, the output terminal of the inverter INV54 is connected to the output pin A4, and the OUT terminal of the RS flip-flop RS1 is connected to the output pin Z0; the output terminal of the NOR gate NOR22 is connected to the second input terminal of the NAND gate NAND19, the output terminal of the NAND gate NAND19 is connected to the IN terminal of the RS flip-flop RS2, and the OUT terminal of the RS flip-flop RS2 is connected to the output pin Z1; the output end of the NOR gate NOR23 is connected to the second input end of the NAND gate NAND20, the output end of the NAND gate NAND20 is connected to the IN end of the RS flip-flop RS3, and the OUT end of the RS flip-flop RS3 is connected to the output pin Z2; the output end of the NOR gate NOR24 is connected to the second input end of the NAND gate NAND21, the output end of the NAND gate NAND21 is connected to the IN end of the RS flip-flop RS4, and the OUT end of the RS flip-flop RS4 is connected to the output pin Z3; the output end of the NOR gate NOR25 is connected to the second input end of the NAND gate NAND22, the output end of the NAND gate NAND22 is connected to the IN end of the RS flip-flop RS5, and the OUT end of the RS flip-flop RS5 is connected to the output pin Z4;The output end of the NOR gate NOR26 is connected to the second input end of the NAND gate NAND23, the output end of the NAND gate NAND23 is connected to the IN end of the RS trigger RS6, and the OUT end of the RS trigger RS6 is connected to the output pin Z5; the output end of the NOR gate NOR27 is connected to the second input end of the NAND gate NAND24, the output end of the NAND gate NAND24 is connected to the IN end of the RS trigger RS7, and the OUT end of the RS trigger RS7 is connected to the output pin Z6; the output end of the NOR gate NOR28 is connected to the second input end of the NAND gate NAND25, the output end of the NAND gate NAND25 is connected to the IN end of the RS trigger RS8, and the OUT end of the RS trigger RS8 is connected to the output pin Z7.;
[0017] In one embodiment, the input terminals of the RS trigger include IN, ENN, and RST, and the output terminal includes OUT; the RS trigger is composed of inverters INV54 to INV56, a capacitor C9, a three-input NOR gate NOR29, and two-input NOR gates NOR30 and NOR31;
[0018] Inside the RS trigger, the input pin ENN is connected to the first input end of the NOR gate NOR29, the input pin IN is connected to the input end of the inverter INV54 and the second input end of the NOR gate NOR29, the output end of the inverter INV54 is connected to the positive electrode of the capacitor C9 and the third input end of the NOR gate NOR29, and the negative electrode of the capacitor C9 is connected to GND; the output end of the NOR gate NOR29 is connected to the input end of the NOR gate NOR31, the output end of the NOR gate NOR31 is connected to the second input end of the NOR gate NOR30, the input pin RST is connected to the first input end of the NOR gate NOR30, the output end of the NOR gate NOR30 is connected to the first input end of the NOR gate NOR31 and the input end of the inverter INV55, the output end of the inverter INV55 is connected to the input end of the inverter INV56, and the output end of the inverter INV56 is connected to the output pin OUT;
[0019] When the enable signal ENN is high, the circuit does not enter the enabled state, and the output OUT is high; when ENN is low, the circuit enters the enabled state. In the enabled state, if the input pin RST is low, the circuit is in working state. After the input signal flips from high to low, the output OUT will flip from high to low and maintain until the signal of the input pin RST flips from low to high to reset the module. After reset, the output signal returns to high.
[0020] In one embodiment, the latch output module Block4 includes inverters INV57-INV61, two-input NAND gates NAND26-NAND31, two-input NOR gates NOR32-NOR35, and transmission switches BUF1-BUF32; input pins include CTRL0, CTRL1, CTRL4, CTRL5, TMEN, A0-A7, and output pins include Z1<7:0>, Z2<7:0>, Z3<7:0>, and Z4<7:0>;
[0021] In the latch output module Block4, the input pin CTRL0 is connected to the input end of the inverter INV57, the first input end of the NAND gate NAND28 and the second input end of the NAND gate NAND29, and the output end of the inverter INV57 is connected to the first input end of the NAND gate NAND26 and the first input end of the NAND gate NAND27; the input pin CTRL1 is connected to the second input end of the NAND gate NAND27, the input end of the inverter INV58 and the first input end of the NAND gate NAND29, and the output end of the inverter INV58 is connected to the second input end of the NAND gate NAND26 and the second input end of the NAND gate NAND28; the output end of the NAND gate NAND26 is connected to the NOR gate NOR3 2, the output end of the NAND gate NAND27 is connected to the second input end of the NOR gate NOR33, the output end of the NAND gate NAND28 is connected to the second input end of the NOR gate NOR34, and the output end of the NAND gate NAND29 is connected to the second input end of the NOR gate NOR35; the input pin CTRL4 of the latch output module Block4 is connected to the first input end of the NAND gate NAND30, the input pin CTRL5 is connected to the second input end of the NAND gate NAND30 and the input end of the inverter INV59; the output end of the NAND gate NAND30 is connected to the input end of the inverter INV60, the output end of the inverter INV60 is connected to the input end of the inverter INV61, and the inverter INV61 The output end of the NOR gate NOR32 is connected to the first input end of the NOR gate NOR35; the output end of the NOR gate NOR32 is connected to the CTRL end of the transmission switch BUF1~BUF8, and the signal is ROW0; the output end of the NOR gate NOR33 is connected to the CTRL end of the transmission switch BUF9~BUF16, and the signal is ROW1; the output end of the NOR gate NOR34 is connected to the CTRL end of the transmission switch BUF17~BUF24, and the signal is ROW2; the output end of the NOR gate NOR35 is connected to the CTRL end of the transmission switch BUF25~BUF32, and the signal is ROW3; the output end of the inverter INV59 is connected to the first input end of the NAND gate NAND31, and the latch output module Blo The input pin TMEN of ck4 is connected to the second input terminal of the NAND gate NAND31, and the output terminal of the NAND gate NAND31 is connected to the ENN terminal of the transmission switches BUF1 to BUF32, and the signal is ENN; in the latch output module Block4, the input pin A0 is connected to the IN terminal of the transmission switches BUF1, BUF9, BUF17, and BUF25; the input pin A1 is connected to the IN terminal of the transmission switches BUF2, BUF10, BUF18, and BUF26; the input pin A2 is connected to the IN terminal of the transmission switches BUF3, BUF11, BUF19, and BUF27; the input pin A4 is connected to the IN terminal of the transmission switches BUF4, BUF12, BUF20, and BUF28;Input pin A5 is connected to the IN terminals of transmission switches BUF5, BUF13, BUF21, and BUF29; input pin A6 is connected to the IN terminals of transmission switches BUF6, BUF14, BUF22, and BUF30; input pin A7 is connected to the IN terminals of transmission switches BUF7, BUF15, BUF23, and BUF31; input pin A8 is connected to the IN terminals of transmission switches BUF8, BUF16, BUF24, and BUF32; the OUT terminals of transmission switches BUF1 to BUF8 are connected to Z1 respectively. <0> ~Z1 <7> ; The OUT terminals of the transmission switches BUF9 to BUF16 are connected to Z2 <0> ~Z2 <7> ; The OUT terminals of the transmission switches BUF17 to BUF24 are connected to Z3 <0> ~Z3 <7> ; The OUT terminals of the transmission switches BUF25 to BUF32 are connected to Z4 <0> ~Z4 <7> . ;
[0022] In one embodiment, the transmission switch BUF has input terminals CTRL, IN, and ENN, and an output terminal OUT; the transmission switch BUF includes inverters INV62 to INV65, a two-input NOR gate NOR36, a PMOS tube MP8, and an NMOS tube MN5; the input terminal CTRL of the transmission switch BUF is connected to the input terminal of the inverter INV62 and the gate terminal of the NMOS tube MN5; the output terminal of the inverter INV62 is connected to the gate terminal of the PMOS tube MP8; the input terminal IN of the transmission switch BUF is connected to the source terminal of the PMOS tube MP8 and The drain end of the NMOS tube MN5 and the drain end of the PMOS tube MP8 are connected to the source end of the NMOS tube MN5, the input end of the inverter INV63, and the output end of the inverter INV64; the output end of the inverter INV63 is connected to the input end of the inverter INV64 and the input end of the inverter INV65; the output end of the inverter INV65 is connected to the second input end of the NOR gate NOR36, the input end ENN of the transmission switch BUF is connected to the first input end of the NOR gate NOR36, and the output end of the NOR gate NOR36 is connected to the output end OUT of the transmission switch BUF.
[0023] The present invention provides a logic circuit for pre-burning fuses in a chip. The logic control signal can be input from the outside, and high and low level logic signals can be output according to the input signal to simulate the situation after the fuse is burned. The signal value output by the chip after the fuse is pre-burned can be directly measured, which is more intuitive and has higher accuracy. BRIEF DESCRIPTION OF THE DRAWINGS
[0024] Figure 1 It is a block diagram of a logic circuit for pre-burning fuses in a chip proposed by the present invention;
[0025] Figure 2 This is a schematic diagram of the circuit structure of the frequency division module Block1;
[0026] Figure 3 This is a schematic diagram of the circuit structure of the comparison module Block2;
[0027] Figure 4 It is a schematic diagram of the circuit structure of the timing module Block3;
[0028] Figure 5 This is a schematic diagram of the circuit structure of the RS flip-flop used in the timing module Block3;
[0029] Figure 6 This is a schematic diagram of the circuit structure of the latch output module Block4;
[0030] Figure 7 It is a circuit structure diagram of the transmission switch BUF used in the latch output module Block4;
[0031] Figure 8 It is a control timing diagram illustrated in the embodiment. DETAILED DESCRIPTION
[0032] The following is a further detailed description of a logic circuit for pre-burning fuses in a chip proposed by the present invention in conjunction with the accompanying drawings and specific embodiments. The advantages and features of the present invention will become clearer according to the following description. It should be noted that the accompanying drawings are all in a very simplified form and are not in precise proportions, and are only used to conveniently and clearly assist in explaining the purpose of the embodiments of the present invention.
[0033] The present invention provides a circuit for pre-burning fuses in a chip, and its block structure is as follows: Figure 1 As shown, it includes a frequency division module Block1, a comparison module Block2, a timing module Block3, and a latch output module Block4.
[0034] The input signal READY is connected to the input terminal EN of the frequency division module Block1 and the input terminal A3 of the comparison module BLOCK2; the external input signal ENN is connected to the input terminal ENN of the comparison module Block2; the external input signal Ibias is connected to the input terminal Ibias of the comparison module Block2; the external input signal VIN1 is connected to the input terminal VIN1 of the comparison module Block2; and the external input signal VIN2 is connected to the input terminal VIN2 of the comparison module Block2.
[0035] The input terminal D of the frequency dividing module Block1 is connected to the output terminal Z3 of the comparison module Block2; the output terminal Z5 of the frequency dividing module Block1 is connected to the input terminal TMEN of the comparison module Block2, the input terminal TMEN of the timing module Block3, and the input terminal TMEN of the latch output module Block4; the output terminal Z2 of the frequency dividing module Block1 is connected to the input terminal A5 of the comparison module Block2; the output terminal Z3 of the frequency dividing module Block1 is connected to the input terminal A1 of the comparison module Block2; the output terminal Z4 of the frequency dividing module Block1 is connected to the input terminal A2 of the comparison module Block2.
[0036] The input terminal A4 of the comparison module Block2 is connected to the output terminal A4 of the timing module Block3; the output terminal Z1 of the comparison module Block2 is connected to the input terminal A of the timing module Block3; the output terminal Z6 of the comparison module Block2 is connected to the input terminal CK of the timing module Block3; the output terminal Z7 of the comparison module Block2 is connected to the input terminal ENN of the timing module Block3; the output terminal ZN3 of the comparison module Block2 is connected to the input terminal R of the timing module Block3; the output terminal Z1_1 of the comparison module Block2 is connected to the input terminal CTRL4 of the latch output module Block4; the output terminal Z2 of the comparison module Block2 is connected to the input terminal CTRL5 of the latch output module Block4.
[0037] The output terminal CKOUT2 of the timing module Block3 is connected to the input terminal CTRL0 of the latch output module Block4; the output terminal CKOUT1 of the timing module Block3 is connected to the input terminal CTRL1 of the latch output module Block4; the output terminal Z0 of the timing module Block3 is connected to the input terminal A0 of the latch output module Block4; the output terminal Z1 of the timing module Block3 is connected to the input terminal A1 of the latch output module Block4; the output terminal Z2 of the timing module Block3 is connected to the input terminal A0 of the latch output module Block4 The output terminal Z3 of the timing module Block3 is connected to the input terminal A2 of the latch output module Block4; the output terminal Z4 of the timing module Block3 is connected to the input terminal A4 of the latch output module Block4; the output terminal Z5 of the timing module Block3 is connected to the input terminal A5 of the latch output module Block4; the output terminal Z6 of the timing module Block3 is connected to the input terminal A6 of the latch output module Block4; the output terminal Z7 of the timing module Block3 is connected to the input terminal A7 of the latch output module Block4.
[0038] Latch output module Block4 output terminal Z1 <7> Connection output signal Z1 <7> ; The output terminal Z1<6:0> of the latch output module Block4 is connected to the output signal Z1<6:0>; the output terminal Z2<7:0> of the latch output module Block4 is connected to the output signal Z2<7:0>; the output terminal Z3<7:0> of the latch output module Block4 is connected to the output signal Z3<7:0>; the output terminal Z4<7:0> of the latch output module Block4 is connected to the output signal Z4<7:0>.
[0039] like Figure 2 As shown, the frequency division module Block1 includes D flip-flops DFF1-DFF4, inverters INV1-INV21, three-input NOR gates NOR1-NOR7, NOR15, two-input NOR gates NOR8-NOR14, NOR16, NAND gates NAND1-NAND10, and capacitors C1 and C2. External pins include input pins EN and D, and output pins Z2, Z3, Z4, and Z5. The frequency division module Block1 is powered by VDD and GND (VDD and GND are not shown in the figure).
[0040] The input pin EN is connected to the input end of the inverter INV21, and the output end of the inverter INV21 is connected to the input end SET of the D flip-flop DFF1~DFF4, the first input end of the NOR gate NOR13, and the first input end of the NOR gate NOR15; the input signal D is connected to the input end D of the D flip-flop DFF1 and the input end of the inverter INV1, the output end of the inverter INV1 is connected to the input end of the inverter INV2, the output end of the inverter INV2 is connected to the input end of the inverter INV3 and the positive electrode of the capacitor C1, the negative electrode of the capacitor C1 is grounded, the output end of the inverter INV3 is connected to the input end of the inverter INV4, the output end of the inverter INV4 is connected to the input end of the inverter INV5, and the output end of the inverter INV5 is respectively connected to the first input ends of the NOR gates NOR1~NOR7. The output signal of the output end Q of the D flip-flop DFF1 is F1, which is connected to the second input ends of the NOR gates NOR3 and NOR5; the output end of the D flip-flop DFF1 The output signal is F1_N, which is connected to the input terminal D of the D flip-flop DFF2 and the second input terminals of the NOR gates NOR2 and NOR4. The output signal of the output terminal Q of the D flip-flop DFF2 is F2, which is connected to the third input terminals of the NOR gates NOR4 and NOR5 and the second input terminal of the NOR gate NOR14; the output terminal of the D flip-flop DFF2 The output signal is F2_N, which is connected to the input terminal D of the D flip-flop DFF3 and the third input terminals of the NOR gates NOR2 and NOR3. The output signal of the output terminal Q of the D flip-flop DFF3 is F3, which is connected to the second input terminals of the NOR gates NOR1 and NOR7; the output terminal of the D flip-flop DFF3The output signal is F3_N, which is connected to the input terminal D of the D flip-flop DFF4 and the second input terminal of the NOR gate NOR6. The output signal of the output terminal Q of the D flip-flop DFF4 is F4, which is connected to the third input terminals of the NOR gates NOR6 and NOR7; the output signal of the output terminal Q of the D flip-flop DFF4 is F4_N, which is connected to the third input terminal of the NOR gate NOR1. The output end of the NOR gate NOR1 is connected to the first input ends of the NAND gates NAND1 and NAND2, the output end of the NOR gate NOR2 is connected to the first input ends of the NAND gates NAND4 and NAND8, the output end of the NOR gate NOR3 is connected to the second input end of the NAND gate NAND1 and the first input end of the NAND gate NAND5, the output end of the NOR gate NOR4 is connected to the second input end of the NAND gate NAND2 and the first input end of the NAND gate NAND6, the output end of the NOR gate NOR5 is connected to the second input end of the NAND gate NAND3 and the first input end of the NAND gate NAND7, the output end of the NOR gate NOR6 is connected to the second input ends of the NAND gates NAND4 and NAND7, and the output end of the NOR gate NOR7 is connected to the second input end of the NAND gate NAND8. The output end of the NAND gate NAND1 is connected to the input end of the inverter INV6, the output end of the NAND gate NAND2 is connected to the input end of the inverter INV7, the output end of the NAND gate NAND3 is connected to the input end of the inverter INV8, the output end of the NAND gate NAND4 is connected to the input end of the inverter INV9, the output end of the NAND gate NAND5 is connected to the input end of the inverter INV10, the output end of the NAND gate NAND6 is connected to the input end of the inverter INV11, the output end of the NAND gate NAND7 is connected to the input end of the inverter INV12, and the output end of the NAND gate NAND8 is connected to the input end of the inverter INV13. The output end of the inverter INV6 is connected to the first input end of the NOR gate NOR12, the input end of the inverter INV14, and the first input end of the NOR gate NOR8. The output ends of the inverters INV7 and INV9 are respectively connected to the first and second input ends of the NOR gate NOR9. The output end of the inverter INV8 is connected to the second input end of the NOR gate NOR8. The output ends of the inverters INV10 and INV12 are respectively connected to the first and second input ends of the NOR gate NOR10. The output end of the inverter INV11 is connected to the first input end of the NOR gate NOR11. The output end of the inverter INV13 is connected to the second input end of the NOR gate NOR11 and the second input end of the NOR gate NOR16. The output ends of the NOR gates NOR8 and NOR10 are respectively connected to the first and second input ends of the NAND gate NAND10. The output ends of the NOR gates NOR9 and NOR11 are respectively connected to the first and second input ends of the NAND gate NAND9.The output end of the NAND gate NAND9 is connected to the input end of the inverter INV15, and the output end of the inverter INV15 is connected to the output pin Z2 of the frequency division module Block1; the output end of the NAND gate NAND10 is connected to the input end of the inverter INV16, and the output end of the inverter INV16 is connected to the output pin Z3 of the frequency division module Block1. The output end of the inverter INV14 is connected to the positive electrode of the capacitor C2 and the second input end of the NOR gate NOR12. The output end of the NOR gate NOR13 is connected to the input end of the inverter INV19 and the first input end of the NOR gate NOR14, and the output end of the NOR gate NOR14 is connected to the second input end of the NOR gate NOR13. The output end of the inverter INV19 is connected to the input end of the inverter INV20, and the output end of the inverter INV20 is connected to the output pin Z5 of the frequency division module Block1. The output end of the NOR gate NOR12 is connected to the second input end of the NOR gate NOR15, the output end of the NOR gate NOR15 is connected to the first input end of the NOR gate NOR16 and the input end of the inverter INV17, and the output end of the NOR gate NOR16 is connected to the third input end of the NOR gate NOR15. The output end of the inverter INV17 is connected to the input end of the inverter INV18, and the output end of the inverter INV18 is connected to the output pin Z5 of the frequency division module Block1.
[0041] like Figure 3 As shown, the comparison module Block2 includes PMOS tubes MP1-MP7, NMOS tubes MN1-MN5, resistors RES1, RES2, capacitors C3, C4, C5, two-input NAND gates NAND11-NAND14 and NAND16, three-input NAND gate NAND15; inverters INV22-INV42, two-input NOR gate NOR18, three-input NOR gate NOR17, Schmitt triggers SMIT1, SMIT2. External pins include input pins EN, IBias, TMEN, VIN1, VIN2, A1, A2, A3, A4, A5, and output pins Z1, Z1_1, Z2, Z3, Z6, Z7, ZN3. The comparison module Block2 is powered by VDD and GND.
[0042] VDD connects the source and substrate of PMOS tube MP1, the source and substrate of PMOS tube MP2, and the substrate of PMOS tube MP3, and GND connects the source and substrate of NMOS tubes MN1 to MN5. The source of PMOS tube MP3 connects the gate and drain of PMOS tube MP1, the input pin TMEN connects the gate of PMOS tube MP2, the second input of NAND gate NAND11, and the first input of NAND gate NAND12, the drain of PMOS tube MP2 connects the gate and drain of PMOS tube MP3, the gate of PMOS tube MP5, the gate of PMOS tube MP7, and the drain of NMOS tube MN2. The gate of NMOS tube MN2 connects the input pin IBias, the gate and drain of NMOS tube MN1, the drain of NMOS tube MN5, the gate of NMOS tube MN3, and the gate of NMOS tube MN4. The gate of NMOS tube MN5 connects the input pin ENN. The input pin VIN1 is connected to the upper end of the resistor RES1, the lower end of the resistor RES1 is connected to the source end and substrate of the PMOS tube MP4 and the substrate of the PMOS tube MP5, the source end of the PMOS tube MP5 is connected to the gate end and drain end of the PMOS tube MP4, the drain end of the PMOS tube MP5 is connected to the drain end of the NMOS tube MN3 and the input end of the Schmitt trigger SMIT2, and the signal is VIN1_BUF; the input pin VIN2 is connected to the upper end of the resistor RES2, the lower end of the resistor RES2 is connected to the source end and substrate of the PMOS tube MP6 and the substrate of the PMOS tube MP7, the source end of the PMOS tube MP7 is connected to the gate end and drain end of the PMOS tube MP6, the drain end of the PMOS tube MP7 is connected to the drain end of the NMOS tube MN4 and the input end of the Schmitt trigger SMIT1, and the signal is VIN2_BUF. The input pin A1 is connected to the first input end of the NAND gate NAND11, the output end of the NAND gate NAND11 is connected to the input end of the inverter INV22, the output end of the inverter INV22 is connected to the input end of the inverter INV23 and the output pin Z2, the output end of the inverter INV23 is connected to the input end of the inverter INV24, and the output end of the inverter INV24 is connected to the input pin Z1_1. The input pin A2 is connected to the input end of the inverter INV25, the output end of the inverter INV25 is connected to the positive electrode of the capacitor C3 and the input end of the inverter INV26, the negative electrode of the capacitor C3 is connected to GND, the output end of the inverter INV26 is connected to the input end of the inverter INV27, the output end of the inverter INV27 is connected to the input end of the inverter INV28, and the output end of the inverter INV28 is connected to the output pin Z2. The output end of the Schmitt trigger SMIT1 is connected to the second input end of the NAND gate NAND12, the output end of the NAND gate NAND12 is connected to the input end of the inverter INV29, and the output end of the inverter INV29 is connected to the output pin Z7.The input pin A4 is connected to the input end of the inverter INV30 and the first input end of the NAND gate NAND13, the output end of the inverter INV30 is connected to the positive electrode of the capacitor C4 and the second input end of the NAND gate NAND13, the negative electrode of the capacitor C4 is connected to GND, the output end of the NAND gate NAND13 is connected to the input end of the inverter INV31, and the output end of the inverter INV31 is connected to the first input end of the NOR gate NOR17. The input pin A3 is connected to the input end of the inverter INV32 and the first input end of the NAND gate NAND15, the output end of the inverter INV32 is connected to the second input end of the NOR gate NOR17 and the output pin ZN3, the input pin A5 is connected to the input end of the inverter INV37 and the first input end of the NAND gate NAND14, the output end of the inverter INV37 is connected to the positive electrode of the capacitor C5 and the second input end of the NAND gate NAND14, the negative electrode of the capacitor C5 is connected to GND, and the output end of the NAND gate NAND14 is connected to the inverter INV32. The input terminal of NV38 and the output terminal of inverter INV38 are connected to the second input terminal of NOR gate NOR18, the output terminal of NOR gate NOR18 is connected to the third input terminal of NOR gate NOR17, the output terminal of NOR gate NOR17 is connected to the first input terminal of NOR gate NOR18 and the input terminal of inverter INV33, the output terminal of inverter INV33 is connected to the third input terminal of NAND gate NAND15 and the input terminal of inverter INV36, and the output terminal of inverter INV36 is connected to the first input terminal of NAND gate NAND16. The output terminal of Schmitt trigger SMIT2 is connected to the second input terminal of NAND gate NAND15 and the input terminal of inverter INV39, the output terminal of inverter INV39 is connected to the input terminal of inverter INV40, and the output terminal of inverter INV40 is connected to the second input terminal of NAND gate NAND16. The output end of the NAND gate NAND16 is connected to the input end of the inverter INV41, the output end of the inverter INV41 is connected to the input end of the inverter INV42, and the output end of the inverter INV42 is connected to the output pin Z6. The output end of the NAND gate NAND15 is connected to the input end of the inverter INV34, the output end of the inverter INV34 is connected to the input end of the inverter INV35, and the output end of the inverter INV35 is connected to the output pin Z3.
[0043] like Figure 4As shown, the timing module Block3 includes D flip-flops DFF5-DFF9, inverters INV43-INV53, two-input NAND gates NAND17-NAND25, two-input NOR gates NOR19-NOR20, three-input NOR gates NOR21-NOR28, and RS flip-flops RS1-RS8. External pins include input pins CK, R, TMEN, A, ENN, and output pins CKOUT1, CKOUT2, A4, Z0, Z1, Z2, Z3, Z4, Z5, Z6, and Z7. The timing module Block3 is powered by VDD and GND (VDD and GND are not shown in the figure).
[0044] In the timing module Block3, the input pin R is connected to the CLR terminal of the D flip-flops DFF5 to DFF9 and the second input terminal of the NOR gate NOR20. The input pin CK is connected to the SET terminal of the D flip-flop DFF5 and the first input terminal of the NAND gate NAND17. The input terminal D of the D flip-flop DFF5 is connected to the output terminal of the D flip-flop DFF5. The SET terminal of the D flip-flop DFF6, the first input terminal of the NOR gate NOR21, the first input terminal of the NOR gate NOR23, the first input terminal of the NOR gate NOR25, and the first input terminal of the NOR gate NOR27, the signal line is F1_N; the output terminal Q of the D flip-flop DFF5 is connected to the first input terminal of the NOR gate NOR22, the first input terminal of the NOR gate NOR24, the first input terminal of the NOR gate NOR26, and the first input terminal of the NOR gate NOR28, the signal line is F1. The input terminal D of the D flip-flop DFF6 is connected to the output terminal of the D flip-flop DFF6 The SET terminal of the D flip-flop DFF7, the second input terminal of the NOR gate NOR21, the second input terminal of the NOR gate NOR22, the second input terminal of the NOR gate NOR25, and the second input terminal of the NOR gate NOR26, the signal is F2_N; the output terminal Q of the D flip-flop DFF6 is connected to the second input terminal of the NOR gate NOR23, the second input terminal of the NOR gate NOR24, the second input terminal of the NOR gate NOR27, and the second input terminal of the NOR gate NOR28, the signal is F2. The input terminal D of the D flip-flop DFF7 is connected to the output terminal of the D flip-flop DFF7 The SET terminal of the D flip-flop DFF8, the third input terminal of the NOR gate NOR21, the third input terminal of the NOR gate NOR22, the third input terminal of the NOR gate NOR23, and the third input terminal of the NOR gate NOR24 are connected to the SET terminal of the D flip-flop DFF8, and the signal is F3_N; the output terminal Q of the D flip-flop DFF7 is connected to the third input terminal of the NOR gate NOR25, the third input terminal of the NOR gate NOR26, the third input terminal of the NOR gate NOR27, and the third input terminal of the NOR gate NOR28, and the signal is F3. The input terminal D of the D flip-flop DFF8 is connected to the output terminal The output terminal Q of the D flip-flop DFF8 is connected to the input terminal of the inverter INV43, and the output terminal of the inverter INV43 is connected to the output pin CKOUT1. The input terminal D of the D flip-flop DFF9 is connected to the output terminal Q of the D flip-flop DFF9. The output terminal Q of the D flip-flop DFF9 is connected to the input terminal of the inverter INV45, the output terminal of the inverter INV45 is connected to the input terminal of the inverter INV46, and the input terminal of the inverter INV46 is connected to the output pin CKOUT2. The input pin TMEN is connected to the second input terminal of the NAND gate NAND17, the output terminal of the NAND gate NAND17 is connected to the input terminal of the inverter INV47, the output terminal of the inverter INV47 is connected to the positive electrode of the capacitor C6 and the input terminal of the inverter INV48, the negative electrode of the capacitor C6 is connected to GND, the output terminal of the inverter INV48 is connected to the input terminal of the inverter INV49, the output terminal of the inverter INV49 is connected to the first input terminal of the NAND gates NAND18 to NAND25, and the signal is sel. The input pin A is connected to the input terminal of the inverter INV50, the output terminal of the inverter INV50 is connected to the positive electrode of the capacitor C7 and the output terminal of the inverter INV51, and the negative electrode of the capacitor C7 is connected to GND. The output end of the inverter INV51 is connected to the input end of the inverter INV52 and the first input end of the NOR gate NOR19, the output end of the inverter INV52 is connected to the positive electrode of the capacitor C8 and the second input end of the NOR gate NOR19, and the negative electrode of the capacitor C8 is connected to GND. The output end of the NOR gate NOR19 is connected to the first input end of the NOR gate NOR20, the output end of the NOR gate NOR20 is connected to the input end of the inverter INV53, the output end of the inverter INV53 is connected to the input end RST of the RS trigger RS1~RS8, and the signal is rst. The input pin ENN is connected to the input end ENN of the RS trigger RS1~RS8. The output end of the NOR gate NOR21 is connected to the second input end of the NAND gate NAND18, the output end of the NAND gate NAND18 is connected to the input end of the inverter INV54 and the IN end of the RS trigger RS1, the output end of the inverter INV54 is connected to the output pin A4, and the OUT end of the RS trigger RS1 is connected to the output pin Z0. The output end of the NOR gate NOR22 is connected to the second input end of the NAND gate NAND19, the output end of the NAND gate NAND19 is connected to the IN end of the RS flip-flop RS2, and the OUT end of the RS flip-flop RS2 is connected to the output pin Z1. The output end of the NOR gate NOR23 is connected to the second input end of the NAND gate NAND20, the output end of the NAND gate NAND20 is connected to the IN end of the RS flip-flop RS3, and the OUT end of the RS flip-flop RS3 is connected to the output pin Z2. The output end of the NOR gate NOR24 is connected to the second input end of the NAND gate NAND21, the output end of the NAND gate NAND21 is connected to the IN end of the RS flip-flop RS4, and the OUT end of the RS flip-flop RS4 is connected to the output pin Z3. The output end of the NOR gate NOR25 is connected to the second input end of the NAND gate NAND22, the output end of the NAND gate NAND22 is connected to the IN end of the RS flip-flop RS5, and the OUT end of the RS flip-flop RS5 is connected to the output pin Z4.The output end of the NOR gate NOR26 is connected to the second input end of the NAND gate NAND23, the output end of the NAND gate NAND23 is connected to the IN end of the RS flip-flop RS6, and the OUT end of the RS flip-flop RS6 is connected to the output pin Z5. The output end of the NOR gate NOR27 is connected to the second input end of the NAND gate NAND24, the output end of the NAND gate NAND24 is connected to the IN end of the RS flip-flop RS7, and the OUT end of the RS flip-flop RS7 is connected to the output pin Z6. The output end of the NOR gate NOR28 is connected to the second input end of the NAND gate NAND25, the output end of the NAND gate NAND25 is connected to the IN end of the RS flip-flop RS8, and the OUT end of the RS flip-flop RS8 is connected to the output pin Z7.
[0045] like Figure 5 As shown, in the timing module Block3, the input terminals of the RS trigger are IN, ENN, and RST, and the output terminal is OUT; the RS trigger is composed of inverters INV54 to INV56, capacitor C9, three-input NOR gate NOR29, and two-input NOR gates NOR30 and NOR31. Inside the RS trigger, the input pin ENN is connected to the first input terminal of the NOR gate NOR29, the input pin IN is connected to the input terminal of the inverter INV54 and the second input terminal of the NOR gate NOR29, the output terminal of the inverter INV54 is connected to the positive electrode of the capacitor C9 and the third input terminal of the NOR gate NOR29, and the negative electrode of the capacitor C9 is connected to GND. The output end of the NOR gate NOR29 is connected to the input end of the NOR gate NOR31, the output end of the NOR gate NOR31 is connected to the second input end of the NOR gate NOR30, the input pin RST is connected to the first input end of the NOR gate NOR30, the output end of the NOR gate NOR30 is connected to the first input end of the NOR gate NOR31 and the input end of the inverter INV55, the output end of the inverter INV55 is connected to the input end of the inverter INV56, and the output end of the inverter INV56 is connected to the output pin OUT.
[0046] When the enable signal ENN is high, the circuit does not enter the enable state, and the output OUT is high. When ENN is low, the circuit enters the enable state. In the enable state, if the input pin RST is low, the circuit is in the working state. After the input signal flips from high to low, the output OUT will flip from high to low and remain until the signal of the input pin RST flips from low to high to reset the module. After reset, the output signal returns to high.
[0047] like Figure 6As shown, the latch output module Block4 includes inverters INV57-INV61, two-input NAND gates NAND26-NAND31, two-input NOR gates NOR32-NOR35, and transmission switches BUF1-BUF32. The input pins are CTRL0, CTRL1, CTRL4, CTRL5, TMEN, A0-A7, and the output pins are Z1<7:0>, Z2<7:0>, Z3<7:0>, and Z4<7:0>. The latch output module Block4 is powered by VDD and GND (VDD and GND are not shown in the figure).
[0048] In the latch output module Block4, the input pin CTRL0 is connected to the input end of the inverter INV57, the first input end of the NAND gate NAND28, and the second input end of the NAND gate NAND29, and the output end of the inverter INV57 is connected to the first input end of the NAND gate NAND26 and the first input end of the NAND gate NAND27. The input pin CTRL1 is connected to the second input end of the NAND gate NAND27, the input end of the inverter INV58, and the first input end of the NAND gate NAND29, and the output end of the inverter INV58 is connected to the second input end of the NAND gate NAND26 and the second input end of the NAND gate NAND28. The output end of the NAND gate NAND26 is connected to the second input end of the NOR gate NOR32, the output end of the NAND gate NAND27 is connected to the second input end of the NOR gate NOR33, the output end of the NAND gate NAND28 is connected to the second input end of the NOR gate NOR34, and the output end of the NAND gate NAND29 is connected to the second input end of the NOR gate NOR35. The input pin CTRL4 of the latch output module Block4 is connected to the first input end of the NAND gate NAND30, and the input pin CTRL5 is connected to the second input end of the NAND gate NAND30 and the input end of the inverter INV59. The output end of the NAND gate NAND30 is connected to the input end of the inverter INV60, and the output end of the inverter INV60 is connected to the input end of the inverter INV61, and the output end of the inverter INV61 or the first input end of the NOR gates NOR32 to NOR35. The output end of the NOR gate NOR32 is connected to the CTRL end of the transmission switches BUF1 to BUF8, and the signal is ROW0; the output end of the NOR gate NOR33 is connected to the CTRL end of the transmission switches BUF9 to BUF16, and the signal is ROW1; the output end of the NOR gate NOR34 is connected to the CTRL end of the transmission switches BUF17 to BUF24, and the signal is ROW2; the output end of the NOR gate NOR35 is connected to the CTRL end of the transmission switches BUF25 to BUF32, and the signal is ROW3. The output end of the inverter INV59 is connected to the first input end of the NAND gate NAND31, the input pin TMEN of the latch output module Block4 is connected to the second input end of the NAND gate NAND31, and the output end of the NAND gate NAND31 is connected to the ENN end of the transmission switches BUF1 to BUF32, and the signal is ENN.In the latch output module Block4, input pin A0 is connected to the IN end of transmission switches BUF1, BUF9, BUF17, and BUF25; input pin A1 is connected to the IN end of transmission switches BUF2, BUF10, BUF18, and BUF26; input pin A2 is connected to the IN end of transmission switches BUF3, BUF11, BUF19, and BUF27; input pin A4 is connected to the IN end of transmission switches BUF4, BUF12, BUF20, and BUF28; input pin A5 is connected to the IN end of transmission switches BUF5, BUF13, BUF21, and BUF29; input pin A6 is connected to the IN end of transmission switches BUF6, BUF14, BUF22, and BUF30; input pin A7 is connected to the IN end of transmission switches BUF7, BUF15, BUF23, and BUF31; input pin A8 is connected to the IN end of transmission switches BUF8, BUF16, BUF24, and BUF32. The OUT terminals of the transmission switches BUF1 to BUF8 are connected to Z1 <0> ~Z1 <7> ; The OUT terminals of the transmission switches BUF9 to BUF16 are connected to Z2 <0> ~Z2 <7> ; The OUT terminals of the transmission switches BUF17 to BUF24 are connected to Z3 <0> ~Z3 <7> ; The OUT terminals of the transmission switches BUF25 to BUF32 are connected to Z4 <0> ~Z4 <7> .
[0049] like Figure 7 As shown, in the latch output module Block4, the input terminals of the transmission switch BUF include CTRL, IN, ENN, and the output terminal includes OUT; it includes inverters INV62 to INV65, two-input NOR gate NOR36, PMOS tube MP8 and NMOS tube MN5. The input terminal CTRL of the transmission switch BUF is connected to the input terminal of the inverter INV62 and the gate terminal of the NMOS tube MN5. The output terminal of the inverter INV62 is connected to the gate terminal of the PMOS tube MP8. The input terminal IN of the transmission switch BUF is connected to the source terminal of the PMOS tube MP8 and the drain terminal of the NMOS tube MN5, and the drain terminal of the PMOS tube MP8 is connected to the source terminal of the NMOS tube MN5, the input terminal of the inverter INV63, and the output terminal of the inverter INV64. The output terminal of the inverter INV63 is connected to the input terminal of the inverter INV64 and the input terminal of the inverter INV65. The output end of the inverter INV65 is connected to the second input end of the NOR gate NOR36, the input end ENN of the transmission switch BUF is connected to the first input end of the NOR gate NOR36, and the output end of the NOR gate NOR36 is connected to the output end OUT of the transmission switch BUF.
[0050] The circuit works as follows:
[0051] After the chip is powered on, when other modules are working normally, the input terminal IBias provides driving current to the circuit, and the input terminals READY and ENN provide enable signals. The ENN signal is low level, and the READY signal turns high after the chip is working normally.
[0052] like Figure 8 As shown, after the READY signal turns high, a specific control signal is input through the VIN1 and VIN2 pins (i.e., input terminals VIN1 and VIN2). First, two square wave signals with a certain pulse width are input through VIN1, and the level is VTH. This VTH is the comparison threshold of the comparison module Block2, and the threshold VTH can be adjusted by setting the PMOS tubes MP1~MP7 and NMOS tubes MN1~MN5 in the comparison module Block2. The voltage value of VTH can be set to a voltage value higher than the power supply VDD. After these two pulses of VIN1, the chip enters the test mode, and the output signal of the output terminal Z5 of the frequency division module Block1 turns from a low level to a high level, enabling the logic part of the subsequent modules, and turning off the PMOS tube MP2 in the comparison module Block2, reducing the threshold of the comparator to be lower than the power supply voltage VDD. Therefore, the level of the clock signal sent from the VIN1 pin subsequently reaches VDD to trigger the internal logic flip.
[0053] After the first two pulses of VIN1, the chip enters the test mode. The four sets of pre-burn codes required can be sent serially through the combination logic of VIN1 and VIN2, where VIN1 acts as a clock signal and VIN2 acts as a data signal. When the pre-Trim code needs to be set, VIN2 needs to input the set value before the rising edge of the clock square wave corresponding to VIN1. The high level represents the preset "0" and the low level represents the preset "1".
[0054] The detailed instructions are as follows:
[0055] When the first set of pre-Trim signals is input, VIN1 sends 8 square wave signals. During this process, VIN2 can send square wave signals with a certain timing. The first set of pre-Trim codes Z1<7:0> that need to be set for serial input, that is, the first data signal input by VIN2 determines Z1. <7> , the second data signal determines Z1 <6> , and so on, the eighth data signal determines Z1 <0> .by Figure 8 For example, VIN2 sends 8 signals, all of which are square waves, and the rising edge of each square wave of VIN2 is earlier than the rising edge of each corresponding square wave of VIN1. Therefore, the input pre-Trim code can obtain Z1<6:0>=0000000 in the output pre-Trim code stage.
[0056] Special instructions, Z1 <7> Due to initialization reasons, the signal is not controlled by the first input data of VIN2, and the output pre-Trim code is always 1. Therefore, this Trim bit can be unused, and the output signal that can be controlled by the first set of Trim codes is Z1<6:0>.
[0057] After VIN1 finishes the first set of pre-Trim for 8 clocks, it needs to send two separate square waves to represent the interval between the two sets of pre-Trim. During this stage, VIN2 input can be kept at a low level. After VIN1 inputs two square waves, the second set of pre-Trim begins.
[0058] When the second set of pre-Trim signals is input, VIN1 sends 8 square wave signals. During this process, VIN2 can send square wave signals with a certain timing. The first set of pre-Trim codes Z2<7:0> that need to be set for serial input, that is, the first data signal input by VIN2 determines Z2 <7> , the second data signal determines Z2 <6> , and so on, the eighth data signal determines Z2 <0> .by Figure 8 For example, VIN2 sends 8 signals, of which 4 are square wave signals, corresponding to the 1st, 2nd, 5th, and 7th square wave clock signals of VIN1; the other 4 signals are low level signals. The rising edge of each square wave of VIN2 is earlier than the rising edge of each corresponding square wave of VIN1. Therefore, the input pre-Trim code can get Z2<7:0>=00110101 in the output pre-Trim code stage.
[0059] After VIN1 finishes the second set of pre-Trim for 8 clocks, it needs to send two separate square waves to represent the interval between the two sets of pre-Trim. In this stage, VIN2 input can be kept at a low level. After VIN1 inputs two square waves, the third set of pre-Trim begins.
[0060] When the third set of pre-Trim signals is input, VIN1 sends 8 square wave signals. During this process, VIN2 can send square wave signals with a certain timing. The first set of pre-Trim codes Z3<7:0> that need to be set for serial input, that is, the first data signal input by VIN2 determines Z3. <7> , the second data signal determines Z3 <6> , and so on, the eighth data signal determines Z3 <0> .by Figure 8 For example, VIN2 sends 8 signals, of which 4 are square wave signals, corresponding to the 3rd, 4th, 6th, and 8th square wave clock signals of VIN1; the other 4 signals are low level signals. The rising edge of each square wave of VIN2 is earlier than the rising edge of each corresponding square wave of VIN1. Therefore, the input pre-Trim code can get Z3<7:0>=11001010 in the output pre-Trim code stage.
[0061] After VIN1 finishes the 8 clocks of the third set of pre-Trim, it needs to send two separate square waves to represent the interval between the two sets of pre-Trim. In this stage, VIN2 input can be kept at a low level. After VIN1 inputs two square waves, the fourth set of pre-Trim begins.
[0062] When the fourth set of pre-Trim signals is input, VIN1 sends 8 square wave signals. During this process, VIN2 can send square wave signals with a certain timing. The first set of pre-Trim codes Z4<7:0> that need to be set for serial input, that is, the first data signal input by VIN2 determines Z4. <7> , the second data signal determines Z4 <6> , and so on, the eighth data signal determines Z4 <0> .by Figure 8 For example, VIN2 sends 8 signals, of which 4 are square wave signals, corresponding to the 1st, 3rd, 5th, and 7th square wave clock signals of VIN1; the other 4 signals are low level signals. The rising edge of each square wave of VIN2 is earlier than the rising edge of each corresponding square wave of VIN1. Therefore, the input pre-Trim code can get Z4<7:0>=01010101 in the output pre-Trim code stage.
[0063] When VIN1 finishes the 8 clocks of the fourth group of pre-Trim, it needs to send a separate square wave. After the sending is completed, the circuit enters the stage of outputting the pre-Trim code. VIN1 and VIN2 remain at a low level and no longer input signals. After entering this stage, the four groups of pre-Trim signals Z1<6:0>, Z2<7:0>, Z3<7:0>, and Z4<7:0> will be output simultaneously to complete the pre-Trim function.
[0064] The above description is only a description of the preferred embodiments of the present invention, and is not intended to limit the scope of the present invention. Any changes or modifications made by a person skilled in the art in the field of the present invention based on the above disclosure shall fall within the scope of protection of the claims.
Claims
1. A logic circuit for pre-burning fuses in a chip, characterized in that: It includes a frequency division module Block1, a comparison module Block2, a timing module Block3 and a latch output module Block4; The input signal READY is connected to the input terminal EN of the frequency division module Block1 and the input terminal A3 of the comparison module BLOCK2; the external input signal ENN is connected to the input terminal ENN of the comparison module Block2; the external input signal Ibias is connected to the input terminal Ibias of the comparison module Block2; the external input signal VIN1 is connected to the input terminal VIN1 of the comparison module Block2; the external input signal VIN2 is connected to the input terminal VIN2 of the comparison module Block2; The input terminal D of the frequency dividing module Block1 is connected to the output terminal Z3 of the comparison module Block2; the output terminal Z5 of the frequency dividing module Block1 is connected to the input terminal TMEN of the comparison module Block2, the input terminal TMEN of the timing module Block3, and the input terminal TMEN of the latch output module Block4; the output terminal Z2 of the frequency dividing module Block1 is connected to the input terminal A5 of the comparison module Block2; the output terminal Z3 of the frequency dividing module Block1 is connected to the input terminal A1 of the comparison module Block2; the output terminal Z4 of the frequency dividing module Block1 is connected to the input terminal A2 of the comparison module Block2; The input terminal A4 of the comparison module Block2 is connected to the output terminal A4 of the timing module Block3; the output terminal Z1 of the comparison module Block2 is connected to the input terminal A of the timing module Block3; the output terminal Z6 of the comparison module Block2 is connected to the input terminal CK of the timing module Block3; the output terminal Z7 of the comparison module Block2 is connected to the input terminal ENN of the timing module Block3; the output terminal ZN3 of the comparison module Block2 is connected to the input terminal R of the timing module Block3; the output terminal Z1_1 of the comparison module Block2 is connected to the input terminal CTRL4 of the latch output module Block4; the output terminal Z2 of the comparison module Block2 is connected to the input terminal CTRL5 of the latch output module Block4; The output terminal CKOUT2 of the timing module Block3 is connected to the input terminal CTRL0 of the latch output module Block4; the output terminal CKOUT1 of the timing module Block3 is connected to the input terminal CTRL1 of the latch output module Block4; the output terminal Z0 of the timing module Block3 is connected to the input terminal A0 of the latch output module Block4; the output terminal Z1 of the timing module Block3 is connected to the input terminal A1 of the latch output module Block4; the output terminal Z2 of the timing module Block3 is connected to the input terminal A0 of the latch output module Block4 The output terminal Z3 of the timing module Block3 is connected to the input terminal A2 of the latch output module Block4; the output terminal Z4 of the timing module Block3 is connected to the input terminal A4 of the latch output module Block4; the output terminal Z5 of the timing module Block3 is connected to the input terminal A5 of the latch output module Block4; the output terminal Z6 of the timing module Block3 is connected to the input terminal A6 of the latch output module Block4; the output terminal Z7 of the timing module Block3 is connected to the input terminal A7 of the latch output module Block4; Latch output module Block4 output terminal Z1 <7> Connection output signal Z1 <7> , output terminal Z1<6:0> is connected to output signal Z1<6:0>, output terminal Z2<7:0> is connected to output signal Z2<7:0>, output terminal Z3<7:0> is connected to output signal Z3<7:0>, and output terminal Z4<7:0> is connected to output signal Z4<7:0>; When the READY signal is low or the ENN signal is high, the logic circuit is not enabled and all output signals remain high; when the READY signal is high and the ENN signal is low, the logic circuit is enabled; the input signal IBias provides a driving current for the comparison module Block2; VIN1 and VIN2 send clock signals of a certain level and frequency, send the virtual burning code, and finally output the corresponding code in parallel through the output signals Z1<6:0>, Z2<7:0>, Z3<7:0>, and Z4<7:0> to achieve the pre-Trim function.
2. The logic circuit for pre-burning fuses in a chip as claimed in claim 1, characterized in that: The frequency division module Block1 includes D flip-flops DFF1-DFF4, inverters INV1-INV21, three-input NOR gates NOR1-NOR7, NOR15, two-input NOR gates NOR8-NOR14, NOR16, NAND gates NAND1-NAND10, capacitors C1, C2; wherein the external pins include input pins EN and D, and output pins Z2, Z3, Z4, and Z5; The input pin EN is connected to the input end of the inverter INV21, the output end of the inverter INV21 is connected to the input end SET of the D flip-flop DFF1~DFF4, the first input end of the NOR gate NOR13, and the first input end of the NOR gate NOR15; the input signal D is connected to the input end D of the D flip-flop DFF1 and the input end of the inverter INV1, the output end of the inverter INV1 is connected to the input end of the inverter INV2, the output end of the inverter INV2 is connected to the input end of the inverter INV3 and the positive electrode of the capacitor C1, the negative electrode of the capacitor C1 is grounded, the output end of the inverter INV3 is connected to the input end of the inverter INV4, the output end of the inverter INV4 is connected to the input end of the inverter INV5, and the output end of the inverter INV5 is respectively connected to the first input ends of the NOR gates NOR1~NOR7; the output signal of the output end Q of the D flip-flop DFF1 is F1, which is connected to the second input ends of the NOR gates NOR3 and NOR5; the output end of the D flip-flop DFF1 The output signal is F1_N, which is connected to the input terminal D of the D flip-flop DFF2 and the second input terminals of the NOR gates NOR2 and NOR4; the output signal of the output terminal Q of the D flip-flop DFF2 is F2, which is connected to the third input terminals of the NOR gates NOR4 and NOR5 and the second input terminal of the NOR gate NOR14; the output terminal of the D flip-flop DFF2 The output signal is F2_N, which is connected to the input terminal D of the D flip-flop DFF3 and the third input terminals of the NOR gates NOR2 and NOR3; the output signal of the output terminal Q of the D flip-flop DFF3 is F3, which is connected to the second input terminals of the NOR gates NOR1 and NOR7; the output terminal of the D flip-flop DFF3 The output signal is F3_N, which is connected to the input terminal D of the D flip-flop DFF4 and the second input terminal of the NOR gate NOR6; the output signal of the output terminal Q of the D flip-flop DFF4 is F4, which is connected to the third input terminals of the NOR gates NOR6 and NOR7; the output terminal of the D flip-flop DFF4 The output signal is F4_N, which is connected to the third input terminal of the NOR gate NOR1; the output terminal of the NOR gate NOR1 is connected to the first input terminals of the NAND gates NAND1 and NAND2, the output terminal of the NOR gate NOR2 is connected to the first input terminals of the NAND gates NAND4 and NAND8, the output terminal of the NOR gate NOR3 is connected to the second input terminal of the NAND gate NAND1 and the first input terminal of the NAND gate NAND5, the output terminal of the NOR gate NOR4 is connected to the second input terminal of the NAND gate NAND2 and the first input terminal of the NAND gate NAND6, the output terminal of the NOR gate NOR5 is connected to the second input terminal of the NAND gate NAND3 and the first input terminal of the NAND gate NAND7, and the output terminal of the NOR gate NOR6 is connected to the NAND gate NA The second input end of ND4 and NAND7, the output end of the NOR gate NOR7 is connected to the second input end of the NAND gate NAND8; the output end of the NAND gate NAND1 is connected to the input end of the inverter INV6, the output end of the NAND gate NAND2 is connected to the input end of the inverter INV7, the output end of the NAND gate NAND3 is connected to the input end of the inverter INV8, the output end of the NAND gate NAND4 is connected to the input end of the inverter INV9, the output end of the NAND gate NAND5 is connected to the input end of the inverter INV10, the output end of the NAND gate NAND6 is connected to the input end of the inverter INV11, the output end of the NAND gate NAND7 is connected to the input end of the inverter INV12, and the output end of the NAND gate NAND8 is connected to the input end of the inverter INV9. The output end of inverter INV6 is connected to the first input end of NOR gate NOR12, the input end of inverter INV14, and the first input end of NOR gate NOR8. The output ends of inverters INV7 and INV9 are respectively connected to the first and second input ends of NOR gate NOR9. The output end of inverter INV8 is connected to the second input end of NOR gate NOR8. The output ends of inverters INV10 and INV12 are respectively connected to the first and second input ends of NOR gate NOR10. The output end of inverter INV11 is connected to the first input end of NOR gate NOR11. The output end of inverter INV13 is connected to the second input end of NOR gate NOR11 and the output end of NOR gate NOR16. The second input terminal; the output terminals of the NOR gates NOR8 and NOR10 are respectively connected to the first and second input terminals of the NAND gate NAND10, and the output terminals of the NOR gates NOR9 and NOR11 are respectively connected to the first and second input terminals of the NAND gate NAND9; the output terminal of the NAND gate NAND9 is connected to the input terminal of the inverter INV15, and the output terminal of the inverter INV15 is connected to the output pin Z2 of the frequency division module Block1; the output terminal of the NAND gate NAND10 is connected to the input terminal of the inverter INV16, and the output terminal of the inverter INV16 is connected to the output pin Z3 of the frequency division module Block1; the output terminal of the inverter INV14 is connected to the positive electrode of the capacitor C2 and the second input terminal of the NOR gate NOR12;The output end of the NOR gate NOR13 is connected to the input end of the inverter INV19 and the first input end of the NOR gate NOR14, and the output end of the NOR gate NOR14 is connected to the second input end of the NOR gate NOR13; the output end of the inverter INV19 is connected to the input end of the inverter INV20, and the output end of the inverter INV20 is connected to the output pin Z5 of the frequency division module Block1; the output end of the NOR gate NOR12 is connected to the second input end of the NOR gate NOR15, the output end of the NOR gate NOR15 is connected to the first input end of the NOR gate NOR16 and the input end of the inverter INV17, and the output end of the NOR gate NOR16 is connected to the third input end of the NOR gate NOR15; the output end of the inverter INV17 is connected to the input end of the inverter INV18, and the output end of the inverter INV18 is connected to the output pin Z5 of the frequency division module Block1.; 3. The logic circuit for pre-burning fuses in a chip as claimed in claim 1, characterized in that: The comparison module Block2 includes PMOS tubes MP1-MP7, NMOS tubes MN1-MN5, resistors RES1, RES2, capacitors C3, C4, C5, two-input NAND gates NAND11-NAND14 and NAND16, three-input NAND gate NAND15; inverters INV22-INV42, two-input NOR gate NOR18, three-input NOR gate NOR17, Schmitt triggers SMIT1, SMIT2; wherein the external pins include input pins EN, IBias, TMEN, VIN1, VIN2, A1, A2, A3, A4, A5, and output pins Z1, Z1_1, Z2, Z3, Z6, Z7, ZN3; VDD is connected to the source and substrate of PMOS tube MP1, the source and substrate of PMOS tube MP2, and the substrate of PMOS tube MP3; GND is connected to the source and substrate of NMOS tubes MN1 to MN5; the source of PMOS tube MP3 is connected to the gate and drain of PMOS tube MP1; the input pin TMEN is connected to the gate of PMOS tube MP2, the second input of NAND gate NAND11, and the first input of NAND gate NAND12; the drain of PMOS tube MP2 is connected to the gate and drain of PMOS tube MP3, the gate of PMOS tube MP5, the gate of PMOS tube MP7, and the drain of NMOS tube MN2; the gate of NMOS tube MN2 is connected to input pin IBias. s, the gate and drain of NMOS tube MN1, the drain of NMOS tube MN5, the gate of NMOS tube MN3, and the gate of NMOS tube MN4; the gate of NMOS tube MN5 is connected to the input pin ENN; the input pin VIN1 is connected to the upper end of resistor RES1, the lower end of resistor RES1 is connected to the source and substrate of PMOS tube MP4 and the substrate of PMOS tube MP5, the source of PMOS tube MP5 is connected to the gate and drain of PMOS tube MP4, the drain of PMOS tube MP5 is connected to the drain of NMOS tube MN3 and the input of Schmitt trigger SMIT2, and the signal is VIN1_BUF; the input pin VIN2 is connected to the upper end of resistor RES2, and the resistor RES1 is connected to the source and substrate of PMOS tube MP4 and the substrate of PMOS tube MP5. The lower end of the PMOS tube 2 is connected to the source end and substrate of the PMOS tube MP6 and the substrate of the PMOS tube MP7, the source end of the PMOS tube MP7 is connected to the gate end and the drain end of the PMOS tube MP6, the drain end of the PMOS tube MP7 is connected to the drain end of the NMOS tube MN4 and the input end of the Schmitt trigger SMIT1, and the signal is VIN2_BUF; the input pin A1 is connected to the first input end of the NAND gate NAND11, the output end of the NAND gate NAND11 is connected to the input end of the inverter INV22, the output end of the inverter INV22 is connected to the input end of the inverter INV23 and the output pin Z2, the output end of the inverter INV23 is connected to the input end of the inverter INV24, the output end of the inverter INV24 is connected to the input end of the inverter INV24. The output end is connected to the input pin Z1_1; the input pin A2 is connected to the input end of the inverter INV25, the output end of the inverter INV25 is connected to the positive electrode of the capacitor C3 and the input end of the inverter INV26, the negative electrode of the capacitor C3 is connected to GND, the output end of the inverter INV26 is connected to the input end of the inverter INV27, the output end of the inverter INV27 is connected to the input end of the inverter INV28, and the output end of the inverter INV28 is connected to the output pin Z2; the output end of the Schmitt trigger SMIT1 is connected to the second input end of the NAND gate NAND12, the output end of the NAND gate NAND12 is connected to the input end of the inverter INV29, and the output end of the inverter INV29 is connected to the output pin Z7;Input pin A4 is connected to the input end of inverter INV30 and the first input end of NAND gate NAND13, the output end of inverter INV30 is connected to the positive electrode of capacitor C4 and the second input end of NAND gate NAND13, the negative electrode of capacitor C4 is connected to GND, the output end of NAND gate NAND13 is connected to the input end of inverter INV31, the output end of inverter INV31 is connected to the first input end of NOR gate NOR17; input pin A3 is connected to the input end of inverter INV32 and the first input end of NAND gate NAND15, inverter INV32 The output end of is connected to the second input end of the NOR gate NOR17 and the output pin ZN3, the input pin A5 is connected to the input end of the inverter INV37 and the first input end of the NAND gate NAND14, the output end of the inverter INV37 is connected to the positive electrode of the capacitor C5 and the second input end of the NAND gate NAND14, the negative electrode of the capacitor C5 is connected to GND, the output end of the NAND gate NAND14 is connected to the input end of the inverter INV38, the output end of the inverter INV38 is connected to the second input end of the NOR gate NOR18, and the output end of the NOR gate NOR18 is connected to the NOR gate The third input terminal of NOR17, the output terminal of the NOR gate NOR17 is connected to the first input terminal of the NOR gate NOR18 and the input terminal of the inverter INV33, the output terminal of the inverter INV33 is connected to the third input terminal of the NAND gate NAND15 and the input terminal of the inverter INV36, the output terminal of the inverter INV36 is connected to the first input terminal of the NAND gate NAND16; the output terminal of the Schmitt trigger SMIT2 is connected to the second input terminal of the NAND gate NAND15 and the input terminal of the inverter INV39, the output terminal of the inverter INV39 is connected to the inverter I The input end of NV40 and the output end of inverter INV40 are connected to the second input end of NAND gate NAND16; the output end of NAND gate NAND16 is connected to the input end of inverter INV41, the output end of inverter INV41 is connected to the input end of inverter INV42, and the output end of inverter INV42 is connected to output pin Z6; the output end of NAND gate NAND15 is connected to the input end of inverter INV34, the output end of inverter INV34 is connected to the input end of inverter INV35, and the output end of inverter INV35 is connected to output pin Z3.; 4. The logic circuit for pre-burning fuses in a chip as claimed in claim 1, characterized in that: The timing module Block3 includes D flip-flops DFF5-DFF9, inverters INV43-INV53, two-input NAND gates NAND17-NAND25, two-input NOR gates NOR19-NOR20, three-input NOR gates NOR21-NOR28, and RS flip-flops RS1-RS8; wherein the external pins include input pins CK, R, TMEN, A, ENN, and output pins CKOUT1, CKOUT2, A4, Z0, Z1, Z2, Z3, Z4, Z5, Z6, and Z7; In the timing module Block3, the input pin R is connected to the CLR terminal of the D flip-flops DFF5 to DFF9 and the second input terminal of the NOR gate NOR20; the input pin CK is connected to the SET terminal of the D flip-flop DFF5 and the first input terminal of the NAND gate NAND17, and the input terminal D of the D flip-flop DFF5 is connected to the output terminal of the D flip-flop DFF5. The SET terminal of the D flip-flop DFF6, the first input terminal of the NOR gate NOR21, the first input terminal of the NOR gate NOR23, the first input terminal of the NOR gate NOR25, and the first input terminal of the NOR gate NOR27, the signal line is F1_N; the output terminal Q of the D flip-flop DFF5 is connected to the first input terminal of the NOR gate NOR22, the first input terminal of the NOR gate NOR24, the first input terminal of the NOR gate NOR26, and the first input terminal of the NOR gate NOR28, the signal line is F1; the input terminal D of the D flip-flop DFF6 is connected to the output terminal of the D flip-flop DFF6 The SET terminal of the D flip-flop DFF7, the second input terminal of the NOR gate NOR21, the second input terminal of the NOR gate NOR22, the second input terminal of the NOR gate NOR25, and the second input terminal of the NOR gate NOR26, the signal is F2_N; the output terminal Q of the D flip-flop DFF6 is connected to the second input terminal of the NOR gate NOR23, the second input terminal of the NOR gate NOR24, the second input terminal of the NOR gate NOR27, and the second input terminal of the NOR gate NOR28, the signal is F2; the input terminal D of the D flip-flop DFF7 is connected to the output terminal of the D flip-flop DFF7 The SET terminal of the D flip-flop DFF8, the third input terminal of the NOR gate NOR21, the third input terminal of the NOR gate NOR22, the third input terminal of the NOR gate NOR23, and the third input terminal of the NOR gate NOR24 are connected to the SET terminal of the D flip-flop DFF8, and the signal is F3_N; the output terminal Q of the D flip-flop DFF7 is connected to the third input terminal of the NOR gate NOR25, the third input terminal of the NOR gate NOR26, the third input terminal of the NOR gate NOR27, and the third input terminal of the NOR gate NOR28, and the signal is F3; the input terminal D of the D flip-flop DFF8 is connected to the output terminal The output terminal Q of the D flip-flop DFF8 is connected to the input terminal of the inverter INV43, and the output terminal of the inverter INV43 is connected to the output pin CKOUT1; the input terminal D of the D flip-flop DFF9 is connected to the output terminal The output terminal Q of the D flip-flop DFF9 is connected to the input terminal of the inverter INV45, the output terminal of the inverter INV45 is connected to the input terminal of the inverter INV46, and the input terminal of the inverter INV46 is connected to the output pin CKOUT2; the input pin TMEN is connected to the second input terminal of the NAND gate NAND17, the output terminal of the NAND gate NAND17 is connected to the input terminal of the inverter INV47, the output terminal of the inverter INV47 is connected to the positive electrode of the capacitor C6 and the input terminal of the inverter INV48, the negative electrode of the capacitor C6 is connected to GND, the output terminal of the inverter INV48 is connected to the input terminal of the inverter INV49, and the output terminal of the inverter INV49 is connected to the first input terminal of the NAND gates NAND18 to NAND25. The signal is sel; the input pin A is connected to the input end of the inverter INV50, the output end of the inverter INV50 is connected to the positive electrode of the capacitor C7 and the output end of the inverter INV51, and the negative electrode of the capacitor C7 is connected to GND; the output end of the inverter INV51 is connected to the input end of the inverter INV52 and the first input end of the NOR gate NOR19, the output end of the inverter INV52 is connected to the positive electrode of the capacitor C8 and the second input end of the NOR gate NOR19, and the negative electrode of the capacitor C8 is connected to GND; the output end of the NOR gate NOR19 is connected to the first input end of the NOR gate NOR20, the output end of the NOR gate NOR20 is connected to the input end of the inverter INV53, and the output end of the inverter INV53 is connected to the RS trigger The input terminal RST of RS1~RS8, the signal is rst; the input pin ENN is connected to the input terminal ENN of RS flip-flops RS1~RS8; the output terminal of the NOR gate NOR21 is connected to the second input terminal of the NAND gate NAND18, the output terminal of the NAND gate NAND18 is connected to the input terminal of the inverter INV54 and the IN terminal of the RS flip-flop RS1, the output terminal of the inverter INV54 is connected to the output pin A4, and the OUT terminal of the RS flip-flop RS1 is connected to the output pin Z0; the output terminal of the NOR gate NOR22 is connected to the second input terminal of the NAND gate NAND19, the output terminal of the NAND gate NAND19 is connected to the IN terminal of the RS flip-flop RS2, and the OUT terminal of the RS flip-flop RS2 is connected to the output pin Z1; the output end of the NOR gate NOR23 is connected to the second input end of the NAND gate NAND20, the output end of the NAND gate NAND20 is connected to the IN end of the RS flip-flop RS3, and the OUT end of the RS flip-flop RS3 is connected to the output pin Z2; the output end of the NOR gate NOR24 is connected to the second input end of the NAND gate NAND21, the output end of the NAND gate NAND21 is connected to the IN end of the RS flip-flop RS4, and the OUT end of the RS flip-flop RS4 is connected to the output pin Z3; the output end of the NOR gate NOR25 is connected to the second input end of the NAND gate NAND22, the output end of the NAND gate NAND22 is connected to the IN end of the RS flip-flop RS5, and the OUT end of the RS flip-flop RS5 is connected to the output pin Z4;The output end of the NOR gate NOR26 is connected to the second input end of the NAND gate NAND23, the output end of the NAND gate NAND23 is connected to the IN end of the RS trigger RS6, and the OUT end of the RS trigger RS6 is connected to the output pin Z5; the output end of the NOR gate NOR27 is connected to the second input end of the NAND gate NAND24, the output end of the NAND gate NAND24 is connected to the IN end of the RS trigger RS7, and the OUT end of the RS trigger RS7 is connected to the output pin Z6; the output end of the NOR gate NOR28 is connected to the second input end of the NAND gate NAND25, the output end of the NAND gate NAND25 is connected to the IN end of the RS trigger RS8, and the OUT end of the RS trigger RS8 is connected to the output pin Z7.; 5. The logic circuit for pre-burning fuses in a chip as claimed in claim 4, characterized in that: The input terminals of the RS trigger are IN, ENN, and RST, and the output terminal is OUT; the RS trigger is composed of inverters INV54-INV56, a capacitor C9, a three-input NOR gate NOR29, and two-input NOR gates NOR30 and NOR31; Inside the RS trigger, the input pin ENN is connected to the first input end of the NOR gate NOR29, the input pin IN is connected to the input end of the inverter INV54 and the second input end of the NOR gate NOR29, the output end of the inverter INV54 is connected to the positive electrode of the capacitor C9 and the third input end of the NOR gate NOR29, and the negative electrode of the capacitor C9 is connected to GND; the output end of the NOR gate NOR29 is connected to the input end of the NOR gate NOR31, the output end of the NOR gate NOR31 is connected to the second input end of the NOR gate NOR30, the input pin RST is connected to the first input end of the NOR gate NOR30, the output end of the NOR gate NOR30 is connected to the first input end of the NOR gate NOR31 and the input end of the inverter INV55, the output end of the inverter INV55 is connected to the input end of the inverter INV56, and the output end of the inverter INV56 is connected to the output pin OUT; When the enable signal ENN is high, the circuit does not enter the enabled state, and the output OUT is high; when ENN is low, the circuit enters the enabled state. In the enabled state, if the input pin RST is low, the circuit is in working state. After the input signal flips from high to low, the output OUT will flip from high to low and maintain until the signal of the input pin RST flips from low to high to reset the module. After reset, the output signal returns to high.
6. The logic circuit for pre-burning fuses in a chip as claimed in claim 1, characterized in that: The latch output module Block4 includes inverters INV57-INV61, two-input NAND gates NAND26-NAND31, two-input NOR gates NOR32-NOR35, and transmission switches BUF1-BUF32; the input pins are CTRL0, CTRL1, CTRL4, CTRL5, TMEN, A0-A7, and the output pins are Z1<7:0>, Z2<7:0>, Z3<7:0>, and Z4<7:0>; In the latch output module Block4, the input pin CTRL0 is connected to the input end of the inverter INV57, the first input end of the NAND gate NAND28 and the second input end of the NAND gate NAND29, and the output end of the inverter INV57 is connected to the first input end of the NAND gate NAND26 and the first input end of the NAND gate NAND27; the input pin CTRL1 is connected to the second input end of the NAND gate NAND27, the input end of the inverter INV58 and the first input end of the NAND gate NAND29, and the output end of the inverter INV58 is connected to the second input end of the NAND gate NAND26 and the second input end of the NAND gate NAND28; the output end of the NAND gate NAND26 is connected to the NOR gate NOR3 2, the output end of the NAND gate NAND27 is connected to the second input end of the NOR gate NOR33, the output end of the NAND gate NAND28 is connected to the second input end of the NOR gate NOR34, and the output end of the NAND gate NAND29 is connected to the second input end of the NOR gate NOR35; the input pin CTRL4 of the latch output module Block4 is connected to the first input end of the NAND gate NAND30, the input pin CTRL5 is connected to the second input end of the NAND gate NAND30 and the input end of the inverter INV59; the output end of the NAND gate NAND30 is connected to the input end of the inverter INV60, the output end of the inverter INV60 is connected to the input end of the inverter INV61, and the inverter INV61 The output end of the NOR gate NOR32 is connected to the first input end of the NOR gate NOR35; the output end of the NOR gate NOR32 is connected to the CTRL end of the transmission switch BUF1~BUF8, and the signal is ROW0; the output end of the NOR gate NOR33 is connected to the CTRL end of the transmission switch BUF9~BUF16, and the signal is ROW1; the output end of the NOR gate NOR34 is connected to the CTRL end of the transmission switch BUF17~BUF24, and the signal is ROW2; the output end of the NOR gate NOR35 is connected to the CTRL end of the transmission switch BUF25~BUF32, and the signal is ROW3; the output end of the inverter INV59 is connected to the first input end of the NAND gate NAND31, and the latch output module Blo The input pin TMEN of ck4 is connected to the second input terminal of the NAND gate NAND31, and the output terminal of the NAND gate NAND31 is connected to the ENN terminal of the transmission switches BUF1 to BUF32, and the signal is ENN; in the latch output module Block4, the input pin A0 is connected to the IN terminal of the transmission switches BUF1, BUF9, BUF17, and BUF25; the input pin A1 is connected to the IN terminal of the transmission switches BUF2, BUF10, BUF18, and BUF26; the input pin A2 is connected to the IN terminal of the transmission switches BUF3, BUF11, BUF19, and BUF27; the input pin A4 is connected to the IN terminal of the transmission switches BUF4, BUF12, BUF20, and BUF28;Input pin A5 is connected to the IN terminals of transmission switches BUF5, BUF13, BUF21, and BUF29; input pin A6 is connected to the IN terminals of transmission switches BUF6, BUF14, BUF22, and BUF30; input pin A7 is connected to the IN terminals of transmission switches BUF7, BUF15, BUF23, and BUF31; input pin A8 is connected to the IN terminals of transmission switches BUF8, BUF16, BUF24, and BUF32; the OUT terminals of transmission switches BUF1 to BUF8 are connected to Z1 respectively. <0> ~Z1 <7> ; The OUT terminals of the transmission switches BUF9 to BUF16 are connected to Z2 <0> ~Z2 <7> ; The OUT terminals of the transmission switches BUF17 to BUF24 are connected to Z3 <0> ~Z3 <7> ; The OUT terminals of the transmission switches BUF25 to BUF32 are connected to Z4 <0> ~Z4 <7> . ; 7. The logic circuit for pre-burning fuses in a chip as claimed in claim 6, characterized in that: The transmission switch BUF has input terminals CTRL, IN, and ENN, and an output terminal OUT; the transmission switch BUF includes inverters INV62 to INV65, two-input NOR gates NOR36, a PMOS tube MP8, and an NMOS tube MN5; the input terminal CTRL of the transmission switch BUF is connected to the input terminal of the inverter INV62 and the gate terminal of the NMOS tube MN5; the output terminal of the inverter INV62 is connected to the gate terminal of the PMOS tube MP8; the input terminal IN of the transmission switch BUF is connected to the source terminal of the PMOS tube MP8 and the gate terminal of the NMOS tube MN5; The drain end of MN5 and the drain end of the PMOS tube MP8 are connected to the source end of the NMOS tube MN5, the input end of the inverter INV63, and the output end of the inverter INV64; the output end of the inverter INV63 is connected to the input end of the inverter INV64 and the input end of the inverter INV65; the output end of the inverter INV65 is connected to the second input end of the NOR gate NOR36, the input end ENN of the transmission switch BUF is connected to the first input end of the NOR gate NOR36, and the output end of the NOR gate NOR36 is connected to the output end OUT of the transmission switch BUF.
