The present invention relates to a simulation method, and more particularly, to a simulation method for a mixed-signal circuit and a related electronic device.
Static Timing Analysis (STA) is an operation process for calculation and prediction regarding the timing of a digital circuit. In the field of circuit design, STA has been a mainstream technology for decades, as it can measure timing rapidly and accurately. Modern technology has developed a mature timing engine for digital circuits which can directly perform STA upon standard elements in the digital circuit. Regarding analog circuit systems, such as mixed-signal circuit systems, which include digital circuit blocks including registers or flip flops, however, there is no analyzing tool which can perform STA. In the prior art, if STA needs to be performed upon a mixed-signal circuit system, the whole circuit system should considered for the simulation, and predetermined values are inputted into the registers and the flip flops to observe if there is STA violation. This method, however, requires a lot of time. Another conventional solution extracts the path between two registers in a mixed-signal circuit system and performs simulation regarding the path. This method, however, cannot take account of load from other paths or any effect caused by other circuits into consideration, and also ignores the electrical drift effect in advanced processes. The simulation results are therefore inaccurate.
One of the objectives of the present invention is to provide a simulation method for a mixed-signal circuit system and a related electronic device to solve the abovementioned problems.
According to an embodiment of the present invention, a simulation method for a mixed-signal circuit system is disclosed, comprising: detecting locations of a plurality of registers and a clock signal in the mixed-signal circuit system; performing a timing analysis converting operation upon a circuit block coupled between any two registers of the plurality of registers to obtain a converted circuit system; and performing a Static Timing Analysis (STA) operation upon the converted circuit system; wherein when the circuit block is convertible into a combinational circuit block, the timing analysis converting operation comprises: converting the circuit block into the combinational circuit block, wherein the combinational circuit block is logic gate-level.
According to an embodiment of the present invention, an electronic device is disclosed, wherein the electronic device comprises: a processor and a storage device for storing a program code. When the processor loads and execute the program code, the following operations are executed: detecting locations of a plurality of registers and a clock signal in the mixed-signal circuit system; performing a timing analysis converting operation upon a circuit block coupled between any two registers of the plurality of registers to obtain a converted circuit system; and performing a Static Timing Analysis (STA) operation upon the converted circuit system; wherein when the circuit block is convertible into a combinational circuit block, the timing analysis converting operation comprises: converting the circuit block into the combinational circuit block, wherein the combinational circuit block is logic gate-level.
These and other objectives of the present invention will no doubt become obvious to those of ordinary skill in the art after reading the following detailed description of the preferred embodiment that is illustrated in the various figures and drawings.
Certain terms are used throughout the description and following claims to refer to particular components. As one skilled in the art will appreciate, manufacturers may refer to a component by different names. This document does not intend to distinguish between components that differ in name but not function. In the following description and in the claims, the terms “include” and “comprise” are used in an open-ended fashion, and thus should not be interpreted as a close-ended term such as “consist of”. Also, the term “couple” is intended to mean either an indirect or direct electrical connection. Accordingly, if one device is coupled to another device, that connection may be through a direct electrical connection, or through an indirect electrical connection via other devices and connections.
Step 400: detect locations of registers and clock signals in the mixed-signal circuit system.
Step 402: detect if a circuit block coupled between any two registers can be converted into a combination circuit in logic gate-level, if yes, go to step 404; otherwise, go to step 406.
Step 404: convert the circuit block into a corresponding combinational circuit.
Step 406: set a timing value for the circuit block via a user's input.
Step 408: obtain a converted circuit system.
Step 410: perform STA operation upon the converted circuit system.
It should be noted that step 400 is executed by the detection module 110, steps 402, 404 and 406 are executed by the conversion module 120, and step 410 is executed by the analysis module 130. As a person skilled in the art can readily understand details of each step shown in
Those skilled in the art will readily observe that numerous modifications and alterations of the device and method may be made while retaining the teachings of the invention. Accordingly, the above disclosure should be construed as limited only by the metes and bounds of the appended claims.
Number | Date | Country | Kind |
---|---|---|---|
105119416 A | Jun 2016 | TW | national |
Number | Name | Date | Kind |
---|---|---|---|
6671862 | Seward | Dec 2003 | B1 |
6954921 | Hassibi | Oct 2005 | B2 |
7039883 | Krishnamurthy | May 2006 | B2 |
7073141 | Novakovsky | Jul 2006 | B2 |
7299433 | Clement | Nov 2007 | B2 |
7401310 | Thaden | Jul 2008 | B1 |
7941774 | Luan | May 2011 | B2 |
8201137 | Bhushan | Jun 2012 | B1 |
8255191 | Kolpekwar | Aug 2012 | B1 |
8578322 | Bhushan | Nov 2013 | B2 |
8661402 | Bhushan | Feb 2014 | B2 |
9183332 | Ferguson | Nov 2015 | B2 |
9760672 | Taneja | Sep 2017 | B1 |
20070244686 | Chang | Oct 2007 | A1 |
20140325460 | Ferguson | Oct 2014 | A1 |
Number | Date | Country |
---|---|---|
552535 | Sep 2003 | TW |
I521220 | Feb 2016 | TW |
Entry |
---|
P. Yang, “Simulation and Modeling: The Macro-Modeling of Logic Functions for the SPICE Simulator,” Circuits and Devices, Sep. 1990, pp. 11-13. (Year: 1990). |
J.-Y. Chen et al., “Automatic Behavioral Model Generator for Mixed-Signal Circuits Based on Structure Recognition and Auto-Calibration,” ISOCC 2015 IEEE, pp. 3-4 (Year: 2015). |
Y.-J. Lin et al., “Automatic Mixed-Signal Behavior Model Generation Environment,” VLSI-DAT 2016 IEEE, 4 pages. (Year: 2016). |
Number | Date | Country | |
---|---|---|---|
20170364619 A1 | Dec 2017 | US |