<?xml version="1.0" encoding="utf-8" standalone="no"?>
<!DOCTYPE document PUBLIC "-//CNX//DTD CNXML 0.5//EN" "http://cnx.rice.edu/cnxml/0.5/DTD/cnxml_plain.dtd">
<document xmlns="http://cnx.rice.edu/cnxml" xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="Module.2003-11-10.3948">
  <name xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">Starting Layout in OrCAD</name>
  <metadata xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">
  <md:version xmlns:bib="http://bibtexml.sf.net/">1.6</md:version>
  <md:created xmlns:bib="http://bibtexml.sf.net/">2003/11/10 12:39:48 US/Central</md:created>
  <md:revised xmlns:bib="http://bibtexml.sf.net/">2004/01/29 14:22:11.037 US/Central</md:revised>
  <md:authorlist xmlns:bib="http://bibtexml.sf.net/">
    <md:author xmlns:bib="http://bibtexml.sf.net/" id="jpfrantz">
      <md:firstname xmlns:bib="http://bibtexml.sf.net/">Patrick</md:firstname>
      
      <md:surname xmlns:bib="http://bibtexml.sf.net/">Frantz</md:surname>
      <md:email xmlns:bib="http://bibtexml.sf.net/">jpfrantz@rice.edu</md:email>
    </md:author>
  </md:authorlist>

  <md:maintainerlist xmlns:bib="http://bibtexml.sf.net/">
    <md:maintainer xmlns:bib="http://bibtexml.sf.net/" id="jpfrantz">
      <md:firstname xmlns:bib="http://bibtexml.sf.net/">Patrick</md:firstname>
      
      <md:surname xmlns:bib="http://bibtexml.sf.net/">Frantz</md:surname>
      <md:email xmlns:bib="http://bibtexml.sf.net/">jpfrantz@rice.edu</md:email>
    </md:maintainer>
    <md:maintainer xmlns:bib="http://bibtexml.sf.net/" id="deaniafe">
      <md:firstname xmlns:bib="http://bibtexml.sf.net/">Deania</md:firstname>
      <md:othername xmlns:bib="http://bibtexml.sf.net/">M.</md:othername>
      <md:surname xmlns:bib="http://bibtexml.sf.net/">Fernandez</md:surname>
      <md:email xmlns:bib="http://bibtexml.sf.net/">deaniafe@rice.edu</md:email>
    </md:maintainer>
  </md:maintainerlist>
  
  <md:keywordlist xmlns:bib="http://bibtexml.sf.net/">
    <md:keyword xmlns:bib="http://bibtexml.sf.net/">OrCAD</md:keyword>
    <md:keyword xmlns:bib="http://bibtexml.sf.net/">Cadence</md:keyword>
  </md:keywordlist>

  <md:abstract xmlns:bib="http://bibtexml.sf.net/">Step-by-step tutorial of how to start OrCAD Layout.</md:abstract>
</metadata>

<content xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">
<note xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" type="warning">The Connexions version of the OrCAD tutorial is still in development. Please <link xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" src="http://koala.ece.rice.edu/index.cfm?page=pub"> click here</link> 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 <link xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" src="http://cnx.rice.edu">http://cnx.rice.edu</link>.  Click on the 'Contents' tab and select Rice University ELEC 424/427 under the 'Courses' tab.</note>
<section xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="CreatingNew">
<name xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">Creating a New Board</name>
<para xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="CreatingNew1">
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 <term xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">Library Manager</term>. Your library must be at the top of the list in <term xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">Library Manager</term> or the import will not work. Open <term xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">Library Manager</term> and make sure that your library appears at the top of the list like in the figure below.
</para>

<figure xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="fig1">
<media xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" type="image/gif" src="Libraries.gif"/>
</figure>

<para xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="CreatingNew2">
Now start Layout and select <term xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">File--&gt;New</term>. You will first be prompted for the template file you created. It should be located in your <term xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/"><code xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">board</code></term> directory. Second, you will be asked for your netlist. This should be located in your <term xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/"><code xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">sch</code></term> directory. Third, you will be asked to give your board file a name. Name this file <term xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">Elec424Tutorial</term> and place it in the <term xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/"><code xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">board</code></term> directory.
</para>

<para xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="CreatingNew3">
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.
</para>

<para xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="CreatingNew4">
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.
</para>

<figure xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="fig2">
<media xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" type="image/gif" src="NewLayout.gif"/>
</figure>

<para xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="CreatingNew5">
One useful tool for finding an error is the <term xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/"><code xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">lis</code></term> file. When Layout performed the import, it generated a file called <term xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">Elec424Tutorial.lis</term> 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.
</para>
</section>

<section xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="Getting">
<name xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">Getting Around &amp; Placing Parts</name>
<para xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="Getting1">
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). 

<figure xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="fig3">
<media xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" type="image/gif" src="DRC.gif"/>
</figure>

We will use it later when routing, but not now. When you do this, the box with the dashed line border will disappear. Second, I like to turn off a few layers at this point, just to make the screen a little easier to look at. You will notice a drop down box with the <term xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">TOP</term> layer listed. This box lets you select the active layer.
</para> 

<para xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="note1"><note xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">Layout has many shortcut keys to help you move around the program. They are extremely useful, and I encourage you to be familiar with them. For a complete description, search the help file for <term xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">keyboard shortcuts</term>.</note>
</para>


<figure xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="fig4">
<media xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" type="image/gif" src="LayerDropDownBox.gif"/>
</figure>

<para xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="Getting2">
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.
</para>

<figure xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="fig5">
<media xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" type="image/gif" src="LayerDropDownBoxInvis.gif"/>
</figure>

<para xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="Getting3">
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: <term xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">SMTOP</term>, <term xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">SMBOT</term>, <term xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">AST</term>, <term xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">ASB</term>, <term xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">DRD</term>, <term xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">DRL</term>. 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 <term xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">View Spreadsheet</term> icon and select <term xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">Nets</term>. Remember when you used this spreadsheet before? It had just one net called <term xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">DEFAULT</term>. 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 <term xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">Net Name</term>. Right-click and choose <term xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">Properties</term>. Uncheck the <term xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">Routing Enabled</term> box and click <term xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">OK</term>. The ratsnest should have disappeared.
</para>

<figure xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="fig6">
<media xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" type="image/gif" src="NewLayoutNoRatsnest.gif"/>
</figure>

<para xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="Getting4">
You are now ready to place parts on your design. To get into parts placement mode, make sure that the <term xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">Component Tool</term> is selected. 

<figure xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="fig7">
<media xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" type="image/gif" src="ComponentTool.gif"/>
</figure>

In addition to placing the components that are in your schematics, you can also place non-electrical components right in Layout. You will do that now to place some mounting holes on your board. While using the <term xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">Component Tool</term>, right-click and select <term xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">New</term> to bring up the <term xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">Add Component</term> dialog box.
</para>

<figure xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="fig8">
<media xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" type="image/gif" src="AddComponent.gif"/>
</figure>

<para xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="Getting5">
Give this component a reference designator of <term xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">MT1</term>. Then click the <term xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">Footprint</term> button and select the <term xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">BUMPER</term> footprint from your library. Click <term xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">OK</term> 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 ‘<term xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">T</term>’ 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.
</para>

<figure xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="fig9">
<media xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" type="image/gif" src="PlacingAMountingHole.gif"/>
</figure>

<para xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="Getting6">
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 <term xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">View Spreadsheet</term> icon and choose <term xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">Components</term> to open the components spreadsheet. Scroll down until you see the component you just placed, <term xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">MT1</term>.  Like in other spreadsheets, you can press <term xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">CTRL-C</term> to make a copy of the component. Do this 3 times to make components <term xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">MT2</term> to <term xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">MT4</term>. When you copy the component, it will be placed at 0,0, all three need to be moved. Double-click <term xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">MT2</term> to bring up the <term xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">Edit Component</term> dialog box.
</para>

<figure xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="fig10">
<media xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" type="image/gif" src="EditComponent.gif"/>
</figure>

<para xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="Getting7">
Change the coordinates for this part to 2800,200 and click <term xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">OK</term>. 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 <term xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">CTRL</term> key. Right-click and select <term xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">Properties</term> to bring up the <term xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">Edit Component</term> dialog again. Since these are non-electric parts, uncheck the box labeled <term xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">Non-Electric</term>. Also, we don’t want to accidentally move the part, so check the box labeled <term xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">Fixed</term> and the box labeled <term xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">Locked</term>. Finally, uncheck the box labeled <term xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">Route Enabled</term>. Click <term xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">OK</term> to close the dialog and then close the spreadsheet. Your board should now look like this.
</para>

<figure xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="fig11">
<media xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" type="image/gif" src="LayoutMountingHolesPlaced.gif"/>
</figure>

<para xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="Getting8">
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 <term xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">GND</term>. Right-click and select <term xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">Change Color</term>. Choose any color you like. Right-click again and select <term xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">Enable &lt;-&gt; Disable</term>. 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 <term xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">Refresh All</term> icon to force OrCAD to redraw connections.
</para>

<figure xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="fig12">
<media xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" type="image/gif" src="RefreshAll.gif"/>
<caption xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">Refresh All Icon</caption>
</figure>

<para xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="Getting9">
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 <term xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">Options--&gt;System Settings</term> and then changing the <term xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">Place Grid</term> setting. I usually use a value of 25. I also like to adjust the <term xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">Visible Grid</term> setting to give me an on-screen reference. I usually use a value of 50 when placing components.
</para>

<para xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="Getting10">
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.
</para>

<figure xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="fig13">
<media xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" type="image/gif" src="LayoutCompsPlaced.gif"/>
</figure>

<para xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="Getting11">
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 <term xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">SST</term> layer now using the same method you used before for the other layers.
</para>

<para xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="Getting12">
Save your design. We have added a few components, so you may get the following warning.
</para>

<figure xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="fig14">
<media xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" type="image/gif" src="SwapCaution.gif"/>
</figure>

<para xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="Getting13">
We will address this later. Do not worry about it now.
</para>

<para xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="Getting14">
<note xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" type="warning">
OrCAD has a method to allow you to change your schematics while in Layout and to also make changes in Layout that will get sent back to Capture. Because of this, do not change your schematics until you are ready to re-export your design to Layout. If you make changes to both the schematics and the board layout at the same time, you will only make it difficult to reconcile the two.
</note>
</para>
</section>

<section xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="Routing">
<name xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">Routing Power, Ground &amp; Copper Pours</name>
<para xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="Routing1">
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 <term xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">GND</term>. Double-click to open the <term xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">Edit Net</term> dialog and click the button labeled <term xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">Net Layers…</term> Under the section <term xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">Plane Layers</term>, check the box labeled <term xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">GND</term>. This will inform OrCAD that the net <term xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">GND</term> is associated with the solid plane on layer 2. Do the same thing for the net <term xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">VCC5</term>. When you close the spreadsheet, click the <term xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">Refresh All</term> button. The ratsnests for <term xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">VCC5</term> and <term xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">GND</term> will disappear. This is because they are now connected to the plane layer. To see this, press <term xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">Backspace</term> to clear the screen, then press ‘<term xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">3</term>’ (the shortcut key for the ground layer) to view the ground layer.
</para>

<figure xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="fig15">
<media xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" type="image/gif" src="LayoutGroundPlane.gif"/>
</figure>

<para xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="Routing2">
You can now see all of the connections to the ground plane. You can do the same thing for the power plane. Press ‘<term xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">F5</term>’ or the <term xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">Refresh All</term> button to make the whole design visible again.
</para>

<para xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="Routing3">
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 <term xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">Obstacle Tool</term> just like when drawing obstacles for footprints. Turn the <term xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">Obstacle Tool</term> on and then right-click anywhere in your design. Select <term xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">New…</term> and then right-click again and select <term xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">Properties…</term> to bring up the <term xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">Edit Obstacle</term> dialog. Name this obstacle VCC_IN, leave the Width at 10 mils. Set the Clearance to 15 mils Change the <term xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">Obstacle Type</term> to <term xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">Copper</term> pour. Finally, set the <term xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">Net Attachment</term> to the name of the net, which should be <term xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">V_IN</term>. Click <term xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">OK</term> 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 <term xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">Refresh All</term> to redraw the ratsnests.
</para>

<figure xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" orient="horizontal" id="horfig1">
<subfigure xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="subfig1">
<media xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" type="image/gif" src="LayoutCopperPour1.gif"/>
</subfigure>

<subfigure xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="subfig2">
<media xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" type="image/gif" src="LayoutCopperPour2.gif"/>
</subfigure>
</figure>

<para xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="Routing4">
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 <term xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">View Spreadsheets</term> icon and choose <term xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">Statistics</term>. The statistics spreadsheet gives you information on time in layout, percent of components placed, percent of traces routed, and some other information. 
</para>

<figure xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="fig16">
<media xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" type="image/gif" src="StatisticsSpreadsheet.gif"/>
</figure>

<para xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="Routing5">
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.
</para>
</section>

<section xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="RoutingOther">
<name xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">Routing Other Nets</name>
<para xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="RoutingOther1">
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 <term xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">Enable &lt;-&gt; Disable</term> to make the ratsnets visible for the remaining nets. Refresh the display to clean things up a bit.
</para>

<para xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="RoutingOther2">
Before beginning routing in earnest, it is helpful to change a few settings. Open the <term xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">System Settings</term> and make the following changes: <term xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">Visible Grid</term> = 10, <term xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">Routing Grid</term> = 5, and <term xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">Via Grid</term> = 0. Next, select <term xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">Options--&gt;User Preferences</term> and check <term xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">Allow DRC Errors</term> under <term xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">Global Preferences</term>. You may have to check the box labeled <term xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">Activate Online DRC</term>. 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 ‘<term xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">B</term>’ and drawing a new rectangle.
</para>

<para xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="RoutingOther3">
Let’s route a connection. Turn on the <term xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">Edit Segment Mode</term> or <term xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">Add/Edit Route Mode</term>. 

<figure xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="fig17">
<media xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" type="image/gif" src="RouteModes.gif"/>
<caption xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">Routing Mode Icons</caption>
</figure>

The two have some subtle differences. Experiment with both to see which one you are most comfortable with. Let’s start by routing the connection for the pushbutton switch. Zoom in a bit and click on the ratsnest near pin 4 of the switch. Left-click to place a segment of a route. When you get near to pin 3, you can press ‘<term xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">F</term>’ to have Layout finish the trace for you. Pins 3 and 4 should now be connected. Now connect the resistor and capacitor that are nearby.
</para>

<figure xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="fig18">
<media xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" type="image/gif" src="FirstRoute1.gif"/>
</figure>

<para xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="RoutingOther4">
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.
</para>

<para xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="RoutingOther5">
<note xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" type="warning">It is a good design practice to keep routes on one layer oriented in the same direction. For example, you might want to have all traces on the top layer oriented horizontally, while all routes on the bottom are oriented vertically. Doing this increases the number of vias that are needed, but makes routing much easier, especially in very dense designs. After routing is complete, you can go back and remove unnecessary vias. Of course, sometimes it will be impossible to adhere to this guideline.</note>
</para>

<para xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="RoutingOther6">
Route the trace to the top of the PLD. When you get near the top, you can press ‘<term xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">V</term>’ to place a via. Then you can switch to the top layer to complete the trace.
</para>

<figure xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" orient="horizontal" id="horfig2">
<subfigure xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="subfig3">
<media xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" type="image/gif" src="FirstRoute2.gif"/>
</subfigure>

<subfigure xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="subfig4">
<media xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" type="image/gif" src="FirstRoute3.gif"/>
</subfigure>
</figure>

<para xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="RoutingOther7">
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.
</para>

<figure xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="fig21">
<media xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" type="image/gif" src="LayoutRoutingDone.gif"/>
</figure>

<para xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="RoutingOther8">
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.
</para>
</section>

<section xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="Performing">
<name xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">Performing ECOs &amp; Back Annotation</name>
<para xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="Performing1">
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.
</para>

<para xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="Performing2">
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 <term xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">Auto--&gt;Back Annotate</term>. OrCAD will create a swap file called <term xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">Elec424Tutorial.swp</term> in your board directory. It is safe to overwrite your existing <term xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/"><code xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">board</code></term> 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 <term xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">Tools--&gt;Back Annotate…</term> You can leave the <term xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">Scope</term> and <term xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">Mode</term> settings untouched. Use the <term xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">Browse</term> button to find your swap file. Click <term xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">OK</term> 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.
</para>

<para xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="Performing3">
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.
</para>

<figure xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="fig22">
<media xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" type="image/gif" src="DecouplingCaps1.gif"/>
</figure>

<figure xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="fig23">
<media xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" type="image/gif" src="DecouplingCaps2.gif"/>
</figure>

<para xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="Performing4">
Next, save the design and regenerate the netlist as described previously. Close your board in Layout, but keep Layout running. In Layout select <term xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">Tools--&gt;ECOs--&gt;Auto ECO</term>. First, you will be asked for your original board file. Find the file <term xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">Elec424Tutorial.max</term> in your board directory. Second, you will be asked for the new netlist file that you just created. Find the <term xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">Elec424Tutorial.mnl</term> file in your <term xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/"><code xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">sch</code></term> directory. Finally, you will be asked for a <term xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/"><code xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">lis</code></term> 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 <term xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/"><code xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">lis</code></term> file in Notepad with a report of what happened during the ECO.  

<figure xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="fig24">
<media xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" type="image/gif" src="ECOReport.gif"/>
</figure>

You will also be prompted to save the new board file. If the report looks OK, then go ahead and overwrite your existing board file. In our example here, we deleted <term xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">C11</term>, so the report should look something like the diagram on the left. If you open the new board file, you will see that capacitor <term xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">C11</term> is no longer in the design.
</para>

<figure xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" orient="horizontal" id="horfig3">
<subfigure xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="subfig5">
<media xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" type="image/gif" src="ECO-Before.gif"/>
<caption xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">Before ECO</caption>
</subfigure>

<subfigure xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="subfig6">
<media xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" type="image/gif" src="ECO-After.gif"/>
<caption xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">After ECO</caption>
</subfigure>
</figure>

<para xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="Performing5">
When you open your board after an ECO, you may get the following message.
</para>

<figure xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="fig25">
<media xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" type="image/gif" src="DrillChartDuplicate.gif"/>
</figure>

<para xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="Performing6">
Just click <term xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">OK</term>. We will fix this problem a little bit later.
</para>

<para xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="Performing7">
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.
</para>

<figure xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="fig26">
<media xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" type="image/gif" src="ECO-AddingNewComp.gif"/>
</figure>

<para xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="Performing8">
When you cut and paste a component, every property gets copied, including the reference designator. This design now has two capacitors called <term xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">C10</term>. 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 <term xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">C?</term>. 
</para>

<para xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="Performing9">
<note xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" type="warning">After Layout has begun, any new parts in schematics should be given a ‘?’ in the reference designator. Then let Capture’s annotation utilities give a new number to the part.</note>
</para>

<para xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="Performing10">
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 <term xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">Component Tool</term> to place it in the proper location. You could also avoid this problem by resetting the coordinate properties in Capture before regenerating the netlist.
</para>

<para xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="Performing11">
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 (<term xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">SST</term>). Select <term xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">Options--&gt;Components Renaming…</term> and choose <term xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">Right, Down…</term> in the <term xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">Rename Direction</term> dialog.
</para>

<figure xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="fig27">
<media xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" type="image/gif" src="ComponentsRenaming.gif"/>
</figure>

<para xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="Performing12">
Next, choose <term xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">Auto--&gt;Rename Components</term>. You silkscreen should look a lot different now.
</para>

<figure xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" orient="horizontal" id="horfig4">
<subfigure xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="subfig7">
<media xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" type="image/gif" src="SilkscreenBeforeRename.gif"/>
<caption xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">Before Renaming</caption>
</subfigure>

<subfigure xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="subfig8">
<media xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" type="image/gif" src="SilkscreenAfterRename.gif"/>
<caption xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">After Renaming</caption>
</subfigure>
</figure>

<para xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="Performing13">
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 <term xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">IMMEDIATELY</term>. 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.
</para>
</section>

<section xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="Checking">
<name xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">Checking for Errors</name>
<para xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="Checking1">
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 <term xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">Auto--&gt;Design Rule Check…</term> from the menu.
</para>

<figure xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="fig28">
<media xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" type="image/gif" src="CheckDesignRules.gif"/>
</figure>

<para xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="Checking2">
Make sure all the <term xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">Check Rule Settings</term> are checked and click <term xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">OK</term>. 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.
</para>

<figure xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="fig29">
<media xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" type="image/gif" src="ErrorSpreadsheet1.gif"/>
</figure>

<para xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="Checking3">
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.
</para>

<figure xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="fig30">
<media xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" type="image/gif" src="RouteSpacingError.gif"/>
</figure>

<para xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="Checking4">
Now rerun the DRC. The new errors should appear in the spreadsheet.
</para>

<figure xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="fig31">
<media xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" type="image/gif" src="ErrorSpreadsheet2.gif"/>
</figure>

<para xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="Checking5">
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 <term xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">Auto--&gt;Remove Violations</term> 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.
</para>
</section>

<section xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="Cleaning">
<name xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">Cleaning Up &amp; the Design</name>
<para xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="Cleaning1">
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.
</para>

<para xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="Cleaning2">
<term xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">A. Route Spacing</term> – 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.
</para>

<para xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="Cleaning3">
<term xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">B. Right Angles in Traces</term> – Don’t use right angles in routing your traces. Miter the corners.
</para>

<figure xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" orient="horizontal" id="horfig5">
<subfigure xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="subfig9">
<media xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" type="image/gif" src="RightAngle1.gif"/>
<caption xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">BAD</caption>
</subfigure>

<subfigure xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="subfig10">
<media xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" type="image/gif" src="RightAngle2.gif"/>
<caption xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">GOOD</caption>
</subfigure>
</figure>

<para xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="Cleaning4">
<term xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">C. Pad Exits</term> – Trace exits from pads should be clean and not come out of the pad at unusual angles.
</para>

<figure xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" orient="horizontal" id="horfig6">
<subfigure xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="subfig11">
<media xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" type="image/gif" src="PadExitsBad.gif"/>
<caption xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">BAD</caption>
</subfigure>

<subfigure xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="subfig12">
<media xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" type="image/gif" src="PadExitsGood.gif"/>
<caption xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">GOOD</caption>
</subfigure>
</figure>

<para xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="Cleaning5">
<term xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">D. Remove Extra Vias</term> – Vias add cost to a board, so it is a good practice to remove any unnecessary vias from your design.
</para>

<para xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="Cleaning6">
<term xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">E. Drills</term> – 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 <term xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">Drill Drawing (DRD)</term> layer visible.  Press <term xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">Backspace</term> to clear the display and then <term xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">Shift-5</term> to display just the <term xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">DRD</term> layer.
</para>

<figure xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="fig32">
<media xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" type="image/gif" src="DrillDrawingLayer.gif"/>
</figure>


<para xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="Cleaning7">
The <term xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">DRD</term> 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 <term xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">View Spreadsheet</term> and select <term xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">Drills</term> to view the drills spreadsheet.
</para>

<figure xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" orient="horizontal" id="horfig7">
<subfigure xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="subfig13">
<media xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" type="image/gif" src="DrillsSpreadsheet.gif"/>
</subfigure>

<subfigure xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="subfig14">
<media xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" type="image/gif" src="DrillProperties.gif"/>
</subfigure>
</figure>

<para xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="Cleaning8">
You can double-click the <term xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">Drill Size</term> cell to adjust the <term xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">Drill Properties</term>. I suggest starting with symbol <term xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">1</term> for the 13 mil drill and incrementing from there. When you are done, you should have symbols <term xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">1</term> to <term xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">8</term>, and you will no longer get the error when you open your design.
</para>

<para xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="Cleaning9">
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.
</para>

<para xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="Cleaning10">
To change the drills, we must edit the padstack in the original footprint. The <term xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">Drill Drawing</term> 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 <term xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">Library Manager</term> and use the padstacks spreadsheet to adjust the drill sizes (<term xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">DRILL</term> and <term xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">DRLDWG</term> layers) for these two parts. The footprints you are adjusting should be <term xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">DIP-14</term> and <term xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">PLCC-44</term>. 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.
</para>

<para xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="Cleaning11">
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 <term xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">Edit Component</term> dialog box. Click the <term xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">Footprint</term> button to show the <term xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">Select Footprint</term> dialog.
</para>

<figure xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="fig33">
<media xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" type="image/gif" src="SelectFootprint.gif"/>
</figure>

<para xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="Cleaning12">
Choose the new footprint from your library (not the local cache) and click <term xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">OK</term>. Click <term xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">OK</term> again when asked for the <term xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">Replacement Range</term>. Do the same procedure for the TIL-311. When done refresh the display. Your drill chart should no longer show any 34 mil drills.
</para>

<figure xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="fig34">
<media xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" type="image/gif" src="DrillDrawingLayer2.gif"/>
</figure>

<para xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="Cleaning13">
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.
</para>

<figure xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="fig35">
<media xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" type="image/gif" src="DrillDrawingLayer3.gif"/>
</figure>

<para xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="Cleaning14">
<term xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">F. An Orderly Silkscreen</term> – Use the <term xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">Text Tool</term> 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 <term xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">Detail Grid</term> 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.
</para>

<figure xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" orient="horizontal" id="horfig8">
<subfigure xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="subfig15">
<media xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" type="image/gif" src="SilkscreenDirty.gif"/>
<caption xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">BAD</caption>
</subfigure>

<subfigure xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="subfig16">
<media xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" type="image/gif" src="SilkscreenClean.gif"/>
<caption xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">GOOD</caption>
</subfigure>
</figure>
</section>

<section xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="Documenting">
<name xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">Documenting the Design</name>
<para xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="Doc1">
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 <term xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">Text Tool</term> to create new text. Right-click anywhere in the design and select <term xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">New…</term> to get the <term xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">Text Edit</term> dialog.
</para>

<figure xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" orient="horizontal" id="horfig9">
<subfigure xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="subfig17">
<media xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" type="image/gif" src="TextEdit.gif"/>
</subfigure>

<subfigure xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="subfig18">
<media xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" type="image/gif" src="Silkscreen1.gif"/>
</subfigure>
</figure>

<para xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="Doc2">
Most text you create will be <term xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">Free</term>. For good readability, I suggest a <term xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">Line Width</term> of 8 and a <term xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">Text Height</term> of 75.  A 6 mil <term xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">Line Width</term> is about as small as you can go to keep the text readable.
</para>

<para xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="Doc3">
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.
</para>

<figure xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="fig36">
<media xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" type="image/gif" src="Silkscreen2.gif"/>
</figure>

<para xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="Doc4">
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.
</para>

<figure xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="fig37">
<media xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" type="image/gif" src="Silkscreen3.gif"/>
</figure>

<para xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="Doc5">
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 <term xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">Component Tool</term>, right-click and select <term xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">New…</term> Give this new component a reference designator of <term xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">OWL1</term>. The <term xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">Footprint</term> should be <term xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">RICELOGO</term> 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 <term xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">Edit Component</term> dialog from the components spreadsheet and check the <term xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">Fixed</term>, <term xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">Non-Electric</term> and <term xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">Locked</term> boxes, uncheck the <term xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">Route Enabled</term> box. When you next save your design you will be asked to back annotate since you just added a new component.
</para>

<figure xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="fig38">
<media xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" type="image/gif" src="RiceLogo.gif"/>
</figure>

<para xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="Doc6">
Next, we will add the some information about the board. You will use the <term xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">Text Tool</term>, but place this information on the <term xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">TOP</term> layer instead of silkscreen (<term xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">SSTOP</term>).
</para>

<figure xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="fig39">
<media xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" type="image/gif" src="BoardInformation.gif"/>
</figure>

<para xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="Doc7">
We also need to add a few things to the <term xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">Drill Drawing</term> layer. It is customary to provide board dimensions and engineering contact information on this layer. Make the <term xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">Drill Drawing</term> 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. 
</para>

<figure xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="fig40">
<media xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" type="image/gif" src="DrillDrawingLayer4.gif"/>
</figure>

<para xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="Doc8">
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: <term xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">TOP</term>, <term xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">BOT</term>, <term xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">GND</term>, <term xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">PWR</term>, <term xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">SMT</term>, <term xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">SMB</term>, <term xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">SST</term>, <term xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">DRD</term>. 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 <term xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">Text Tool</term> put the following text on each layer above the board and aligned with the left edge:
</para>

<figure xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="fig41">
<media xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" type="image/jpg" src="ScreenHunter_016.jpg"/>
</figure>

<para xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="Doc9">
Finally, we need to add some cut lines to mark the board outline on the <term xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">TOP</term> and silkscreen (<term xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">SST</term>) layers. The board shop will use these cut lines to route out the board from a larger panel. Click <term xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">View Spreadsheet</term> and then <term xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">Obstacles</term> to open the obstacles spreadsheet. Find your board outline. It will be the only one with the obstacle type of <term xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">Board outline</term>. Press <term xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">CTRL-C</term> twice to create two copies of the board outline. Double-click one to open the <term xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">Edit Obstacle</term> dialog. Change the <term xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">Obstacle Type</term> to <term xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">Detail</term>, <term xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">Width</term> to 10 and the <term xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">Obstacle Layer</term> to <term xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">TOP</term>. Do the same with the other one, but place it on the <term xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">SSTOP</term> layer. 
</para>

<figure xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="fig42">
<media xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" type="image/gif" src="CutLines.gif"/>
</figure>

<para xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="Doc10">
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.
</para>
</section>

<section xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="Gerber">
<name xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">Creating Gerber Files</name>
<para xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="Gerber1">
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 <term xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">Options--&gt;Post Process Settings…</term> You already set these when you made your board template, but just check to make sure that the following <term xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">Plot output File Names</term> are <term xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">Batch Enabled</term>: <term xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">*.TOP</term>, <term xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">*.BOT</term>, <term xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">*.GND</term>, <term xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">*.PWR</term>, <term xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">*.SMT</term>, <term xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">*.SMB</term>, <term xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">*.SST</term>, and <term xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">*.DRD</term>. Also verify that each output file’s <term xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">Device</term> is <term xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">EXTENDED GERBER</term>. If everything looks OK, then select <term xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">Auto--&gt;Run Post Processor</term> from the menu. You will get a series of dialog boxes, just click OK, and then you will see a <term xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/"><code xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">lis</code></term> file in Notepad with a report of the processing. At the very bottom of the file, it should say <term xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">No warnings or errors</term>. That’s it. Your Gerber files have been made. If you look in your <term xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/"><code xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">board</code></term> directory, you will see the files with the extensions listed above, plus a few others.
</para>
</section>

<section xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="Viewing">
<name xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">Viewing the Gerber Files</name>
<para xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="Viewing1">
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 <term xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">Tools--&gt;GerbTool--&gt;Open…</term> In your board directory there should be a file called <term xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">Elec424Tutorial.gtd</term>. Find this file and open it. You should see your design in GerbTool.
</para>

<figure xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="fig43">
<media xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" type="image/gif" src="GerbTool.gif"/>
</figure>

<para xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="Viewing2">
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.
</para>
</section>





</content>
  
</document>
