From 246319682f60293b132fca1ce6e24689c6682617 Mon Sep 17 00:00:00 2001 From: rahulp13 Date: Fri, 28 Feb 2020 11:38:58 +0530 Subject: initial commit --- .../spice/tests/regression/lib-processing/ex1a.cir | 29 ++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 Windows/spice/tests/regression/lib-processing/ex1a.cir (limited to 'Windows/spice/tests/regression/lib-processing/ex1a.cir') diff --git a/Windows/spice/tests/regression/lib-processing/ex1a.cir b/Windows/spice/tests/regression/lib-processing/ex1a.cir new file mode 100644 index 00000000..d3bfb5fe --- /dev/null +++ b/Windows/spice/tests/regression/lib-processing/ex1a.cir @@ -0,0 +1,29 @@ +ex1a, check lib processing + +I1 9 0 -1mA +X1 9 0 sub1 + +Vcheck 9 check0 1.0V + +.lib 'ex1.lib' RES + +.subckt sub1 n1 n2 +X2 n1 n2 sub_in_lib +R2 n1 n2 2k +.ends + +.control +op + +print v(check0) + +if abs(v(check0)) > 1e-9 + quit 1 +end + +echo "INFO: ok" +quit 0 + +.endc + +.end -- cgit