Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

How to define Static timing analysis and Dynamic Timing

Status
Not open for further replies.

phutanesv

Full Member level 2
Full Member level 2
Joined
Apr 26, 2007
Messages
149
Helped
19
Reputation
38
Reaction score
7
Trophy points
1,298
Activity points
2,221
Dear friends,

What is the correct explanation like definition of Static timing and Dynamic timing analysis? in a simple way.
 

Static Timing Analysis is a methodology to analyze and validate timing on all the timing paths in a Chip.
The various timing paths in a Chip are
1. Purely combinational path(path starting from chip input port and ending at chip output port).
2. Path starting from input port and ending at the Data input of a Register.
3. Path starting from output of a register and ending at the output port of a chip.
4. Purelyregister to register path (Reg to Reg path)

The best part of static timing analysis is , it qualifies all your timing paths of your chip. The only disadvantage is this approach is by mistake if you have applied a false or multicycle paths then it would not be covered.

But Dynamic Timing analysis is otherwise called as Gate level Simulations with timing information. In this you will be validating with a test vector (your chip application specific). In this you are guaranting the timing of the chip only for the test cases you are interested with. The quality of the simulation depends on the quality of your test-case. But the only advantage or the purpose Dynamic timing simulation is a mechanism to catch the false or multicycle paths which you by mistake used while performing static timing analysis.

To get to know more about the concepts about Static timing analysis
https://www.vlsichipdesign.com/static timing analysis
 
1. In STA you need not to generate test vectors. But in case of Dyn. Timing you need it.

2. In STA you can check the timing analysis. But in DTA you check functionality also.

3. STA is faster than DTA.

4. STA works only for single clock. But its not there in DTA.
 
Dynamic vs Static Timing Analysis
Timing analysis is integral part of ASIC/VLSI design flow. Anything else can be compromised but not timing! Timing analysis can be static or dynamic. Dynamic timing analysis verifies functionality of the design by applying input vectors and checking for correct output vectors whereas Static Timing Analysis checks static delay requirements of the circuit without any input or output vectors.

Dynamic timing analysis has to be accomplished and functionality of the design must be cleared before the design is subjected to Static Timing Analysis (STA). Dynamic Timing Analysis (DTA) and Static Timing Analysis (STA) are not alternatives to each other. Quality of the Dynamic Timing Analysis (DTA) increases with the increase of input test vectors. Increased test vectors increase simulation time. Dynamic timing analysis can be used for synchronous as well as asynchronous designs. Static Timing Analysis (STA) can’t run on asynchronous deigns and hence Dynamic Timing Analysis (DTA) is the best way to analyze asynchronous designs. Dynamic Timing Analysis (DTA) is also best suitable for designs having clocks crossing multiple domains.


Example of Dynamic Timing Analysis(DTA) tool is Modelsim (from mentor Graphics), VCS (from Synopsys). DTA is also carried out on post layout netlist to verify that functionality of the design has not changed. Test vectors remain same for both.


SPICE Simulation


Device level timing analysis is carried out using SPICE simulation. SPICE simulation is very essential for full custom designs to verify the electrical properties of the designs. These are calculated based on the mathematical equations that represent electrical properties of devices. Material and some of the electrical properties of the devices, which are represented by either variables or constants, are stored in model files. Examples are threshold voltage of MOSFET, electron density etc. SPICE characterized data is tabulated in technology libraries which becomes basic delay information for the Static Timing Analysis. For example let us consider a AND gate. Several electrical properties such as input and output transition, propagation delay, output capacitance etc are evaluated by this SPICE simulation. SPICE simulated data gives maximum accuracy compared to any other form of simulation. SPICE code is manually written and simulated. Hence for a larger design SPICE simulation is cumbersome job. There are specific tools available for transistor level Static Timing Analysis (STA), (Eg. Pathmill from Synopsys) SPICE simulation being the backbone of all these tools.



What is Static Timing Analysis (STA)?


In Static Timing Analysis (STA) static delays such as gate delay and net delays are considered in each path and these delays are compared against their required maximum and minimum values. Circuit to be analyzed is broken into different timing paths constituting of gates, flip flops and their interconnections. Each timing path has to process the data within a clock period which is determined by the maximum frequency of operation. Cell delays are available in the corresponding technology libraries. Cell delay values are tabulated based on input transition and fanout load which are characterized by SPICE simulation. Net delays are calculated based on the Wire Load Models(WLM) or extracted resistance R and capacitance C. Wire Load Models(WLM) are available in the Technology File. These values are Table Look Up(TLU) values calculated based on the net fanout length.


The static timing analyzer will report the following delays (or it can do following analysis):

Register to Register delays

Setup times of all external synchronous inputs

Clock to Output delays

Pin to Pin combinational delays

Different Analysis Modes-Best, Worst, Typical, On Chip Variation (OCV)

Data to Data Checks

Case Analysis

Multiple Clocks per Register

Minimum Pulse Width Checks

Derived Clocks

Clock Gating Checks

Netlist Editing

Report_clock_timing

Clock Reconvergence Pessimism

Worst-Arrival Slew Propagation

Path-Based Analysis

Debugging Delay Calculation


and many more......!!


The wide spread use of STA can be attributed to several factors [David]:


*

The basic STA algorithm is linear in runtime with circuit size, allowing analysis of designs in excess of 10 million instances.

*

The basic STA analysis is conservative in the sense that it will over-estimate the delay of long paths in the circuit and under-estimate the delay of short paths in the circuit. This makes the analysis ”safe”, guaranteeing that the design will function at least as fast as predicted and will not suffer from hold-time violations.

*

The STA algorithms have become fairly mature, addressing critical timing issues such as interconnect analysis, accurate delay modeling, false or multi-cycle paths, etc.

*

Delay characterization for cell libraries is clearly defined, forms an effective interface between the foundry and the design team, and is readily available. In addition to this, the Static Timing Analysis (STA) does not require input vectors and has a runtime that is linear with the size of the circuit [Agarwal].


Advantages of STA:


* All timing paths are considered for the timing analysis. This is not the case in simulation.

* Analysis times are relatively short when compared with event and circuit simulation.

* Timing can be analyzed for worst case, best case simultaneously. This type of analysis is not possible in dynamic timing analysis.

* Static Timing Analysis (STA) works with timing models. STA has more pessimism and thus gives maximum delay of the design. DTA performs full timing simulation. The problem associated with DTA is the computational complexity involved in finding the input patterns (vectors) that produce maximum delay at the output and hence it is slow.


Disadvantages of STA:

* All paths in the design may not run always in worst case delay. Hence the analysis is pessimistic.

* Clock related all information has to be fed to the design in the form of constraints.

* Inconsistency or incorrectness or under constraining of these constraints may lead to disastrous timing analysis.

* STA does not check for logical correctness of the design.

* STA is not suitable for asynchronous circuits.
 
In SImple words :

1) STA checks if the flop to flop timing is met or not .ie the circuit will work in the desired frequency . No functionality checks
2) Dynamic simulation , is the actual functional simulation , looking at the waveforms , ensuring the design works as expected , if there is a timing violation in STA that can also be caught looking at waveforms ( unknown state , RED colcour) , but dynamic simulations are timing consuming
 
posted by girishbabu123 originaly

1) STA checks if the flop to flop timing is met or not. ie the circuit will from work in the desired frequency. No functionality checks
2) Dynamic simulation, is the actual functional simulation, looking at the waveforms, ensuring the design works as expected, if there is a timing violation in STA That cans Also be caught looking at waveforms (unknown state, RED colcour), but dynamic simulations are timing consuming

could give an example, for help. thanks.

**broken link removed**
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top