arkeint
Newbie level 6
- Joined
- Sep 27, 2012
- Messages
- 14
- Helped
- 0
- Reputation
- 0
- Reaction score
- 0
- Trophy points
- 1,281
- Location
- philippines
- Activity points
- 1,358
Code:
Slew rate
.lib 'C:\synopsys\rf018.l' TT
.option post probe
mr1 g g r dd pch l=1u w=4u
mr2 r r dd dd pch l=1u w=6u
mn1 d1 g1 s 0 nch l=1u w=2u
mn2 d2 d7 s 0 nch l=1u w=2u
mn5 s g 0 0 nch l=1u w=4u
mn8 g g 0 0 nch l=1u w=4u
mn7 d7 g 0 0 nch l=1u w=12u
mp3 d2 d2 dd dd pch l=1u w=6u
mp4 d1 d2 dd dd pch l=1u w=6u
mp6 d7 d1 dd dd pch l=1u w=35u
C1 d7 0 10p
Cl d1 d7 2p
Vdd dd 0 1.8
Vneg g1 0 pwl(0n 1, 0.001n 1.1, 2000n 1.1, 2000.1n 1, 4000.1n 1)
.op
.probe ac vdb(d7) vp(d7)
.tran 0.01n 7u
.plot tran v(d7) v(g1)
.meas tran t when v(d7)=1.4v rise=1
.meas SR param='0.9/t'
.alter
Vneg g1 0 pwl(0n 0.9, 0.001n 1.5, 2000n 1.5, 2000.1n 0.9, 4000.1n 0.9)
.end
here is the output of my code.
https://prntscr.com/gbdde
it doesnt show the value of the slew rate, is there something wrong with my code or am i missing something here?