0% found this document useful (0 votes)
6 views13 pages

Lec 10

The document provides an overview of SPICE (Simulation Program with Integrated Circuit Emphasis), a tool for analog circuit simulation, including its capabilities and types of circuits it can analyze. It discusses various SPICE simulators, such as LT SPICE and HSPICE, and provides examples of simulations for CMOS circuits, including inverter and NAND gate transient simulations. Additionally, it explains how to calculate propagation delay using the .meas command in LTspice.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
6 views13 pages

Lec 10

The document provides an overview of SPICE (Simulation Program with Integrated Circuit Emphasis), a tool for analog circuit simulation, including its capabilities and types of circuits it can analyze. It discusses various SPICE simulators, such as LT SPICE and HSPICE, and provides examples of simulations for CMOS circuits, including inverter and NAND gate transient simulations. Additionally, it explains how to calculate propagation delay using the .meas command in LTspice.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 13

CMOS DIGITAL VLSI DESIGN

SPICE SIMULATIONS-I
SUDEB DASGUPTA
DEPARMENT OF ELECTRONICS AND COMMUNICATION ENGINEERING

1
Outline

• Introduction
• Examples

2
Introduction
• SPICE (Simulation Program with Integrated Circuit Emphasis) is a general-
purpose analog circuit simulation.
• First written in FORTRAN.
• Able to perform for non-linear DC, non-linear transient, and linear AC analysis,
Noise analysis etc..
• Circuits may contain
• Resistors, capacitors, inductors, mutual inductors,
• Independent voltage and current sources,
• Four types of dependent sources,
• Lossless and lossy transmission lines,
• The five most common semiconductor devices: diodes, BJTs, JFETs,
MESFETs, and MOSFETs.

3
INTRODUCTION
LT SPICE –
• It is a free SPICE simulator with schematic capture from Linear Technology. Linear
Technology is one of the industry leaders in analog and digital integrated circuits.
• Linear Technology provides a complete set of SPICE models for LT SPICE components.

HSPICE –
• HSPICE is unequalled for fast, accurate circuit and behavioral simulation.
• It facilitates circuit-level transient, AC, DC analysis along with analysis by using Monte
Carlo, worst-case, parametric sweep, and data-table sweep analyses. HSPICE is a non-gui
command line simulator, but it can be integrated to popular EDA tools such as CADENCE
ADEL simulation environment.

Other Popular SPICE – PSPICE, Ngspice, Eldo etc

4
SPICE Examples
A simple LT Spice simulation

Schematic Netlist Simulation result

5
SPICE Examples
A simple LT Spice netlist file of a simple inverter with 180 technology model

6
SPICE Examples
Transient Simulation of simple CMOS inverter
.TRAN var1 START=start1 STOP=stop1 STEP=incr1

7
SPICE Examples
DC Sweep Simulation for VTC plot

8
SPICE Examples
Calculation of propagation delay tpLH
• One way to calculate propagation delay in LTspice is to use .meas command in the netlist
• Select the schematic window, where the inverter is already designed.
• Go to view option in the menu bar  select spice netlist
• Right click on the netlist window  choose Edit as Independent Netlist and save the netlist file
with new name  Run simulation from netlist
• Open .meas statement editor and complete the required arguments.
• Example

.MEASURE TRAN tdelay TRIG V(1) VAL = 2.5 TD = 10n RISE = 2 TARG V(2) VAL = 2.5 FALL = 2

9
SPICE Examples
Calculation of propagation delay tpLH

10
SPICE Examples
Transient Simulation of NAND gate

11
SPICE Examples
Transient Simulation of NAND gate

Truth table
A B OUT

0 0 1

0 1 1

1 0 1

1 1 0

12
Thank You

13

You might also like