Digital-analog hybrid simulation method, platform, equipment, medium and product

By constructing analog circuit modules in digital-to-analog hybrid simulation and performing joint simulation, the simulation accuracy problem caused by neglecting analog signal continuity in the prior art is solved, and a higher precision simulation result is achieved.

CN120235104APending Publication Date: 2025-07-01XINSHENG TECHNOLOGY CO LTD
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202510340201.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-03-21
Publication Date
2025-07-01

AI Technical Summary

Technical Problem

In integrated platform simulation, existing digital-analog hybrid simulation technology is prone to ignore the continuity of the analog signal due to the difference in accuracy and the different simulation focus, resulting in errors and deviations in simulation results, limiting the overall simulation accuracy.

Method used

By building the analog circuit module to be simulated, the simulation excitation and target performance required by it is determined, including ideal power supply waveform, ideal clock waveform, ideal control signal waveform and ideal signal waveform, joint simulation is carried out to determine whether the performance of the analog circuit module meets the target performance. If it does not meet, adjust and repeat the simulation until the performance is met.

Benefits of technology

It effectively improves simulation accuracy, avoids errors and deviations caused by ignoring the continuity of analog signals due to different accuracy and different simulation priorities, and achieves more accurate digital-to-analog hybrid simulation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120235104A_ABST
    Figure CN120235104A_ABST
Patent Text Reader

Abstract

The invention provides a digital-analog hybrid simulation method, platform, equipment, medium and product, and belongs to the technical field of integrated circuits, the method comprises the following steps: constructing a to-be-simulated analog circuit module, determining simulation excitation and target performance required by the analog circuit module, the simulation excitation comprises at least one ideal power supply waveform, at least one ideal clock waveform, at least one ideal control signal waveform and at least one ideal signal waveform; and performing joint simulation on the analog circuit module according to the simulation excitation, if the performance of the analog circuit module accords with the target performance, completing simulation, otherwise, adjusting the analog circuit module, and returning to execute the step of performing joint simulation on the analog circuit module according to the simulation excitation until the performance of the adjusted analog circuit module accords with the target performance. According to the simulation excitation of the waveform mode, the simulation circuit module is subjected to joint simulation so as to realize simulation in a simulation environment, and the simulation precision is effectively improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of integrated circuit technology, and in particular, to a digital - analog hybrid simulation method, platform, device, medium, and product. Background Art

[0002] With the continuous evolution of integrated circuit technology, digital - analog hybrid systems have become the mainstream in the industry and are widely used in key fields such as receivers, transmitters, phase - locked loops, ADCs (analog - to - digital converters), and DACs (digital - to - analog converters). Digital - analog hybrid systems skillfully integrate the dual characteristics of digital and analog circuits. Therefore, it is particularly important to conduct comprehensive and accurate digital - analog hybrid simulation verification on them.

[0003] Currently, the mainstream digital - analog hybrid simulation technology tends to build a large and comprehensive platform, attempting to integrate multiple functional modules of digital and analog in a modeled form to achieve integrated platform simulation. Integrated platform simulation mainly focuses on digital computing. Due to differences in precision and different simulation focuses, it is easy to ignore the continuity of analog signals, thereby causing errors and deviations in simulation results and limiting the overall simulation accuracy. Summary of the Invention

[0004] The present application provides a digital - analog hybrid simulation method, platform, device, medium, and product, which solves the defect that integrated platform simulation is prone to ignoring the continuity of analog signals due to differences in precision and different simulation focuses, thereby causing errors and deviations in simulation results and limiting the overall simulation accuracy.

[0005] The present application provides a digital - analog hybrid simulation method, including: Construct an analog circuit module to be simulated, and determine the simulation excitation and target performance required by the analog circuit module. The simulation excitation includes at least one ideal power supply waveform, at least one ideal clock waveform, at least one ideal control signal waveform, and at least one ideal signal waveform; Perform joint simulation on the analog circuit module according to the simulation excitation, and determine whether the performance of the analog circuit module meets the target performance. If so, complete the simulation; If the performance of the analog circuit module does not meet the target performance, adjust the analog circuit module, and return to execute the step of performing joint simulation on the analog circuit module according to the simulation excitation until the performance of the adjusted analog circuit module meets the target performance, and then complete the simulation.

[0006] As an embodiment, the performing joint simulation on the analog circuit module according to the simulation excitation includes: Respectively determine the constraint relationships between the ideal power supply waveform, the ideal control signal waveform, the ideal signal waveform, and the ideal clock waveform; According to the described constraint relationship, input the simulation excitation into the analog circuit module for simulation to achieve co-simulation.

[0007] As an embodiment, the separately determining the constraint relationships between the ideal power supply waveform, the ideal control signal waveform, the ideal signal waveform, and the ideal clock waveform includes: Determine a first constraint relationship between the ideal power supply waveform and the ideal clock waveform according to the power-on time and voltage rise time of the ideal power supply waveform; Determine a second constraint relationship between the ideal control signal waveform and the ideal clock waveform according to the control node time of the ideal control signal waveform; Determine a third constraint relationship between the ideal signal waveform and the ideal clock waveform according to the input-output time of the ideal signal waveform; Obtain the constraint relationship according to the first constraint relationship, the second constraint relationship, and the third constraint relationship.

[0008] As an embodiment, after jointly simulating the analog circuit module according to the simulation excitation and determining whether the performance of the analog circuit module meets the target performance, it further includes: If the performance of the analog circuit module meets the target performance, sequentially replace one or more of the simulation excitations with actual excitations, input the actual excitations into the analog circuit module, and determine whether the performance of the analog circuit module meets the target performance. If so, complete the simulation.

[0009] As an embodiment, the actual excitation is used to represent the simulated or measured excitation output by the actual excitation circuit module, including the actual power supply waveform, the actual clock waveform, the actual control signal waveform, and the actual signal waveform. Correspondingly, the sequentially replacing one or more of the simulation excitations with actual excitations, inputting the actual excitations into the analog circuit module, and determining whether the performance of the analog circuit module meets the target performance includes: Synchronously input the actual power supply waveform and the ideal clock waveform / actual clock waveform into the analog circuit module, perform simulation verification on the power supply performance of the analog circuit module and the clock performance under power supply disturbance to obtain a first simulation verification result; Input the actual control signal waveform into the analog circuit module, perform simulation verification on the control signal performance of the analog circuit module under the combined interference of power supply and clock to obtain a second simulation verification result; Based on the timestamp alignment technology, input the actual signal waveform into the analog circuit module, perform simulation verification on the signal processing performance of the analog circuit module to obtain a third simulation verification result; Based on the first simulation verification result, the second simulation verification result, and the third simulation verification result, determine whether the performance of the analog circuit module meets the target performance.

[0010] This application also provides a digital-analog hybrid simulation platform, including: A construction module, configured to construct an analog circuit module to be simulated, determine the simulation excitation and target performance required for the analog circuit module, where the simulation excitation includes at least one ideal power supply waveform, at least one ideal clock waveform, at least one ideal control signal waveform, and at least one ideal signal waveform; A simulation module, configured to perform a joint simulation on the analog circuit module according to the simulation excitation, determine whether the performance of the analog circuit module meets the target performance. If so, complete the simulation; if the performance of the analog circuit module does not meet the target performance, adjust the analog circuit module, and return to execute the step of performing a joint simulation on the analog circuit module according to the simulation excitation until the performance of the adjusted analog circuit module meets the target performance, and then complete the simulation.

[0011] As an embodiment, the construction module is further configured to construct a power management circuit module, a clock management circuit module, and a digital signal processing circuit module; The power management circuit module is configured to provide the ideal power supply waveform and the actual power supply waveform corresponding to the ideal power supply waveform; The clock management circuit module is configured to provide the ideal clock waveform and the actual clock waveform corresponding to the ideal clock waveform; The digital signal processing circuit module is configured to provide the ideal control signal waveform and the actual control signal waveform corresponding to the ideal control signal waveform.

[0012] This application also provides an electronic device, including a memory, a processor, and a computer program stored on the memory and executable on the processor. When the processor executes the computer program, the digital-analog hybrid simulation method as described in any one of the above is implemented.

[0013] This application also provides a non-transitory computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the digital-analog hybrid simulation method as described in any one of the above is implemented.

[0014] This application also provides a computer program product, including a computer program. When the computer program is executed by a processor, the digital-analog hybrid simulation method as described in any one of the above is implemented.

[0015] The digital-analog hybrid simulation method, platform, device, medium and product provided by this application perform co-simulation on analog circuit modules according to the simulation excitation of the waveform mode to achieve simulation in the analog environment, avoiding ignoring the continuity of analog signals due to differences in precision and different simulation focuses, and effectively improving the simulation accuracy. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] In order to more clearly illustrate the technical solutions in this application or the prior art, the following will briefly introduce the drawings required for use in the description of the embodiments or the prior art. Obviously, the drawings in the following description are some embodiments of this application. For those of ordinary skill in the art, without creative efforts, other drawings can also be obtained based on these drawings.

[0017] Figure 1 It is a flowchart of the digital-analog hybrid simulation method provided by this application.

[0018] Figure 2 It is a waveform diagram of the simulation excitation provided by this application.

[0019] Figure 3 It is a waveform diagram of the actual excitation provided by this application.

[0020] Figure 4 It is a structural diagram of the digital-analog hybrid simulation platform provided by this application.

[0021] Figure 5 It is a circuit schematic diagram of the analog circuit system provided by this application.

[0022] Figure 6 It is a flowchart of the digital-analog hybrid simulation method implemented based on the analog circuit system provided by this application.

[0023] Figure 7 It is a structural diagram of the electronic device provided by this application. DETAILED DESCRIPTION OF THE EMBODIMENTS

[0024] To make the objectives, technical solutions, and advantages of this application clearer, the following will clearly and completely describe the technical solutions in this application with reference to the drawings in this application. Obviously, the described embodiments are some, but not all, of the embodiments of this application. Based on the embodiments in this application, all other embodiments obtained by those of ordinary skill in the art without creative efforts fall within the scope of protection of this application.

[0025] It should be noted that all actions of obtaining signals, information, or data in this application are carried out on the premise of complying with the corresponding data protection regulations and policies of the location and with the authorization given by the owner of the corresponding device.

[0026] Figure 1 is a schematic flowchart of the digital-analog hybrid simulation method provided by this application. As Figure 1 shown, this application provides a digital-analog hybrid simulation method, including steps S100 - S300.

[0027] Step S100: Construct a simulation-ready analog circuit module, and determine the simulation excitation and target performance required for the analog circuit module. The simulation excitation includes at least one ideal power supply waveform, at least one ideal clock waveform, at least one ideal control signal waveform, and at least one ideal signal waveform.

[0028] The analog circuit module includes circuit modules in fields such as receivers, transmitters, phase-locked loops, ADCs (analog-to-digital converters), and DACs (digital-to-analog converters). The simulation excitation and target performance are determined according to the field to which the analog circuit module belongs.

[0029] Step S200: Perform co-simulation on the analog circuit module according to the simulation excitation, and determine whether the performance of the analog circuit module meets the target performance. If so, the simulation is completed.

[0030] Step S300: If the performance of the analog circuit module does not meet the target performance, adjust the analog circuit module, and return to execute the step of performing co-simulation on the analog circuit module according to the simulation excitation until the performance of the adjusted analog circuit module meets the target performance, and then complete the simulation.

[0031] Performing co-simulation on the analog circuit module according to the simulation excitation means that, according to the relationship between the simulation excitations, the simulation excitations are jointly input into the analog circuit module to obtain the output signal waveform output by the analog circuit module, and the performance verification of the analog circuit module is achieved by comparing the output signal waveform with the preset ideal output signal waveform.

[0032] It can be understood that the environment of the digital-analog hybrid simulation in this application is the analog environment corresponding to the analog circuit module, without involving the interaction between the digital environment and the analog environment, and can quickly perform simulation iteration. In the process of integrating the IP of each chip in the form of a model in the existing digital-analog hybrid simulation technology, the details of the analog radio frequency circuit may be lost due to model simplification, resulting in the omission of key information. Coupled with the fact that platform simulation focuses on digital computing, it is easy to produce accuracy differences and simulation focus differences, and it is impossible to reproduce the more complex yield problems and comprehensive problems in the actual application process of the analog circuit module. In response to this, this application uses the simulation excitation in waveform mode as an interaction medium to perform joint simulation on the analog circuit module, rather than the simplified digital data stream, which can effectively reproduce the comprehensive problems in the actual application process of the analog circuit module so as to discover and solve problems during the simulation verification process, solve the defect that due to the differences in accuracy and simulation focus, the continuity of analog signals is ignored, thereby causing errors and deviations in the simulation results, and limiting the accuracy of the overall simulation, and improve the simulation accuracy.

[0033] Based on the above embodiments, as an optional embodiment, the jointly simulating the analog circuit module according to the simulation excitation includes step S210-step S220.

[0034] Step S210, respectively determine the constraint relationships between the ideal power supply waveform, the ideal control signal waveform, the ideal signal waveform and the ideal clock waveform.

[0035] According to the field and design principle of the analog circuit module, the ideal power supply waveform includes the external power supply waveform, the clock power supply waveform, and the IP core power supply waveform (the power supply waveform provided by a specific integrated circuit design (such as FPGA or ASIC)), etc. The constraint relationship between the ideal power supply waveform and the ideal clock waveform refers to the timing constraint relationship in which the ideal power supply waveform changes with the ideal clock waveform.

[0036] The ideal control signal waveform is determined based on the field and design principle of the analog circuit module. The constraint relationship between the ideal control signal waveform and the ideal clock waveform refers to the timing constraint relationship in which the ideal control signal waveform changes with the ideal clock waveform.

[0037] The ideal signal waveform is determined based on the field and design principle of the analog circuit module. The constraint relationship between the ideal signal waveform and the ideal clock waveform refers to the timing constraint relationship in which the ideal signal waveform changes with the ideal clock waveform.

[0038] Optionally, the respectively determining the constraint relationships between the ideal power supply waveform, the ideal control signal waveform, the ideal signal waveform and the ideal clock waveform includes step S211-step S214.

[0039] Step S211, determine a first constraint relationship between the ideal power supply waveform and the ideal clock waveform according to the power-on time and voltage rise time of the ideal power supply waveform.

[0040] Step S212, determine a second constraint relationship between the ideal control signal waveform and the ideal clock waveform according to the control node time of the ideal control signal waveform.

[0041] Step S213, determine a third constraint relationship between the ideal signal waveform and the ideal clock waveform according to the input / output time of the ideal signal waveform.

[0042] Step S214, obtain the constraint relationship according to the first constraint relationship, the second constraint relationship, and the second constraint relationship. Combine the first constraint relationship, the second constraint relationship, and the second constraint relationship to obtain the constraint relationship.

[0043] In the embodiment of the present application, taking the analog circuit module as an analog radio frequency circuit as an example to illustrate the constraint relationship. The first constraint relationship includes the power-on time, activation sequence, voltage rise time, etc. of each power supply waveform such as the external power supply waveform, clock power supply waveform, and IP core power supply waveform. The second constraint relationship includes the power-on reset time / transceiver enable time / mode switching time, etc. of the ideal control signal waveform. The ideal signal waveform includes typical Internet of Things communication waveforms such as single-carrier sine wave, single-carrier QPSK (roll-off factor 0.35), multi-carrier OFDM (sub-carrier spacing 15 kHz), etc. Correspondingly, the third constraint relationship includes the transmission / reception time of the Internet of Things communication waveform.

[0044] Step S220, according to the constraint relationship, input the simulation excitation to the analog circuit module for simulation to achieve co-simulation. Specifically, when inputting the simulation excitation to the analog circuit module, the constraint conditions need to be satisfied.

[0045] It can be understood that by determining the constraint relationship in the present application, during simulation, the simulation excitation is input to the analog circuit module for simulation according to the constraint relationship. Taking time as a reference, co-simulation of multiple power supply waveforms, multiple clock waveforms, multiple control waveforms, and multiple signal waveforms is realized, and simultaneous simulation of multiple different waveforms is achieved. At the same time, multiple waveforms are on the same time axis, making the simulation excitation more in line with the actual scenario, thereby improving the simulation accuracy and simulation efficiency.

[0046] Based on the above embodiment, as an optional embodiment, after jointly simulating the analog circuit module according to the simulation excitation and determining whether the performance of the analog circuit module meets the target performance, it further includes: If the performance of the analog circuit module meets the target performance, one or more of the simulation excitations are sequentially replaced with actual excitations, the actual excitations are input into the analog circuit module, and it is determined whether the performance of the analog circuit module meets the target performance. If so, the simulation is completed. When inputting the actual excitations into the analog circuit module, the constraint conditions also need to be satisfied.

[0047] Optionally, the actual excitations are used to represent the simulated or measured excitations output by the actual excitation circuit module, including actual power supply waveforms, actual clock waveforms, actual control signal waveforms, and actual signal waveforms. Correspondingly, the process of sequentially replacing one or more of the simulation excitations with actual excitations, inputting the actual excitations into the analog circuit module, and determining whether the performance of the analog circuit module meets the target performance includes: Synchronously input the actual power supply waveform and the ideal clock waveform / actual clock waveform into the analog circuit module to perform simulation verification on the power supply performance of the analog circuit module and the clock performance under power supply disturbances, and obtain a first simulation verification result; the first simulation verification result is used to represent whether the analog circuit module meets the power supply performance.

[0048] Input the actual control signal waveform into the analog circuit module to perform simulation verification on the control signal performance of the analog circuit module under power supply and clock combined disturbances, and obtain a second simulation verification result; the second simulation verification result is used to represent whether the analog circuit module meets the control signal performance.

[0049] Based on the timestamp alignment technology, input the actual signal waveform into the analog circuit module to perform simulation verification on the signal processing performance of the analog circuit module, and obtain a third simulation verification result; the third simulation verification result is used to represent whether the analog circuit module meets the signal processing performance.

[0050] According to the first simulation verification result, the second simulation verification result, and the third simulation verification result, determine whether the performance of the analog circuit module meets the target performance. If the first simulation verification result, the second simulation verification result, and the third simulation verification result all represent that the analog circuit module meets the performance requirements, it is determined that the performance of the analog circuit module meets the target performance.

[0051] Correspondingly, the process of using simulation excitations to perform simulation verification on the analog circuit module can also refer to this embodiment.

[0052] This application uses Figure 2 and Figure 3By comparing the simulation excitation and the actual excitation, it can be seen that there are many jitters, noises, and glitches in the waveform of the actual excitation. There are also delays and jitters in the actual clock, which may all lead to abnormalities in the actual simulation results and chip performance. In this regard, in the embodiments of the present application, the simulation excitation is replaced with the actual excitation, and the actual excitation is used to simulate and verify the analog simulation circuit module, which can more realistically describe the influence of the actual waveform on the performance of the analog radio frequency circuit.

[0053] In the embodiments of the present application, the actual excitation is taken as an example of the simulation waveform output by the actual excitation circuit module for illustration.

[0054] Taking the time-domain simulation baseline as the reference framework for the actual power supply waveform, a dynamic timing waveform of the power supply domain is established. The type of the power supply waveform is defined according to the chip design requirements, and parametric modeling is performed on the power-on time, activation sequence, voltage rise time, and ramp slope of each type of power supply waveform. Correspondingly, based on the waveform injection technology, the actual power supply waveform is injected into the simulation environment of the analog circuit module to realize the simulation of the dynamic characteristics of the power supply waveform and verify key indicators such as surge current suppression and power supply noise coupling.

[0055] According to the chip clock tree design requirements for the actual clock waveform, a phase relationship model of the main clock / sub-clock is constructed, the trigger conditions for key events such as clock enable and frequency switching are defined, and the clock offset and jitter are set. Correspondingly, based on the power supply domain verification, a clock synchronization mechanism is established, and the waveform is synchronized with the actual power supply waveform and injected into the simulation environment of the analog circuit module to verify the function and performance of the clock waveform under power supply disturbances, and the first simulation verification result is obtained.

[0056] For the actual control signal waveform, the timing constraints of the key control nodes of the chip (such as: power-on reset / transceiver enable / mode switching) are defined, and parameters such as the layout line delay and distortion are quantified. Correspondingly, based on the waveform injection technology, the actual control signal waveform is input into the simulation environment of the analog circuit module to verify the robustness of the control signal under composite interferences such as power supply noise and clock jitter, and the second simulation verification result is obtained.

[0057] A multi-modal signal library is constructed for the actual signal waveform, including typical Internet of Things communication waveforms such as single-carrier sine wave, single-carrier QPSK (roll-off factor 0.35), and multi-carrier OFDM (sub-carrier spacing 15 kHz). Correspondingly, the timestamp alignment technology is adopted to inject the target signal within the joint stable window of the power supply / clock / control signal, and the receiver sensitivity and transmitter EVM indicators are verified through the signal-to-noise ratio, and the third simulation verification result is obtained.

[0058] Generally speaking, by establishing the timing constraint relationships of the power-up time, clock lock time, control signal setup and hold time, and signal transmission and reception time; jointly simulating all inputs of the analog RF circuit to obtain the required output signal waveform, and verifying the functions and performances of the entire chip.

[0059] It can be understood that in this application, the ideal waveforms in the simulation environment are sequentially replaced with actual real waveforms, iteratively approaching the real working scenario. Each time, only one type of waveform or multiple types of waveforms can be replaced simultaneously, iteratively approaching the real working scenario. By iteratively simulating the conditions in sequence, the differences between the actual conditions and the ideal conditions can be quickly and effectively discovered, quickly finding the sources of existing problems, thereby achieving rapid iteration. This application can be applied to multiple simulation conditions and scenarios, especially for different operating conditions, process parameters, and / or temperature environments, which can effectively improve the simulation coverage rate.

[0060] The following describes the digital-analog hybrid simulation platform provided by this application. The digital-analog hybrid simulation platform described below can be mutually referred to with the digital-analog hybrid simulation method described above.

[0061] Figure 4 is a schematic structural diagram of the digital-analog hybrid simulation platform provided by this application. As Figure 4 shown, this application also provides a digital-analog hybrid simulation platform, including: A construction module 410, configured to construct an analog circuit module to be simulated, and determine the simulation excitation and target performance required by the analog circuit module. The simulation excitation includes at least one ideal power supply waveform, at least one ideal clock waveform, at least one ideal control signal waveform, and at least one ideal signal waveform; A simulation module 420, configured to perform joint simulation on the analog circuit module according to the simulation excitation, and determine whether the performance of the analog circuit module meets the target performance. If so, the simulation is completed; if the performance of the analog circuit module does not meet the target performance, adjust the analog circuit module, and return to execute the step of performing joint simulation on the analog circuit module according to the simulation excitation until the performance of the adjusted analog circuit module meets the target performance, and the simulation is completed.

[0062] As an embodiment, the construction module is further configured to construct a power management circuit module, a clock management circuit module, and a digital signal processing circuit module; The power management circuit module is configured to provide the ideal power supply waveform and the actual power supply waveform corresponding to the ideal power supply waveform; The clock management circuit module is configured to provide the ideal clock waveform and the actual clock waveform corresponding to the ideal clock waveform; The digital signal processing circuit module is used to provide the ideal control signal waveform and the actual control signal waveform corresponding to the ideal control signal waveform.

[0063] As Figure 5 shown, in the embodiment of the present application, the analog circuit module is taken as an example of the analog radio frequency circuit module for illustration. The analog radio frequency circuit module, the power management circuit module, the clock management circuit module, and the digital signal processing circuit module constitute an analog circuit system. The analog radio frequency circuit module, the power management circuit module, the clock management circuit module, and the digital signal processing circuit module can all be composed of integrated IPs.

[0064] The analog radio frequency circuit module is used to process the modulation and demodulation of the actual communication signal in the analog radio frequency circuit to realize signal transmission and reception, and includes a receiving interface, a receiving link, an analog-to-digital conversion circuit, a frequency synthesis unit, a register control unit, a transmitting interface, a transmitting link, a digital-to-analog conversion circuit, a power interface, and a clock interface.

[0065] The receiving interface is used to receive the signal transmitted from the outside; the receiving link is used to process the received signal and down-convert the received signal to the baseband; the analog-to-digital conversion circuit is used to convert the analog waveform into a digital waveform and transmit it to the digital signal processing circuit module for the data signal processing circuit module to perform digital signal processing; the digital-to-analog conversion circuit is used to convert the data processed by the digital signal processing circuit module into an analog waveform and transmit it to the analog radio frequency circuit module for simulation; the transmitting link is used to process the transmitted signal and up-convert the baseband signal simulated by the analog radio frequency circuit module to the radio frequency; the transmitting interface is used to amplify the radio frequency signal and transmit it to the antenna; the power interface is used to realize the connection between the analog radio frequency circuit module and the power management circuit module to supply power to the analog radio frequency circuit module; the clock interface is used to realize the connection between the analog radio frequency circuit module and the clock management circuit module to obtain the clock source required by the analog radio frequency circuit module; the register control unit is used to process the register configuration word so that each module inside the analog radio frequency circuit module works under the required conditions.

[0066] The power management circuit module is used to supply power to the entire system. It can be integrated into the analog radio frequency circuit module or can be a separate module. In the embodiment of the present application, it is taken as a separate module for illustration. The power management circuit module supplies power to the analog radio frequency circuit module, the clock management circuit module, and the digital signal processing circuit module through the power interface by converting the external power supply into a suitable voltage.

[0067] The clock management circuit module is used to provide a clock source for the entire system. It can be integrated into the analog RF circuit module or be a separate module. In this embodiment of the application, the separate module is taken as an example for illustration. The clock management circuit module provides clock signals for the analog RF circuit module, the power management circuit module, and the digital signal processing circuit module through a clock interface.

[0068] The digital signal processing circuit module is used for digital signal processing and provides the required register configuration words and processed signal waveforms to the analog RF circuit module. The digital signal processing circuit module includes a data interface and a register configuration unit. The data interface is used for signal waveform transmission, including reception and transmission; the register configuration unit is used to provide the register configuration words required for the system to operate.

[0069] The data waveform in the figure refers to the waveform medium for information interaction between the digital signal processing circuit module and the analog RF circuit module, and is simulated with an analog waveform. The register control input / output waveform refers to the configuration word control flow required by the analog RF circuit module, which can be a configuration word in a fixed state or a control flow with continuously changing configurations as the transceiver time slot switches. The clock waveform refers to the clock source required by the analog RF circuit module. The voltage supply waveform refers to the power supply voltage waveform required by the analog RF circuit module.

[0070] As Figure 6 shown, taking the analog circuit system as an example of the analog RF system, this embodiment of the application provides an accurate and efficient analog-digital hybrid simulation method based on the analog RF system. For the analog RF interface information required by the analog RF system, such as analog waveforms of clock, register control word, power supply, signal, etc., first implement them with ideal waveforms and complete the simulation in the analog simulation environment to ensure that the performance meets the expectations; successively replace the ideal waveforms with the actual waveforms processed by the digital signal processing unit, the power management circuit module, or the clock management circuit module, and continuously perform simulation iterations to approach the actual working environment. The entire simulation environment establishment process is excited by real waveforms and only performs high-speed and accurate simulations in the analog simulation environment, ensuring the reliability of the results. At the same time, because only simulations are performed in the analog environment and there is no joint simulation operation between the analog simulation environment and the digital simulation environment, the overall simulation efficiency will also be greatly improved.

[0071] The detailed implementation process is described as follows: 1. Confirm the simulation excitation and working conditions required by the analog RF circuit module; 2. Use ideal power supply waveform excitation, ideal clock waveform excitation, ideal register configuration timing excitation, and ideal signal excitation to perform analog-digital hybrid simulation of the analog RF circuit module in the analog simulation environment; 3. Simulate to confirm whether the performance meets the expectations. If the performance does not meet the expectations, identify the cause of the anomaly, propose a solution, complete the modification, and return to step 2; 4. Replace the ideal power supply waveform excitation with the simulated or measured voltage supply waveform output by the actual power management circuit module; 5. Simulate to confirm whether the performance meets the expectations. If the performance does not meet the expectations, identify the cause of the anomaly, propose a solution, complete the modification, and return to step 4; 6. Replace the ideal clock waveform excitation with the simulated or measured clock waveform output by the actual clock management circuit module; 7. Simulate to confirm whether the performance meets the expectations. If the performance does not meet the expectations, identify the cause of the anomaly, propose a solution, complete the modification, and return to step 6; 8. Replace the ideal register timing excitation and signal excitation with the simulated or measured register timing waveform and signal excitation output by the actual digital signal processing unit; 9. Simulate to confirm whether the performance meets the expectations. If the performance does not meet the expectations, identify the cause of the anomaly, propose a solution, complete the modification, and return to step 8; 10. The performance of the digital-analog mixed simulation meets the requirements of the analog radio frequency circuit module.

[0072] In summary, the present application can effectively reduce the verification time of digital-analog mixed simulation, shorten the chip development cycle, seize the market faster, and save labor costs. All waveforms of the interaction between digital and analog are implemented with actual analog waveforms, greatly improving the accuracy of the simulation results. In the case of more complex analog radio frequency circuits, such as chip applications with multiple frequency bands and multiple operating scenarios (such as 5G base station transceiver chips, 5G Internet of Things fully integrated chips, mobile phone baseband chips), both the simulation efficiency and the simulation accuracy are significantly improved.

[0073] Figure 7 An example of the physical structure diagram of an electronic device is shown as Figure 7As shown in the figure, the electronic device may include: a processor 710, a communications interface 720, a memory 730, and a communication bus 740. Among them, the processor 710, the communications interface 720, and the memory 730 communicate with each other through the communication bus 740. The processor 710 may call logic instructions in the memory 730 to execute a digital-analog hybrid simulation method, which includes: constructing an analog circuit module to be simulated, determining the simulation excitation and target performance required by the analog circuit module, where the simulation excitation includes at least one ideal power supply waveform, at least one ideal clock waveform, at least one ideal control signal waveform, and at least one ideal signal waveform; performing a co-simulation on the analog circuit module according to the simulation excitation, and determining whether the performance of the analog circuit module meets the target performance. If so, the simulation is completed; if the performance of the analog circuit module does not meet the target performance, adjusting the analog circuit module, and returning to execute the step of performing a co-simulation on the analog circuit module according to the simulation excitation until the performance of the adjusted analog circuit module meets the target performance, and then the simulation is completed.

[0074] In addition, when the logic instructions in the above-mentioned memory 730 are implemented in the form of software functional units and sold or used as independent products, they may be stored in a computer-readable storage medium. Based on such an understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or a part of this technical solution, may be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in various embodiments of this application. The foregoing storage medium includes: various media such as USB flash drives, mobile hard disks, read-only memories (ROM, Read-Only Memory), random access memories (RAM, Random Access Memory), magnetic disks, or optical discs that can store program codes.

[0075] On the other hand, the present application also provides a computer program product, which includes a computer program. The computer program can be stored on a non-transitory computer-readable storage medium. When the computer program is executed by a processor, the computer can execute the digital-analog hybrid simulation method provided by each of the above methods. The method includes: constructing an analog circuit module to be simulated, determining the simulation excitation and target performance required by the analog circuit module, where the simulation excitation includes at least one ideal power supply waveform, at least one ideal clock waveform, at least one ideal control signal waveform, and at least one ideal signal waveform; performing a co-simulation on the analog circuit module according to the simulation excitation, and determining whether the performance of the analog circuit module meets the target performance. If so, the simulation is completed; if the performance of the analog circuit module does not meet the target performance, adjusting the analog circuit module, and returning to execute the step of performing a co-simulation on the analog circuit module according to the simulation excitation until the performance of the adjusted analog circuit module meets the target performance, and then completing the simulation.

[0076] In another aspect, the present application also provides a non-transitory computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, it is implemented to execute the digital-analog hybrid simulation method provided by each of the above methods. The method includes: constructing an analog circuit module to be simulated, determining the simulation excitation and target performance required by the analog circuit module, where the simulation excitation includes at least one ideal power supply waveform, at least one ideal clock waveform, at least one ideal control signal waveform, and at least one ideal signal waveform; performing a co-simulation on the analog circuit module according to the simulation excitation, and determining whether the performance of the analog circuit module meets the target performance. If so, the simulation is completed; if the performance of the analog circuit module does not meet the target performance, adjusting the analog circuit module, and returning to execute the step of performing a co-simulation on the analog circuit module according to the simulation excitation until the performance of the adjusted analog circuit module meets the target performance, and then completing the simulation.

[0077] The device embodiments described above are merely illustrative. The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place, or may be distributed to multiple network units. Some or all of the modules can be selected according to actual needs to achieve the purpose of the solution of this embodiment. Those of ordinary skill in the art can understand and implement it without creative labor.

[0078] Through the description of the above embodiments, those skilled in the art can clearly understand that each embodiment can be implemented by means of software plus a necessary general hardware platform, and of course, it can also be implemented by hardware. Based on such an understanding, the above technical solution, in essence, or the part that contributes to the prior art can be embodied in the form of a software product. This computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, magnetic disk, optical disk, etc., and includes several instructions to enable a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiments.

[0079] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them; although the present application has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that they can still modify the technical solutions described in the foregoing embodiments, or perform equivalent replacements on some of the technical features; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present application.

Claims

1. A digital-analog hybrid simulation method, characterized in that: include: Constructing an analog circuit module to be simulated, and determining simulation excitation and target performance required by the analog circuit module, wherein the simulation excitation includes at least one ideal power waveform, at least one ideal clock waveform, at least one ideal control signal waveform, and at least one ideal signal waveform; Performing joint simulation on the analog circuit module according to the simulation stimulus to determine whether the performance of the analog circuit module meets the target performance, and if so, completing the simulation; If the performance of the analog circuit module does not meet the target performance, the analog circuit module is adjusted, and the step of performing joint simulation on the analog circuit module according to the simulation stimulus is returned to execute until the performance of the adjusted analog circuit module meets the target performance, and the simulation is completed.

2. The digital-analog hybrid simulation method according to claim 1, characterized in that: The performing joint simulation on the analog circuit module according to the simulation stimulus includes: respectively determining the constraint relationship between the ideal power waveform, the ideal control signal waveform, the ideal signal waveform and the ideal clock waveform; According to the constraint relationship, the simulation stimulus is input into the analog circuit module for simulation to achieve joint simulation.

3. The digital-analog hybrid simulation method according to claim 2, characterized in that: The respectively determining the constraint relationship between the ideal power waveform, the ideal control signal waveform, the ideal signal waveform and the ideal clock waveform comprises: Determining a first constraint relationship between the ideal power waveform and the ideal clock waveform according to the power-on time and the voltage rise time of the ideal power waveform; Determining a second constraint relationship between the ideal control signal waveform and the ideal clock waveform according to the control node time of the ideal control signal waveform; Determining a third constraint relationship between the ideal signal waveform and the ideal clock waveform according to the input and output time of the ideal signal waveform; The constraint relationship is obtained according to the first constraint relationship, the second constraint relationship and the second constraint relationship.

4. The digital-analog hybrid simulation method according to claim 2 or 3, characterized in that: After jointly simulating the analog circuit module according to the simulation stimulus and determining whether the performance of the analog circuit module meets the target performance, the method further includes: If the performance of the analog circuit module meets the target performance, one or more of the simulation stimuli are replaced with actual stimuli in turn, and the actual stimuli are input into the analog circuit module to determine whether the performance of the analog circuit module meets the target performance. If so, the simulation is completed.

5. The digital-analog hybrid simulation method according to claim 4, characterized in that: The actual stimulus is used to characterize the simulated or measured stimulus output by the actual stimulus circuit module, including an actual power waveform, an actual clock waveform, an actual control signal waveform, and an actual signal waveform. Correspondingly, one or more of the simulated stimuli are replaced with actual stimuli in sequence, and the actual stimuli are input to the analog circuit module to determine whether the performance of the analog circuit module meets the target performance, including: The actual power waveform and the ideal clock waveform / the actual clock waveform are synchronously input into the analog circuit module, and the power performance of the analog circuit module and the clock performance under power disturbance are simulated and verified to obtain a first simulation verification result; Inputting the actual control signal waveform into the analog circuit module, simulating and verifying the control signal performance of the analog circuit module under the condition of power supply and clock composite interference, and obtaining a second simulation verification result; Based on the timestamp alignment technology, the actual signal waveform is input into the analog circuit module, and the signal processing performance of the analog circuit module is simulated and verified to obtain a third simulation verification result; According to the first simulation verification result, the second simulation verification result and the third simulation verification result, it is determined whether the performance of the analog circuit module meets the target performance.

6. A digital-analog hybrid simulation platform, characterized in that: include: A construction module, used to construct an analog circuit module to be simulated, and determine the simulation stimulus and target performance required by the analog circuit module, wherein the simulation stimulus includes at least one ideal power waveform, at least one ideal clock waveform, at least one ideal control signal waveform, and at least one ideal signal waveform; A simulation module is used to jointly simulate the analog circuit module according to the simulation stimulus, determine whether the performance of the analog circuit module meets the target performance, and if so, complete the simulation; if the performance of the analog circuit module does not meet the target performance, adjust the analog circuit module, and return to execute the step of jointly simulating the analog circuit module according to the simulation stimulus until the performance of the adjusted analog circuit module meets the target performance, and the simulation is completed.

7. The digital-analog hybrid simulation platform according to claim 6, characterized in that: The building blocks are also used to build a power management circuit module, a clock management circuit module and a digital signal processing circuit module; The power management circuit module is used to provide the ideal power waveform and the actual power waveform corresponding to the ideal power waveform; The clock management circuit module is used to provide the ideal clock waveform and the actual clock waveform corresponding to the ideal clock waveform; The digital signal processing circuit module is used to provide the ideal control signal waveform and the actual control signal waveform corresponding to the ideal control signal waveform.

8. An electronic device comprising a memory, a processor, and a computer program stored in the memory and running on the processor, characterized in that: When the processor executes the computer program, the digital-analog hybrid simulation method as described in any one of claims 1 to 5 is implemented.

9. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the digital-analog hybrid simulation method as claimed in any one of claims 1 to 5 is implemented.

10. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the digital-analog hybrid simulation method as claimed in any one of claims 1 to 5 is implemented.

Citation Information

Cited By

  • Digital-analog verification method and system based on real-time waveform dynamic analysis and electronic equipment

    CN121659607A