Fuse updating circuit and method, memory, electronic equipment and storage medium
By introducing a test latch circuit and a mode switching circuit into the fuse update circuit, and using signals to control the latch or release of the configuration information of the test mode, the problem of short-lasting fuse updates in the existing technology is solved, and the flexibility of chip information is achieved. Updated and efficient to use.
Patent Information
- Application Number
- CN202310254396.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-03-09
- Publication Date
- 2024-09-10
AI Technical Summary
Existing fuse update solutions cannot achieve permanent updates, resulting in the chip being unable to effectively update fuse information after changes in the use environment or aging of the memory unit, affecting the availability of the chip.
A fuse update circuit is designed, including a test latch circuit and a mode switching circuit, which latches or releases the configuration information of the test mode by controlling the level of the signal to ensure that the configuration information of the test mode can continue to be used even if the test mode is exited. , avoiding the need to re-enter test mode every time you use it.
It achieves the durability of chip fuse updates, saves the workload of users or testers, improves the testing experience and usage experience, and supports flexibility and versatility in different scenarios.
Smart Images

Figure CN118629477A
Abstract
Description
Technical Field
[0001] The present application relates to the field of memory technology, and in particular to a fuse update circuit, method, memory, electronic device and storage medium. Background Art
[0002] In recent years, with the development and popularization of semiconductor technology, many memories have begun to use fuse technology or anti-fuse technology to store chip data. The principle of fuse technology is to program chip data into the storage unit by melting metal or polymer. There will be an obvious opening in the storage unit programmed as "1", while there is no opening in the storage unit programmed as "0". Corresponding to fuse technology, the principle of anti-fuse technology is to form a conductive path on the single crystal oxide layer of the storage unit based on the quantum tunneling effect. Whether it is a storage unit programmed as "1" or a storage unit programmed as "0", there is no visible trace on the surface, and there seems to be no obvious difference.
[0003] However, whether it is fuse technology or anti-fuse technology, the burning operation on the storage unit is irreversible. After each power-on startup, the chip will load the chip data burned in the storage unit using fuse technology or anti-fuse technology. However, due to certain reasons (such as burning errors, aging or wear of storage units, or changes in the use environment, etc.), the original chip data is no longer applicable to the current use environment, and even causes performance problems in the storage unit used to store chip data. If you do not want to affect the availability of the chip, you need to update the fuse of the chip, such as storing the chip data in the storage unit with performance problems in other backup circuits, or configuring new chip data that meets current usage requirements in other backup circuits.
[0004] At present, although the industry has proposed some solutions for updating fuses of chips, these solutions can only use newly configured spare circuits or new chip data in a certain mode, and cannot achieve the durability of chip fuse updating. Therefore, the durability of chip fuse updating still needs further research. Summary of the invention
[0005] The present application provides a fuse update circuit, method, memory, electronic device and storage medium to achieve the durability of chip fuse update.
[0006] In a first aspect, the present application provides a fuse update circuit, which includes a test latch circuit and a mode switching circuit, wherein the first input end of the test latch circuit is used to receive a first control signal, the second input end of the test latch circuit is used to receive a second control signal, the output end of the test latch circuit is connected to the first input end of the mode switching circuit, and the second input end of the mode switching circuit is used to receive a third control signal. The test latch circuit is used to output a first signal when the second control signal is at a valid level, and to output a second signal when the second control signal is at an invalid level and the first control signal is at a valid level; the mode switching circuit is used to load the configuration information of the test mode if the test latch circuit outputs the first signal when the third control signal is at an invalid level, and load the fuse information if the test latch circuit outputs the second signal.
[0007] It should be noted that the above-mentioned first control signal refers to a signal related to whether to exit the test mode. When a test command is received, the level of the first control signal is flipped to an invalid level, and the chip enters the test mode. Conversely, when a test exit command is received, the level of the first control signal is flipped to a valid level, and the chip exits the test mode. The above-mentioned second control signal refers to a signal related to whether to latch the configuration information of the test mode. When a test latch command is received, the level of the second control signal is flipped to a valid level. Conversely, when the test latch command is not received, the level of the second control signal is flipped to an invalid level. The above-mentioned third control signal refers to a signal related to chip power-on. After receiving the power-on command, the chip is powered on and started, and the level of the third control signal is flipped to a valid level, and is automatically restored to an invalid level by other configuration circuits in the chip after a period of time.
[0008] In addition, the above-mentioned valid level and invalid level refer to two levels with opposite levels, for example, the valid level is the "1" level and the invalid level is the "0" level, or the valid level is the "0" level and the invalid level is the "1" level.
[0009] In the above design, the fuse update circuit can support the selection of latching or non-latching the configuration information of the test mode according to actual needs. When the test mode needs to be latched for a long time, the second control signal can be triggered to flip to a valid level. In this way, even if the test mode is exited later, the configuration information of the test mode can still be used without re-entering the test mode every time the configuration information of the test mode is needed, which effectively saves the workload of users or testers and improves the test experience of testers or the user's experience. Conversely, when the test mode does not need to be latched for a long time, the second control signal can be configured to be an invalid level. At this time, the fuse update circuit can automatically switch back to the fuse information after exiting the test mode. It can be seen that this type of fuse update circuit can support both scenarios where the fuse update needs to be permanently latched and scenarios where the fuse update does not need to be permanently latched, and has good flexibility and versatility.
[0010] In a possible design, the test latch circuit can also be used to output the first signal when the second control signal is at an invalid level and the first control signal is at an invalid level. That is, even if the instruction is not to latch the test mode, as long as the test mode is not exited, the fuse latch circuit will continue to load the configuration information of the test mode, thus ensuring that the configuration information of the test mode is loaded smoothly during the test mode.
[0011] In a possible design, the mode switching circuit can also be used to load fuse information when the third control signal is at an effective level. With this design, the chip can be switched back to the original fuse information after each restart, which helps to initialize the chip.
[0012] In a possible design, when the valid level is "1" level and the invalid level is "0" level:
[0013] The test latch circuit is used to implement the following logic: when the level of the first control signal is "1" and / or the level of the second control signal is "1", the "0" level is output; and when the levels of the first control signal and the second control signal are both "0", the "1" level is output;
[0014] Furthermore, the mode switching circuit is used to implement the following logic: when the level of the third control signal is "1" and / or the level of the output signal of the test latch circuit is "1", the fuse information is loaded; and, when the levels of the third control signal and the output signal of the test latch circuit are both "0", the configuration information of the test mode is loaded.
[0015] In another possible design, when the valid level is the "0" level and the invalid level is the "1" level:
[0016] The test latch circuit is used to implement the following logic: when the level of the first control signal is "0" and / or the level of the second control signal is "0", output "1" level; and when the levels of the first control signal and the second control signal are both "1", output "0" level.
[0017] Furthermore, the mode switching circuit is used to implement the following logic: when the level of the third control signal is "0" and / or the level of the output signal of the test latch circuit is "0", the fuse information is loaded; and, when the levels of the third control signal and the output signal of the test latch circuit are both "1", the configuration information is loaded.
[0018] It should be understood that any test latch circuit and mode switching circuit that can implement the above logic are within the protection scope of this application.
[0019] Exemplarily, the specific designs of several test latch circuits and mode switching circuits are given below, taking the effective level as the "1" level and the invalid level as the "0" level as an example.
[0020] Circuit Design 1: The test latch circuit includes a first NOT gate, a NAND gate and a second NOT gate. The input end of the first NOT gate is the second input end of the test latch circuit. The output end of the first NOT gate is connected to the second input end of the NAND gate. The first input end of the NAND gate is the first input end of the test latch circuit. The output end of the NAND gate is connected to the input end of the second NOT gate. The output end of the second NOT gate is the output end of the test latch circuit. Correspondingly, the mode switching circuit includes a NOR gate and a mode selector. The first input end of the NOR gate is the first input end of the mode switching circuit. The second input end of the NOR gate is the second input end of the mode switching circuit. The output end of the NOR gate is connected to the mode selector. The mode selector is used to output the configuration information of the test mode when a high level is received, and output the fuse information when a low level is received.
[0021] In the above circuit design one, the configuration information of the test mode has a higher priority than the fuse information, that is, even if the fuse information has been burned into the storage unit, the required configuration information can be reset through the test mode, and the second control signal can be triggered during use so that the chip can use the configuration information set in the test mode even if it exits the test mode, thereby realizing the durability of the fuse update.
[0022] Circuit Design 2: The test latch circuit includes a NOT gate and an AND gate. The input end of the NOT gate is the second input end of the test latch circuit. The output end of the NOT gate is connected to the second input end of the AND gate. The first input end of the AND gate is the first input end of the test latch circuit. The output end of the AND gate is the output end of the test latch circuit. Correspondingly, the mode switching circuit includes an NOR gate and a mode selector. The first input end of the NOR gate is the first input end of the mode switching circuit. The second input end of the NOR gate is the second input end of the mode switching circuit. The output end of the NOR gate is connected to the mode selector. The mode selector is used to output the configuration information of the test mode when a high level is received, and output the fuse information when a low level is received.
[0023] The above-mentioned circuit design 2 can not only realize the same fuse update logic as the above-mentioned circuit design 1, but also has one less NOT gate than the test latch circuit in circuit design 1. The structure of the fuse update circuit is simpler and the circuit cost is lower, which helps to realize the miniaturization design of the chip.
[0024] Circuit design three, the test latch circuit includes a first NOT gate, an OR gate and a second NOT gate, the input end of the first NOT gate is the first input end of the test latch circuit, the output end of the first NOT gate is the first input end of the OR gate, the second input end of the OR gate is the second input end of the test latch circuit, the output end of the OR gate is the input end of the second NOT gate, and the output end of the second NOT gate is the output end of the test latch circuit. Correspondingly, the mode switching circuit includes an OR gate and a mode selector, the first input end of the OR gate is the first input end of the mode switching circuit, the second input end of the OR gate is the second input end of the mode switching circuit, and the output end of the OR gate is connected to the mode selector, and the mode selector is used to output the configuration information of the test mode when receiving a high level, and output the fuse information when receiving a low level.
[0025] The above circuit design three can also realize the same fuse update logic as the above circuit design one by setting an OR gate and two NOT gates in the test latch circuit.
[0026] In further designs of the above circuit designs one to three, the mode switching circuit can also include a third NOT gate and a fourth NOT gate, the input end of the third NOT gate is connected to the output end of the OR NOT gate, the output end of the third NOT gate is connected to the input end of the fourth NOT gate, and the output end of the fourth NOT gate is connected to the mode selector.
[0027] In the above design, the third NOT gate and the fourth NOT gate connected in series can be used to filter out irregular glitches and other impurity signals in the passing signal, so as to obtain a pure signal through de-jittering, which helps to improve the accuracy of the signal.
[0028] In a second aspect, the present application provides a fuse update method, which is applicable to the fuse update circuit as described in the first aspect above, and the method includes: first, by controlling the second control signal to be at a valid level, controlling the test latch circuit to output a first signal, and then, by controlling the third control signal to be at an invalid level, controlling the mode switching circuit to load the configuration information of the test mode according to the first signal.
[0029] In one possible design, the method may also include: first, controlling the test latch circuit to output a second signal by controlling the second control signal to be an invalid level and controlling the first control signal to be a valid level, and then controlling the mode switching circuit to load fuse information according to the second signal by controlling the third control signal to be an invalid level.
[0030] In one possible design, the method may further include: controlling the test latch circuit to output the first signal by controlling both the second control signal and the first control signal to be at an invalid level.
[0031] In one possible design, the method may further include: controlling the mode switching circuit to load fuse information by controlling the third control signal to present a valid level.
[0032] In a third aspect, the present application provides a memory, comprising a controller and a fuse update circuit as described in any one of the first aspects above, wherein the controller is connected to a first input terminal and a second input terminal of a fuse latch circuit in the fuse update circuit, and is connected to a second input terminal of a mode switching circuit in the fuse update circuit, and is used to control the fuse update circuit to load fuse information or latch information of a test mode by executing a fuse update method as described in any one of the second aspects above.
[0033] In a fourth aspect, the present application provides an electronic device, comprising a printed circuit board (PCB) and a memory as described in any one of the designs in the fourth aspect, wherein the memory is arranged on a surface of the PCB.
[0034] Specifically, the electronic device includes but is not limited to: a smart phone, a smart watch, a tablet computer, a virtual reality (VR) device, an augmented reality (AR) device, a vehicle-mounted device, a desktop computer, a personal computer, a handheld computer or a personal digital assistant.
[0035] In a fifth aspect, the present application provides a computer-readable storage medium, which stores a computer program. When the computer program is executed, it implements the method as described in any one of the above second aspects.
[0036] In a sixth aspect, the present application provides a computer program product, which, when executed on a processor, implements a method as described in any one of the above second aspects.
[0037] For the beneficial effects of the second to sixth aspects mentioned above, please refer to the technical effects that can be achieved by the corresponding design in the first aspect mentioned above, and no further details will be given here. BRIEF DESCRIPTION OF THE DRAWINGS
[0038] Figure 1 A schematic diagram of the life cycle of a chip provided in an embodiment of the present application is exemplarily shown;
[0039] Figure 2 The following is a schematic diagram showing a circuit structure of a fuse updating solution provided by the industry;
[0040] Figure 3 A schematic diagram showing the structure of a fuse updating circuit provided in an embodiment of the present application is exemplified;
[0041] Figure 4 A schematic diagram showing a specific structure of a fuse updating circuit provided in an embodiment of the present application is exemplified;
[0042] Figure 5 A schematic diagram showing a signal timing sequence corresponding to a fuse updating circuit provided in an embodiment of the present application is exemplified;
[0043] Figure 6 A specific structural schematic diagram of another fuse updating circuit provided in an embodiment of the present application is exemplarily shown;
[0044] Figure 7 A schematic diagram showing a specific structure of another fuse updating circuit provided in an embodiment of the present application is exemplified;
[0045] Figure 8 A flowchart of a fuse updating method provided in an embodiment of the present application is exemplified. DETAILED DESCRIPTION
[0046] The fuse update circuit disclosed in the present application can be applied to a device with fuse storage capability or anti-fuse storage capability, which can be a storage device with only storage capability, such as a memory, or an electronic device with storage capability and other capabilities (such as read and write capabilities). The electronic device can be a portable electronic device including functions such as a personal digital assistant and / or a music player, such as a mobile phone, a tablet computer, a wearable device with wireless communication capabilities (such as a smart watch), or a vehicle-mounted device. Exemplary embodiments of portable electronic devices include but are not limited to devices equipped with Or a portable electronic device with other operating systems. The portable electronic device may also be a laptop computer with a touch-sensitive surface (e.g., a touch panel). It should also be understood that in some other embodiments of the present application, the electronic device may also be a desktop computer with a touch-sensitive surface (e.g., a touch panel).
[0047] The memory may be either volatile memory or nonvolatile memory, or may include both volatile and nonvolatile memory.The volatile memory may be random access memory (RAM), which acts as an external cache memory. By way of example and not limitation, many forms of RAM are available, such as static RAM (SRAM), dynamic RAM (DRAM), flash memory (FE), synchronous DRAM (SDRAM), double data rate SDRAM (DDR SDRAM), enhanced SDRAM (ESDRAM), synchronous link DRAM (SLDRAM) and direct rambus RAM (DR RAM), as well as new types of memory such as resistive random access memory (ReRAM), ferroelectric random access memory (FeRAM), phase change random access memory (PCRAM) or magnetic random access memory (MRAM). The non-volatile memory may be a read-only memory (ROM), a programmable ROM (PROM), an erasable PROM (EPROM), an electrically erasable PROM (EEPROM), or a flash memory. It should be noted that the memory described in this application is intended to include, but is not limited to, these and any other suitable types of memory.
[0048] The technical solutions in the embodiments of the present application will be described below in conjunction with the drawings in the embodiments of the present application. The described embodiments are only part of the embodiments of the present application, rather than all the embodiments.
[0049] Figure 1 A schematic diagram of the life cycle of a chip provided in an embodiment of the present application is exemplified, wherein the chip may specifically refer to a chip with storage capability, also known as a memory chip, memory, memory integrated circuit (IC), memory microcircuit (microchip) or memory chip, etc., which is usually manufactured on the surface of a semiconductor wafer.
[0050] Please refer to Figure 1 As shown, after the chip is made in the production stage, the tester will first perform an environmental test on the chip before leaving the factory. The environmental test is used to measure the optimal working conditions of the chip under a certain use environment, such as the power supply voltage of the chip and the clock frequency of the chip. After that, the tester will use fuse technology or anti-fuse technology to burn the optimal working conditions into the storage unit of the chip. In some embodiments, in addition to burning the optimal working conditions, some inherent information of the chip will also be burned, such as the version number of the chip and the production date of the chip, or some repair data of the chip may also be burned, such as the program code for restarting the factory settings. Since these optimal working conditions, the inherent information of the chip and the repair data of the chip are burned into the chip using fuse technology or anti-fuse technology, they are also called fuse information, and the storage process related to them is called fuse storage. After that, after the fuse information is burned, the burned chip can be sold to users at the factory, or it can be left to the tester to continue performance testing. If the chip is sold to users, once the user finds a problem related to fuse storage in the chip during use, the user can turn on the engineer mode preset in the chip and update the fuse of the chip in this mode. If the chip is left to testers for performance testing, the testers can continuously flash the chip and observe the performance changes of the chip. When the chip is found to have a problem related to fuse storage, the testers can also update the fuse of the chip.
[0051] Among them, the problems related to fuse storage can mainly include the following two types of problems:
[0052] The first type of problem is that it is found that the originally stored fuse information can no longer meet the current usage requirements. In this case, the originally stored fuse information needs to be updated. There are many reasons for the first type of problem. For example, it may be because an error occurred during the process of burning fuse information using fuse technology or anti-fuse technology, and a data that should have been burned was burned into another data. Continuing to use the wrongly burned data will affect the normal use of the chip, so the wrongly burned data needs to be corrected to the original correct data. Alternatively, it may be because the environment that needs to be tested or used currently is significantly different from the environment adapted by the originally stored fuse information. For example, the originally stored fuse information is the best working condition measured under normal temperature, but now the performance of the chip needs to be tested under high or low temperature conditions. In this case, if the configuration of the best working condition under normal temperature is still used to test the chip, the expected test results will inevitably not be obtained. Therefore, the originally stored best working condition needs to be updated to the best working condition suitable for the current test environment; or, the originally stored fuse information is the best working condition measured under normal humidity environment, but the user needs to use the chip in a humid environment for a long time, so the originally stored best working condition needs to be updated to the best working condition adapted to the current usage environment. Alternatively, it may be because the chip ages or wears out during testing or use, causing the fuse information of the chip to change accordingly. For example, the optimal power supply voltage of the chip is 5V when it is first produced, but as the chip is flashed and written more frequently, the chip leaks electricity, and the optimal power supply voltage of the chip becomes 5.2V. At this time, the originally stored 5V voltage needs to be modified to 5.2V that adapts to the current chip state; or, it may be caused by some other reasons, which will not be listed here one by one;
[0053] The second type of problem is that it is found that the storage unit originally used to store fuse information can no longer meet the current usage requirements. In this case, the storage unit originally used to store fuse information needs to be updated. The cause of the second type of problem is usually the performance change of the storage unit. For example, it may be because of some sudden failure of the storage unit that makes the storage unit suddenly unavailable, so the storage unit needs to be updated with fuse. Alternatively, it may be because as the frequency of memory cell writing increases, the memory cell gradually ages and wears, which in turn causes the performance of the memory cell to deteriorate. For example, the data stored in a newly produced memory cell in a refresh operation can be maintained for 10ms, but due to aging and wear, it leaks electricity, so that the data stored in a single write can only be maintained for 2ms. The performance of the memory cell becomes very poor. If the memory cell continues to be used to store chip data, it will affect the normal use of the chip, so the memory cell needs to be updated with fuse.
[0054] As mentioned above, when the first type of problem occurs, the originally stored fuse information needs to be updated, and when the second type of problem occurs, the storage unit originally used to store the fuse information needs to be updated. However, since the storage process of fuse storage is irreversible, it is impossible to update the fuse information or storage unit by directly operating the storage unit originally used to store the fuse information. Therefore, in order to avoid affecting the current use of the chip due to problems with the originally stored fuse information or the storage unit originally used to store the fuse information, the industry has proposed a fuse update solution, please refer to Figure 2 As shown, it shows a schematic diagram of the circuit structure of the fuse update solution, the circuit includes: NOR gate 201, NOT gate 202, NOT gate 203 and mode selector 204, the first input end a1 of the NOR gate 201 is used to receive the power-on initial signal S 10 The second input terminal a2 of the NOR gate 201 is used to receive the test mode exit signal S 20 The output end a3 of the NOR gate 201 is connected to the input end of the NOR gate 202, the output end of the NOR gate 202 is connected to the input end of the NOR gate 203, the output end of the NOR gate 203 is connected to the input end of the mode selector 204, and the output end of the mode selector 204 is connected to the peripheral circuit, which refers to the circuit located outside the chip, such as a read-write circuit.
[0055] By adopting this fuse update solution in the industry, when users or testers need to update the fuse of the chip, they can design a test mode (TM) circuit. When the originally stored fuse information needs to be updated, the new fuse information can be stored in the test mode circuit as the configuration information of the test mode. When the storage unit used to store the fuse information needs to be updated, the fuse information stored in the storage unit can be stored in the test mode circuit as the configuration information of the test mode. At the same time, the mode selector 204 includes two selection units, one of which is used to connect the test mode circuit, and the other selection unit is used to connect the storage unit originally used to store the fuse information. With reference to these configurations of the circuit, the entire process of implementing the fuse update using the circuit is described in detail below.
[0056] First, when the user or tester determines that the chip needs to be used, he sends a power-on command to the chip to control the chip to power on. At this time, the power-on initial signal S 10 is pulled high, that is, the level becomes "1", and the "1" level is transmitted to the NOR gate 201, regardless of the test mode exit signal S 20Whatever the level is, it will be flipped to "0" level by the NOR gate 201, and then after being flipped twice by the NOR gate 202 and the NOR gate 203, it will still remain at "0" level. After the "0" level is input to the mode selector 204, the mode selector 204 selects and turns on the selection unit for connecting the storage unit originally used to store the fuse information, so as to output the fuse information stored in the storage unit to the peripheral circuit for use.
[0057] Secondly, the chip is powered on in just a moment, so the initial power-on signal S 10 It only remains at the "1" level for a short period of time when the chip is powered on. After a period of time, it will be pulled down to the "0" level by other configuration circuits in the chip (such as the reset circuit).
[0058] Then, when the user or tester uses the chip, if he finds that the fuse information originally stored in the chip or the storage unit originally used to store the fuse information needs to be updated, he can configure the test mode circuit in the manner described above and send a test command to the chip. At this time, the test mode exit signal S 20 is pulled low, that is, the level becomes "0", and the "0" level is transmitted to the NOR gate 201 together with the "0" level power-on initial signal S 10 They are flipped to "1" level by the NOR gate 201, and then remain at "1" level after being flipped twice by the NOR gate 202 and the NOR gate 203. After the "1" level is input to the mode selector 204, the mode selector 204 selects the selection unit for connecting the test mode circuit to output the configuration information of the test mode stored in the test mode circuit to the peripheral circuit for use.
[0059] Afterwards, when the user or tester decides to exit the test mode, he or she sends a test exit command to the chip. At this time, the test mode exit signal S 20 is pulled high, that is, the level becomes "1", and the "1" level is transmitted to the NOR gate 201 together with the "0" level power-on initial signal S 10 They are flipped to "0" level by the NOR gate 201, and then remain at "0" level after being flipped twice by the NOR gate 202 and the NOR gate 203. After the "0" level is input to the mode selector 204, the mode selector 204 selects and turns on the selection unit connected to the storage unit originally used to store the fuse information, so as to output the fuse information stored in the storage unit to the peripheral circuit for use.
[0060] Finally, when the user or tester determines that the chip is no longer needed, the user or tester sends a power-off command to the chip to control the chip to power off. At this time, since the chip is powered off, the components in the entire circuit do not work, and the mode selector 204 does not output information.
[0061] According to the above analysis, the fuse update scheme will load the fuse information originally stored in the storage unit by default when the chip is powered on, and load the configuration information stored in the test mode circuit during the test, and reload the fuse information originally stored in the storage unit after the test. Therefore, after the user or tester configures the test mode circuit, it can be retained in the entire circuit for a long time. When necessary, by sending a test command, the configuration information of the test mode stored in the test mode circuit is enabled, so as to update the fuse of the chip. However, it can be seen that the fuse update scheme can only support the loading of the configuration information configured in the test mode circuit in the test mode, but cannot load the configuration information in the non-test mode. Therefore, after the user exits the test mode, if he wants to use the configuration information again, he must enter the test mode again, which will obviously increase the workload of the user or tester, and is not conducive to improving the test experience of the tester or the user's experience.
[0062] In view of this, an embodiment of the present application provides a fuse update circuit, which latches the configuration information of the test mode for a long time by configuring a control signal for latching the test mode, so that even after exiting the test mode, the configuration information of the test mode can still be used without entering the test mode every time, thereby effectively saving the workload of users or testers and improving the testing experience of testers or the usage experience of users.
[0063] The possible structure of the fuse update circuit provided in the present application is introduced below through specific embodiments.
[0064] It should be noted that the "connection" in the following embodiments of the present application refers to electrical connection, and the connection between two electrical components can be a direct or indirect connection between the two electrical components. For example, A and B are connected, which can be either A and B directly connected, or A and B indirectly connected through one or more other electrical components, such as A and B are connected, or A and C are directly connected, C and B are directly connected, and A and B are connected through C.
[0065] It should be understood that the "1" level and the "0" level in the digital signal are "1" and "0" in the logic operation, and are not the voltage values of the signal voltage of the digital signal. In most cases, the "1" level in the digital signal means that the signal voltage of the digital signal is greater than the threshold voltage, and the "0" level means that the signal voltage of the digital signal is less than the threshold voltage. In some embodiments, the "1" level in the digital signal is also expressed as a high level, and the "0" level is also expressed as a low level.
[0066] In addition, in the following description of the present application, "multiple" can be understood as "at least two". "And / or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone, where A and B can be singular or plural. "The following one or more items" or similar expressions refer to any combination of these items, including any combination of single or plural items. For example, one or more items of a, b, or c can represent: a, b, c, ab, ac, bc, or abc, where a, b, c can be single or plural.
[0067] Furthermore, unless otherwise specified, the ordinal numbers such as "first" and "second" mentioned in the embodiments of the present application are only used for the purpose of distinguishing descriptions, and cannot be understood as indicating or implying relative importance, nor can they be understood as indicating or implying an order. For example, the "first NOT gate" and "second NOT gate" mentioned below are only used to indicate NOT gates set at different positions in the test latch circuit, and the "third NOT gate" and "fourth NOT gate" are only used to indicate NOT gates set at different positions in the mode switching circuit, and do not mean that these NOT gates have different orders, priorities or importance.
[0068] Figure 3 The structural schematic diagram of a fuse update circuit provided by an embodiment of the present application is exemplarily shown, and the fuse update circuit 300 includes a test latch circuit 310 and a mode switching circuit 320. The first input terminal c1 of the test latch circuit 310 is used to receive a first control signal S1, the second input terminal c2 of the test latch circuit 310 is used to receive a second control signal S2, the output terminal c3 of the test latch circuit 310 is connected to the first input terminal d1 of the mode switching circuit 320, the second input terminal d2 of the mode switching circuit 320 is used to receive a third control signal S3, and the output terminal d3 of the mode switching circuit 320 is connected to a peripheral circuit. The peripheral circuit refers to a circuit located outside the chip, such as a read-write circuit.
[0069] Before introducing the specific fuse update solution, Figure 3 The various signals involved are introduced in detail:
[0070] The first control signal S1 refers to a signal related to whether to exit the test mode. When receiving a test command from a user or a tester, the level of the first control signal S1 is flipped to an invalid level, and the chip enters the test mode. Conversely, when receiving a test exit command from a user or a tester, the level of the first control signal S1 is flipped to a valid level, and the chip exits the test mode. It should be noted that in non-test mode, the first control signal S1 does not exist;
[0071] The second control signal S2 refers to a signal related to the configuration information of whether to latch the test mode. When receiving a test latch command from a user or a tester, the level of the second control signal S2 is flipped to a valid level. On the contrary, when not receiving a test latch command from a user or a tester, the level of the second control signal S2 is flipped to an invalid level;
[0072] The third control signal S3 refers to a signal related to chip power-on. After receiving a power-on command from a user or tester, the chip is powered on, and the level of the third control signal S3 is flipped to a valid level, and is automatically restored to an invalid level by other configuration circuits in the chip after a period of time.
[0073] The specific configuration of the effective level and the invalid level can be set by those skilled in the art as needed. For example, in some embodiments, the effective level can be configured as a "1" level and the invalid level can be configured as a "0" level, while in other embodiments, the effective level can be configured as a "0" level and the invalid level can be configured as a "1" level. Obviously, this change is only a reversal of the signal level and will not affect the implementation of the entire fuse update solution.
[0074] The entire logic of implementing fuse updating using the fuse updating circuit 300 is introduced below:
[0075] First, when the user or tester determines that the chip needs to be used, a power-on command is sent to the chip. At this time, the level of the third control signal S3 is flipped to a valid level. After the mode switching circuit 320 receives the third control signal S3 at a valid level through its second input terminal d2, it outputs the fuse information through its output terminal d3 regardless of the level signal input to its first input terminal d1.
[0076] Secondly, after the chip is powered on for a period of time, the level of the third control signal S3 automatically flips from a valid level to an invalid level. This switching operation can be implemented by some other configuration circuits set in the fuse update circuit, and after the level of the third control signal S3 flips to an invalid level, before the level of the first control signal S1 is flipped to an invalid level, that is, after the chip is powered on and before entering the test mode, some other configuration circuits can also control the fuse update circuit to continuously output fuse information. Since the other configuration circuits are not closely related to the fuse update scheme in this application, the embodiments of this application will not be specifically introduced;
[0077] Then, if the user or tester finds that the chip needs to be updated with fuses, they can follow the above steps. Figure 2The test mode circuit is configured in the manner described above, and a test command is sent to the chip. At this time, the level of the first control signal S1 is flipped to an invalid level. After the test latch circuit 310 receives the first control signal S1 which is an invalid level through its first input terminal c1, it outputs the first signal S1 through its output terminal c3 regardless of the level signal input to its second input terminal c2. 41 Then, the mode switching circuit 320 receives the first signal S through its first input terminal d1. 41 Then, in combination with the third control signal S3 inputted from the second input terminal d2 and presenting an invalid level, the configuration information of the test mode is outputted;
[0078] Afterwards, during the test mode, if the user or tester determines that the configuration information of the test mode needs to be used for a long time in the future, a test latch command is sent to the chip. At this time, the level of the second control signal S2 is flipped to a valid level. After the test latch circuit 310 receives the second control signal S2 at a valid level through its second input terminal c2, no matter what level signal is input to its first input terminal c1, it outputs the first signal S through its output terminal c3. 41 Then, the mode switching circuit 320 receives the first signal S through its first input terminal d1. 41 After that, combined with the third control signal S3 inputted at the second input terminal d2 and presenting an invalid level, the configuration information of the test mode continues to be outputted;
[0079] On the contrary, during the test mode, if the user or tester determines that the configuration information of the test mode will not be used for a long time in the future, the test latch command will not be sent to the chip. At this time, the level of the second control signal S2 remains at an invalid level, and the test latch circuit 310 receives the second control signal S2 at an invalid level through its second input terminal c2. Afterwards, when the user or tester determines to exit the current test mode, he or she sends a test exit command to the chip. At this time, the level of the first control signal S1 is flipped to a valid level, and the test latch circuit 310 receives the first control signal S1 at a valid level through its first input terminal c1, and then outputs the fuse information in combination with the second control signal S2 at an invalid level input at its second input terminal c2;
[0080] Finally, when the user or tester determines that the chip is no longer needed, he or she sends a power-off command to the chip to control the chip to power off.
[0081] For ease of understanding, the relationship between each input signal and output information is more clearly listed in Table 1 below:
[0082]
[0083] Table 1
[0084] Among them, the blank in Table 1 indicates that the signal can be either a valid level or an invalid level. Combining Table 1 with the above content, it can be seen that:
[0085] After the chip is powered on and before entering the test mode, the fuse update circuit 300 outputs fuse information by default;
[0086] After entering the test mode and before exiting the test mode, the fuse update circuit 300 outputs configuration information of the test mode;
[0087] After entering the test mode, if a test latch command is received, the fuse update circuit 300 outputs configuration information of the test mode regardless of whether the test mode is exited;
[0088] After entering the test mode, if no test latch command is received, the fuse update circuit 300 outputs fuse information after exiting the test mode.
[0089] In summary, the use of Figure 3 The fuse update circuit shown can support users or testers to choose to latch or not latch the configuration information of the test mode according to actual needs. Specifically, when there is a need to latch the test mode for a long time, the user or tester can trigger the second control signal to flip to a valid level to indicate latching before exiting the test mode. In this way, even if the test mode is subsequently exited, the configuration information of the test mode can still be used without re-entering the test mode every time the configuration information of the test mode is needed, which effectively saves the workload of the user or tester and improves the test experience of the tester or the user's experience. Conversely, when the test mode does not need to be latched for a long time, the user or tester may not trigger the second control signal. At this time, the circuit can automatically switch back to the fuse information after exiting the test mode according to the default configuration. It can be seen that this type of fuse update circuit can support both the scenario where the fuse update needs to be permanently latched and the scenario where the fuse update does not need to be permanently latched, and has good flexibility and versatility.
[0090] Based on the above content, the following takes the effective level as the "1" level and the invalid level as the "0" level as an example to further introduce several possible specific implementations of the fuse update circuit.
[0091] Implementation plan 1
[0092] Please refer to Figure 4 As shown, it shows a specific structural diagram of a fuse update circuit 300 provided in an embodiment of the present application, together with Figure 4 and Figure 3As shown, in the fuse update circuit 300, the test latch circuit 310 includes a first NOT gate 3111, a NAND gate 3112 and a second NOT gate 3113, the input end of the first NOT gate 3111 is the second input end c2 of the test latch circuit 310, the output end of the first NOT gate 3111 is connected to the second input end e2 of the NAND gate 3112, the first input end e1 of the NAND gate 3112 is the first input end c1 of the test latch circuit 310, the output end e3 of the NAND gate 3112 is connected to the input end of the second NOT gate 3113, and the output end of the second NOT gate 3113 is the output end c3 of the test latch circuit 310. Correspondingly, the mode switching circuit 320 includes a NOR gate 321, a third NOR gate 322, a fourth NOR gate 323 and a mode selector 324, the first input terminal f1 of the NOR gate 321 is the first input terminal d1 of the mode switching circuit 320, the second input terminal f2 of the NOR gate 321 is the second input terminal d2 of the mode switching circuit 320, the output terminal f3 of the NOR gate 321 is connected to the input terminal of the third NOR gate 322, the output terminal of the third NOR gate 322 is connected to the input terminal of the fourth NOR gate 323, the output terminal of the fourth NOR gate 323 is connected to the input terminal of the mode selector 324, and the output terminal of the mode selector 324 is connected to the peripheral circuit.
[0093] The mode selector 324 may be any device or assembly capable of selecting the test mode and / or the fuse mode, for example, a selector composed of a switch unit. Figure 4 As shown, the mode selector 324 may include a switch unit X1 and a switch unit X2, one end of the switch unit X1 is connected to the test mode circuit, and the other end is connected to the output end of the mode selector 324, one end of the switch unit X2 is connected to the storage unit for storing fuse information, and the other end is also connected to the output end of the mode selector 324. When the switch unit X1 is turned on and the switch unit X2 is turned off, the output end of the mode selector 324 is connected to the test mode circuit, so that the mode selector 324 can output the configuration information of the test mode stored in the test mode circuit to the peripheral circuit for use. When the switch unit X2 is turned on and the switch unit X1 is turned off, the output end of the mode selector 324 is connected to the storage unit for storing fuse information, so that the mode selector 324 can output the fuse information stored in the storage unit for storing fuse information to the peripheral circuit for use. When the switch unit X1 and the switch unit X2 are turned on at the same time, the output end of the mode selector 324 is connected to the test mode circuit and the storage unit for storing fuse information respectively, so that the mode selector 324 can output both the configuration information of the test mode stored in the test mode circuit and the fuse information stored in the storage unit for storing fuse information.
[0094] In addition, in the mode switching circuit 320, the third NOT gate 322 and the fourth NOT gate 323 connected in series are provided to filter out the impurity signals such as irregular burrs in the passing signal, so as to obtain a pure signal through debounce. However, in other embodiments, if the purity of the signal is not considered, these two NOT gates may not be provided, that is, the mode switching circuit 320 may only include the NOR gate 321 and the mode selector 324, but not the third NOT gate 322 and the fourth NOT gate 323. Alternatively, in some other embodiments, in order to further improve the purity of the signal, multiple groups of NOT gates connected in series may be provided, such as the mode switching circuit 320 including the NOR gate 321, at least two groups of NOT gates connected in series and the mode selector 324. Alternatively, in some other embodiments, in addition to the NOR gate 321, the third NOT gate 322, the fourth NOT gate 323 and the mode selector 324, the mode switching circuit 320 may also include other components, such as a resistor element for avoiding overcurrent. It should be understood that there are many possible implementation forms of the mode switching circuit 320, which will not be listed one by one in the embodiments of the present application.
[0095] Furthermore, based on the above Figure 4 The fuse update circuit shown in FIG. Figure 5 The following is a schematic diagram showing the signal timing of a fuse update circuit provided by an embodiment of the present application, wherein CK is a clock signal used to support the operation of various components in the chip, CMD is a command received by the chip, S3 is a third control signal, S1 is a first control signal, S2 is a second control signal, input refers to the input signal of the mode selector 324, and output refers to the output information of the mode selector 324. Please combine Figure 4 and Figure 5 The whole process of implementing fuse updating by using the fuse updating circuit 300 is as follows:
[0096] First, when the user or tester determines that the chip needs to be used, he / she sends a power-on command Cmd0 to the chip. After receiving the power-on command Cmd0, the chip provides a working clock for the components in the chip according to the set clock frequency, and drives the components in the chip to start. At this time, the level of the third control signal S3 is pulled up to "1". After the "1" level is transmitted to the NOR gate 321, no matter what level signal is output by the test latch circuit 310, it will be flipped to the "0" level by the NOR gate 321. After being flipped twice by the third NOR gate 322 and the fourth NOR gate 323, it still remains at the "0" level. After the "0" level is input to the mode selector 324, it drives the mode selector 324 to turn on the switch unit X2 corresponding to the "0" level, so as to output the fuse information originally stored in the storage unit to the peripheral circuit for use;
[0097] Secondly, the third control signal S3 only remains at the "1" level for a short period of time when the chip is powered on. After a period of time, it will be automatically pulled down to the "0" level by other configuration circuits in the chip. Although the third control signal S3 changes, as long as the test mode is not entered, the mode selector 324 will keep the switch unit X1 turned on and the switch unit X2 turned off under the configuration of other configuration circuits in the chip, that is, the mode selector 324 always outputs the fuse information;
[0098] After that, if the user or tester needs to update the fuse of the chip during use, he can follow the above steps. Figure 2 The test mode circuit is configured in the manner described in the above, and a test command Cmd1 is sent to the chip. At this time, the level of the first control signal S1 is pulled down to "0". After the "0" level is transmitted to the NAND gate 3112, no matter what level signal the first NAND gate 3111 outputs, the NAND gate 3112 will output the "1" level. The "1" level is flipped to the 0 level by the second NAND gate 3113 and then transmitted to the first input terminal f1 of the NOR gate 321. The NOR gate 321 combines the "0" level and the third control signal S3 of the "0" level input at its second input terminal f2, and outputs the flipped "1" level. After being flipped twice by the third NAND gate 322 and the fourth NAND gate 323, it still remains at the "1" level. After the "1" level is input to the mode selector 324, the mode selector 324 is driven to turn on the switch unit X1 corresponding to the "1" level, so as to output the configuration information of the test mode stored in the test mode circuit to the peripheral circuit for use;
[0099] Afterwards, during the test mode, if the user or tester determines that the configuration information of the test mode needs to be used for a long time in the future, a test latch command Cmd2 is sent to the chip. At this time, the level of the second control signal S2 is pulled up to the "1" level, and the "1" level is flipped to the "0" level by the first NOT gate 3111 and transmitted to the NAND gate 3112. Afterwards, no matter what level the first control signal S1 input to the first input terminal e1 of the NAND gate 3112 is, that is, whether exiting the test mode or entering the test mode, the chip is locked. Without exiting the test mode, the NAND gate 3112 will output a "1" level, which is flipped to a "0" level by the second NOT gate 3113 and then transmitted to the NOR gate 321. The NOR gate 321 combines the "0" level and the third control signal S3 of the "0" level input from its second input terminal f2 and then outputs a flipped "1" level. After being flipped twice by the third NOT gate 322 and the fourth NOT gate 323, it still remains at a "1" level, so that the mode selector 324 outputs the configuration information of the test mode.
[0100] On the contrary, during the test mode, if the user or tester determines that the configuration information of the test mode will not be used for a long time in the future, the test latch command Cmd2 will not be sent to the chip. At this time, the level of the second control signal S2 is pulled down to the "0" level, and the "0" level is flipped to the "1" level by the first NOT gate 3111 and then transmitted to the NAND gate 3112. Furthermore, although the second input terminal e2 of the NAND gate 3112 inputs the "1" level, as long as the test mode is not exited, that is, as long as the first control signal S1 is still kept at the "0" level, the mode selector 324 will continue to output the configuration information of the test mode. On the contrary, if the test mode is exited, the user or tester sends a test exit command Cmd3 to the chip, so that the level of the first control signal S1 is pulled up to the "1" level. At this time, the NAND gate 3112 combines the "1" level and the second control signal S2 of the "1" level input by its second input terminal e2 and outputs the "0" level. After the "0" level is flipped to the "1" level by the second NOT gate 3113, it is flipped to the "0" level through the NOR gate 321, the third NOT gate 322 and the fourth NOT gate 323, so that the mode selector 324 outputs the fuse information.
[0101] Finally, when the user or tester determines that the chip is no longer needed, he or she sends a power-off command to the chip to control the chip to power off.
[0102] For ease of understanding, the relationship between each input signal and output information in implementation scheme 1 is more clearly listed in Table 2 below:
[0103]
[0104] Table 2
[0105] Among them, the blank space in Table 2 indicates that the signal level can be either "0" level or "1" level. Combining Table 2 and the above content, it can be seen that in implementation scheme 1:
[0106] 1. When the level of the third control signal S3 is pulled high, the fuse update circuit loads the fuse information originally stored in the storage unit;
[0107] 2. When the level of the third control signal S3 is pulled low:
[0108] 2.1, if the level of the first control signal S1 is pulled low, no matter whether the level of the test mode latch circuit is pulled high or low, the fuse update circuit always loads the configuration information stored in the test mode circuit; in other words, as long as the test mode is not exited, the fuse update circuit always loads the configuration information of the test mode;
[0109] 2.2, after the level of the first control signal S1 is pulled low, if the level of the second control signal S2 is pulled high, then after the level of the first control signal S1 is pulled high, the fuse update circuit loads the configuration information stored in the test mode circuit. In other words, if the second control signal S2 is pulled high during the test mode, then after exiting the test mode, the fuse update circuit still loads the configuration information of the test mode;
[0110] 2.3, after the level of the first control signal S1 is pulled low, if the level of the second control signal S2 is pulled low, then after the level of the first control signal S1 is pulled high, the fuse update circuit loads the fuse information stored in the storage unit. In other words, if the second control signal S2 is pulled low during the test mode, then after exiting the test mode, the fuse update circuit reloads the fuse information originally stored in the storage unit.
[0111] It can be seen that in the above-mentioned implementation scheme 1, the configuration information of the test mode has a higher priority than the fuse information, that is, even if the fuse information has been burned into the storage unit, the required configuration information can be reset through the test mode, and the second control signal can be triggered during use so that the chip can use the configuration information set in the test mode even if it exits the test mode, thereby realizing the durability of the fuse update.
[0112] Implementation Plan 2
[0113] Please refer to Figure 6 As shown, it shows a specific structural schematic diagram of another fuse update circuit 300 provided in an embodiment of the present application. The mode switching circuit 320 in the fuse update circuit 300 is the same as the mode switching circuit 320 in the above-mentioned implementation scheme 1. For details, please refer to the introduction of the mode switching circuit 320 in the above-mentioned implementation scheme 1, which will not be repeated here. Different from the above-mentioned implementation scheme 1, the test latch circuit 310 in the implementation scheme 2 includes a NOT gate 3121 and an AND gate 3122. Please combine them together. Figure 3 and Figure 6 The input end of the NOT gate 3121 is the second input end c2 of the test latch circuit 310, the output end of the NOT gate 3121 is connected to the second input end g2 of the AND gate 3122, the first input end g1 of the AND gate 3122 is the first input end c1 of the test latch circuit 310, and the output end g3 of the AND gate 3122 is the output end c3 of the test latch circuit 310.
[0114] Please join together Figure 6 and Figure 5 , the whole process of implementing fuse update using the fuse update circuit is:
[0115] First, when the user or tester determines that the chip needs to be used, the power-on command Cmd0 is sent to the chip. At this time, the level of the third control signal S3 is pulled up to "1". After the "1" level is transmitted to the NOR gate 321, no matter what level signal the test latch circuit 310 outputs, it will be flipped to "0" level by the NOR gate 321. After that, after two flips of the third NOR gate 322 and the third NOR gate 323, it still remains at "0". After the "0" level is input to the mode selector 324, the mode selector 324 is driven to turn on the switch unit X2 corresponding to the "0" level, so as to output the fuse information originally stored in the storage unit to the peripheral circuit for use;
[0116] Secondly, the third control signal S3 only remains at the "1" level for a short period of time when the chip is powered on. After a period of time, it will be automatically pulled down to the "0" level by other configuration circuits in the chip. Although the third control signal S3 changes, as long as the test mode is not entered, the mode selector 324 will keep the switch unit X1 turned on and the switch unit X2 turned off under the configuration of other configuration circuits in the chip, that is, the mode selector 324 always outputs the fuse information;
[0117] Afterwards, when the user or tester needs to update the fuse of the chip during the use of the chip, the test command Cmd1 is sent to the chip. At this time, the level of the first control signal S1 is pulled down to "0". After the "0" level is transmitted to the AND gate 3122, no matter what level signal is output by the NOT gate 3121, the AND gate 3122 will output the "0" level. The "0" level is transmitted to the first input terminal f of the NOR gate 321. The NOR gate 321 combines the "0" level and the third control signal S3 of the "0" level input from its second input terminal f2, and outputs the flipped "1" level. After being flipped twice by the third NOT gate 322 and the fourth NOT gate 323, it still remains at the "1" level. After the "1" level is input to the mode selector 324, the mode selector 324 is driven to turn on the switch unit X1 corresponding to the "1" level, so as to output the configuration information of the test mode stored in the test mode circuit to the peripheral circuit for use;
[0118] Afterwards, during the test mode, if the user or tester determines that the configuration information of the test mode needs to be used for a long time in the future, a test latch command Cmd2 is sent to the chip. At this time, the level of the second control signal S2 is pulled up to the "1" level, and the "1" level is flipped to the "0" level by the NOT gate 3121. After the "0" level is transmitted to the AND gate 3122, no matter what level the first control signal S1 input to its first input terminal g1 is, that is, whether exiting the test mode or not, the AND gate 3122 will output the "0" level, and the "0" level is transmitted to the first input terminal f1 of the NOR gate 321. The NOR gate 321 combines the "0" level and the third control signal S3 of the "0" level input to its second input terminal f2, and outputs the flipped "1" level. After being flipped twice by the third NOT gate 322 and the fourth NOT gate 323, it still remains at the "1" level, so that the mode selector 324 continues to output the configuration information of the test mode.
[0119] On the contrary, during the test mode, if the user or tester determines that the configuration information of the test mode will not be used for a long time in the future, the test latch command Cmd2 will not be sent to the chip. At this time, the level of the second control signal S2 is pulled down to the "0" level, and the "0" level is flipped to the "1" level by the NOT gate 3121 and then transmitted to the AND gate 3122. Furthermore, although the second input terminal g2 of the AND gate 3122 inputs the "1" level, as long as the test mode is not exited, that is, as long as the first control signal S1 is still kept at the "0" level, the mode selector 324 will continue to output the configuration information of the test mode. On the contrary, if the test mode is exited, the user or tester sends a test exit command Cmd3 to the chip, so that the level of the first control signal S1 is pulled up to the "1" level. At this time, the AND gate 3122 combines the "1" level and the "1" level obtained by flipping the second control signal S2 input at its second input terminal g2 and outputs the "1" level. The "1" level is flipped to the "0" level after passing through the NOR gate 321, the third NOT gate 322 and the fourth NOT gate 323, so that the mode selector 324 outputs the fuse information.
[0120] Finally, when the user or tester determines that the chip is no longer needed, he or she sends a power-off command to the chip to control the chip to power off.
[0121] Therefore, it can be seen that the above-mentioned implementation scheme 2 can not only realize the same fuse update logic as the above-mentioned implementation scheme 1, but also has one less NOT gate than the test latch circuit in the implementation scheme 1. The structure of the fuse update circuit is simpler and the circuit cost is lower, which helps to realize the miniaturization design of the chip.
[0122] Implementation plan three
[0123] Please refer to Figure 7As shown, it shows a specific structural schematic diagram of another fuse update circuit 300 provided in an embodiment of the present application. The mode switching circuit 320 in the fuse update circuit 300 is the same as the mode switching circuit 320 in the above-mentioned implementation scheme 1. For details, please refer to the introduction of the mode switching circuit 320 in the above-mentioned implementation scheme 1, which will not be repeated here. Different from the above-mentioned implementation scheme 1, the test latch circuit 310 in the implementation scheme 2 includes a first NOT gate 3131, an OR gate 3132 and a second NOT gate 3133. Please combine them together. Figure 3 and Figure 7 The input end of the first NOT gate 3131 is the first input end c1 of the test latch circuit 310, the output end of the first NOT gate 3131 is connected to the first input end h1 of the OR gate 3132, the second input end h2 of the OR gate 3132 is the second input end c2 of the test latch circuit 310, the output end h3 of the OR gate 3132 is connected to the input end of the second NOT gate 3133, and the output end of the second NOT gate 3133 is the output end c3 of the test latch circuit 310.
[0124] Please join together Figure 7 and Figure 5 , the whole process of implementing fuse update using the fuse update circuit is:
[0125] First, when the user or tester determines that the chip needs to be used, the power-on command Cmd0 is sent to the chip. At this time, the level of the third control signal S3 is pulled up to "1". After the "1" level is transmitted to the NOR gate 321, no matter what level signal the test latch circuit 310 outputs, it will be flipped to "0" level by the NOR gate 321. After that, after two flips of the third NOR gate 322 and the third NOR gate 323, it still remains at "0". After the "0" level is input to the mode selector 324 as an input signal, the mode selector 324 turns on the switch unit X2 corresponding to the "0" level, so as to output the fuse information originally stored in the storage unit to the peripheral circuit for use;
[0126] Secondly, the third control signal S3 only remains at the "1" level for a short period of time when the chip is powered on. After a period of time, it will be automatically pulled down to the "0" level by other configuration circuits in the chip. Although the third control signal S3 changes, as long as the test mode is not entered, the mode selector 324 will keep the switch unit X1 turned on and the switch unit X2 turned off under the configuration of other configuration circuits in the chip, that is, the mode selector 324 always outputs the fuse information;
[0127] Afterwards, when the user or tester needs to update the fuse of the chip during use of the chip, a test command Cmd1 is sent to the chip. At this time, the level of the first control signal S1 is pulled down to "0", and the "0" level is flipped to "1" level by the first NOT gate 3131 and then transmitted to the OR gate 3132. Regardless of the level of the second control signal S2, the OR gate 3132 will output a "1" level, and the "1" level is flipped to "0" level by the second NOT gate 3133 and then transmitted to the first input of the NOR gate 321. The input terminal f1 is inputted by the NOR gate 321, and the “0” level and the third control signal S3 of the “0” level inputted by the second input terminal f2 are combined and then the “1” level is outputted, and then the “1” level is still maintained after two flips by the third NOT gate 322 and the fourth NOT gate 323. After the “1” level is inputted to the mode selector 324, the mode selector 324 is driven to turn on the switch unit X1 corresponding to the “1” level, so as to output the configuration information of the test mode stored in the test mode circuit to the peripheral circuit for use;
[0128] Afterwards, during the test mode, if the user or tester determines that the configuration information of the test mode needs to be used for a long time in the future, a test latch command Cmd2 is sent to the chip. At this time, the level of the second control signal S2 is pulled up to the "1" level. After the "1" level is transmitted to the OR gate 3132, no matter what level is input to its first input terminal h1, that is, whether exiting the test mode or not, the OR gate 3132 will output the "1" level. The "1" level is flipped to the "0" level by the second NOT gate 3133 and then transmitted to the first input terminal f1 of the OR gate 321. The OR gate 321 combines the "0" level and the "0" level of the third control signal S3 input at its second input terminal f2, and outputs the flipped "1" level. After being flipped twice by the third NOT gate 322 and the fourth NOT gate 323, it still remains at the "1" level, so that the mode selector 324 continues to output the configuration information of the test mode.
[0129] On the contrary, during the test mode, if the user or tester determines that the configuration information of the test mode will not be used for a long time in the future, the test latch command Cmd2 will not be sent to the chip. At this time, the level of the second control signal S2 is pulled down to the "0" level, and the "0" level is transmitted to the OR gate 3132. Furthermore, although the second input terminal h2 of the OR gate 3132 inputs the "0" level, as long as the test mode is not exited, that is, as long as the first control signal S1 is still maintained at the "0" level, the mode selector 324 will continue to output the configuration information of the test mode. On the contrary, if the test mode is to be exited, the user or tester sends a test exit command Cmd3 to the chip, so that the level of the first control signal S1 is pulled up to the "1" level, and the "1" level is flipped to the "0" level by the first NOT gate 3131 and then transmitted to the OR gate 3132. The OR gate 3132 combines the "0" level and the second control signal S2 of the "0" level input at its second input terminal h2 and then outputs the "0" level. The "0" level is flipped to the "1" level via the second NOT gate 3133, and then flipped to the "0" level after passing through the NOR gate 321, the third NOT gate 322 and the fourth NOT gate 323, so that the mode selector 324 outputs the fuse information;
[0130] Finally, when the user or tester determines that the chip is no longer needed, he or she sends a power-off command to the chip to control the chip to power off.
[0131] It can be seen that the above implementation scheme 3 can also realize the same fuse update logic as the above implementation scheme 1 by setting an OR gate and two NOT gates in the test latch circuit.
[0132] It should be noted that the above implementation schemes 1 to 3 are only exemplary examples of several possible implementation forms of the test latch circuit and the mode switching circuit when the effective level is the "1" level and the invalid level is the "0" level. However, it should be understood that in the case of such level presentation, any test latch circuit that can meet the following implementation logic is within the protection scope of the embodiment of the present application: when the level of the first control signal S1 is "1" and / or the level of the second control signal S2 is "1", the "0" level is output; and, when the levels of the first control signal S1 and the second control signal S2 are both "0", the "1" level is output. And, any mode switching circuit that can meet the following implementation logic is also within the protection scope of the embodiment of the present application: when the level of the third control signal S3 is "1" and / or the level of the output signal of the test latch circuit is "1", the fuse information originally stored in the storage unit is loaded; and, when the levels of the third control signal S3 and the output signal of the test latch circuit are both "0", the configuration information stored in the test mode circuit is loaded.
[0133] Correspondingly, when the valid level is the "0" level and the invalid level is the "1" level, any test latch circuit that can meet the following implementation logic is within the protection scope of the embodiment of the present application: when the level of the first control signal S1 is "0" and / or the level of the second control signal S2 is "0", the "1" level is output; and, when the levels of the first control signal S1 and the second control signal S2 are both "1", the "0" level is output. And, any mode switching circuit that can meet the following implementation logic is within the protection scope of the embodiment of the present application: when the level of the third control signal S3 is "0" and / or the level of the output signal of the test latch circuit is "0", the fuse information originally stored in the storage unit is loaded; and, when the levels of the third control signal S3 and the output signal of the test latch circuit are both "1", the configuration information stored in the test mode circuit is loaded.
[0134] For example, in some possible circuit variations, for any of the above-mentioned implementation schemes 1 to 3, a NOT gate can be added at the output end of its test latch circuit and the input end of the mode selector in the mode switching circuit, respectively, to obtain a fuse update circuit when the valid level is "0" and the invalid level is "1".
[0135] Based on the fuse updating circuit shown in the above embodiment, the present application also provides a fuse updating method, please refer to Figure 8 As shown, the method is applicable to a controller, the controller is connected to the first input terminal and the second input terminal of the test latch circuit in the above-mentioned fuse update circuit, and is also connected to the second input terminal of the mode switching circuit. The method includes:
[0136] Step 801: After receiving a power-on command from a user or a tester, the controller controls the level of a third control signal to be a valid level, thereby controlling the mode switching circuit to load fuse information.
[0137] Step 802: After receiving a test command from a user or a tester, the controller controls the level of the first control signal and the level of the third control signal to be invalid levels, and controls the mode switching circuit to load the configuration information of the test mode. Then:
[0138] If the controller receives a test latch command from a user or a tester, step 803 is executed;
[0139] If the controller does not receive a test latch command from the user or the tester, step 804 is executed.
[0140] Step 803, after receiving the test exit command from the user or tester, the control mode switching circuit loads the configuration information of the test mode by controlling the level of the second control signal to be a valid level and controlling the level of the third control signal to be an invalid level.
[0141] Step 804, when the controller does not receive a test latch command from the user or tester, after receiving a test exit command from the user or tester, the control mode switching circuit loads the fuse information by controlling the levels of the second control signal and the third control signal to be invalid levels.
[0142] In the above method, by controlling the level presentation form of each signal, the fuse update circuit can be driven by level signals presented in different forms to implement a permanent or temporary fuse update scheme according to user needs, so that the fuse update circuit can adapt to various test and application scenarios.
[0143] In addition, the related implementation methods regarding fuse updating in the above-mentioned implementation schemes 1 to 3 are also applicable to the fuse updating method, and the embodiments of the present application will not repeat them one by one.
[0144] According to the fuse updating method shown in the above embodiment, the present application also provides a computer-readable storage medium, which stores a computer program. When the computer program is executed, the above Figure 8 The fuse update method is shown.
[0145] According to the fuse updating method shown in the above embodiment, the present application also provides a computer program product, which, when running on a processor, implements the above Figure 8 The fuse update method is shown.
[0146] According to the fuse update circuit shown in the above embodiment, the present application also provides a memory, which includes a read-write circuit and a fuse update circuit, and the read-write circuit is used to read and write data stored in the fuse update circuit. Figure 3 , Figure 4 , Figure 6 or Figure 7 The fuse update circuit shown in any one of the embodiments.
[0147] According to the fuse update circuit illustrated in the above embodiment, the present application also provides an electronic device, including a printed circuit board (PCB) and the aforementioned memory, wherein the memory is located on the surface of the PCB.
[0148] Exemplarily, the electronic device includes, but is not limited to, a smart phone, a smart watch, a tablet computer, a virtual reality (VR) device, an augmented reality (AR) device, an in-vehicle device, a desktop computer, a personal computer, a handheld computer, or a personal digital assistant.
[0149] Although some possible embodiments of the present application have been described, those skilled in the art may make additional changes and modifications to these embodiments once they have learned the basic creative concept. Therefore, the appended claims are intended to be interpreted as including the embodiments of the present application and all changes and modifications falling within the scope of the present application.
[0150] Obviously, those skilled in the art can make various changes and modifications to the present application without departing from the scope of protection of the present application. Thus, if these modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is also intended to include these modifications and variations.
Claims
1. A fuse updating circuit, characterized in that: include: Test latch circuit and mode switching circuit; The first input end of the test latch circuit is used to receive a first control signal, the second input end of the test latch circuit is used to receive a second control signal, the output end of the test latch circuit is connected to the first input end of the mode switching circuit, and the second input end of the mode switching circuit is used to receive a third control signal; The test latch circuit is used to output a first signal when the second control signal is at a valid level, and to output a second signal when the second control signal is at an invalid level and the first control signal is at a valid level; The mode switching circuit is used to load the configuration information of the test mode if the test latch circuit outputs the first signal when the third control signal presents an invalid level, and to load the fuse information if the test latch circuit outputs the second signal.
2. The circuit according to claim 1, characterized in that The test latch circuit is also used for: When the second control signal exhibits an inactive level and the first control signal exhibits an inactive level, the first signal is output.
3. The circuit according to claim 1 or 2, characterized in that The mode switching circuit is also used for: When the third control signal is at a valid level, the fuse information is loaded.
4. The circuit according to any one of claims 1 to 3, characterized in that The test latch circuit includes a first NOT gate, a NAND gate and a second NOT gate, the input end of the first NOT gate is the second input end of the test latch circuit, the output end of the first NOT gate is connected to the second input end of the NAND gate, the first input end of the NAND gate is the first input end of the test latch circuit, the output end of the NAND gate is connected to the input end of the second NOT gate, and the output end of the second NOT gate is the output end of the test latch circuit.
5. The circuit according to any one of claims 1 to 3, characterized in that The test latch circuit includes a NOT gate and an AND gate, the input end of the NOT gate is the second input end of the test latch circuit, the output end of the NOT gate is connected to the second input end of the AND gate, the first input end of the AND gate is the first input end of the test latch circuit, and the output end of the AND gate is the output end of the test latch circuit.
6. The circuit according to any one of claims 1 to 3, characterized in that The test latch circuit includes a first NOT gate, an OR gate and a second NOT gate, the input end of the first NOT gate is the first input end of the test latch circuit, the output end of the first NOT gate is the first input end of the OR gate, the second input end of the OR gate is the second input end of the test latch circuit, the output end of the OR gate is the input end of the second NOT gate, and the output end of the second NOT gate is the output end of the test latch circuit.
7. The circuit according to any one of claims 4 to 6, characterized in that The mode switching circuit comprises a NOR gate and a mode selector, wherein the first input end of the NOR gate is the first input end of the mode switching circuit, the second input end of the NOR gate is the second input end of the mode switching circuit, and the output end of the NOR gate is connected to the mode selector; The mode selector is used to output the configuration information of the test mode when receiving a high level, and output the fuse information when receiving a low level.
8. The circuit according to claim 7, characterized in that The mode switching circuit also includes a third NOT gate and a fourth NOT gate, the input end of the third NOT gate is connected to the output end of the NOR gate, the output end of the third NOT gate is connected to the input end of the fourth NOT gate, and the output end of the fourth NOT gate is connected to the mode selector.
9. A fuse updating method, characterized in that: Applicable to the fuse updating circuit according to any one of claims 1 to 8, the method comprising: By controlling the second control signal to present a valid level, the test latch circuit is controlled to output the first signal; By controlling the third control signal to present an invalid level, the control mode switching circuit loads the configuration information of the test mode according to the first signal.
10. The method according to claim 9, characterized in that The method further comprises: Control the test latch circuit to output a second signal by controlling the second control signal to present an invalid level and controlling the first control signal to present a valid level; By controlling the third control signal to present an invalid level, the mode switching circuit is controlled to load fuse information according to the second signal.
11. The method according to claim 10, characterized in that The method further comprises: By controlling the second control signal and the first control signal to be at an invalid level, the test latch circuit is controlled to output the first signal.
12. The method according to any one of claims 9 to 11, characterized in that The method further comprises: By controlling the third control signal to present a valid level, the mode switching circuit is controlled to load the fuse information.
13. A memory, characterized in that: A fuse updating circuit comprising a controller and any one of claims 1 to 8, wherein the controller is connected to a first input terminal and a second input terminal of a fuse latch circuit in the fuse updating circuit, and is connected to a second input terminal of a mode switching circuit in the fuse updating circuit; The controller is used to control the fuse update circuit to load fuse information or latch information of a test mode.
14. An electronic device, characterized in that: The invention comprises a printed circuit board PCB and the memory as claimed in claim 13, wherein the memory is arranged on a surface of the PCB.
15. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed, the method according to any one of claims 9 to 12 is implemented.
