1PS2SP(1) User Commands PS2SP(1)
2
3
4
6 ps2sp - manual page for ps2sp version 4.14
7
9 ps2sp [OPTION] infile > outfile
10
12 This utility is a SPICE netlist preprocessor.
13
14 It converts netlists in PSPICE syntax to an equivalent SPICE3/XSPICE
15 netlist syntax.
16
17 Recognized are nearly all PSPICE features like:
18
19 * local and global parameter (expression) definition (.PARAM)
20
21 * parameter (expression) passing to subcircuits (PARAMS:)
22
23 * local and global function definition (.FUNC)
24
25 * E and G-device VALUE=f(V,I), TABLE and POLY lines
26
27 * E and G-device functions like IDT(), DDT(), LIMIT(), PWRS(), PWR(),
28 IF(), MAX(), MIN(), relational ops, ...
29
30 * R-device VALUE=f(V,I), L-device FLUX=f(V,I) and C-device Q=f(V,I)
31
32 * spice2 like C and L-device POLY expressions
33
34 * pspice VSWITCH and ISWITCH models
35
36 * pspice .PROBE lines (also with expressions)
37
38 * R-device lines with temperature coefficients like TC=tc1,tc2
39
40 * pspice .STEP PARAM lines (not yet tested on GNU/Linux)
41
42 * pspice .LIB and .INC(lude) lines (not yet tested on GNU/Linux)
43
45 -h, --help displays the help screen
46
47 -v, --version
48 display version information and exit
49
50 -sp3 switch means conversion of pspice table to spice 3 b-source
51 instead of xspice core model (default)
52
53 -ltspice
54 switch means conversion of ^ spice 3 power to ** ltspice power
55 and addition of tripdv=1 tripdt=1 in b-lines
56
57 -debug for debugging all .param .func and .pfunc definitions (default
58 is nodebug)
59
60 -tosub only output subckt expansions
61
62 -fromsub
63 inputfile is a sub.tmp file
64
65 -tolib only output lib expansions
66
67 -fromlib
68 inputfile is a lib.tmp file
69
70 -check determine the same count of open and closed paranthesis in
71 b-lines (default is nocheck)
72
73 -notinylines
74 produces longer b-lines for some functions (default is tinylines
75 = shorter b-lines)
76
77 -xornot
78 allows ^ and ~ operators in the netfile (don't mix with ^ as
79 power operator) use the ** operator as power instead
80
82 Report bugs to Friedrich Schmidt <frie.schmidt@aon.at>
83
85 Copyright © 2003, 2004, 2005, 2006, 2007 Friedrich Schmidt
86 <frie.schmidt@aon.at>
87
88 This is free software; see the source for copying conditions. There is
89 NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
90 PURPOSE.
91
92
93
94ps2sp version 4.14 June 2007 PS2SP(1)