HSPICE Skills/.measure

OP-AMP phase margin 및 unity gain frequency 구하기

vfr43edc 2011. 1. 24. 11:17
728x90

** gain measure
.measure ac   'gain(db)'      max vdb(out0)
.measure ac   'gain(mag)'      max vm(out0)

** unity gain frequency
.measure ac funit trig at=1 targ vdb(net_name) val=0 fall=1

** phase margin
.measure ac phase_0dB find vp(net_name) when vdb(net_name)=0
.measure ac PhaseMargin = param('180+phase_0dB')



728x90