Bubble fuzzy processing method, electronic device and storage medium

By selecting different fuzzy processing methods according to the occurrence of bubbles, including right shift or left shift processing of the thermometer code, the problem of decoding errors caused by bubbles in the existing technology is solved, and the accuracy and reliability of the decoding results are improved. , without increasing chip area and delay.

CN116032298BActive Publication Date: 2024-08-27成都星拓微电子科技股份有限公司
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202211724815.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-12-30
Publication Date
2024-08-27
Estimated Expiration
2042-12-30

AI Technical Summary

Technical Problem

When dealing with bubbles that appear in thermometer codes, the existing technology simply shifts one bit to the right or the processing method cannot effectively handle the transition in complex situations, resulting in errors in the decoding results and making it impossible to restore the correct decoding value.

Method used

According to the occurrence of bubbles, choose different fuzzy processing methods, including shifting the thermometer code to the right by one bit and then ANDing, and shifting the thermometer code by one bit to the left and then ORing. Select the appropriate processing method through register configuration, and then decode after completing the fuzzy processing.

Benefits of technology

It achieves accurate decoding results in the presence of different bubbles, improves the accuracy and reliability of decoding results, and basically does not increase area or delay.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116032298B
    Figure CN116032298B
Patent Text Reader

Abstract

The present invention provides a bubble fuzzy processing method, electronic device and storage medium, which specifically include: when a bubble appears in a thermometer code, the thermometer code is shifted right by one position and then ANDed with the original thermometer code, or the thermometer code is shifted left by one position and then ORed with the original thermometer code, and then decoded after the fuzzy processing is completed. The present invention can cope with different bubble occurrence situations, and basically does not increase the area and delay; the decoding result accuracy and reliability of the method are higher than the traditional method.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of thermometer code error correction, and in particular to a Bubble fuzzy processing method, electronic equipment and storage medium. Background Art

[0002] When the chip technology is implemented, if the delay accuracy of the thermometer code is very small, such as only 1ps, there is a probability that the bypass delay will be greater than the delay of the thermometer code cell during the process. When one or more delays of the thermometer code have problems, one or more jumps will occur in the middle of the thermometer code, as shown in the schematic diagram. Figure 1 As shown in the figure, the thermometer code sampled in this scenario is [1,0,1,0,0]. This phenomenon is called bubble.

[0003] When this happens, the result of direct decoding is wrong and the correct decoding value cannot be restored. Fuzzy processing is required first. The traditional fuzzy processing method is to OR the output thermometer code with the thermometer code shifted right by one bit, and then decode it. However, simply ORing the output thermometer code with the thermometer code shifted right by one bit cannot handle the bubble problem well, and can only handle the thermometer code jump in a single case. Summary of the invention

[0004] In view of the problems existing in the prior art, a bubble fuzzy processing method, an electronic device and a storage medium are provided. Different fuzzy processing methods are selected according to the situation where the bubble appears, so that the decoding result will not be biased.

[0005] The technical solution adopted by the present invention is as follows: a Bubble fuzzy processing method, which is to shift the thermometer code right by one position and then AND it with the original thermometer code, or shift the thermometer code left by one position and then OR it with the original thermometer code to complete the fuzzy processing and then decode it.

[0006] Furthermore, when a bubble appears on the left side of the thermometer code, a fuzzy processing method is adopted in which the code is shifted left by one bit and then phase-ORed.

[0007] Furthermore, when a bubble appears on the right side of the thermometer code, a fuzzy processing method is adopted in which the code is shifted right by one position and then ANDed.

[0008] Furthermore, when no bubble appears in the thermometer code, one fuzzy processing method is selected or the code is directly decoded without fuzzy processing.

[0009] Furthermore, register configuration is used to select the fuzzy processing method when different bubbles appear.

[0010] Furthermore, the register is specifically configured as follows: 0 means no fuzzy processing, 1 means shifting one bit to the right and performing AND, and 2 means shifting one bit to the left and performing OR. The corresponding processing method is selected according to the bubble occurrence situation.

[0011] The present invention also proposes an electronic device, including a memory and a processor, wherein the memory stores a computer program corresponding to the bubble fuzzy processing method that can be loaded and executed by the processor.

[0012] The present invention also provides a computer-readable storage medium on which computer program instructions are stored. When the program instructions are executed by a processor, they are used to implement the process corresponding to the above-mentioned Bubble fuzzy processing method.

[0013] Compared with the prior art, the beneficial effects of adopting the above technical solution are: the present invention can cope with different situations where bubbles appear, and basically does not increase the area and delay; the accuracy and reliability of the decoding results using this method are higher than those of the traditional method. BRIEF DESCRIPTION OF THE DRAWINGS

[0014] Figure 1 This is a diagram showing the appearance of a bubble in the thermometer code.

[0015] Figure 2 This is a schematic diagram of the Bubble fuzzy processing method proposed in the present invention. DETAILED DESCRIPTION

[0016] Embodiments of the present application are described in detail below, and examples of the embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar modules or modules with the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain the present application, and cannot be construed as limitations on the present application. On the contrary, the embodiments of the present application include all changes, modifications and equivalents that fall within the spirit and connotation of the appended claims.

[0017] Example 1

[0018] The traditional fuzzy processing method is to simply OR the output thermometer code with the thermometer code after shifting it right by one bit. This method cannot handle the bubble problem in complex situations and can only handle the thermometer code jump in a single situation. Since bubbles generally do not appear continuously or intermittently in the same chip, and the situation where more than two bubbles appear is extremely rare, this embodiment only considers bubbles with single-bit jumps. Based on this, this embodiment proposes a bubble fuzzy processing method, which uses different fuzzy processing methods for the situations where bubbles appear or do not appear in different directions. The specific scheme is as follows:

[0019] like Figure 2 As shown, a bubble fuzzy processing method is used, in which the thermometer code is shifted right by one bit and then ANDed with the original thermometer code, or the thermometer code is shifted left by one bit and then ORed with the original thermometer code to complete the fuzzy processing and then decoded.

[0020] In this embodiment, two optional fuzzy processing methods are mainly proposed, one is to shift left by one bit and then perform OR, and the other is to shift right by one bit and then perform AND. In practical applications, register configuration can be used to select the fuzzy processing method of Bubble.

[0021] Specifically, when a bubble appears on the left side of the thermometer code, a fuzzy processing method of shifting left by one bit and then performing an OR operation is adopted; when a bubble appears on the right side of the thermometer code, a fuzzy processing method of shifting right by one bit and then performing an AND operation is adopted; when no bubble appears in the thermometer code, any fuzzy processing method is selected or the code is directly decoded without fuzzy processing.

[0022] Among them, when there is no bubble, the results of right shift and left shift or direct decoding are basically the same. The only difference is that there will be a direction change at the position of 1ps at the falling edge, but it will not have any effect on the convergence speed and the stable result after convergence.

[0023] In conventional fuzzy processing, when bubbles appear in the thermometer code, the direct decoding result will be wrong, and the traditional right shift may cause a 1-2 bit deviation in the decoding result. However, with the fuzzy processing method proposed in this embodiment, when bubbles appear on the left side of the thermometer code, left shift or can handle the bubbles; and when bubbles appear on the right side of the thermometer code, right shift and can handle the bubbles, and neither processing method will produce any deviation, and the accuracy and reliability are higher than the traditional method.

[0024] Furthermore, this embodiment also takes an 8-bit thermometer code as an example to verify the above-mentioned Bubble fuzzy processing method.

[0025] As shown in Table 1, when there is no bubble in the thermometer code, the results of right shift and left shift or direct decoding are basically the same. The only difference is that there will be a direction change of 1ps at the falling edge, but it will not affect the convergence speed and the stable result after convergence; while right shift or and left shift will have a difference of +1 and -1 in value respectively.

[0026] Table 1 Fuzzy processing results when no bubble appears

[0027]

[0028] As shown in Table 2, when a bubble appears in the adjacent bit on the left, the left shift or method has the best performance and the highest accuracy. The other methods have a slight phase difference. Although they can work normally, they will slightly increase the phase noise after convergence.

[0029] Table 2 Fuzzy processing results when a bubble appears in the left adjacent digit

[0030]

[0031]

[0032] As shown in Table 3, when a bubble appears in the adjacent bit on the right, the right shift has the best performance and the highest accuracy. The other methods have a slight phase difference. Although they can work normally, they will slightly increase the phase noise after convergence.

[0033] Table 3 Fuzzy processing results when a bubble appears in the adjacent digit on the right

[0034]

[0035] As shown in Table 4, when there is a bubble between the two adjacent bits on the left, the left shift or has the best performance and the highest accuracy. The right shift or has a slight phase difference. Although it can work normally, it will slightly increase the phase noise after convergence. The right shift and the left shift and cannot be restored, and the core area in the middle is all 0.

[0036] Table 4 Fuzzy processing results when a bubble appears in the two adjacent digits on the left

[0037]

[0038] As shown in Table 5, when there is a bubble between the two adjacent bits on the right, the right shift and have the best performance and the highest accuracy. The left shift and have a slight phase difference. Although they can work normally, they will slightly increase the phase noise after convergence. The right shift and the left shift and cannot be restored, and the core area in the middle is all 0.

[0039] Table 5 Fuzzy processing results when a bubble appears in the two adjacent digits on the right

[0040]

[0041]

[0042] It can be seen that the bubble fuzzy processing method proposed in this embodiment can effectively complete the fuzzy processing regardless of whether a bubble appears on the left side of the thermometer code, so that the final decoding result is consistent with the decoding result when no bubble appears.

[0043] Meanwhile, for the case where two bubbles appear, the bubble fuzzy processing method proposed in this embodiment is still effective. Specifically:

[0044] As shown in Table 6, when two bubbles appear in the adjacent bits on the left, the right shift and the left shift can be used to recover the bit. There is a slight difference in phase, but the bit can still work normally, which will slightly increase the phase noise after convergence. The right shift and the left shift cannot be recovered, and the core area in the middle is all zero.

[0045] Table 6 Fuzzy processing results when two bubbles appear in the left adjacent digit

[0046]

[0047]

[0048] As shown in Table 7, when two bubbles appear in the adjacent right bit, the left shift or right shift or can be used to restore the bit. There is a slight difference in phase, but the bit can still work normally, which will slightly increase the phase noise after convergence. However, the right shift and left shift and the bit cannot be restored, and the core area in the middle is all 0.

[0049] Table 7 Fuzzy processing results when two bubbles appear in the right adjacent digit

[0050]

[0051]

[0052] From the bubble situation in the above 8-bit thermometer code, the two fuzzy processing methods proposed in this embodiment, left shift OR and right shift AND, can solve different bubble situations. In practical applications, the fuzzy processing method of Bubble_mode can be involved; 0 means no fuzzy processing, 1 means shifting one bit to the right and performing AND, and 2 means shifting one bit to the left and performing OR. Selecting the corresponding processing method according to the bubble occurrence situation can handle most bubble situations without basically increasing the area and delay.

[0053] Example 2

[0054] This embodiment further proposes an electronic device, including a memory and a processor, wherein the memory stores a computer program corresponding to the Bubble fuzzy processing method described in Embodiment 1 that can be loaded by the processor and executed.

[0055] Example 3

[0056] The present invention also provides a computer-readable storage medium on which computer program instructions are stored. When the program instructions are executed by a processor, they are used to implement the process corresponding to the Bubble fuzzy processing method described in Example 1.

[0057] It should be noted that in the description of the embodiments of the present invention, unless otherwise clearly specified and limited, the terms "setting" and "connection" should be understood in a broad sense. For example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a direct connection, or an indirect connection through an intermediate medium. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances; the drawings in the embodiments are used to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. The components of the embodiments of the present invention generally described and shown in the drawings herein can be arranged and designed in various different configurations.

[0058] Although the embodiments of the present application have been shown and described above, it can be understood that the above embodiments are exemplary and cannot be understood as limitations on the present application. Ordinary technicians in this field can change, modify, replace and modify the above embodiments within the scope of the present application.

Claims

1. A Bubble fuzzy processing method, It is characterized in that When a bubble appears in the thermometer code, the thermometer code is shifted right by one position and then ANDed with the original thermometer code, or the thermometer code is shifted left by one position and then ORed with the original thermometer code to complete the fuzzy processing and then decoded; When a bubble appears on the left side of the thermometer code, a fuzzy processing method is used after shifting it left by one bit and performing phase OR. When a bubble appears on the right side of the thermometer code, a fuzzy processing method is used, in which the code is shifted right by one position and then ANDed.

2. The Bubble fuzzy processing method according to claim 1, It is characterized in that When there is no bubble in the thermometer code, select one of the fuzzy processing methods or directly decode without fuzzy processing.

3. The Bubble fuzzy processing method according to claim 1, It is characterized in that Register configuration is used to select the fuzzy processing method when different bubbles appear.

4. The Bubble fuzzy processing method according to claim 3, It is characterized in that The register is specifically configured as follows: 0 means no fuzzy processing, 1 means shifting one bit to the right and performing AND, and 2 means shifting one bit to the left and performing OR. The corresponding processing method is selected according to the bubble occurrence situation.

5. An electronic device, It is characterized in that The method comprises a memory and a processor, wherein the memory stores a computer program corresponding to the Bubble fuzzy processing method according to any one of claims 1 to 4, which can be loaded by the processor and executed.

6. A computer-readable storage medium having computer program instructions stored thereon, It is characterized in that When the program instructions are executed by a processor, they are used to implement a process corresponding to the Bubble fuzzy processing method described in any one of claims 1 to 4.