Pages

Wednesday 9 August 2017

Spice Code for AND Gate

Transient Analysis

m1   5 2 1 1 pmos w=15u l=0.35u
m2   5 3 1 1 pmos w=15u l=0.35u
m3   5 2 6 0 nmos w=5u  l=0.35u
m4   6 3 0 0 nmos w=5u  l=0.35u
m5   8 5 7 7 pmos w=15u l=0.35u
m6   8 5 0 0 nmos w=5u  l=0.35u
.include "C:\Users\Dell\Desktop\spice\tsmc035.md"
vdd   1 0 3v
vdd1  7 0 3v
vin1  2 0 dc 0 pulse (3 0 0 0.1u 0.1u 20u 40u)
vin2  3 0 dc 0 pulse (0 3 0 0.1u 0.1u 10u 20u)
.tran 10u 80u 20u
.print v(8) v(5) v(2) v(3)
.end

Simulation Result

No comments:

Post a Comment