Orcad 10.0 Tutorial

advertisement
OrCAD Version 10.0 Tutorial
No lab report is necessary; however, be sure to
print and turn in your schematic and net list.
This will be due at the beginning of class on
Wednesday 1/21/09.
In this exercise you will create and annotate a schematic using the
OrCad Capture program. This guide is not intended to convey stepby-step instructions for those features of OrCAD Capture that you
can easily master by trial and error on your own. What it will do is
rapidly walk you through enough of the important non-obvious
features of OrCAD Capture to get you started. Use the OrCAD
online tutorial under the menu Help item to practice details and
more advanced concepts. The tutorial assumes you will be running
OrCAD in the SOE PC lab. On your home PC the only major
change will be in the location of the schematic directory. How to
access Orcad depends on if you are using the SOE PC’s in the PC
lab or using the PC’s in room 337.
1
If you are using the computers in Room 102, you can start Orcad
capture from the start menu using Start  Electrical  Orcad 10.0
Demo  Capture CIS Demo as shown below.
.
 Use whichever method is necessary start the program.
2
 When the program starts if you see the Windows security
alert click on Unblock.
 From the menu select
o File
o New
o Project
 You should see the window below.
3
 Fill in a project name and location.
o Use H:\Schematics1. You may have to create the
Schematics directory.
 Be sure Schematic is selected in the "Creating a New Project
Using" frame.
 Click on OK
 As shown below a blank schematic page should appear.
1
If you are doing this on you home PC or a flash drive use any appropriate directory.
4
 You can select either the SCHEMATIC window or the
Majority.opj window to the left. Try this by clicking in each
window. Note that the menu changes depending on which
window is selected.
 Be sure the SCHEMATIC window is selected as shown
above before proceeding.
5
 From the menu select:
o Place
o Part
6
 Select “Add Library”
 Select “Gate.olb” and click “Open”. “Gate.olb” is the library
that contains the NAND gates we will be using. For other
parts you can add additional libraries.
7
 In the gate library select or type 74LS00.
 Click on OK
8
 Place 3 copies of the 74LS00 gate. A part is dropped by left
clicking.
9
 Again from the menu select
o Place
o Part
10
 Select the 74LS10 gate
 Click on OK
11
 Place the gate.
 From the menu select
o Place
o Wire
Quick rules for placing wire:
 Left click once to start a wire
 Left click once to add an elbow to a wire
 Left click once to end a wire that connects to something
 Double click to end a wire that dangles
 ESC terminates wire placement
12


Add the wires as shown above.
The Esc key can be used to exit from the wire mode.
Now place input and output ports on the design
 Place
 Hierarchical Port
13
 PORTRIGHT-R/CAPSYM for inputs
 PORTRIGHT-L/CAPSYM for outputs
Place the ports as shown above. To change the name of a port:
 Double click on the default name PORTRIGHT-R
 Enter the new name X then click OK
 Note that you can change the font, color and rotation as well.
14
Schematic with port placement:
Notice the labels X, Y, and Z are far from the ports. To move:
 Left click once on “X” to select
 Hold left button down on mouse and drag to new location
15
The drawing must be annotated to obtain correct pin numbers. This
can be done manually, but it is better to use the two-step process
outline below.
 Click on majority.dsn to select the majority.opj window.
 Note that the menu changes.
 From the menu select:
o Tools
o Annotate
16


In the Annotate window select "Reset part references to ?" in
the "Action" frame.
Click OK.

Click Yes.
17

Click OK.
 Note that the U numbers have been changed to "?".
 Be sure the majority.opj window is active and again select
from the menu
o Tools
o Annotate
18
 Select "Incremental reference update"
 Click on OK
19
 Note that the IC's and pin numbers are now correctly labeled.
 Print the schematic2 by first making sure the schematic
screen is highlighted then selecting from the menu
o File
o Print
2
For lab reports, you may want to select the pertinent portion of the schematic then copy and past it into
the lab report.
20
Create a netlist to help in wiring the circuit:
 Select the Majority.dsn design in the project window
Now select:
 Tools
 Create Netlist…
21
 Click Yes…
You will see the Create Netlist dialog box:
Select the Other tab for the type of netlist then pick wirelist.dll:
22
Select OK to create the netlist
The netlist is an ascii file you can open with Notepad or any other
Windows text editor. Your wire list should look similar to:
Wire List
H:\E254S05\SCHEMATICS\MAJORITY.DSN
<<< Component List >>>
74LS00
74LS10
U1
U2
Revised: Thursday, February 10, 2005
Revision:
74LS00
74LS10
<<< Wire List >>>
NODE
REFERENCE
PIN #
PIN NAME
PIN TYPE
PART VALUE
[00001] VCC
U1
U2
14
14
VCC
VCC
Power
Power
74LS00
74LS10
[00002] GND
U1
U2
7
7
GND
GND
Power
Power
74LS00
74LS10
[00003] N00145
U2
U1
1
3
I0_A
Y_A
Input
Output
74LS10
74LS00
[00004] N00193
U1
U2
6
2
Y_B
I1_A
Output
Input
74LS00
74LS10
23
[00005] N00234
U1
U2
8
13
Y_C
I2_A
Output
Input
74LS00
74LS10
[00006] X
U1
U1
1
4
A_A
A_B
Input
Input
74LS00
74LS00
[00007] Y
U1
U1
2
10
B_A
B_C
Input
Input
74LS00
74LS00
[00008] Z
U1
U1
5
9
B_B
A_C
Input
Input
74LS00
74LS00
[00009] F
U2
12
O_A
Output
74LS10
 Save the design by selecting from the menu
o File
o Exit
24
Download