22
CMPEN 411 VLSI Digital Circuits Kyusun Choi Circuit Simulation Hspice Tip

CMPEN 411 VLSI Digital Circuitskxc104/class/cmpen411/12s/lec/C411L00H...Vbin bin PWL O. IONS 29. IONS 5.OOV + IONS IONS 5. OOV 129. OONS 5. OOV *zout zout 19f . TRANS 9. OINS 120

  • Upload
    others

  • View
    1

  • Download
    0

Embed Size (px)

Citation preview

Page 1: CMPEN 411 VLSI Digital Circuitskxc104/class/cmpen411/12s/lec/C411L00H...Vbin bin PWL O. IONS 29. IONS 5.OOV + IONS IONS 5. OOV 129. OONS 5. OOV *zout zout 19f . TRANS 9. OINS 120

CMPEN 411 VLSI Digital Circuits

Kyusun Choi

Circuit SimulationHspice Tip

Page 2: CMPEN 411 VLSI Digital Circuitskxc104/class/cmpen411/12s/lec/C411L00H...Vbin bin PWL O. IONS 29. IONS 5.OOV + IONS IONS 5. OOV 129. OONS 5. OOV *zout zout 19f . TRANS 9. OINS 120

Hspice circuit simulation program

0. Design synthesis

1. Before the expensive chip fabrication

2. Be sure correct working

3. Estimate its performance parameters

Page 3: CMPEN 411 VLSI Digital Circuitskxc104/class/cmpen411/12s/lec/C411L00H...Vbin bin PWL O. IONS 29. IONS 5.OOV + IONS IONS 5. OOV 129. OONS 5. OOV *zout zout 19f . TRANS 9. OINS 120

Hspice circuit simulation

Simple example of 2 input AND gate

Page 4: CMPEN 411 VLSI Digital Circuitskxc104/class/cmpen411/12s/lec/C411L00H...Vbin bin PWL O. IONS 29. IONS 5.OOV + IONS IONS 5. OOV 129. OONS 5. OOV *zout zout 19f . TRANS 9. OINS 120

Hspice circuit simulation: and2

Page 5: CMPEN 411 VLSI Digital Circuitskxc104/class/cmpen411/12s/lec/C411L00H...Vbin bin PWL O. IONS 29. IONS 5.OOV + IONS IONS 5. OOV 129. OONS 5. OOV *zout zout 19f . TRANS 9. OINS 120

Hspice circuit simulation: and2

and2.s

netlist file

Page 6: CMPEN 411 VLSI Digital Circuitskxc104/class/cmpen411/12s/lec/C411L00H...Vbin bin PWL O. IONS 29. IONS 5.OOV + IONS IONS 5. OOV 129. OONS 5. OOV *zout zout 19f . TRANS 9. OINS 120

Hspice circuit simulation: and2

and2.hsp

command file

Page 7: CMPEN 411 VLSI Digital Circuitskxc104/class/cmpen411/12s/lec/C411L00H...Vbin bin PWL O. IONS 29. IONS 5.OOV + IONS IONS 5. OOV 129. OONS 5. OOV *zout zout 19f . TRANS 9. OINS 120

Hspice circuit simulation: and2

and2.hsp

command file

Combine and2.hsp and and2.s files to generate

and2.sp spice simulation file:

% hsp50 and2

Page 8: CMPEN 411 VLSI Digital Circuitskxc104/class/cmpen411/12s/lec/C411L00H...Vbin bin PWL O. IONS 29. IONS 5.OOV + IONS IONS 5. OOV 129. OONS 5. OOV *zout zout 19f . TRANS 9. OINS 120

Hspice circuit simulation: and2

and2.sp

spice file

Page 9: CMPEN 411 VLSI Digital Circuitskxc104/class/cmpen411/12s/lec/C411L00H...Vbin bin PWL O. IONS 29. IONS 5.OOV + IONS IONS 5. OOV 129. OONS 5. OOV *zout zout 19f . TRANS 9. OINS 120

Hspice circuit simulation: and2

and2.sp

spice file

Page 10: CMPEN 411 VLSI Digital Circuitskxc104/class/cmpen411/12s/lec/C411L00H...Vbin bin PWL O. IONS 29. IONS 5.OOV + IONS IONS 5. OOV 129. OONS 5. OOV *zout zout 19f . TRANS 9. OINS 120

Hspice circuit simulation: and2

and2.sp

spice file

Page 11: CMPEN 411 VLSI Digital Circuitskxc104/class/cmpen411/12s/lec/C411L00H...Vbin bin PWL O. IONS 29. IONS 5.OOV + IONS IONS 5. OOV 129. OONS 5. OOV *zout zout 19f . TRANS 9. OINS 120

Hspice circuit simulation: and2

and2.sp

spice file

Page 12: CMPEN 411 VLSI Digital Circuitskxc104/class/cmpen411/12s/lec/C411L00H...Vbin bin PWL O. IONS 29. IONS 5.OOV + IONS IONS 5. OOV 129. OONS 5. OOV *zout zout 19f . TRANS 9. OINS 120

Hspice circuit simulation: and2

and2.sp

spice file

Page 13: CMPEN 411 VLSI Digital Circuitskxc104/class/cmpen411/12s/lec/C411L00H...Vbin bin PWL O. IONS 29. IONS 5.OOV + IONS IONS 5. OOV 129. OONS 5. OOV *zout zout 19f . TRANS 9. OINS 120

Hspice circuit simulation: and2

% hspice and2.sp

Run

simulation

Page 14: CMPEN 411 VLSI Digital Circuitskxc104/class/cmpen411/12s/lec/C411L00H...Vbin bin PWL O. IONS 29. IONS 5.OOV + IONS IONS 5. OOV 129. OONS 5. OOV *zout zout 19f . TRANS 9. OINS 120

Hspice circuit simulation: and2

% sc and2.tr0 &

View

result

Page 15: CMPEN 411 VLSI Digital Circuitskxc104/class/cmpen411/12s/lec/C411L00H...Vbin bin PWL O. IONS 29. IONS 5.OOV + IONS IONS 5. OOV 129. OONS 5. OOV *zout zout 19f . TRANS 9. OINS 120

Hspice circuit simulation: and2

Timing measurement on the signal plot

Page 16: CMPEN 411 VLSI Digital Circuitskxc104/class/cmpen411/12s/lec/C411L00H...Vbin bin PWL O. IONS 29. IONS 5.OOV + IONS IONS 5. OOV 129. OONS 5. OOV *zout zout 19f . TRANS 9. OINS 120

Hspice circuit simulation: and2

and2.hsp

command file

Add useful

spice

.MEASURE

commands

Page 17: CMPEN 411 VLSI Digital Circuitskxc104/class/cmpen411/12s/lec/C411L00H...Vbin bin PWL O. IONS 29. IONS 5.OOV + IONS IONS 5. OOV 129. OONS 5. OOV *zout zout 19f . TRANS 9. OINS 120

Hspice circuit simulation: and2

Resulting

and2.sp

spice file

with

.MEASURE

commands

Page 18: CMPEN 411 VLSI Digital Circuitskxc104/class/cmpen411/12s/lec/C411L00H...Vbin bin PWL O. IONS 29. IONS 5.OOV + IONS IONS 5. OOV 129. OONS 5. OOV *zout zout 19f . TRANS 9. OINS 120

Hspice circuit simulation: and2

.MEASURE

Results:

Page 19: CMPEN 411 VLSI Digital Circuitskxc104/class/cmpen411/12s/lec/C411L00H...Vbin bin PWL O. IONS 29. IONS 5.OOV + IONS IONS 5. OOV 129. OONS 5. OOV *zout zout 19f . TRANS 9. OINS 120
Page 20: CMPEN 411 VLSI Digital Circuitskxc104/class/cmpen411/12s/lec/C411L00H...Vbin bin PWL O. IONS 29. IONS 5.OOV + IONS IONS 5. OOV 129. OONS 5. OOV *zout zout 19f . TRANS 9. OINS 120
Page 21: CMPEN 411 VLSI Digital Circuitskxc104/class/cmpen411/12s/lec/C411L00H...Vbin bin PWL O. IONS 29. IONS 5.OOV + IONS IONS 5. OOV 129. OONS 5. OOV *zout zout 19f . TRANS 9. OINS 120
Page 22: CMPEN 411 VLSI Digital Circuitskxc104/class/cmpen411/12s/lec/C411L00H...Vbin bin PWL O. IONS 29. IONS 5.OOV + IONS IONS 5. OOV 129. OONS 5. OOV *zout zout 19f . TRANS 9. OINS 120