CN-116306406-B - Electromagnetic interference analysis method and device for chip and electronic equipment
Abstract
The application relates to the technical field of chip design, and provides an electromagnetic interference analysis method and device of a chip and electronic equipment. The method comprises the steps of loading excitation signals to a simulation module during chip design verification, enabling the simulation module to generate output signals based on a circuit structure of a chip, carrying out time-frequency analysis on the output signals to obtain spectrum information of the output signals, and judging whether the chip meets the preset electromagnetic interference (EMI) requirement according to the spectrum information. According to the application, electromagnetic interference analysis can be performed in the chip design stage, which is beneficial to reducing the electromagnetic interference problem in the chip design stage, thereby reducing the design cost of the electronic product. In addition, the application can modify the design scheme of the chip according to the frequency spectrum information and combining the periodical code pattern extracted from the time domain information, thereby enabling the chip to meet the preset electromagnetic interference requirement.
Inventors
- Request for anonymity
- Request for anonymity
Assignees
- 摩尔线程智能科技(北京)有限责任公司
Dates
- Publication Date
- 20260505
- Application Date
- 20221104
Claims (11)
- 1. A periodic pattern extraction unit extracts a periodic pattern from an original data stream, the periodic pattern being the same pattern occurring in a cyclic period after an interval of n bits, where n is 0 or a natural number, The method is characterized in that the periodic code pattern extracting unit extracts the periodic code pattern from the original data stream, and the method comprises the following steps: shifting the original data stream for L times to generate L data streams, wherein L is a natural number greater than 1; extracting periodic patterns in each data stream and counting the number of repetitions of each periodic pattern, and The periodicity pattern extracted from the original data stream is determined based on the number of repetitions of the periodicity pattern extracted from more than two of the data streams.
- 2. The periodic pattern extraction unit of claim 1, wherein, Extracting a periodic pattern in each data stream, comprising: calculating the number of occurrences of the same code pattern of length L and occurring in the data stream at intervals of n bits in a cyclic period, and And when the occurrence number of the same code pattern is larger than a preset value, judging that the same code pattern is a periodic code pattern.
- 3. An electromagnetic interference analysis apparatus of a chip, the apparatus comprising: the periodic pattern extraction unit according to claim 1 or 2, and A scheme modifying unit that modifies a design scheme of the chip based on the extracted periodic pattern, Wherein the raw data stream is derived from an output signal generated by a simulation module in response to an excitation signal based on a circuit structure of the chip.
- 4. The electromagnetic interference analysis apparatus according to claim 3, wherein, Modifying the design scheme of the chip comprises the following steps: by modifying the circuit structure or operating protocol of the interface so that bits in the signal are flipped when the occurrence of the periodic pattern resulting in electromagnetic interference is detected, and/or Scrambling the output signal of the chip, and/or And performing spectrum spreading processing on the reference clock of the chip.
- 5. A method of extracting a periodic pattern from an original data stream, the periodic pattern being the same pattern occurring in a cyclic period after an interval of n bits, where n is 0 or a natural number, the method comprising: shifting the original data stream for L times to generate L data streams, wherein L is a natural number greater than 1; extracting periodic patterns in each data stream and counting the number of repetitions of each periodic pattern, and The periodicity pattern extracted from the original data stream is determined based on the number of repetitions of the periodicity pattern extracted from more than two of the data streams.
- 6. The method of claim 5, wherein, Extracting a periodic pattern in each data stream, comprising: calculating the number of occurrences of the same code pattern of length L and occurring in the data stream at intervals of n bits in a cyclic period, and And when the occurrence number of the same code pattern is larger than a preset value, judging that the same code pattern is a periodic code pattern.
- 7. A method for electromagnetic interference analysis of a chip, the method comprising: Extracting periodic patterns from the original data stream based on the method of claim 5 or 6, and Based on the extracted periodic pattern, modifying the design of the chip, Wherein the raw data stream is derived from an output signal generated by a simulation module in response to an excitation signal based on a circuit structure of the chip.
- 8. The electromagnetic interference analysis method of claim 7, wherein, Modifying the design scheme of the chip comprises the following steps: by modifying the circuit structure or operating protocol of the interface so that bits in the signal are flipped when the occurrence of the periodic pattern resulting in electromagnetic interference is detected, and/or Scrambling the output signal of the chip, and/or And performing spectrum spreading processing on the reference clock of the chip.
- 9. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the processor implements the method of any of claims 5 to 8 when executing the computer program.
- 10. A computer readable storage medium, characterized in that the computer readable storage medium stores a computer program which, when executed by a processor, implements the method of any of claims 5 to 8.
- 11. A computer program product, characterized in that the computer program product comprises a computer program which, when executed by a processor, implements the method of any of claims 5 to 8.
Description
Electromagnetic interference analysis method and device for chip and electronic equipment The application relates to a method for analyzing electromagnetic interference of a chip and a device and electronic equipment thereof, which are applied for the application with the application number of 202211373429.6 and the application date of 2022, 11 and 4. Technical Field The present application relates to the field of chip design technologies, and in particular, to a method and an apparatus for analyzing electromagnetic interference of a chip, and an electronic device. Background The electromagnetic interference (EMI) of electronic products in various countries has a corresponding limit requirement, and only electronic products meeting the corresponding limit requirement can be sold on the local market. Therefore, the chip in the electronic product needs to be subjected to electromagnetic interference analysis before being marketed. In the prior art, after the design of the circuit board is completed, a chip is usually installed, then an electromagnetic interference test is performed, and if an electromagnetic interference problem is found, the electromagnetic interference problem is solved from a board level or a system level. The earlier the electromagnetic interference problem is considered, the earlier the problem is solved, the smaller the cost is, the better the effect is, and the lower the cost is. The chip end is often a source for generating electromagnetic interference, especially a high-speed digital chip, so that the design cost and the lead time of a product can be greatly reduced and the reliability of the product can be improved as long as the EMI problem at the beginning of chip design is discovered as early as possible and analyzed and restrained. It should be noted that the foregoing description of the background art is only for the purpose of providing a clear and complete description of the technical solution of the present application and is presented for the convenience of understanding by those skilled in the art. The above-described solutions are not considered to be known to the person skilled in the art simply because they are set forth in the background of the application section. Disclosure of Invention The existing electromagnetic interference analysis has the limitation that the electromagnetic interference problem can be found after the chip is manufactured, and the electromagnetic interference problem existing in the chip cannot be found in the chip design stage, so that the electromagnetic interference problem is often solved from a board level or a system level, the cost of products is increased, for example, the cost is increased by means of grounding shielding filtering and the like, and in addition, the board is washed when the electromagnetic interference problem is serious, so that the delivery of the products is delayed, and the cost is further increased. In order to solve at least the above technical problems or similar technical problems, embodiments of the present application provide an electromagnetic interference analysis method and apparatus for a chip, and an electronic device. In the electromagnetic interference analysis method, in the design stage of the chip, an excitation signal is input to a simulation module of the chip to generate an output signal, and time-frequency analysis is performed on the output signal, so that whether the chip meets the preset electromagnetic interference requirement is judged based on the result of the time-frequency analysis. Therefore, electromagnetic interference analysis can be performed in the chip design stage, which is beneficial to reducing the electromagnetic interference problem in the chip design stage, thereby reducing the design cost of the electronic product. The embodiment of the application provides an electromagnetic interference (EMI) analysis method of a chip, which comprises the following steps: Inputting an excitation signal to a simulation module during chip design verification, so that the simulation module generates an output signal based on a circuit structure of the chip; Performing time-frequency analysis on the output signal to obtain frequency spectrum information of the output signal, and And judging whether the chip meets the preset electromagnetic interference (EMI) requirement or not according to the frequency spectrum information. The embodiment of the application also provides an electromagnetic interference analysis device of the chip, which comprises: An excitation signal input unit that inputs an excitation signal to a simulation module of a chip, so that the simulation module generates an output signal based on a circuit structure of the chip; A time-frequency analysis unit for performing time-frequency analysis on the output signal to obtain frequency spectrum information of the output signal, and And a judging unit that judges whether the chip satisfies a predetermined electromagnetic interfe