Upload
others
View
10
Download
2
Embed Size (px)
Citation preview
Getting Started with OrCAD Capture OrCAD Capture Version16.6
EMA Design Automation 131
Lesson 5: Creating Heterogeneous Parts
Lesson Objectives
After you complete this lesson you will be able to:
Create a Heterogeneous part
Annotate a Heterogeneous part (Optional)
Heterogeneous Parts
A heterogeneous part is a part that has two or more unique part graphics or pin count. It
could have a different number of pins in each “gate” or part. Any part with a pin common
to all the other gates must also be defined as a ‘Heterogeneous” part.
The following part displays each gate with a different number of pins in the gates as
Power & GND are displayed on only the first gate.
Getting Started with OrCAD Capture OrCAD Capture Version16.6
EMA Design Automation 132
A heterogeneous part must be defined as multi-section (Parts per Pkg is set to two or
more). Each part graphic represents a different portion of the entire package.
For example, an OPAMP may have 4 gates but only the first gate contains the Power
and/or Ground pins. You define this heterogeneous part as having four parts per package.
In the Part Editor, use the View - Next Part command to create three unique part
graphics, as shown in the previous graphic.
Annotating Heterogeneous Parts
When a heterogeneous part is used in a design, OrCAD Capture needs a property to
indicate which part graphics go together in a package. This is required for
Heterogeneous parts only when you use the Annotate command.
Getting Started with OrCAD Capture OrCAD Capture Version16.6
EMA Design Automation 133
Lab 5-1: Creating a Heterogeneous Part -
LM342
Lesson Objectives
After you complete this lab you will be able to:
Create an heterogeneous part
Understand how to Annotate
1. If a library is not still open in OrCAD Capture, select and open the TRNG.OLB
library you were working with.
2. Highlight the library name and from the right-mouse button pop-up menu select New
Part.
3. Enter the information as shown above.
4. Click OK.
Getting Started with OrCAD Capture OrCAD Capture Version16.6
EMA Design Automation 134
Creating the Symbol for the first gate
1. Set your window to full, then select View - Zoom - All (or click the button in the
toolbar) to adjust the view.
2. Using the Place Polyline command (see the Toolbar); draw some triangular graphic as
shown in the next image.
So that the Power and Gnd pins will eventually fall on a grid, use a 4X5 grid.
Remember to use the Shift key while drawing in order to angle the poly-line.
Adding Pins for the first gate
1. Click the Place - Pin button.
2. Enter the information shown in the following picture, then click OK.
Getting Started with OrCAD Capture OrCAD Capture Version16.6
EMA Design Automation 135
3. The pin image appears, attached to the cursor. Position it as shown in the following
picture, and click to place it.
4. Continue to add pins to achieve the follow image.
Next pin: Name ( - ) Next pin: Name ( OUT )
Number ( 2 ) Number ( 1 )
Type ( Input ) Type ( Output )
Getting Started with OrCAD Capture OrCAD Capture Version16.6
EMA Design Automation 136
5. Use the line graphics command to draw a short “stub” from the edge of the triangle
graphics to the edge of the bounding box. See the following graphics.
6. Make sure you turn off “Snap to grid” to do this. Turn it back on when you finish.
Place the Power pins
1. Select Place - Pin.
2. Enter the information shown in the following picture, then click OK. Use the pin
shape (Zero Length) and place it at the end of the line graphics you used to draw the
pin stub from the triangle graphics.
Getting Started with OrCAD Capture OrCAD Capture Version16.6
EMA Design Automation 137
3. Place the V+ Power pin at the top edge of the bounding box.
4. Place the V- Power pin at the bottom edge of the bounding box.
5. Select Options - Part Properties.
The User Properties dialog box reappears.
6. Select the Pin Names Visible option, then toggle the value to False, as shown in the
following graphic
Getting Started with OrCAD Capture OrCAD Capture Version16.6
EMA Design Automation 138
7. Click OK.
8. Repeat the previous steps (5 & 6) and make the Pin Names visible again.
9. Select Options - Part Properties, and add a GROUP property to the part. Leave the
Value field blank and use the Display button in the User Properties form to make the
property visible.
The part should look like the following picture.
Getting Started with OrCAD Capture OrCAD Capture Version16.6
EMA Design Automation 139
10. Select File - Save.
Creating the Symbol for Section Two, Three, and Four
1. Select View - Next Part.
2. Using the skills you learned above, create the next sections in the package. What
makes this section unique from section one is that the next 3 “gates” do not have the
PWR/GND pins shown.
Please refer to the following diagram for the pin names and numbers in the other
“gates”.
Gate B Gate C Gate D
+ = 5 + = 10 + = 12
- = 6 - = 9 - = 13
OUT = 7 OUT = 8 OUT = 14
3. Close and Save the library part.
4. File - Close the library.
Getting Started with OrCAD Capture OrCAD Capture Version16.6
EMA Design Automation 140
Lab 5-2: Annotate the LM324 Part
(Optional)
The following lab is only for testing your Heterogeneous Parts using the Annotate
command.
1. Select File - New Design. (As this is only to illustrate how to annotate your
Heterogeneous parts, we will not use the formal settings for an .OPJ file.)
2. Make sure you are in the D - EMA_Training -Capture directory for this
exercise.
3. When the page is open add the following gates to the page.
4. Select Place - Part.
5. When the Place - Part tab opens, add the TRNG.OLB to the search path.
6. Now select the LM324 part from the TRNG.OLB library, as shown below:
Getting Started with OrCAD Capture OrCAD Capture Version16.6
EMA Design Automation 141
Notice that the Packaging section of the Place Part form shows four parts per package.
The Part field defaults to A, or section one of the package.
7. Place the part on the schematic page.
8. Add three more sections of the LM324 package into the schematic by toggling the
Part field in the Place Part form to B, C, & D.
9. Repeat this until you have about 8 or 10 different “gates on the page. Remember you
can use COPY/PASTE to achieve some of this.
10. The page may look something like the following picture. It is not important how
many of each gate type is placed.
11. Select four gates, one of them being an “A” gate.
The “squares” and “circles” were added to the picture to show which gates were grouped
together in the example.
Getting Started with OrCAD Capture OrCAD Capture Version16.6
EMA Design Automation 142
12. Click right and select Edit Properties from the pop-up menu.
13. In the Property Editor window, select the “New Row” or “New Column” button in
the top-left of the Property Editor window.
14. Enter the new GROUP property.
15. Now select the GROUP row and from the RMB popup menu select Edit. Set the
GROUP property value to 1 for the row.
Refer to the following illustration to see how this can be done.
16. Click Apply and close the Property Editor.
17. Repeat this process until you have assigned all the gates to groups.
18. Now, in the Project Manager window, highlight the design name.
19. Select Tools - Annotate.
20. Under Physical Packaging, add the GROUP property to the end of the Combined
Property String.
21. Be sure to enclose the property name in curly braces, as shown in the following
graphic.
Getting Started with OrCAD Capture OrCAD Capture Version16.6
EMA Design Automation 143
22. Click OK.
23. Check the schematic to see if the sections of the LM324 parts were placed into the
same package (same reference designator).
Getting Started with OrCAD Capture OrCAD Capture Version16.6
EMA Design Automation 144
24. Close the test schematic but do not save it.
If the GROUP property had not been added to the Combined Property String, it would
have been ignored during annotation, resulting in two separate LM324 packages.
To pin swap in the OrCAD and Allegro PCB Editor, the SPLIT property must be added
to all sections of a heterogeneous part. Give the SPLIT property a value of TRUE. There
must not be any duplicate pins across the sections of the split part.
25. When you are done testing the part, exit the “design” but do not save it.