Circuit and Logic simulators - PowerPoint PPT Presentation

1 / 15
About This Presentation
Title:

Circuit and Logic simulators

Description:

Formulation of non-linear First-order differential equations representing the ... Inputs are verilog/VHDL gate level netlist, spice models for each of the leaf ... – PowerPoint PPT presentation

Number of Views:56
Avg rating:3.0/5.0
Slides: 16
Provided by: scie327
Category:

less

Transcript and Presenter's Notes

Title: Circuit and Logic simulators


1
Circuit and Logic simulators
  • -Ramakrishnan V
  • VLSI Circuits and Systems Group,

2
Spice Pseudo-Code
  • Source Z.Q.Zhang et al. Convergence Problems in
    Spice
  • NR-Iteration Newton Raphson

3
Spice operation
  • Formulation of non-linear First-order
    differential equations representing the behaviour
    of the interconnected set of devices in the
    circuit
  • Replacement of Time derivatives in the
    differential equations with difference
    approximations (generating time-independent set
    of non-linear equations).
  • Solve the non-linear equations at each
    discretised time by Newton-Raphson method, which
    approximates them with a linear set of equations
    based on initial estimate of the solution
  • Refine the solution to adequate precision
    (RELTOL, ABSTOL, VNTOL).

Source K.G.Nichols et al, Overview of SPICE like
circuit-sim algorithms, IEE 1994
4
Spice operation (contd..)
Initial estimate plays a major role in convergence
Source K.G.Nichols et al, Overview of SPICE like
circuit-sim algorithms, IEE 1994
5
Newton-Raphson Method
  • The Newton-Raphson method uses an iterative
    process to approach one root of a function. The
    specific root that the process locates depends on
    the initial, arbitrarily chosen x-value.
  • The term f(x)/f'(x) represents a value of dx.
  • f(x) x2-4.

6
Trapezoidal Rule
  • The trapezoidal rule is a method for
    approximating a definite integral by evaluating
    the integrand at finitely many points. The formal
    rule is given by
  • where

7
Newton-Raphson Method (contd..)
8
Event Simulator Operation
Source Shankars VHDL course foils
9
Event Simulator Operation (contd)
Source Shankars VHDL course foils
10
Cycle Vs Event Simulator
  • Cycle based Simulator Cycle simulation does not
    simulate detailed circuit timing, but instead
    computes the steady state response of a circuit
    at each clock cycle. The user cannot see the
    glitch behavior of signals between clock cycles.
    Instead the user observes circuit signals once
    per clock cycle. Cycle based simulators work with
    only synchronous designs.
  • Event based Simulation based on events in
    logic, which means, when ever there is change in
    a input event, the output is evaluated. This
    makes the simulation very slow compared to Cycle
    based simulators.

A cycle based simulator will evaluate B, C, D and
E only at each cycle. In the case of event based
simulator, B, C, D and E are evaluated not only
at clock cycle, but also when any of the events
at the input of gates and flip-flops occurs.
Source www.asic-world.com
11
Agilent ADS and VHDL-AMS
  • Agilent ADS Conventional Finite Element Method
    (Yet to read on this)
  • VHDL-AMS Spice like (uses analog models along
    with digital logic simulation using Scirocco).

12
Mixed Simulation in Powermill
  • Simulation speed can be varied in Powermill at
    the cost of accuracy of the simulation. So it can
    operate in both extreme simulation modes even at
    RTL level Spice like precision / digital logic
    simulation.
  • (Not analogous to Spice/IRSIM)
  • Inputs are verilog/VHDL gate level netlist, spice
    models for each of the leaf cells, spice
    macromodels for each analog block(if any) and
    technology files.

13
Nanosim-VCS
  • Nanosim-VCS --- Capable of doing spice/RTL mixed
    simulation.
  • Define Signal value conversions
  • Logic 0 and 1 to analog voltages

14
Some good papers
  • PLL Modelling in a cycle simulation Environment
    (Two cycle simulators working in tandem with a
    handshaking algorithm) 1999.
  • Issues Still a slow simulator
  • http//www.research.ibm.com/journal/rd/435/vanhub
    en.pdf
  • - Verification of Radio-Frequency
    Transceivers     http//www.mentor.com/techpapers
    /fulfillment/upload/mentorpaper_1199.pdf
  •  Modeling of Timing Jitter in Oscillators David
    Lee (Mentor Graphics-2001)
  •      http//www.mentor.com/techpapers/fulfillment/
    upload/mentorpaper_3544.pdf

15
Time domain Model of PLL
Source Bogdans Slides on PLL Modeling
Write a Comment
User Comments (0)
About PowerShow.com