<< Chapter < Page | Chapter >> Page > |
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.
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.
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.
You will see a dialog that looks like this.
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
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.
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
Notification Switch
Would you like to follow the 'High-speed and embedded systems design (under construction)' conversation and receive update notifications?