[ TOP ]
ATTENTION There is no one at Columbia in charge of SwitCap2 now, becasue they have left Columbia. So right now, there is no contact way for lisence/distribution. However, don't ask me a copy of the binary. It will be illegal. Thanks. :-) 10/20/2000 (Fri)First of all, you should read manual carefully.
In this page, you may find what the manual doesn't tell us. You can't find the basic knowledge from here.
SwitCap3 Tips is getting started.
You can down load from SwitCap Homepage in postscript format.
PDF version is also available from here [SwitCap2 Tips].
SwitCap2.pdf (.... Thanks, Joel)
You may need to append your path variable.
On HP [odin, holmes, and mismatch]:
/usr/local/apps/bin/sw2
I'm using below script. This is very convenient. You can download from here.[ Go to TOP of this page ]
After you create your input file:foo.in
, just type
% SW2 foo
You'll havefoo.out
.
With this script you can put the input file in the loop, if you want. This script has a good advantage if you want to sweep the capacitance or something in SwitCap2, because SwitCap2 doesn't have any way like a SWEEP function in Hspice.## echo 'SwitCap2 execution using file name: ' $1 echo '---- running ----' sw2 << EOF $1.in $1.out EOF
/* This is the beginning of comment and this is the end of comment. */
/* This is the beginning of comment and this is /* In-between comments */ and /* this is, too, */ and this is the end of comment. */
set vn2 pwl 4.00000000e-02 -1.52827986e-01 4.00010000e-02 1.06195274e+00 4.00020000e-02 2.56355876e-01 4.00030000e-02 -4.63426956e-01 4.00040000e-02 -3.23330795e-01 ;
V(100.x1)
format on HP version, but got an error message on SUN version. It should be safe not to use this cheating.
I saw the different thing. In SwitCap2 v1.1 (Nov-01-90) for HP,
I couldn't see any error message, but the result is different from the
one without underscore. This is much more dangerous than giving
an error message.
In SwitCap2 v1.0 (Jan-01-91) for SUN, I got an error with the
underscore. I got the same result as HP version without the
underscore.
Here is my condition for a verification.
w/o underscore | w/ underscore | |
---|---|---|
v1.1 (Nov-01-90) for HP | -1.0958D+01 | -1.0849D+01 |
v1.0 (Jan-01-91) for SUN | -1.0958D+01 | ERROR symxtr: missing ')' in S1 |
C020 ( 10 060) 0.5417;You will see the error in your output file:
** ERROR:Connectivity check for switches failed. ** FATAL INTERNAL ERROR IN: BDrmat ==>DieSolution
analysis block 1: undefined name ' 26 ' in PRINT *** FORTRAN I/O ERROR 933: END (OR BEGIN) OF FILE WITH NO "END=" SPECIFIER FILE: /tmp/SWa15615.SRC, UNIT: 8 ( 0) 0xc087e10c io_ded + 0x304 ( 1) 0xc08820e8 check_read + 0x60 ( 2) 0xc0882588 read_to_newline + 0x2d0 ( 3) 0xc0882b40 read_seq_record + 0x28 ( 4) 0xc0882938 new_record + 0xb0 ( 5) 0xc0876648 __F90_START_IO + 0x350 ( 6) 0xc0876e50 FTN_S_RSLE + 0x98 ( 7) 0x000063f8 FTN_S_RSLE + 0x63f9 ( 8) 0x000079b0 bdaflt + 0x13c ( 9) 0x00006b74 xcntrn + 0xcc (10) 0x00005e78 phase2 + 0x4d4 (11) 0x000045cc sw2 + 0xb4
tok2mac: syntax: CAPACITANCE
zapcom: unexpected end of file
Last modified: Mon Mar 15 09:48:18 1999