diff options
author | rahulp13 | 2020-02-28 11:38:58 +0530 |
---|---|---|
committer | rahulp13 | 2020-02-28 11:38:58 +0530 |
commit | 246319682f60293b132fca1ce6e24689c6682617 (patch) | |
tree | 6871b758a17869efecfd617f5513e31f9a933f4a /Windows/spice/tests/regression/lib-processing/ex1b.cir | |
parent | d9ab84106cac311d953f344386fef1c1e2bca1cf (diff) | |
download | eSim-246319682f60293b132fca1ce6e24689c6682617.tar.gz eSim-246319682f60293b132fca1ce6e24689c6682617.tar.bz2 eSim-246319682f60293b132fca1ce6e24689c6682617.zip |
initial commit
Diffstat (limited to 'Windows/spice/tests/regression/lib-processing/ex1b.cir')
-rw-r--r-- | Windows/spice/tests/regression/lib-processing/ex1b.cir | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/Windows/spice/tests/regression/lib-processing/ex1b.cir b/Windows/spice/tests/regression/lib-processing/ex1b.cir new file mode 100644 index 00000000..203fc373 --- /dev/null +++ b/Windows/spice/tests/regression/lib-processing/ex1b.cir @@ -0,0 +1,33 @@ +ex1b, check lib processing + +I1 9 0 -1mA +X1 9 0 sub1 +R2 9 0 4k +X3 9 0 sub_in_lib + +Vcheck 9 check0 1.0V + +.subckt sub1 n1 n2 +.lib 'ex1.lib' RES +X1 n1 n2 sub_in_lib +.ends + +.subckt sub_in_lib n1 n2 +R4 n1 n2 4k +.ends + +.control +op + +print v(check0) + +if abs(v(check0)) > 1e-9 + quit 1 +end + +echo "INFO: ok" +quit 0 + +.endc + +.end |