Analog Innovations

Tools

Convert HSpice CMOS Library Files to PSpice CMOS Library Files - Manually

Macros

Noise Figure the easy way.....

Add the following two lines in the [MACROS] section of msim.prb.  Do it in the "Common" Directory to make it valid for all of your designs.

VSRCSQ = 16.5757565E-21*V(RSRC:1,RSRC:2)/I(RSRC)
NF = 10*LOG10((V(INOISE)*V(INOISE))/VSRCSQ)

In your schematic make sure you name the source resistance "RSRC".
Setup your AC analysis, checking the "Noise enabled" box and designating an "Output Node".
Perform the AC analysis, then, in Probe, Add, Trace, "NF".  Voila!   Noise Figure is automatically plotted in Probe.

Displaying dBm values in PSpice Probe.....

Add the following line in the [MACROS] section of msim.prb.  Do it in the "Common" Directory to make it valid for all of your designs.

dBm(N,Z) = VdB(N)*sqrt(500/Z)

Where "N" is the node name where you have placed a (regular) voltage marker and "Z" is the reference impedance (normally 50 ohms).  In Probe, go to Plot/X Axis Settings/Process Options and check the Fourier box before calling this macro.

Return Loss and VSWR.....

Add the following three lines in the [MACROS] section of msim.prb.  Do it in the "Common" Directory to make it valid for all of your designs.

MAGGAMMA=M(2*V(IN_NODE)-V(SRC_NODE))
RET_LOSS=20*LOG10(MAGGAMMA)
VSWR=(1+MAGGAMMA)/(1-MAGGAMMA)

Follow the naming conventions as given in the NF section above.  In addition name the node adjacent to the AC source "SRC_NODE" and the node following RSRC as "IN_NODE".  VSWR and RET_LOSS can then be called in Probe after an AC analysis.

Utilities

Engineering Utilities Provided by Abstract Data Technologies (my son Aaron, <http://www.adtsoft.com>)......

Instructions

  1. Download the utility you want to use.
  2. Download any DLLs that you may require for your system (most utilities share the same DLLs).
  3. Unzip the file(s) in an empty directory (if it is a zip file, many of the utilities are a single EXE file).
  4. Copy the DLLs to your DLL directory (if you downloaded DLLs).

NOTE: These utilities are FREEWARE! If you like these utilities, send us a thank-you via e-mail.

PSpice V7.1 (or later) to V6.1 File Format Converter

This utility converts PSpice version 7.1 data files to version 6.1. This is a must have for people who have upgraded their PSpice version and still need to work with people using the older file format for version 6.1. PSpice 7.1 will automatically convert files from version 6.1 to 7.1, this utility allows you to convert the files (including sub-schematics) back to version 6.1 so your fellow engineers still using version 6.1 can use the files.

PSpice V7.1 to V6.1 File Format Converter.

DLL Files

These DLL files may be required. These are kept separate from the application since they are large and aren't required by all users. Only download these files if you don't already have them or receive error messages indicating that these files are missing.

MSC42.DLL.

MSVCRT.DLL.