Pages

Wednesday 9 August 2017

Spice Code for OR Gate

Transient Analysis


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

Simulation Result


No comments:

Post a Comment