<< Chapter < Page Chapter >> Page >
Learn how to create schematic symbols in OrCAD Capture.
The Connexions version of the OrCAD tutorial is still in development. Please click here for the original and complete tutorial. You may also browse this complete tutorial within Connexions by using the Mozilla browser and accessing the main Connexions page at (External Link) . Click on the 'Contents' tab and select Rice University ELEC 424/427 under the 'Courses' tab.

To add a new part to your library, right-click the library file and select New Part . This will bring up a dialog box for New Part Properties , which looks like this.

New part properties dialog box

We will be making a symbol for the Xilinx XC9536 PLD. This part comes in a 44-pin PLCC package. Name the part XC9536-PLCC44 . Leave the Part Reference Prefix as U . You can leave the default values for all the other settings. Click OK to bring up the workspace for part creation. It should look like the picture below. Tools for working with the part are located on the toolbar on the right-hand side of the screen.

Creating a new part

Part Reference Prefixes (also known as Reference Designators) help categorize parts in your schematics and PCB layouts. For example, C is used for capacitors, R for resistors, L for inductors, U for ICs, and X for crystals. These reference designators were originally defined in ANSI standards Y32.2 and Y32.16, which was replaced by IEEE 200. This standard has since been replaced by IEEE 315, "Graphic Symbols for Electrical and Electronics Diagrams (Including Reference Designation Letters)". There is also an IEC standard, 61346-1.

To get started, drag the dashed line on the workspace to make it a little larger. You won't be able to fit too many pins on the part with its current size. When it is large enough, use the Place Rectangle tool to draw a solid outline in the same place as the dashed line. Use the Place Pin tool to place pins on the part.

Place Rectangle Button
Place Pin Button

You will see a dialog that looks like this.

Place pin dialog box

Refer to the part datasheet for the correct pin numbers for the PC44 package. You can either download the datasheet from the Xilinx web site or from here

For real-world designs, it is always recommended that you obtain the latest datasheet from the manufacturer's web site

The default pin Shape ( Line ) and Type ( Passive ) are OK for most pin types. For clocks and active low signals you may want to use some of the other shapes. You will also want to use the type Power for power pins. When you do this, make sure that the Pin Visible check box is checked. Also, I usually like to place my power pins near the top of the part and ground pins near the bottom. As a last touch, double-click the text that reads <value> and change it to read XC9536-PLCC44 . When you are all done, your part should look something like the following symbol.

The finished PLD schematic symbol

Save your part and close the window. You may get a warning about duplicate pin names, but that is OK to ignore. Your part will now be visible in your library.

Some parts are already in existing OrCAD libraries. It is usually OK to copy these parts for use in your own design. For example, let’s say we want to use a simple resistor in our design. First, we need to open the library that contains the resistor. To do this, select File-->Open-->Library . OrCAD keeps all of its libraries in the path:

C:\Program Files\OrCAD\Capture\Library

Select the library called Discrete . This will open up a new window showing the contents of the library. Find the part called R and highlight it. This is our resistor. Select Edit-->Copy from the menu and then highlight your own library. Select Edit-->Paste from the menu and this will paste the part into your library.

When you do this, some extra parts will show up in your library. These are part aliases (the same part but with a different name). You can tell the aliases by the ‘-‘ that is inside the little gate next to the part name. You don’t need the aliases they will just cause confusion. Delete them from your library.

I have provided a library of the remaining parts for use in this design. Open this library file and copy the all the parts into your library. You can find this library on Owlnet at:

/home/jpfrantz/elec424/tutorial/lib/tutorial.lib

There are a few things to note about copying parts from existing libraries. First, always be sure to check the part you are copying against a datasheet for correct pinout, number of pins, etc. Second, some of the standard parts will have power pins that are invisible. Personally, I feel that this is a very bad design practice that canlead to errors in your design. If you copy a part that has invisible power pins, please be sure to make them visible. Trust me, this can save you a lot of pain and trouble later. Finally, beware of so-called “heterogeneous” parts. These parts split across multiple symbols. For example, you might see a part with general pins on one symbol and power pins on another. In general, heterogeneous parts should be avoided because they can cause problems. However, they may be acceptable for very large partssuch as processors.

Get Jobilize Job Search Mobile App in your pocket Now!

Get it on Google Play Download on the App Store Now




Source:  OpenStax, High-speed and embedded systems design (under construction). OpenStax CNX. Feb 18, 2004 Download for free at http://cnx.org/content/col10212/1.12
Google Play and the Google Play logo are trademarks of Google Inc.

Notification Switch

Would you like to follow the 'High-speed and embedded systems design (under construction)' conversation and receive update notifications?

Ask