.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.36. .TH PS2SP "1" "June 2007" "ps2sp version 4.14" "User Commands" .SH NAME ps2sp \- manual page for ps2sp version 4.14 .SH SYNOPSIS .B ps2sp \fR[\fIOPTION\fR] \fIinfile > outfile\fR .SH DESCRIPTION .TP This utility is a SPICE netlist preprocessor. .TP It converts netlists in PSPICE syntax to an equivalent SPICE3/XSPICE netlist syntax. .TP Recognized are nearly all PSPICE features like: .IP "*" 4 local and global parameter (expression) definition (.PARAM) .IP "*" 4 parameter (expression) passing to subcircuits (PARAMS:) .IP "*" 4 local and global function definition (.FUNC) .IP "*" 4 E and G-device VALUE=f(V,I), TABLE and POLY lines .IP "*" 4 E and G-device functions like IDT(), DDT(), LIMIT(), PWRS(), PWR(), IF(), MAX(), MIN(), relational ops, ... .IP "*" 4 R-device VALUE=f(V,I), L-device FLUX=f(V,I) and C-device Q=f(V,I) .IP "*" 4 spice2 like C and L-device POLY expressions .IP "*" 4 pspice VSWITCH and ISWITCH models .IP "*" 4 pspice .PROBE lines (also with expressions) .IP "*" 4 R-device lines with temperature coefficients like TC=tc1,tc2 .IP "*" 4 pspice .STEP PARAM lines (not yet tested on GNU/Linux) .IP "*" 4 pspice .LIB and .INC(lude) lines (not yet tested on GNU/Linux) .SH OPTIONS \fB\-h\fR, \fB\-\-help\fR displays the help screen .TP \fB\-v\fR, \fB\-\-version\fR display version information and exit .TP \fB\-sp3\fR switch means conversion of pspice table to spice 3 b\-source instead of xspice core model (default) .TP \fB\-ltspice\fR switch means conversion of ^ spice 3 power to ** ltspice power and addition of tripdv=1 tripdt=1 in b\-lines .TP \fB\-debug\fR for debugging all .param .func and .pfunc definitions (default is nodebug) .TP \fB\-tosub\fR only output subckt expansions .TP \fB\-fromsub\fR inputfile is a sub.tmp file .TP \fB\-tolib\fR only output lib expansions .TP \fB\-fromlib\fR inputfile is a lib.tmp file .TP \fB\-check\fR determine the same count of open and closed paranthesis in b\-lines (default is nocheck) .TP \fB\-notinylines\fR produces longer b\-lines for some functions (default is tinylines = shorter b\-lines) .TP \fB\-xornot\fR allows ^ and ~ operators in the netfile (don't mix with ^ as power operator) use the ** operator as power instead .SH "REPORTING BUGS" Report bugs to Friedrich Schmidt .SH COPYRIGHT Copyright \(co 2003, 2004, 2005, 2006, 2007 Friedrich Schmidt .PP This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.