Summary: Step-by-step tutorial of how to start OrCAD Layout.
You have everything that you need to import your design into Layout. We need to do one thing before we begin. Layout will try to match the names of the footprints in your netlist with those stored in the Library Manager. Your library must be at the top of the list in Library Manager or the import will not work. Open Library Manager and make sure that your library appears at the top of the list like in the figure below.
![]() |
Now start Layout and select File-->New. You will first be prompted for the template file you created. It should be located in your board directory. Second, you will be asked for your netlist. This should be located in your sch directory. Third, you will be asked to give your board file a name. Name this file Elec424Tutorial and place it in the board directory.
If all the footprint names in your design match those in your library, then you should get no errors and you will see a screen in layout like the one below.
If you got one or more errors, then it probably means that you have a misspelled footprint name. Sometimes, you can also accidentally assign a footprint that doesn’t have the same number of pins as your schematic symbol. If your import is unable to complete, then you will have to find the problem and start the process again.
![]() |
One useful tool for finding an error is the lis file. When Layout performed the import, it generated a file called Elec424Tutorial.lis in your board directory. Open this file in a text editor like Notepad to see what it looks like. This file will tell you everything that occurred during the import: what footprints were added or deleted, what components were added or deleted, and what nets were added or deleted (you will see later how footprints, components and nets get deleted). If an error occurred, you will see it here, probably towards the end of the file.
All of your parts from schematics should be line up on the left side of the board. Before we start placing them, let’s do a few things to make our job a little easier. First, turn off DRC (Design Rule Checking).
![]() |
![]() |
While a layer is active, you can press the ‘-‘ key to make it visible or invisible. Try it now for the top layer. Your screen should look a little different, and the coloring in the drop down box will change to indicate that the layer is now invisible.
![]() |
Make the top layer visible again. You will want to see that one while placing parts and routing. For now, select the following layers and make them invisible: SMTOP, SMBOT, AST, ASB, DRD, DRL. You will also notice that there are a bunch of lines connecting your parts. These are connections that are still unrouted, and this is usually referred to as the ratsnest. When placing parts, it is sometimes useful to turn this off. So click the View Spreadsheet icon and select Nets. Remember when you used this spreadsheet before? It had just one net called DEFAULT. Now, every net in your design should appear in this spreadsheet. This spreadsheet can be a useful way to see if you have misnamed nets in your schematics. Highlight every net by clicking the cell labeled Net Name. Right-click and choose Properties. Uncheck the Routing Enabled box and click OK. The ratsnest should have disappeared.
![]() |
You are now ready to place parts on your design. To get into parts placement mode, make sure that the Component Tool is selected.
![]() |
![]() |
Give this component a reference designator of MT1. Then click the Footprint button and select the BUMPER footprint from your library. Click OK when finished. The part will now be attached to your cursor and you can place it on the board. We actually want to place this mounting hole so that the large pad is on the bottom of the board. Press ‘T’ to flip the part to the other side of the board, and then place at the edge of the board in the lower left corner.
![]() |
We want to place a mounting hole in each corner of the board. You could go through the procedure that you just did to place this component, but there is an easier way that will also allow you to precisely place components. Click the View Spreadsheet icon and choose Components to open the components spreadsheet. Scroll down until you see the component you just placed, MT1. Like in other spreadsheets, you can press CTRL-C to make a copy of the component. Do this 3 times to make components MT2 to MT4. When you copy the component, it will be placed at 0,0, all three need to be moved. Double-click MT2 to bring up the Edit Component dialog box.
![]() |
Change the coordinates for this part to 2800,200 and click OK. Now do the same for the other two parts and place them each 200 mils from the corners of the board. Before closing the spreadsheet, highlight all four parts using the CTRL key. Right-click and select Properties to bring up the Edit Component dialog again. Since these are non-electric parts, uncheck the box labeled Non-Electric. Also, we don’t want to accidentally move the part, so check the box labeled Fixed and the box labeled Locked. Finally, uncheck the box labeled Route Enabled. Click OK to close the dialog and then close the spreadsheet. Your board should now look like this.
![]() |
Now you can begin to place the rest of your components. You will probably want to print out your schematics so that you can see where the components are supposed to go in relation to each other. When you pick up a component, the ratsnest for that component will appear to show you the connections to other parts. If you want, you can also turn the ratsnest back on to see all of the connections. Personally, I like to turn on at least the power and ground nets and give them a distinct color, especially in designs with multiple voltages. Open the nets spreadsheet and find the net GND. Right-click and select Change Color. Choose any color you like. Right-click again and select Enable <-> Disable. When you close the spreadsheet, the GND net should be visible. Do the same thing for the other power nets. When you close the spreadsheet it will look a little messy. You can use the Refresh All icon to force OrCAD to redraw connections.
![]() |
When placing components, you may want to work on a finer grid. Right now, the grid is probably set at 100 mils. You can change this by selecting Options-->System Settings and then changing the Place Grid setting. I usually use a value of 25. I also like to adjust the Visible Grid setting to give me an on-screen reference. I usually use a value of 50 when placing components.
Start placing the remaining components on your board. Start with placing the power connector on the left side of the board, the PLD in the center, and TIL311 on the right. Try to keep components that belong together near each other. When you are done, your board should look something like this.
![]() |
The silkscreen is a bit messy, but we will deal with that later. In fact, during routing, the silkscreen can get in the way, so go ahead and turn off the SST layer now using the same method you used before for the other layers.
Save your design. We have added a few components, so you may get the following warning.
![]() |
We will address this later. Do not worry about it now.
In any design, it is usually wise to route all power and ground connections before anything else. On a thru-hole technology board, this is very easy because connections can be made to the solid plane as the pin passes through the board. The pin will be “flashed” to power or ground. We need to set up our design so that OrCAD knows that the two planes are associated with nets. Open the nets spreadsheet and find the net GND. Double-click to open the Edit Net dialog and click the button labeled Net Layers… Under the section Plane Layers, check the box labeled GND. This will inform OrCAD that the net GND is associated with the solid plane on layer 2. Do the same thing for the net VCC5. When you close the spreadsheet, click the Refresh All button. The ratsnests for VCC5 and GND will disappear. This is because they are now connected to the plane layer. To see this, press Backspace to clear the screen, then press ‘3’ (the shortcut key for the ground layer) to view the ground layer.
![]() |
You can now see all of the connections to the ground plane. You can do the same thing for the power plane. Press ‘F5’ or the Refresh All button to make the whole design visible again.
We still have one voltage net to route, and that is the input voltage from an external power supply. This net only touches a few components, so we could just put a trace to connect all the components. However, we can also draw a solid piece of copper and associate it with that net. This is especially useful for high-current traces or small voltage planes. We do this using the Obstacle Tool just like when drawing obstacles for footprints. Turn the Obstacle Tool on and then right-click anywhere in your design. Select New… and then right-click again and select Properties… to bring up the Edit Obstacle dialog. Name this obstacle VCC_IN, leave the Width at 10 mils. Set the Clearance to 15 mils Change the Obstacle Type to Copper pour. Finally, set the Net Attachment to the name of the net, which should be V_IN. Click OK and you are ready to draw your copper pour. Draw a rectangle around the power connector and other components that are attached to this net. When you are done, click Refresh All to redraw the ratsnests.
|
You have now routed all the power and ground connections. That was easy, right? Let’s look a little bit at some of the tools that OrCAD gives you to check on the progress of your design. Click the View Spreadsheets icon and choose Statistics. The statistics spreadsheet gives you information on time in layout, percent of components placed, percent of traces routed, and some other information.
![]() |
100% of your components should be placed, and you can also see that a majority of your traces have been routed (power and ground make up the majority of connections in most designs). You are well on your way to completing your design.
You are now prepared to route the other connections on your board. Open the nets spreadsheet and highlight all the nets in the design. Right-click and select Enable <-> Disable to make the ratsnets visible for the remaining nets. Refresh the display to clean things up a bit.
Before beginning routing in earnest, it is helpful to change a few settings. Open the System Settings and make the following changes: Visible Grid = 10, Routing Grid = 5, and Via Grid = 0. Next, select Options-->User Preferences and check Allow DRC Errors under Global Preferences. You may have to check the box labeled Activate Online DRC. The box with the dashed line will reappear. While DRC is on, you will only be able to place routes inside this box, but Layout will inform you if any spacing errors occur while you are routing. This will help you limit the number of errors that you will have to clean up later. You can resize the DRC box by pressing ‘B’ and drawing a new rectangle.
Let’s route a connection. Turn on the Edit Segment Mode or Add/Edit Route Mode.
![]() |
![]() |
When routing you will want to refresh the display occasionally to redraw the ratsnests. Now connect the resistor to the PLD. Since our traces on the top layer are already oriented horizontally, let’s place this vertical route on the bottom layer. When you begin the route, press ‘2’ to switch to the bottom layer. Since the resistor is a thru-hole part, there is no need for vias in this situation.
Route the trace to the top of the PLD. When you get near the top, you can press ‘V’ to place a via. Then you can switch to the top layer to complete the trace.
|
You now have your first complete route. You can begin to finish the other connections. Start by routing one component at a time. For example, you might route the TIL311 next, as is shown above. It is also important to route critical signals first, such as clocks and resets. Remember that you can zoom and pan during operations such as routing. The DRC routing box will move with you. With the current DRC settings, you may sometimes see circles around your traces if you get too close to another net or pad. If this happens, then Layout is warning you that you are making a spacing violation with your route. You will need to fix it. I would also suggest that you browse the shortcut keys in the help to see which shortcuts will be useful during routing. When you are done routing, your design may look something like this.
![]() |
Congratulations! All the really hard work is done. Now there are just a few remaining steps to complete your board for submission to a board shop for fabrication.
What if you wanted to make some changes to your design while you were in Layout? OrCAD provides the means for this through ECOs (Engineering Change Order) and back annotation. An ECO is used when changes are made in schematics (perhaps you added some more circuitry or changed some connections). Back annotation is used for changes made during Layout.
When you saved your file, Layout reminded you to back annotate. This was because we added the mounting holes to our design, and OrCAD wants to export those back to schematics. Even though it is not entirely necessary right at this moment, let’s step through the process so you know how it works. On the menu click Auto-->Back Annotate. OrCAD will create a swap file called Elec424Tutorial.swp in your board directory. It is safe to overwrite your existing board file with the new one. Look at the swap file in Notepad. You will see several sections. One thing that Layout does is update part and net properties (such as its coordinates) in Capture. If new components were added, then you would also see those changes. Now let’s import this file into Capture. Start Capture and highlight your dsn file. Select Tools-->Back Annotate… You can leave the Scope and Mode settings untouched. Use the Browse button to find your swap file. Click OK to start the update. Occasionally, when you add components like mounting holes, you will get an error during back annotation. This is usually safe to ignore.
Now let’s go the other direction. Perhaps we have one to many decoupling capacitors, so we will remove one. On page 2 of your schematics, delete one of the decoupling capacitors.
![]() |
![]() |
Next, save the design and regenerate the netlist as described previously. Close your board in Layout, but keep Layout running. In Layout select Tools-->ECOs-->Auto ECO. First, you will be asked for your original board file. Find the file Elec424Tutorial.max in your board directory. Second, you will be asked for the new netlist file that you just created. Find the Elec424Tutorial.mnl file in your sch directory. Finally, you will be asked for a lis file to write to. This file is just a report of the ECO, and it is safe to overwrite the existing one in your board directory. When the ECO is done, you will see the lis file in Notepad with a report of what happened during the ECO.
![]() |
|
When you open your board after an ECO, you may get the following message.
![]() |
Just click OK. We will fix this problem a little bit later.
Deleting this part was just a demonstration. We really want that capacitor in our design, so let’s put it back. Adding new components to a design requires a little more caution than deleting components. Open up page 2 of your schematics and cut and paste one of the other decoupling capacitors.
![]() |
When you cut and paste a component, every property gets copied, including the reference designator. This design now has two capacitors called C10. If you were to try and perform an ECO right now, it would cause much confusion. Double-click the new capacitor and change the reference to C?.
Since we have some new parts, we need to annotate the design again. Perform an incremental reference update as you did before. The new part should now have a number. Regenerate the netlist and start an ECO. When done, the part should be back in the design. However, when we cut and paste parts, all properties are copied, and this includes x and y locations on the board. Our new part is probably sitting right on top of another part. Use the components spreadsheet to locate the new part. Give it a new and safe location such as 0,0 and then use the Component Tool to place it in the proper location. You could also avoid this problem by resetting the coordinate properties in Capture before regenerating the netlist.
You will often use ECO to do forward-annotation, but there are only a few occasions where you may want to perform back annotation. One such instance is to rename components. Right now, all the components in your design are named according to their order in schematics. However, in a larger board, it will be very hard to tell where a specific component is during debug. The components on the board will seem to be named in a random manner. Layout can rename your components for you, which will make finding them on the board much easier. To see the results of this operation, make the silkscreen layer visible again (SST). Select Options-->Components Renaming… and choose Right, Down… in the Rename Direction dialog.
![]() |
Next, choose Auto-->Rename Components. You silkscreen should look a lot different now.
|
Since you have changed the reference designators in your design, you need to generate a swap file and perform back annotation. You should do this IMMEDIATELY. If you don’t, it can cause some serious problems for you later in the design. When you read the swap file into Capture, you may get errors on renaming the mounting holes. It is safe to ignore these.
The next step in the design process is to check for any spacing errors. OrCAD uses the spacing variable that you set earlier to determine if there are errors in your design. We used 10 mil spacing from all features as a minimum for this design. To perform a Design Rule Check (DRC) choose Auto-->Design Rule Check… from the menu.
![]() |
Make sure all the Check Rule Settings are checked and click OK. Your design will rarely contain no errors, and you will need to look at the errors spreadsheet to see what the errors are. Some can be safely ignored.
![]() |
In this example there are four Pad Spacing Errors, one generated by each of the mounting holes. In this case OrCAD is complaining because the place outline for the part is on the edge of the board. This error is OK to ignore. If there are errors that need to be fixed, you can delete the marker from the spreadsheet. Let’s generate a route spacing error so you can see what it looks like. These are the most important. Move a trace anywhere in your design so that it conflicts with another trace or pad.
![]() |
Now rerun the DRC. The new errors should appear in the spreadsheet.
![]() |
You can remove the errors by moving the trace back to its original position. Once the error has been corrected, you can delete the marker from the errors spreadsheet. Do not try to use the Auto-->Remove Violations tool. It is tempting, but it will actually rip up offending traces and move parts. You will end up having to do a lot of cleanup and rerouting after using this tool.
Now it is time to clean up your design. You should think of your board as a work of art. Other people may look at it, so you want it to look nice. Furthermore, a clean design will ensure fabrication success. When cleaning the design, the following should be kept in mind.
A. Route Spacing – You have set a minimum of 10 mils for feature spacing in your design. However, do not pack traces closely together unless you have to. First, you can push the manufacturing limits to far and some of your boards may come back bad. Second, routing traces closely together is generally a bad idea because this can result in undesired mutual inductance between traces.
B. Right Angles in Traces – Don’t use right angles in routing your traces. Miter the corners.
|
C. Pad Exits – Trace exits from pads should be clean and not come out of the pad at unusual angles.
|
D. Remove Extra Vias – Vias add cost to a board, so it is a good practice to remove any unnecessary vias from your design.
E. Drills – Drills require some special attention. First, you need to fix the error you got earlier about the drills. This error occurs sometimes after you perform an ECO. To see the problem, make the Drill Drawing (DRD) layer visible. Press Backspace to clear the display and then Shift-5 to display just the DRD layer.
![]() |
The DRD layer is a documentation layer that contains a chart with all your drill sizes and their locations on the board. The problem is that two drills are using the same symbol. In this case it is the 14 mil drill and the 150 mil drill. To fix the problem, click View Spreadsheet and select Drills to view the drills spreadsheet.
|
You can double-click the Drill Size cell to adjust the Drill Properties. I suggest starting with symbol 1 for the 13 mil drill and incrementing from there. When you are done, you should have symbols 1 to 8, and you will no longer get the error when you open your design.
There is one other thing that needs to be done with regard to drills. Some board shops have limitations on the sizes of drills. The board shop we are using for this project offers only 16 drill sizes . They have programs that will scan your Gerber files and automatically adjust the drill sizes for you, but to avoid any problems it is wise to give them files with the correct sizes in the first place. This way you can be sure that your board will be manufactured exactly as you send it. It is also a good practice to consolidate drills anyway. In this design, we might try to adjust the footprints so that the 34 and 35 mil drill sizes are the same. The board shop will only have to use one drill bit, and this will save money.
To change the drills, we must edit the padstack in the original footprint. The Drill Drawing layer can help you find which footprints need to be changed. For example, we can see that the PLD and TIL311 use 34 mil drills. This is not a valid size, but a 35 mil drill is acceptable. Open the Library Manager and use the padstacks spreadsheet to adjust the drill sizes (DRILL and DRLDWG layers) for these two parts. The footprints you are adjusting should be DIP-14 and PLCC-44. You may have to adjust several padstacks in each footprint. In addition, make sure that the clearances we defined earlier for each layer are still good (they should be). Finally, when making changes to footprints like this it is always good to check the datasheet to make sure that the part will still fit. You are only making very small changes of 1 or 2 mils, but it is important to check.
Once you have made a change to a footprint, and now you need to update the footprint in Layout. Open the components spreadsheet and find the PLD. Double-click to bring up the Edit Component dialog box. Click the Footprint button to show the Select Footprint dialog.
![]() |
Choose the new footprint from your library (not the local cache) and click OK. Click OK again when asked for the Replacement Range. Do the same procedure for the TIL-311. When done refresh the display. Your drill chart should no longer show any 34 mil drills.
![]() |
Do the same thing for the parts with 37 mil drills and the 39 mil drills. Adjust the 37 down to 35, and adjust the 39 up to 40. When you are done, you should have only 6 unique drill sizes.
![]() |
F. An Orderly Silkscreen – Use the Text Tool to adjust the silkscreen. All text should be oriented in the same direction for readability. Silkscreen cannot overlap pads or vias (overlapping traces is OK). Change the Detail Grid to a finer setting if necessary. Reference designators should be placed as close to the part as possible. Polarity signs should be placed in the correct position.
|
Good documentation of your design will help both in manufacturing and debug. First, we can add some useful text to the board. For example, the MAX603 part has a maximum input voltage of 11.5V, so maybe we want to put some text on the board to indicate that. You can use the Text Tool to create new text. Right-click anywhere in the design and select New… to get the Text Edit dialog.
|
Most text you create will be Free. For good readability, I suggest a Line Width of 8 and a Text Height of 75. A 6 mil Line Width is about as small as you can go to keep the text readable.
There are a few other things we can place on the silkscreen to document our board. One very useful thing is to label the pins on the programming header for the PLD. This will make it easier to hook up the programmer.
![]() |
It is also useful to label the IO header pins with the pin numbers of the PLD that connect to it. You can also remove the pin numbers of the connector itself to avoid confusion.
![]() |
It is also customary to add a logo and some information about the board, as well as the initials of the person who designed it. First, let’s add a logo for Rice University. Using the Component Tool, right-click and select New… Give this new component a reference designator of OWL1. The Footprint should be RICELOGO from your library. The logo will actually be in the metal layer, so place it somewhere where it will not interfere with any traces or pads. When placed, open the Edit Component dialog from the components spreadsheet and check the Fixed, Non-Electric and Locked boxes, uncheck the Route Enabled box. When you next save your design you will be asked to back annotate since you just added a new component.
![]() |
Next, we will add the some information about the board. You will use the Text Tool, but place this information on the TOP layer instead of silkscreen (SSTOP).
![]() |
We also need to add a few things to the Drill Drawing layer. It is customary to provide board dimensions and engineering contact information on this layer. Make the Drill Drawing layer visible if it is not already. First move the drill chart to the right of the board by selecting ToolàDrill ChartàMove Drill Chart from the menu. Next, add dimension lines using ToolàDimensionàNew. Your board should measure exactly 3000 mils by 2000 mils. Now use the Text Tool to add some text with your name, phone number and email beneath the drill chart. When you are done everything should look like this.
![]() |
For the final documentation steps, you will need to turn on some of the other layers. Make sure that all of the following layers are visible: TOP, BOT, GND, PWR, SMT, SMB, SST, DRD. You are going to add some text to each layer (outside the boundary of the board) to indicate what layer this is. This is necessary because you will make a separate Gerber file for each layer and you will need to be able to tell which layer you are viewing. Using the Text Tool put the following text on each layer above the board and aligned with the left edge:
![]() |
Finally, we need to add some cut lines to mark the board outline on the TOP and silkscreen (SST) layers. The board shop will use these cut lines to route out the board from a larger panel. Click View Spreadsheet and then Obstacles to open the obstacles spreadsheet. Find your board outline. It will be the only one with the obstacle type of Board outline. Press CTRL-C twice to create two copies of the board outline. Double-click one to open the Edit Obstacle dialog. Change the Obstacle Type to Detail, Width to 10 and the Obstacle Layer to TOP. Do the same with the other one, but place it on the SSTOP layer.
![]() |
Your design is now complete and you are ready to generate Gerber files for fabrication. Before proceeding, you will want to run the DRC again to check for errors. Once all errors are resolved, you can proceed to the next step. The Rice logo will generate some errors that can be ignored.
So, you’ve finished your design and you are ready to send off the Gerber files for fabrication. Creating the Gerber files is quite easy. First, select Options-->Post Process Settings… You already set these when you made your board template, but just check to make sure that the following Plot output File Names are Batch Enabled: *.TOP, *.BOT, *.GND, *.PWR, *.SMT, *.SMB, *.SST, and *.DRD. Also verify that each output file’s Device is EXTENDED GERBER. If everything looks OK, then select Auto-->Run Post Processor from the menu. You will get a series of dialog boxes, just click OK, and then you will see a lis file in Notepad with a report of the processing. At the very bottom of the file, it should say No warnings or errors. That’s it. Your Gerber files have been made. If you look in your board directory, you will see the files with the extensions listed above, plus a few others.
Before submitting your Gerber files for fabrication, it is best to look at them in a Gerber viewer. You will often catch mistakes there that you don’t see in layout. OrCAD has a built in Gerber viewer and editor called GerbTool. This is actually a very powerful program that you can use to edit the Gerber files, but you will just use it to look at them for now. In the main Layout window select Tools-->GerbTool-->Open… In your board directory there should be a file called Elec424Tutorial.gtd. Find this file and open it. You should see your design in GerbTool.
![]() |
As noted before, GerbTool can do many different things with your design. However, the only thing that concerns you here is inspecting your Gerber files. The buttons on the right side of the screen control which layers are visible. Use them to inspect each layer individually. Once you are satisfied that each layer looks in order, close GerbTool. You do not need to save any changes when prompted.