You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

34 lines
380 B

ex3a, check lib processing
I1 7 0 -1mA
X1 7 0 sub1_in_lib
Vcheck1 7 check1 1.0V
I2 9 0 -1mA
X2 9 0 sub2_in_lib
Vcheck2 9 check2 2.0V
.lib 'ex3.lib' MOS
.control
op
echo "Note: v(check1) = $&v(check1)"
echo "Note: v(check2) = $&v(check2)"
if abs(v(check1)) > 1e-9
quit 1
end
if abs(v(check2)) > 1e-9
quit 1
end
echo "INFO: ok"
quit 0
.endc
.end