SlideShare a Scribd company logo
1 of 19
Design and Implementation of VLSI Systems
                   (EN1600)
                   lecture10




S. Reda EN160 SP’08
SPICE introduction
   • SPICE, a Simulation Program with Integrated Circuit
     Emphasis




          SPICE card




                         SPICE deck

  • We will use SmartSPICE by SimuCAD (http://www.engin.brown.edu/vpn)


S. Reda EN160 SP’08
SPICE Intro


   •    SPICE is case insensitive
   •    Cards beginning with a dot (.) are control cards
   •    Cards beginning with a * are comment cards
   •    The last card must be .end
   •    Each card in the netlist must begin with a letter
        indicating its type




S. Reda EN160 SP’08
SPICE circuit elements

                      Letter   Circuit Element
                      R        Resistor
                      C        Capacitor
                      L        Inductor
                      K        Mutual Inductor
                      V        Independent voltage source
                      I        Independent current source
                      M        MOSFET
                      D        Diode
                      Q        Bipolar transistor
                      W        Lossy transmission line
                      X        Subcircuit
                      E        Voltage-controlled voltage source
                      G        Voltage-controlled current source
                      H        Current-controlled voltage source
                      F        Current-controlled current source



S. Reda EN160 SP’08
Units

                      Letter   Unit    Magnitude
                      a        atto    10-18
                      f        femto   10-15
                      p        pico    10-12
                      n        nano    10-9
                      u        micro   10-6
                      m        mili    10-3
                      k        kilo    103
                      x        mega    106
                      g        giga    109

S. Reda EN160 SP’08
Voltage sources

    • DC Source
           – Vdd vdd gnd 2.5
                                                         (time, voltage) pairs
    • Piecewise Linear Source
           – Vin in gnd pwl 0ps 0 100ps 0 150ps 1.8 800ps 1.8
    • Pulsed Source
           – Vck clk gnd PULSE 0 1.8 0ps 100ps 100ps 300ps 800ps

      PULSE v1 v2 td tr tf pw per
                td    tr   pw         tf
      v2



      v1                        per




S. Reda EN160 SP’08
RC response
    *rc.sp
    .option post
    Vin in gnd pwl 0ps 0 100ps 0 150ps 1.8 800ps 1.8
    R1 in out 2k
    C1 out gnd 100f
    .tran 20ps 800ps
    .plot v(in) v(out)
    .end




   Tutorial movie at http://ic.engin.brown.edu/classes/EN160S07/spice.avi


S. Reda EN160 SP’08
NMOS I-V characteristics
    Mname drain gate source body type W=<width> L=<length>

   .option post
   .include 'tsmc-180.txt'
   .temp 70
   .option scale=90n

   Vgs g gnd 0
   Vds d gnd 0
   M1 d g gnd gnd NMOS W=2 L=2
   .dc Vds 0 1.8 0.05 sweep vgs 0 1.8 0.3
   .plot i(m1)
   .end

S. Reda EN160 SP’08
NMOS I-V characteristics




S. Reda EN160 SP’08
Inverter transient analysis


   .option post
   .include 'tsmc-180.txt'
   .temp 70
                                                 for diffusion
   .option scale=90n
                                                 capacitance
                                                 calculations
   Vdd vdd gnd 1.8
   M1 d g gnd gnd NMOS W=4 L=2 AS=20 PS=18 AD=20 PD=18
   M2 d g vdd vdd PMOS W=8 L=2 AS=40 PS=26 AD=40 PD=26
   Vgs g gnd PULSE 0 1.8 0ps 10ps 10ps 100ps 220ps
   .tran 20ps 440ps
   .end




S. Reda EN160 SP’08
Inverter transient analysis
                          bootstrapping




S. Reda EN160 SP’08
Measuring propagation delay
  * delay measurement
  .param SUPPLY=1.8                         a
  .param H=4
  .option scale=90nm
  .include 'tsmc-180.txt'
  .temp 70
  .option post
  .global vdd gnd
  .subckt inv a y N=4 P=8
  M1 y a gnd gnd NMOS W='N' L=2           Ignoring
  M2 y a vdd vdd PMOS W='P' L=2           diffusion
  .ends                                 capacitance!!
  Vdd vdd gnd 'SUPPLY'
  Vin a gnd PULSE 0 'SUPPLY' 0ps 100ps 100ps 500ps 1000ps
  X1 a b inv N=4 P=8
  X2 b gnd inv N=16 P=32
  .tran 1ps 1000ps
  .measure tpdr TRIG v(a) VAL='SUPPLY/2' FALL=1 TARG v(b) VAL='SUPPLY/2' rise=1
  .end



S. Reda EN160 SP’08
Measuring propagation delay




                            83.7ps




S. Reda EN160 SP’08
Leakage current/threshold voltage

   .option post
   .include 'tsmc-180.txt'
   .temp 70
   .option scale=90n

   Vgs g gnd 0
   Vds d gnd 1.8
   M1 d g gnd gnd NMOS W=2 L=2
   .dc Vgs 0 1.8 0.05 s
   .plot i(m1)
   .end

S. Reda EN160 SP’08
Leakage current/threshold voltage




                          Vgs
S. Reda EN160 SP’08
Integration with L-Edit



      Objective: extract the SPICE circuit
      description from Tanner L-Edit and then
      simulate it in SPICE to verify that the layout
      is indeed performing the required
      functionality




S. Reda EN160 SP’08
Extract your design into SPICE to simulate
   and verify it




S. Reda EN160 SP’08
Verify your inverter DC characteristics in
   SPICE




                                           simulate and plot

         Fix your SPICE input file first



S. Reda EN160 SP’08
Summary

        Ideal transistor characteristics
        Non-ideal transistor characteristics
        Inverter DC transfer characteristics
        Simulation with SPICE and integration with L-Edit




S. Reda EN160 SP’08

More Related Content

What's hot

Original Opto TLP350 P350 350 DIP-8 New Toshiba
Original Opto TLP350 P350 350 DIP-8 New ToshibaOriginal Opto TLP350 P350 350 DIP-8 New Toshiba
Original Opto TLP350 P350 350 DIP-8 New Toshibaauthelectroniccom
 
73T02GH / AP73T02GH Datasheet PDF
73T02GH / AP73T02GH Datasheet PDF73T02GH / AP73T02GH Datasheet PDF
73T02GH / AP73T02GH Datasheet PDFDatasheet
 
HA17741 General Purpose Operational Amplifier
HA17741 General Purpose Operational AmplifierHA17741 General Purpose Operational Amplifier
HA17741 General Purpose Operational AmplifierYong Heui Cho
 
555 and 556 timer circuits
555 and 556 timer circuits555 and 556 timer circuits
555 and 556 timer circuitsEdmund Merren
 
Original IGBT IRFR4615TRLPBF IRFR4615 4615 150V 33A TO-252 New IR
Original IGBT IRFR4615TRLPBF IRFR4615 4615 150V 33A TO-252 New IROriginal IGBT IRFR4615TRLPBF IRFR4615 4615 150V 33A TO-252 New IR
Original IGBT IRFR4615TRLPBF IRFR4615 4615 150V 33A TO-252 New IRAUTHELECTRONIC
 
SPICE MODEL of TN41A in SPICE PARK
SPICE MODEL of TN41A in SPICE PARKSPICE MODEL of TN41A in SPICE PARK
SPICE MODEL of TN41A in SPICE PARKTsuyoshi Horigome
 
Synchronous Buck Converter using LTspice
Synchronous Buck Converter using LTspiceSynchronous Buck Converter using LTspice
Synchronous Buck Converter using LTspiceTsuyoshi Horigome
 
System Block Diagram 2-9-16
System Block Diagram 2-9-16System Block Diagram 2-9-16
System Block Diagram 2-9-16Brendan Moon
 
Original Opto TLP155E P155E 155E SOP-5 New
Original Opto TLP155E P155E 155E SOP-5 NewOriginal Opto TLP155E P155E 155E SOP-5 New
Original Opto TLP155E P155E 155E SOP-5 NewAUTHELECTRONIC
 
Original IGBT RJH60D3DPP -M0 RJH60D3 600V 17A TO-220 New
Original IGBT RJH60D3DPP -M0 RJH60D3 600V 17A TO-220 NewOriginal IGBT RJH60D3DPP -M0 RJH60D3 600V 17A TO-220 New
Original IGBT RJH60D3DPP -M0 RJH60D3 600V 17A TO-220 Newauthelectroniccom
 
SPICE MODEL of AN1431T in SPICE PARK
SPICE MODEL of AN1431T in SPICE PARKSPICE MODEL of AN1431T in SPICE PARK
SPICE MODEL of AN1431T in SPICE PARKTsuyoshi Horigome
 
Twin wheeler modified for arduino simplified serial protocol to sabertooth v21
Twin wheeler modified for arduino simplified serial protocol to sabertooth v21Twin wheeler modified for arduino simplified serial protocol to sabertooth v21
Twin wheeler modified for arduino simplified serial protocol to sabertooth v21josnihmurni2907
 

What's hot (20)

Exp5 agdon
Exp5 agdonExp5 agdon
Exp5 agdon
 
5
55
5
 
E4 bani
E4 baniE4 bani
E4 bani
 
Amplifier
AmplifierAmplifier
Amplifier
 
Original Opto TLP350 P350 350 DIP-8 New Toshiba
Original Opto TLP350 P350 350 DIP-8 New ToshibaOriginal Opto TLP350 P350 350 DIP-8 New Toshiba
Original Opto TLP350 P350 350 DIP-8 New Toshiba
 
73T02GH / AP73T02GH Datasheet PDF
73T02GH / AP73T02GH Datasheet PDF73T02GH / AP73T02GH Datasheet PDF
73T02GH / AP73T02GH Datasheet PDF
 
HA17741 General Purpose Operational Amplifier
HA17741 General Purpose Operational AmplifierHA17741 General Purpose Operational Amplifier
HA17741 General Purpose Operational Amplifier
 
555 and 556 timer circuits
555 and 556 timer circuits555 and 556 timer circuits
555 and 556 timer circuits
 
Original IGBT IRFR4615TRLPBF IRFR4615 4615 150V 33A TO-252 New IR
Original IGBT IRFR4615TRLPBF IRFR4615 4615 150V 33A TO-252 New IROriginal IGBT IRFR4615TRLPBF IRFR4615 4615 150V 33A TO-252 New IR
Original IGBT IRFR4615TRLPBF IRFR4615 4615 150V 33A TO-252 New IR
 
SPICE MODEL of TN41A in SPICE PARK
SPICE MODEL of TN41A in SPICE PARKSPICE MODEL of TN41A in SPICE PARK
SPICE MODEL of TN41A in SPICE PARK
 
Synchronous Buck Converter using LTspice
Synchronous Buck Converter using LTspiceSynchronous Buck Converter using LTspice
Synchronous Buck Converter using LTspice
 
System Block Diagram 2-9-16
System Block Diagram 2-9-16System Block Diagram 2-9-16
System Block Diagram 2-9-16
 
Oscilloscope
OscilloscopeOscilloscope
Oscilloscope
 
Original Opto TLP155E P155E 155E SOP-5 New
Original Opto TLP155E P155E 155E SOP-5 NewOriginal Opto TLP155E P155E 155E SOP-5 New
Original Opto TLP155E P155E 155E SOP-5 New
 
Sem2 ic b1_op_amp
Sem2 ic b1_op_ampSem2 ic b1_op_amp
Sem2 ic b1_op_amp
 
Principios de generación de voltaje
Principios de generación de voltajePrincipios de generación de voltaje
Principios de generación de voltaje
 
Datasheet
DatasheetDatasheet
Datasheet
 
Original IGBT RJH60D3DPP -M0 RJH60D3 600V 17A TO-220 New
Original IGBT RJH60D3DPP -M0 RJH60D3 600V 17A TO-220 NewOriginal IGBT RJH60D3DPP -M0 RJH60D3 600V 17A TO-220 New
Original IGBT RJH60D3DPP -M0 RJH60D3 600V 17A TO-220 New
 
SPICE MODEL of AN1431T in SPICE PARK
SPICE MODEL of AN1431T in SPICE PARKSPICE MODEL of AN1431T in SPICE PARK
SPICE MODEL of AN1431T in SPICE PARK
 
Twin wheeler modified for arduino simplified serial protocol to sabertooth v21
Twin wheeler modified for arduino simplified serial protocol to sabertooth v21Twin wheeler modified for arduino simplified serial protocol to sabertooth v21
Twin wheeler modified for arduino simplified serial protocol to sabertooth v21
 

Similar to Lecture10

Original P-Channel Mosfet 2SJ598 598 12V 60A TO-252 New NEC
Original P-Channel Mosfet 2SJ598 598 12V 60A TO-252 New NECOriginal P-Channel Mosfet 2SJ598 598 12V 60A TO-252 New NEC
Original P-Channel Mosfet 2SJ598 598 12V 60A TO-252 New NECAUTHELECTRONIC
 
Original N-Channel Mosfet FQP8N60C 8N60C 8N60 600V 7.5A TO-220F New
Original N-Channel Mosfet FQP8N60C 8N60C 8N60 600V 7.5A TO-220F NewOriginal N-Channel Mosfet FQP8N60C 8N60C 8N60 600V 7.5A TO-220F New
Original N-Channel Mosfet FQP8N60C 8N60C 8N60 600V 7.5A TO-220F NewAUTHELECTRONIC
 
Original N-Channel Mosfet IRFI4019H-117P 4019 8A 150V TO-220 New
Original N-Channel Mosfet IRFI4019H-117P 4019 8A 150V TO-220 NewOriginal N-Channel Mosfet IRFI4019H-117P 4019 8A 150V TO-220 New
Original N-Channel Mosfet IRFI4019H-117P 4019 8A 150V TO-220 NewAUTHELECTRONIC
 
Original N-Channel Mosfet IRFI4019H-117P 4019 8A 150V TO-220 New
Original N-Channel Mosfet IRFI4019H-117P 4019 8A 150V TO-220 NewOriginal N-Channel Mosfet IRFI4019H-117P 4019 8A 150V TO-220 New
Original N-Channel Mosfet IRFI4019H-117P 4019 8A 150V TO-220 NewAUTHELECTRONIC
 
Original N-Channel Mosfet 20N06 FQP20N06 60V 20A TO-220 New Fairchild
Original N-Channel Mosfet 20N06 FQP20N06 60V 20A TO-220 New FairchildOriginal N-Channel Mosfet 20N06 FQP20N06 60V 20A TO-220 New Fairchild
Original N-Channel Mosfet 20N06 FQP20N06 60V 20A TO-220 New FairchildAUTHELECTRONIC
 
Oscillators
OscillatorsOscillators
Oscillators12nitin
 
Original N Channel Mosfet FQD10N60C STD10NM60N 10NM60 10N60 10A 600V TO-252 N...
Original N Channel Mosfet FQD10N60C STD10NM60N 10NM60 10N60 10A 600V TO-252 N...Original N Channel Mosfet FQD10N60C STD10NM60N 10NM60 10N60 10A 600V TO-252 N...
Original N Channel Mosfet FQD10N60C STD10NM60N 10NM60 10N60 10A 600V TO-252 N...AUTHELECTRONIC
 
Original IGBT Transistor IHW25N1202R2 H25R1202 25A 1200V TO-247 New Infineon ...
Original IGBT Transistor IHW25N1202R2 H25R1202 25A 1200V TO-247 New Infineon ...Original IGBT Transistor IHW25N1202R2 H25R1202 25A 1200V TO-247 New Infineon ...
Original IGBT Transistor IHW25N1202R2 H25R1202 25A 1200V TO-247 New Infineon ...AUTHELECTRONIC
 
Original Mosfet IRL3713PBF 3713 30V 180A TO-220 New IR
Original Mosfet IRL3713PBF 3713 30V 180A TO-220 New IROriginal Mosfet IRL3713PBF 3713 30V 180A TO-220 New IR
Original Mosfet IRL3713PBF 3713 30V 180A TO-220 New IRAUTHELECTRONIC
 
Original Mosfet IRF9530N TO220 14A 100V New
Original Mosfet IRF9530N TO220 14A 100V NewOriginal Mosfet IRF9530N TO220 14A 100V New
Original Mosfet IRF9530N TO220 14A 100V NewAUTHELECTRONIC
 

Similar to Lecture10 (20)

tca785
tca785tca785
tca785
 
Sarah
SarahSarah
Sarah
 
Exp5 tagasa
Exp5 tagasaExp5 tagasa
Exp5 tagasa
 
Pagara
PagaraPagara
Pagara
 
Backup
BackupBackup
Backup
 
Morales
MoralesMorales
Morales
 
Original P-Channel Mosfet 2SJ598 598 12V 60A TO-252 New NEC
Original P-Channel Mosfet 2SJ598 598 12V 60A TO-252 New NECOriginal P-Channel Mosfet 2SJ598 598 12V 60A TO-252 New NEC
Original P-Channel Mosfet 2SJ598 598 12V 60A TO-252 New NEC
 
Lecture14
Lecture14Lecture14
Lecture14
 
Datasheet of IDH10SG60C
Datasheet of IDH10SG60CDatasheet of IDH10SG60C
Datasheet of IDH10SG60C
 
Original N-Channel Mosfet FQP8N60C 8N60C 8N60 600V 7.5A TO-220F New
Original N-Channel Mosfet FQP8N60C 8N60C 8N60 600V 7.5A TO-220F NewOriginal N-Channel Mosfet FQP8N60C 8N60C 8N60 600V 7.5A TO-220F New
Original N-Channel Mosfet FQP8N60C 8N60C 8N60 600V 7.5A TO-220F New
 
Original N-Channel Mosfet IRFI4019H-117P 4019 8A 150V TO-220 New
Original N-Channel Mosfet IRFI4019H-117P 4019 8A 150V TO-220 NewOriginal N-Channel Mosfet IRFI4019H-117P 4019 8A 150V TO-220 New
Original N-Channel Mosfet IRFI4019H-117P 4019 8A 150V TO-220 New
 
Original N-Channel Mosfet IRFI4019H-117P 4019 8A 150V TO-220 New
Original N-Channel Mosfet IRFI4019H-117P 4019 8A 150V TO-220 NewOriginal N-Channel Mosfet IRFI4019H-117P 4019 8A 150V TO-220 New
Original N-Channel Mosfet IRFI4019H-117P 4019 8A 150V TO-220 New
 
Original N-Channel Mosfet 20N06 FQP20N06 60V 20A TO-220 New Fairchild
Original N-Channel Mosfet 20N06 FQP20N06 60V 20A TO-220 New FairchildOriginal N-Channel Mosfet 20N06 FQP20N06 60V 20A TO-220 New Fairchild
Original N-Channel Mosfet 20N06 FQP20N06 60V 20A TO-220 New Fairchild
 
Oscillators
OscillatorsOscillators
Oscillators
 
Exp5 bani
Exp5 baniExp5 bani
Exp5 bani
 
Original N Channel Mosfet FQD10N60C STD10NM60N 10NM60 10N60 10A 600V TO-252 N...
Original N Channel Mosfet FQD10N60C STD10NM60N 10NM60 10N60 10A 600V TO-252 N...Original N Channel Mosfet FQD10N60C STD10NM60N 10NM60 10N60 10A 600V TO-252 N...
Original N Channel Mosfet FQD10N60C STD10NM60N 10NM60 10N60 10A 600V TO-252 N...
 
Original IGBT Transistor IHW25N1202R2 H25R1202 25A 1200V TO-247 New Infineon ...
Original IGBT Transistor IHW25N1202R2 H25R1202 25A 1200V TO-247 New Infineon ...Original IGBT Transistor IHW25N1202R2 H25R1202 25A 1200V TO-247 New Infineon ...
Original IGBT Transistor IHW25N1202R2 H25R1202 25A 1200V TO-247 New Infineon ...
 
Original Mosfet IRL3713PBF 3713 30V 180A TO-220 New IR
Original Mosfet IRL3713PBF 3713 30V 180A TO-220 New IROriginal Mosfet IRL3713PBF 3713 30V 180A TO-220 New IR
Original Mosfet IRL3713PBF 3713 30V 180A TO-220 New IR
 
Original Mosfet IRF9530N TO220 14A 100V New
Original Mosfet IRF9530N TO220 14A 100V NewOriginal Mosfet IRF9530N TO220 14A 100V New
Original Mosfet IRF9530N TO220 14A 100V New
 
Sig con
Sig conSig con
Sig con
 

More from Dharmesh Goyal (20)

What's new in Bluetooth 5 ? Facts Unleashed
What's new in Bluetooth 5 ? Facts UnleashedWhat's new in Bluetooth 5 ? Facts Unleashed
What's new in Bluetooth 5 ? Facts Unleashed
 
Lecture19
Lecture19Lecture19
Lecture19
 
Lecture20
Lecture20Lecture20
Lecture20
 
Lecture32
Lecture32Lecture32
Lecture32
 
Lecture31
Lecture31Lecture31
Lecture31
 
Lecture30
Lecture30Lecture30
Lecture30
 
Lecture29
Lecture29Lecture29
Lecture29
 
Lecture28
Lecture28Lecture28
Lecture28
 
Lecture27
Lecture27Lecture27
Lecture27
 
Lecture26
Lecture26Lecture26
Lecture26
 
Lecture25
Lecture25Lecture25
Lecture25
 
Lecture24
Lecture24Lecture24
Lecture24
 
Lecture23
Lecture23Lecture23
Lecture23
 
Lecture22
Lecture22Lecture22
Lecture22
 
Lecture21
Lecture21Lecture21
Lecture21
 
Lecture32
Lecture32Lecture32
Lecture32
 
Lecture18
Lecture18Lecture18
Lecture18
 
Lecture16
Lecture16Lecture16
Lecture16
 
Lecture15
Lecture15Lecture15
Lecture15
 
Lecture13
Lecture13Lecture13
Lecture13
 

Recently uploaded

Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupFlorian Wilhelm
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Allon Mureinik
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticscarlostorres15106
 
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | DelhiFULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhisoniya singh
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 
Build your next Gen AI Breakthrough - April 2024
Build your next Gen AI Breakthrough - April 2024Build your next Gen AI Breakthrough - April 2024
Build your next Gen AI Breakthrough - April 2024Neo4j
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesSinan KOZAK
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024BookNet Canada
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Enterprise Knowledge
 
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Alan Dix
 
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptxMaking_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptxnull - The Open Security Community
 
Artificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning eraArtificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning eraDeakin University
 
APIForce Zurich 5 April Automation LPDG
APIForce Zurich 5 April  Automation LPDGAPIForce Zurich 5 April  Automation LPDG
APIForce Zurich 5 April Automation LPDGMarianaLemus7
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking MenDelhi Call girls
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machinePadma Pradeep
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024Scott Keck-Warren
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsMark Billinghurst
 

Recently uploaded (20)

Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project Setup
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
 
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptxE-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
 
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | DelhiFULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
Build your next Gen AI Breakthrough - April 2024
Build your next Gen AI Breakthrough - April 2024Build your next Gen AI Breakthrough - April 2024
Build your next Gen AI Breakthrough - April 2024
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen Frames
 
DMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special EditionDMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special Edition
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024
 
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
 
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptxMaking_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
 
Artificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning eraArtificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning era
 
APIForce Zurich 5 April Automation LPDG
APIForce Zurich 5 April  Automation LPDGAPIForce Zurich 5 April  Automation LPDG
APIForce Zurich 5 April Automation LPDG
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machine
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR Systems
 

Lecture10

  • 1. Design and Implementation of VLSI Systems (EN1600) lecture10 S. Reda EN160 SP’08
  • 2. SPICE introduction • SPICE, a Simulation Program with Integrated Circuit Emphasis SPICE card SPICE deck • We will use SmartSPICE by SimuCAD (http://www.engin.brown.edu/vpn) S. Reda EN160 SP’08
  • 3. SPICE Intro • SPICE is case insensitive • Cards beginning with a dot (.) are control cards • Cards beginning with a * are comment cards • The last card must be .end • Each card in the netlist must begin with a letter indicating its type S. Reda EN160 SP’08
  • 4. SPICE circuit elements Letter Circuit Element R Resistor C Capacitor L Inductor K Mutual Inductor V Independent voltage source I Independent current source M MOSFET D Diode Q Bipolar transistor W Lossy transmission line X Subcircuit E Voltage-controlled voltage source G Voltage-controlled current source H Current-controlled voltage source F Current-controlled current source S. Reda EN160 SP’08
  • 5. Units Letter Unit Magnitude a atto 10-18 f femto 10-15 p pico 10-12 n nano 10-9 u micro 10-6 m mili 10-3 k kilo 103 x mega 106 g giga 109 S. Reda EN160 SP’08
  • 6. Voltage sources • DC Source – Vdd vdd gnd 2.5 (time, voltage) pairs • Piecewise Linear Source – Vin in gnd pwl 0ps 0 100ps 0 150ps 1.8 800ps 1.8 • Pulsed Source – Vck clk gnd PULSE 0 1.8 0ps 100ps 100ps 300ps 800ps PULSE v1 v2 td tr tf pw per td tr pw tf v2 v1 per S. Reda EN160 SP’08
  • 7. RC response *rc.sp .option post Vin in gnd pwl 0ps 0 100ps 0 150ps 1.8 800ps 1.8 R1 in out 2k C1 out gnd 100f .tran 20ps 800ps .plot v(in) v(out) .end Tutorial movie at http://ic.engin.brown.edu/classes/EN160S07/spice.avi S. Reda EN160 SP’08
  • 8. NMOS I-V characteristics Mname drain gate source body type W=<width> L=<length> .option post .include 'tsmc-180.txt' .temp 70 .option scale=90n Vgs g gnd 0 Vds d gnd 0 M1 d g gnd gnd NMOS W=2 L=2 .dc Vds 0 1.8 0.05 sweep vgs 0 1.8 0.3 .plot i(m1) .end S. Reda EN160 SP’08
  • 9. NMOS I-V characteristics S. Reda EN160 SP’08
  • 10. Inverter transient analysis .option post .include 'tsmc-180.txt' .temp 70 for diffusion .option scale=90n capacitance calculations Vdd vdd gnd 1.8 M1 d g gnd gnd NMOS W=4 L=2 AS=20 PS=18 AD=20 PD=18 M2 d g vdd vdd PMOS W=8 L=2 AS=40 PS=26 AD=40 PD=26 Vgs g gnd PULSE 0 1.8 0ps 10ps 10ps 100ps 220ps .tran 20ps 440ps .end S. Reda EN160 SP’08
  • 11. Inverter transient analysis bootstrapping S. Reda EN160 SP’08
  • 12. Measuring propagation delay * delay measurement .param SUPPLY=1.8 a .param H=4 .option scale=90nm .include 'tsmc-180.txt' .temp 70 .option post .global vdd gnd .subckt inv a y N=4 P=8 M1 y a gnd gnd NMOS W='N' L=2 Ignoring M2 y a vdd vdd PMOS W='P' L=2 diffusion .ends capacitance!! Vdd vdd gnd 'SUPPLY' Vin a gnd PULSE 0 'SUPPLY' 0ps 100ps 100ps 500ps 1000ps X1 a b inv N=4 P=8 X2 b gnd inv N=16 P=32 .tran 1ps 1000ps .measure tpdr TRIG v(a) VAL='SUPPLY/2' FALL=1 TARG v(b) VAL='SUPPLY/2' rise=1 .end S. Reda EN160 SP’08
  • 13. Measuring propagation delay 83.7ps S. Reda EN160 SP’08
  • 14. Leakage current/threshold voltage .option post .include 'tsmc-180.txt' .temp 70 .option scale=90n Vgs g gnd 0 Vds d gnd 1.8 M1 d g gnd gnd NMOS W=2 L=2 .dc Vgs 0 1.8 0.05 s .plot i(m1) .end S. Reda EN160 SP’08
  • 15. Leakage current/threshold voltage Vgs S. Reda EN160 SP’08
  • 16. Integration with L-Edit Objective: extract the SPICE circuit description from Tanner L-Edit and then simulate it in SPICE to verify that the layout is indeed performing the required functionality S. Reda EN160 SP’08
  • 17. Extract your design into SPICE to simulate and verify it S. Reda EN160 SP’08
  • 18. Verify your inverter DC characteristics in SPICE simulate and plot Fix your SPICE input file first S. Reda EN160 SP’08
  • 19. Summary  Ideal transistor characteristics  Non-ideal transistor characteristics  Inverter DC transfer characteristics  Simulation with SPICE and integration with L-Edit S. Reda EN160 SP’08