0% found this document useful (0 votes)
18 views4 pages

Pspice Tutorial

This tutorial provides instructions for using netlists in pspice. It explains how to start the pspice program, create or open a .cir file to contain the netlist and commands, run a simulation by clicking the simulate icon, view the output file containing model information, and display probe results in a graph by adding traces of variables. The tutorial is intended for electrical and computer engineering students at Cal Poly Pomona to learn basic usage of pspice.

Uploaded by

toufik bendib
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
18 views4 pages

Pspice Tutorial

This tutorial provides instructions for using netlists in pspice. It explains how to start the pspice program, create or open a .cir file to contain the netlist and commands, run a simulation by clicking the simulate icon, view the output file containing model information, and display probe results in a graph by adding traces of variables. The tutorial is intended for electrical and computer engineering students at Cal Poly Pomona to learn basic usage of pspice.

Uploaded by

toufik bendib
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 4

P. R.

Nelson 1

Using Netlists in pSpice

Phyllis R. Nelson
Electrical and Computer Engineering Department
California State Polytechnic University, Pomona

Winter 2013

This tutorial provides a basic introduction to the use of netlists in pspice for students in
the Electrical and Computer Engineering Department at Cal Poly Pomona.

1 Starting the program

Log onto a computer in one of the College of Engineering computer labs. Click the windows
icon at the lower left corner of the screen, then

All Programs -> Cadence (the folder) -> AMS Simulator (the folder)
-> AMS Simulator

You will see a new window as shown below.

pspice˙tutorial.tex Winter 2013


2 Creating or opening a script file

In pspice the script file that includes the netlist, analysis commands, and output commands
has the extension .cir.

2.1 Creating a .cir file

On the AMS Simulator menu bar, select

File -> New -> Text File

You will now be able to use the text editor window to write your spice script. Save it as
<filename>.cir where the “filename” is something that will help you to remember what
the script does. Note that most of the icons are still grey. You must close the file and
open it again as described below in order to run your script!

2.2 Opening a .cir file

On the AMS Simulator menu bar, select

File -> Open...

A directory window will open, but when you display the directory in which you saved your
script it will not be listed. You must change the line “Files of type:” to “Circuit Files
(*.cir)” to select the file. Then click the “Open” button. The result will give color syntax
highlighting and, most importantly, a green circle containing a right arrow as shown below.

2
3 Running a simulation

Click on the green circle containing the right-pointing arrow. This simulate icon is located
just below the word “cādence”. The progress of your simulation will be displayed in a small
text area at the lower left corner of the window. If your script contains errors, the .out
file will display in a new tab where the editor window was. If your script contained the
.probe command and there are no errors, the editor will be replaced by a graph with a
black background and the independent variable of your analysis displayed on the horizontal
scale.

4 The .out file

This file contains much useful information about the models and model parameters used in

simulating semiconductor devices. It can be opened at any time using the icon at the
left of the main window. If you have already opened this file, you can switch between it
and the original script file using the tabs at the lower left of the main window.

5 Displaying results with probe

Using .probe as the output command will open a new dialog in place of the text windows
after your simulation has completed, and the icons on the menu bar will change. The AMS
Simulator will now appear as shown below.

3
Use the “Add Trace” icon to select the variable or variables to be displayed on the
vertical scale. Use Window -> Copy to Clipboard... to get a copy of the graph that can
be pasted into a document. The graph without the script that generated it is useless!

Useful tools such as the position of the cursor, log x and y scales, the ability to find minima,
maxima, and local slope are also available using the menu icons.

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy