Coupled Trans. Line Spice subckt generator program

Ray Anderson (raymonda@radium)
Wed, 4 Dec 1996 09:25:27 -0800

----- Begin Included Message -----

>From tjg@appsig.com Wed Dec 4 08:38:49 1996
Date: Wed, 4 Dec 96 08:41:00 PST
From: tjg@appsig.com (Tom Giovannini)
To: si-admin@silab.eng.sun.com
Content-Length: 2575

Would anyone be interested in having a program I wrote back in '86 that
does the following? ...

============================================================================

Program: cpld Tom Giovannini

============================================================================

Program "cpld" generates either a Spice compatible subcircuit
for a set of N-coupled lossless transmission lines. Input to cpld is
in the form of static capacitance matrices as described below. cpld
is an implementation of the method presented by Tripathi and Rettig,
MTT-33, No. 12, Dec. 1985 using C translations of the EISPACK Fortran
routines. The circuit topology of the subcircuit is similar to the
topology proposed by Romeo and Santomauro, MTT-35, No. 2, Feb. 1987.
It allows coupled line subcircuits to be cascaded without the spice
related topological problems as in the case of the topology suggested
by Tripathi and Rettig.

cpld expects its input data to be in the file "cpld.in". The format
of cpld.in is the following:

Line 1: The integer value, N, which is the order of the
coupled system.

Lines 2 to N+1: The rows of the capacitance matrix, [C], of the
coupled system when it is the presence of the
dielectric material. (Units: Farads/Inch)

Lines N+2 to 2N+1: The rows of the capacitance matrix, [Co], of the
coupled system when it is in air.
(Units: Farads/Inch)

Line 2N+2: The value which is the length of the coupled
system. (Units: Inches)

Line 2N+3: The integer value value which is the subcircuit
type to be generated:

1 = A PSPICE compatible subcircuit,
2 = A SPICE2 compatible subcircuit,
3 = A SPICE3 compatible subcircuit.

Once cpld.in has been created, type "cpld". The computational results
will be stored in file "cpld.out". The generated subcircuit will
be stored in file "subckt.out". This subcircuit can then be added to
and used in your circuit file.

The subcircuit inputs are listed by transmission line ports. That is,
transmission line 1's input and output ports are listed first (11 12),
transmission line 2's input and output ports are listed next (21 22),
and so forth.

============================================================================

If interested, I can send a shar file of the C source code to the si admin.

Tom Giovannini
tjg@appsig.com

----- End Included Message -----