Professional Documents
Culture Documents
Manual en
Manual en
Manual Version 5
5th Edition
00112570
How to reach us Phone: Fax: E-mail: Web: Office Hours are: Mon Thu: Fri: +1 954-237-0932 +1 954-237-0968 support@cadsoftusa.com http://www.cadsoftusa.com
9 am to 5 pm EST 9 am to 4 pm EST
CadSoft Computer 19620 Pines Blvd. Suite 217 Pembroke Pines, Florida 33029 U.S.A.
This software and documentation are copyrighted by CadSoft Computer, doing business under the trade name EAGLE. The software and documentation are licensed, not sold, and may be used or copied only in accordance with the EAGLE License Agreement accompanying the software and/or reprinted in this document. This software embodies valuable trade secrets proprietary to CadSoft Computer. Specifications subject to change without notice. Copyright 1988-2010 CadSoft Computer. All rights reserved worldwide. No part of this publication may be reproduced, stored in a retrieval system, or transmitted, in any form or by any means, electronic, mechanical, photocopying, recording, scanning, digitizing, or otherwise, without the prior consent of CadSoft Computer. Printing this manual for your personal use is allowed. CadSoft Computer is a trading division of Newark Corporation. Windows is a registered trademark of Microsoft Corporation. Linux is a registered trademark of Linus Torvalds. Mac is a registered trademark of Apple Computer, Inc.
EAGLELICENSEAGREEMENT
Thisisalegalagreementbetweenyou,theenduser,andCadSoftComputer,which marketssoftwareproductsunderthetrademarkEAGLE.CadSoftComputershallbe referred toin this Agreement asCadSoft.If youdonot agreetotheterms of this Agreement,promptlyreturnthediskettepackageandaccompanyingitems(including writtenmaterialsandcontainers)totheplaceyouobtainedthemforafullrefund. USEOFTHISPRODUCTCONSTITUTESYOURACCEPTANCEOFTHESETERMSAND CONDITIONSANDYOURAGREEMENTTOABIDEBYTHEM.
GrantofLicense
CadSoftgrantstoyoutherighttouseonecopyoftheaccompanyingEAGLEsoftware programandanyandallupdates thatyoumayreceive (theSoftware) onasingle computerorworkstation.Youmay,however,installtheSoftwareonmorethanone computeroronafileserverprovidedyoudonotoperatetheSoftwareonmorethan onecomputerorworkstationatatime.
Copyright
TheSoftwareisownedbyCadSoftandisprotectedbyUnitedStatescopyrightlaws andinternationaltreatyprovisions.Therefore,youmusttreattheSoftwarelikeany othercopyrightedmaterial(e.g.,abookormusicalrecording).Youmaynotcopythe writtenmaterialsaccompanyingtheSoftware.
OtherRestrictions
YoumaynotrentorleasetheSoftware,butyoumaytransferyourstandalonecopyof theSoftwareandaccompanyingwrittenmaterialsonapermanentbasisprovidedyou retainnocopies andtherecipient agrees tothetermsofthisAgreement.Anysuch transfermustincludeallupdatesandpriorversionsoftheSoftwareandaccompanying writtenmaterials,andnoticemustbegivenbyyoutoCadSoftthatsuchtransferhas taken place. You may not reverse engineer, decompile, disassemble, or create derivative works based on the Software for any purpose other than creating an adaptationtotheSoftwareasanessentialstepinitsutilizationforyourownuse.You acknowledge Cadsoft's claim that the Software embodies valuable trade secrets proprietarytoCadSoft;youmaynotdiscloseanyinformationregardingtheinternal operationsoftheSoftwaretoothers.
LIMITEDWARRANTY
CadSoftwarrantstheaccompanyingSoftwareanddocumentationtobefreeofdefects in materials and workmanship for a period of ninety (90) days from thepurchase date.TheentireandexclusiveliabilityandremedyforbreachofthisLimitedWarranty shallbe,atCadsoft'soption,either(a)returnofthepricepaidor(b)replacementof defective Software and/or documentation provided the Software and/or documentationisreturnedtoCadSoftwithacopyofyourreceipt.Cadsoft'sliability shallnotincludeorextendtoanyclaimfororrighttorecoveranyotherdamages, including butnotlimitedto,lossofprofit,dataoruseoftheSoftware,orspecial, incidentalorconsequentialdamagesorothersimilarclaims,evenifCadSofthasbeen specifically advised of the possibility of such damages. In no event will Cadsoft's liability for any damages to you or any other person ever exceed the lower of suggestedlistpriceoractualpricepaidforthelicensetousetheSoftware,regardless ofanyformoftheclaim. TO THEEXTENT PERMITTED UNDER APPLICABLE LAW, CadSoft DISCLAIMS ALL OTHERWARRANTIES,EXPRESSORIMPLIED,INCLUDINGBUTNOTLIMITEDTO, ANYIMPLIEDWARRANTYOFMERCHANTABILITYORFITNESSFORAPARTICULAR PURPOSE. SPECIFICALLY, CadSoft MAKES NO REPRESENTATION OR WARRANTY THATTHESOFTWAREISFITFORANYPARTICULARPURPOSE,ANDANYIMPLIED WARRANTY OFMERCHANTABILITY ISLIMITEDTOTHENINETYDAYDURATION OF THE LIMITED WARRANTY COVERING THE SOFTWARE AND PHYSICAL DOCUMENTATION ONLY, AND IS OTHERWISE EXPRESSLY AND SPECIFICALLY DISCLAIMED. THISLIMITEDWARRANTYGIVESYOUSPECIFICLEGALRIGHTS;YOUMAYHAVE OTHERS WHICH MAY VARY FROM STATE TO STATE. SOME STATES DO NOT ALLOWTHEEXCLUSIONOFINCIDENTALORCONSEQUENTIALDAMAGES,ORTHE LIMITATION ONHOWLONG AN IMPLIEDWARRANTY LASTS,SOSOME OF THE ABOVEMAYNOTAPPLYTOYOU.
GOVERNINGLAWANDGENERALPROVISIONS
ThisLicenseandLimitedWarrantyshallbeconstrued,interpretedandgovernedby the laws of the State of Florida, U.S.A. If any provision is found void, invalid or unenforceable,itwillnotaffectthevalidityofthebalanceofthisLicenseandLimited Warranty which shall remain valid and enforceable according to its terms. If any remedy,hereunder,isdeterminedtohavefailedofitsessentialpurpose,alllimitations ofliabilityandexclusionsofdamagessetforthhereinshallremaininfullforceand effect.ThisLicenseandLimitedWarrantymayonlybemodifiedinwriting,signedby youandaspecificallyauthorizedrepresentativeofCadSoft.Allrightsnotspecifically grantedinthisLicenseAgreementarereservedbyCadSoft.
U.S.GOVERNMENTRESTRICTEDRIGHTS
The Software and documentation are provided with RESTRICTED RIGHTS. Use, duplicationordisclosurebytheU.S.Governmentissubjecttorestrictionsassetforth in subparagraph (c)(1)(ii) oftheRights In Technical Data andComputer Software clauseat252.2277013.Contractor/manufacturer isCadSoftComputer,19620Pines Blvd.Suite217,PembrokePines,Florida33029,U.S.A.
TableofContents
Chapter1 Introduction................................................................................21
1.1WhatisinthisManual?................................................................21 1.2GeneralCommentsAboutEAGLEComponentLibraries..............22 1.3TechnicalTerms............................................................................22
Chapter2 Installation..................................................................................25
2.1WhatYouNeed.............................................................................25 2.2NewInstallations..........................................................................25
Windows......................................................................................26 Linux............................................................................................26 MacOSX......................................................................................27
2.3UpdatinganOlderVersion...........................................................28
NotesonLibraryFiles...................................................................28 InCaseofChangesintheFileDataStructure..............................29
2.4ChangingorExtendingtheLicense..............................................29 2.5MultipleUserLicenses..................................................................30
NotesforInstallinginaNetwork..................................................30 SpecialInstructionsUnderWindows............................................31 PathInformation........................................................................31 DifferentOperatingSystemsattheWorkingComputers............31
Chapter3 EAGLEModulesandEditions......................................................33
3.1EAGLEModules............................................................................33
TheLayoutEditor.........................................................................33 SchematicEditor..........................................................................33 Autorouter....................................................................................34
3.2DifferentEditions..........................................................................34
ProfessionalEdition......................................................................34 General......................................................................................34 LayoutEditor.............................................................................35 SchematicEditor........................................................................35 AutorouterModule.....................................................................36
Table of Contents
StandardEdition..........................................................................36 LightEdition.................................................................................36
Chapter4 AFirstLookatEAGLE.................................................................37
4.1TheControlPanel.........................................................................37
LibrarySummary..........................................................................38 DesignRules.................................................................................40 UserLanguagePrograms,Scripts,CAMJobs................................40 Projects.........................................................................................40 MenuBar......................................................................................41 FileMenu...................................................................................41 ViewMenu.................................................................................42 OptionsMenu............................................................................43 WindowMenu...........................................................................46 HelpMenu.................................................................................46
4.2TheSchematicEditorWindow.....................................................47
HowYouObtainDetailedInformationAboutaCommand...........48 BubbleHelpAndToolTips........................................................48 HelpFunction...........................................................................49 CommandParameters..................................................................49 GRID.........................................................................................50 TheActionToolbar.......................................................................50 USE...........................................................................................50 SCRIPT......................................................................................51 RUN..........................................................................................51 WINDOW..................................................................................51 UNDO/REDO............................................................................51 StopIcon...................................................................................51 GoIcon......................................................................................51 TheCommandToolbarofTheSchematicEditor..........................51 INFO.........................................................................................51 SHOW.......................................................................................52 DISPLAY....................................................................................52 MARK........................................................................................52 MOVE........................................................................................52 COPY.........................................................................................53 MIRROR....................................................................................53 ROTATE....................................................................................53 GROUP......................................................................................53 CHANGE...................................................................................54 CUT...........................................................................................54 6
Table of Contents
PASTE.......................................................................................54 DELETE.....................................................................................54 ADD..........................................................................................55 PINSWAP..................................................................................55 GATESWAP...............................................................................55 REPLACE...................................................................................55 NAME........................................................................................55 VALUE.......................................................................................55 SMASH......................................................................................55 MITER.......................................................................................56 SPLIT........................................................................................56 INVOKE.....................................................................................56 WIRE.........................................................................................56 TEXT.........................................................................................57 CIRCLE......................................................................................57 ARC...........................................................................................57 RECT.........................................................................................57 POLYGON.................................................................................57 BUS...........................................................................................57 NET...........................................................................................57 JUNCTION................................................................................57 LABEL.......................................................................................58 ATTRIBUTE...............................................................................58 ERC...........................................................................................58 CommandsNotAvailableintheCommandToolbar.....................59 ASSIGN......................................................................................59 CLASS........................................................................................59 CLOSE........................................................................................59 EDIT...........................................................................................59 FRAME.......................................................................................59 EXPORT.....................................................................................59 LAYER........................................................................................59 MENU........................................................................................60 OPEN.........................................................................................60 PACKAGE...................................................................................60 PRINT........................................................................................60 QUIT..........................................................................................60 REMOVE....................................................................................60 SET............................................................................................60 TECHNOLOGY...........................................................................61 UPDATE.....................................................................................61 WRITE........................................................................................61 7
Table of Contents
MouseKeys..................................................................................61 SelectingNeighbouringObjects.................................................61
4.3TheLayoutEditorWindow...........................................................62
TheCommandsontheLayoutCommandToolbar.......................63 INFO.........................................................................................63 SHOW.......................................................................................63 DISPLAY....................................................................................63 MARK........................................................................................63 MOVE........................................................................................63 COPY.........................................................................................64 MIRROR....................................................................................64 ROTATE....................................................................................64 GROUP......................................................................................64 CHANGE...................................................................................65 CUT...........................................................................................65 PASTE.......................................................................................65 DELETE.....................................................................................65 ADD..........................................................................................66 PINSWAP..................................................................................66 REPLACE...................................................................................66 LOCK.........................................................................................66 NAME........................................................................................66 VALUE.......................................................................................66 SMASH......................................................................................67 MITER.......................................................................................67 SPLIT........................................................................................67 OPTIMIZE.................................................................................67 ROUTE......................................................................................67 RIPUP........................................................................................68 WIRE.........................................................................................68 TEXT.........................................................................................68 CIRCLE......................................................................................69 ARC...........................................................................................69 RECT.........................................................................................69 POLYGON.................................................................................69 VIA............................................................................................70 SIGNAL.....................................................................................70 HOLE........................................................................................70 ATTRIBUTE...............................................................................70 RATSNEST................................................................................70 AUTO........................................................................................70 ERC...........................................................................................71 8
Table of Contents
DRC...........................................................................................71 ERRORS....................................................................................71
4.4TheLibraryEditorWindow..........................................................71
LoadorRenamePackage,Symbol,orDevice...............................72 EDIT..........................................................................................72 REMOVE....................................................................................72 RENAME....................................................................................73 ThePackageEditingMode...........................................................73 DesignNewPackage..................................................................73 PAD...........................................................................................73 SMD..........................................................................................73 TheSymbolEditingMode............................................................74 DesignaNewSymbol................................................................74 PIN............................................................................................74 TheDeviceEditingmode..............................................................74 CreateActualComponentsfromSymbolsandPackages............75 ADD..........................................................................................76 NAME........................................................................................76 CHANGE...................................................................................76 PACKAGE...................................................................................76 CONNECT..................................................................................76 PREFIX.......................................................................................76 VALUE........................................................................................76 TECHNOLOGY...........................................................................77 ATTRIBUTE...............................................................................77 DESCRIPTION............................................................................77
4.5TheCAMProcessor.......................................................................77
GenerateData..............................................................................78 StartingtheCAMProcessor........................................................78 LoadJobFile..............................................................................79 LoadBoard.................................................................................79 SetOutputParameters...............................................................79 StartOutput...............................................................................79 DefineNewJob..........................................................................79
4.6TheTextEditorWindow..............................................................79
Chapter5 PrinciplesforWorkingwithEAGLE.............................................81
5.1CommandInputPossibilities........................................................81
Table of Contents
ActivateCommandandSelectObject...........................................81 CommandLine.............................................................................81 HistoryFunction...........................................................................82 TheContextMenu........................................................................82 FunctionKeys...............................................................................83 ScriptFiles....................................................................................85 MixedInput..................................................................................85
5.2TheEAGLECommandLanguage..................................................85
TypographicalConventions..........................................................86 EnterkeyandSemicolon............................................................86 BoldTypeorUpperCase............................................................86 LowerCase.................................................................................86 Underscore.................................................................................86 Spaces........................................................................................87 AlternativeParameters...............................................................87 RepetitionPoints........................................................................87 MouseClick................................................................................87 EnteringCoordinatesasText.......................................................88 Relativevalues:..........................................................................88 Polarvalues:..............................................................................88 RightMouseClick:.....................................................................89 Modifier:....................................................................................89
5.3GridsandtheCurrentUnits..........................................................90 5.4AliasesforDISPLAY,GRID,andWINDOW...................................91
Example:DISPLAYAlias...............................................................92 Example:GRIDAlias....................................................................92 Example:WINDOWAlias.............................................................92 Editing,Renaming,DeletingofanAlias.......................................93
5.5NamesandAutomaticNaming.....................................................93
Length..........................................................................................93 ForbiddenandSpecialCharacters................................................94 AutomaticNaming.......................................................................94
5.6ImportandExportofData............................................................94
ScriptFilesandDataImport.........................................................95 FileExportUsingtheEXPORTCommand....................................95 DIRECTORY...............................................................................95 NETLIST.....................................................................................95 NETSCRIPT................................................................................96 PARTLIST...................................................................................96 PINLIST......................................................................................96 SCRIPT.......................................................................................96 10
Table of Contents
IMAGE........................................................................................96
Chapter6 FromSchematictoFinishedBoard...........................................109
6.1CreatingtheSchematicDiagram................................................109
OpentheSchematicDiagram.....................................................110 SettheGrid................................................................................110 PlaceSymbols.............................................................................110 LoadDrawingFrame................................................................110 PlaceCircuitSymbols(Gates)..................................................112 HiddenSupplyGates................................................................112 DeviceswithSeveralGates......................................................113 WiringtheSchematicDiagram...................................................114 DrawNets(NET).....................................................................114 DefiningCrossReferencesforNets..........................................114 CrossReferencesforContacts..................................................116 SpecifyingNetClasses..............................................................117 Drawingabus(BUS)...............................................................118 PinswapandGateswap...............................................................119 PowerSupply.............................................................................120 DefineAttributes........................................................................121 GlobalAttributes......................................................................121 AttributesforElements............................................................122 ERCCheckandCorrectSchematic...........................................124 OrganizeSchematicSheets........................................................126 PointstoNotefortheSchematicEditor......................................127 SuperimposedPins...................................................................127 OpenPinswhenMOVEing.......................................................127 MergeDifferentSchematics.....................................................127
6.2ConsiderationsPriortoCreatingaBoard...................................127
11
Table of Contents
CheckingtheComponentLibraries.............................................127 AgreementwiththeBoardManufacturer...................................128 SpecifyingtheDesignRules.......................................................128 GeneralPrinciples....................................................................129 Layers.......................................................................................130 MinimumClearanceandDistance............................................131 Sizes.........................................................................................132 Restring(PadandViaDiameter).............................................132 Shapes......................................................................................134 Supply......................................................................................136 Masks.......................................................................................137 Misc..........................................................................................138
6.3CreateBoard...............................................................................139
WithouttheSchematicEditor.....................................................140 SpecifytheBoardOutline...........................................................140 ArrangeComponents..................................................................142 AttributesforComponentsandGlobalAttributes.......................144 BoardswithComponentsonBothSides.....................................144 ExchangingPackages..................................................................144 PACKAGECommand................................................................145 REPLACEcommand.................................................................146 ChangingtheTechnology...........................................................146 DefineForbiddenAreas..............................................................146 RoutingPlacingTracksManually............................................147 DefiningaCopperPlanewithPOLYGON...................................149
6.4DRCCheckingtheLayoutandCorrectingErrors.....................152
TheDRCErrorsWindow............................................................154 ErrorMessagesandtheirMeaning.............................................155
6.5MultilayerBoards.......................................................................158
InnerLayer.................................................................................159 SignalLayers............................................................................159 SupplyLayerswithPolygonsandMorethanOneSignal.........159 PowerSupplyLayerwithOneSignal.......................................159 SupplyLayersandAutorouter..................................................161 MultilayerBoardswithThroughVias.........................................161 LayerSetup..............................................................................161 MultilayerwithBlindandBuriedVias........................................162 Disambiguation........................................................................162 DisplayingVias.........................................................................163 LayerSetup..............................................................................163 HintsForWorkingWithBlind,Buried,andMicroVias............168 12
Table of Contents
MicroViaASpecialCaseofBlindVia.....................................169
6.6UpdatingComponents(LibraryUpdate)....................................170 6.7PrintOutSchematicandLayout.................................................171
SettingsofthePrintDialog........................................................171
6.8CombiningSmallCircuitBoardsonaCommonPanel...............174 6.9ConsistencyLostbetweenSchematicandLayout......................175
Chapter7 TheAutorouter..........................................................................177
7.1BasicFeatures.............................................................................177 7.2WhatCanbeExpectedfromtheAutorouter..............................177 7.3ControllingtheAutorouter.........................................................178
BusRouter..................................................................................178 RoutingPass...............................................................................179 Optimization..............................................................................179
7.4WhatHastobeDefinedBeforeAutorouting..............................179
DesignRules...............................................................................179 TrackWidthandNetClasses......................................................179 Grid............................................................................................180 PlacementGrid........................................................................180 RoutingGrid............................................................................180 MemoryRequirement.................................................................181 Layer..........................................................................................182 PreferredDirections...................................................................182 RestrictedAreasfortheAutorouter............................................183 CostFactorsandOtherControlParameters...............................183
7.5TheAutorouterMenu.................................................................183 7.6HowtheCostFactorsInfluencetheRoutingProcess.................186
LayerCosts.................................................................................187 cfBase.xx:0..20........................................................................187 Costs...........................................................................................187 cfVia:0..99...............................................................................187 cfNonPref:0..10.......................................................................187 cfChangeDir:0..25...................................................................188 cfOrthStep,cfDiagStep.............................................................188 cfExtdStep:0..30......................................................................188 cfBonusStep,cfMalusStep:1..3................................................188 cfPadImpact,cfSmdImpact:0..10.............................................188 cfBusImpact:0..10...................................................................189 cfHugging:0..5........................................................................189 cfAvoid0..10............................................................................189 13
Table of Contents
cfPolygon0..30........................................................................189 Maximum...................................................................................189 mnVia0..30.............................................................................189 mnSegments0..9999...............................................................189 mnExtdSteps0..9999...............................................................189
7.7NumberofRipup/RetryAttempts..............................................190 7.8RoutingMultiLayerBoards........................................................190
SupplyLayers.............................................................................190 PolygonsasSupplyLayers..........................................................191
7.9BackupandInterruptionofRouting...........................................191 7.10InformationfortheUser...........................................................192
StatusDisplay.............................................................................192 Logfile.......................................................................................193
7.11ParametersofaControlFile.....................................................193 7.12PracticalHints...........................................................................195
General.......................................................................................195 SingleSidedBoards...................................................................195 SMDBoardsWithSupplyLayers................................................195 Whatcanbedoneifnotallsignalsarerouted?..........................196
7.13TheFollowmeRouter..............................................................196
PartialandFullMode.................................................................196 Configuration.............................................................................197 RoutingParameters....................................................................198 Notes..........................................................................................199
Chapter8 ComponentDesignExplainedthroughExamples.....................201
8.1DefinitionofaSimpleResistor...................................................201
ResistorPackage.........................................................................202 DefineaNewPackage..............................................................202 SettheGrid..............................................................................202 SolderPads..............................................................................202 PadName.................................................................................203 SilkscreenandDocumentationPrint........................................203 Labeling...................................................................................204 Restrictedareaforcomponents................................................205 Description...............................................................................205 Note.........................................................................................205 ResistorSymbol..........................................................................205 DefineaNewSymbol...............................................................205 SettheGrid..............................................................................206 14
Table of Contents
PlacethePins...........................................................................206 PinNames................................................................................208 SchematicSymbol....................................................................208 ResistorDevice...........................................................................209 DefineaNewDevice................................................................209 Selecting,NamingandConfiguringSymbols...........................209 SelectingthePackage...............................................................210 ConnectionsBetweenPinsandPads........................................210 DefinePrefix............................................................................211 Value........................................................................................211 Description...............................................................................212 Save.........................................................................................212 LibraryDescription.....................................................................212 UseLibrary.................................................................................213
8.2DefiningaComplexDevice.........................................................213
CreatingaNewLibrary..............................................................215 DrawingthePinLeadedPackage...............................................215 SettheGrid..............................................................................216 PlacePads................................................................................216 PadName.................................................................................217 DrawtheSilkScreenSymbol...................................................217 PackageNameandPackageValue...........................................217 AreasForbiddentoComponents..............................................218 Description...............................................................................218 Save.........................................................................................219 DefiningtheSMDPackage.........................................................219 SettheGrid..............................................................................220 PlacingSMDSolderPads.........................................................221 SMDNames.............................................................................222 DrawtheSilkScreen................................................................223 PackageNameandPackageValue...........................................223 AreaForbiddentoComponents................................................224 LocatingPoint(Origin)............................................................224 Description...............................................................................224 Save.........................................................................................224 DefiningtheLogicSymbolfortheSchematicDiagram...............225 ChecktheGrid.........................................................................226 PlacethePins...........................................................................226 PinName.................................................................................227 DrawtheSymbol......................................................................227 PlaceholdersforNAMEandVALUE..........................................227 Save.........................................................................................227 15
Table of Contents
DefiningaPowerSupplySymbol...............................................228 ChecktheGrid.........................................................................228 PlacethePins...........................................................................228 PinName.................................................................................229 PlaceholdersforNAMEandVALUE..........................................229 AssociatingthePackagesandSymbolstoFormaDeviceSet.....229 SelectSymbols.........................................................................230 NamingtheGates.....................................................................230 SpecifyAddlevelandSwaplevel...............................................231 ChoosingthePackageVariants................................................231 TheConnectCommand............................................................232 DefiningTechnologies..............................................................233 SpecifyingthePrefix................................................................234 Value........................................................................................234 Description...............................................................................235 Save.........................................................................................235
8.3SupplyVoltages..........................................................................236
ComponentPowerSupplyPins...................................................236 InvisibleSupplyPins................................................................236 PinswiththeSameNames.........................................................237
8.4SupplySymbols..........................................................................238 8.5Attributes....................................................................................240
DefineAttributes........................................................................240 DisplayAttributes.......................................................................242 PlaceholdersinSymbolandPackage.......................................243
8.6LabelingofSchematicSymbols..................................................243 8.7MoreabouttheAddlevelParameter...........................................244
Summary....................................................................................244 Relay:CoilandFirstContactmustbePlaced.............................245 Connector:SomeConnectionPinscanbeOmitted....................245 ConnectorwithFixingHoleandRestrictedArea........................246
8.8DefiningComponentswithContactCrossReferences................247
DefineSymbol............................................................................247 DefineDevice.............................................................................248 DefinePackage...........................................................................248
Table of Contents
ConnectCommand...................................................................253 DefiningTechnologies..............................................................253 Save.........................................................................................254 UsingaModifiedPackagefromAnotherLibrary........................254 CopyingthePackage................................................................254 DefiningtheVariant.................................................................255
8.13DefiningPackagesinAnyRotation...........................................255
RotatingaPackageasaWhole...................................................255 PackageswithRadialPadArrangement.....................................256
8.14LibraryandPartManagement..................................................256
CopyingofLibraryElements......................................................256 WithinaLibrary.......................................................................256 FromOneLibraryintoAnother................................................257 CompositionofYourownLibraries..........................................259 RemovingandRenamingLibraryElements................................260 UpdatePackagesinLibraries......................................................260
Chapter9 PreparingManufacturingData..................................................263
9.1WhichDatadoweNeedforBoardManufacture?......................263
GerberPlotData.........................................................................264 GERBER_RS274X.....................................................................264 GERBERAUTOandGERBER....................................................264 DrillData....................................................................................265 EXCELLON...............................................................................265 EXCELLON_RACK....................................................................265 SM1000andSM3000..............................................................265 FurtherDrillDataDevices........................................................266 PrototypeManufactureWithaMillingMachine.........................266 outlines.ulp..............................................................................266 milloutlines.ulp.......................................................................266 FilmGenerationUsingPostScriptFiles.......................................266 PrintingonaFilm.......................................................................267 DataforPickandplaceMachinesandIncircuitTesters............267 Documentation...........................................................................268 PartsList..................................................................................268 DrillPlan..................................................................................269 DrillLegend.............................................................................270
9.2RulesthatSaveTimeandMoney...............................................271 9.3QuickGuideforDataOutput......................................................272
17
Table of Contents
Jobgerb274x.cam......................................................................272 Jobexcellon.cam........................................................................273 Jobgerber.cam...........................................................................274
9.4WhichFilesdoINeedformyBoard?.........................................275
FilesList.....................................................................................276 PlaceholdersforOutputFileNameGeneration........................278 HintsConcerningFileExtensions:............................................279
9.5PeculiaritiesofMultilayerBoards...............................................279
SimpleInnerLayers....................................................................279 SupplyLayer...............................................................................279 DrillDataforMultilayerBoardsWithBlindandBuriedVias......280
9.6SetOutputParameters...............................................................280 9.7AutomatingtheOutputwithCAMProcessorJobs.....................284
DefiningaNewCAMJob...........................................................284 Extendinggerber.camJobforMultilayerBoards........................285 ErrorMessage:AperturesMissing..............................................286 GerberInfoFiles.........................................................................286 DrillDataGenerationwithSeparateRackFile...........................287 DefineaDrillConfiguration(Rack)File...................................287 DefineJobforDrillDataOutput..............................................287 DrillInfoFile............................................................................288
9.8DeviceDriverDefinitionineagle.def..........................................288
CreatingYourOwnDeviceDriver..............................................288 Example1:Gerber(auto)device,Millimetre...........................288 Example2:EXCELLONDevice,OutputwithLeadingZeros.....289 UnitsintheApertureandDrillTable.........................................289
9.9GerberFilesforPhotoplotterswithFixedApertureWheels.......290
DefiningtheApertureTable(Wheel).........................................290 ApertureEmulation....................................................................292
Chapter10 Appendix...................................................................................293
10.1LayersandtheirUsage.............................................................293
InLayoutandPackageEditor.....................................................293 InSchematic,Symbol,andDeviceEditor...................................294
Table of Contents
ConsistencyCheck....................................................................300 DeleteWireJoints....................................................................301 DeviceNameasValueforallComponents...............................301 DisableCtrlforRadiusMode...................................................301 GroupSelection.......................................................................301 OpenProject............................................................................301 PanningDrawingWindow.......................................................301 PolygonEdgesasContinuousLines.........................................302 RepositionoftheMouseCursor...............................................302 UnitsinDialogs........................................................................302
10.7ErrorMessage...........................................................................303
WhenLoadingaFile...................................................................303 Restringsmallerthaninolderversion.....................................303 Libraryobjectswiththesamenames.......................................303 Pad,ViaReplacedwithaHole.................................................304 Skippedunsuitableobjects.......................................................305 Can'tUpdateFile......................................................................305 InaLibrary.................................................................................306 Package/Symbolisinuse.........................................................306 IntheCAMProcessor.................................................................307 Polygonmaycauseextremelylargeplotdata..........................307 IntheLightorStandardEdition.................................................307 Can'tperformtherequestedaction..........................................307
19
Table of Contents
20
Chapter 1 Introduction
ThismanualdescribestheuseoftheEAGLEsoftwareanditsbasicprinciples. Theorderofchaptersfollowsthetypicalprocessfromdrawingaschematicto areadytouselayout.
21
1 Introduction
Appendix Listsusefuladditionalinformationandexplainssomeerrormessages EAGLEpromptsincertainsituations. Foraquick,handsonintroduction,refertotheEAGLETutorial.Pleaseread thetutorialforabetterunderstandingbeforeworkingwiththemanual. Anybody who has already been working with a priorversion ofEAGLE is advisedtoreadthefileUPDATEunderLinuxandMacorUPDATE.TXTunder Windows.Itcontainsadescriptionofallthedifferencesfromearlierversions. Thisfileislocatedintheeagle/docdirectory.Pleasereaditbeforeyoustart workingwiththenewEAGLE. Informationthatwasnotavailableorthathasbeenchanged sincefinishing thismanualisalsodescribedinUPDATEorUPDATE.TXT,or,ifexisting,ina READMEfile. Detailedinformation,especiallyabouttheEAGLEcommandlanguageandthe EAGLEUserLanguage,isavailableonthehelppages.Youcanreachabasic understanding very quickly by using this manual, and you can use the convenientsearchfeaturesofthehelpfunctiontoquicklylocatetheanswers toparticularquestions.
1 Introduction
LayerStack: Currentnumberandorderofcopperandisolationlayerswhichareusedto buildupaprintedcircuitboard. Microvia: Aplatedthroughhole(likeBlindvia)witharelativelysmalldrilldiameter whichconnectsanouterlayerwiththenextreachableinnerlayer. Net: Electricalconnectioninaschematic. Package: Componentfootprintstoredinalibrary. Pad: ThroughholepadassociatedwithaPackage. Pin: ConnectionpointonaSchematicSymbol. Prepreg: Usedinacompoundofinnerandouterlayersformultilayerboards. Rack: Configurationtableforadrillingmachine.Neededforgeneratingdrilldata. Ratsnest: Commandforcalculatingtheshortestairwiresandforhidingordisplaying certainairwiresforabetteroverview. Restring: Pronunciation:restring.Settingthatdeterminesthewidthofthecopperring aroundaplatedthroughholeofapadorvia. Signal: Electricalconnectioninaboard. SupplySymbol: Representsasupplysignalintheschematic.CausestheERCtorunspecial checks. Symbol: Schematicrepresentationofacomponent,storedinaLibrary. UserLanguage: Freelyprogrammable,Clikelanguagefordataimportandexport. Via: Platedthrough hole for changing the layer of a track.See also Micro via, Blindvia,andBuriedvia. Wheel: Aperture configuration file. Generated with Gerber data for board manufacturing. Wire: Electricalconnectioninaboard,ora line(since linesaredrawnwiththe WIREcommand). 24
Chapter 2 Installation
2.1 What You Need
For installing EAGLE you need to have an EAGLE installation file, your personalinstallationcode,andtheappropriatelicensefile. Ifyouhaveaskedforanupgradeforanexistingcurrentinstallationorforan extensionofyourlicense,youdon'thavetoinstallEAGLEanew.Yournew installationcode and its appropriate license file will update your existing license. IfyouintendtoinstalltheEAGLEFreeware,theEAGLEinstallationfileisall youneed. Keeptheyourpersonalinstallationcodeinasafeplace,inaccessibleto unauthorizedpersons!Nevergivethelicensefileorinstallationcodeto others! Never send your installation code by email to CadSoft or to anyoneelse.
25
2 Installation
Windows
EAGLEforWindowsisavailableasaselfextractingarchive,whichisnamed, forexample, eaglewin5.7.0.exe.Doubleclickthisfileandthe WinZipSelf Extractorwindow willappear. Theinstallationroutinestartswithextracting thefilesfromthearchive.ClicktheSetupbuttontobegin. Theversionnumberinthefilenamemay,dependingonthecurrentversion, differ. Nowtheactualinstallationstarts.Followtheinstructionsstepbystep. AttheendofthisprocessyouwillbeaskedhowyouwanttolicenseEAGLE: UseLicensefile ThisimpliesthatyouhavealreadyboughtanEAGLElicense.Inthiscase thefollowingdialogasksyouforthepathtoyourlicensefile license.key andforyourpersonalinstallationcodewhichyouhavegotfromCadSoft. RunasFreeware EAGLEwillbelicensedwiththelimitsoftheLightEdition.It'spossibleto upgradetoapurchasedlicensewithoutreinstallationatanytime. Don'tlicensenow postponesthelicensingonthefirstEAGLEstart. The Windows Start menu now contains in the Programs section the new entry EAGLELayoutEditor5.7.0.Tutorialandmanualinpdffileformatare alsopartoftheinstallation. UninstallingEAGLEcanbedonebyusualmeansofyouroperatingsystem usingWindowsuninstalltools.
Linux
EAGLEforLinuxisavailableasselfextractingshellscriptwithsetupdialog. YoumayinstalltheprogramasRoot/AdministratororasanormalUser. Initiatetheinstallationprocessinafilemanagerwithadoubleclickonthe shellscriptfileeaglelin5.7.0.run. Pleasecheck,whetherthefileismarkedasexecutablebefore.Ifthisisnotthe case, you could, for example, use the chmod command in the console to changeitsattributes. Youcanstarttheshellscriptformtheconsole,aswell,bytyping: /path_to_file/eagle-lin-5.7.0.run Theversionnumberinthefilenamemaydiffer,dependingonthecurrently availableEAGLEversion. Theinstallationroutinestartswithextractingthefilesfromthearchive.Then theactualinstallationprocessstarts.Followtheinstructionsstepbystep. AttheendyouwillbeaskedhowyouwanttolicenseEAGLE: 26
Mac OS X
EAGLEforMacOSXisavailableasUniversalBinaryandworksonPowerPC and on Intel based computers. In order to start the installation process doubleclickontotheiconthatrepresentstheEAGLEarchivewhichisnamed, forexample,eaglemac5.7.0.zip.Thearchivewillbeextractedautomatically. A new folder icon named eaglemac5.7.0.pkg will appear on the Desktop now.Clickitwiththemouseandtheinstallationprocessstarts. Theversionnumberinthefilenamemaydiffer,dependingonthecurrent EAGLEversion. Followtheinstructionsstepbystep. ConfirmtheEAGLESoftwareLicenseAgreementbyclickingContinue,ifyou agreewithit.Ifnot,youcanaborttheinstallationbyclickingthe Goback button. ThenextstepsetsuptheEAGLEdestinationfolderandpossiblyadestination volume. Byclicking Continue youacceptthesuggesteddirectory.Clickthe Choose buttonandyoumayselectanyotherlocationfortheEAGLEfolder. After confirming the installation path the files are copied into the EAGLE folder. Afterfinishing theinstallationyou areabletostartEAGLEbyclickingthe EAGLEiconintheFinder'sApplications/EAGLEentry. While starting EAGLE forthefirst time, youwill beasked howtolicense EAGLE: UseLicensefile ThisimpliesthatyouhavealreadyboughtanEAGLElicense.Inthiscase the following dialog asks for the path to your personal license file license.key and for your personal installation code you have got from CadSoft. 27
2 Installation
RunasFreeware EAGLEwillbelicensedwiththelimitsoftheLightEdition.It'spossibleto upgradetoapurchasedlicensewithoutreinstallationatanytime. Tutorialandmanualinpdffileformatarepartoftheinstallationandare locatedinthedocfolderoftheEAGLEinstallation. IncaseyouwanttouninstallEAGLEfromyourcomputer,simplydeletethe EAGLEentryinthetheFinder'sApplicationsfolder.
28
29
2 Installation
TheLicenseDialog
Theprogramhasnowbeenrelicensed.Youcancallupthelicensedataat any time in the EAGLE Control Panel by means of the Help/Product Informationmenu. Soyou can upgrade an already installed LightEditionwithaProfessional Edition,forexample.
31
2 Installation
32
Schematic Editor
The Schematic Editor without Layout Editor is applicable for drawing electrical wiring diagrams (connection scheme, contact plans...). The SchematicEditorcomes,aswellastheLayoutEditor,withthefullLibrary EditorfordesigningSymbolsfortheSchematicandPackagesfortheLayout, withtheCAMProcessor,andtheTextEditor.YoucanalsouseUserLanguage programsandScriptfiles. IfyouwanttodrawSchematicdiagramsforelectronicsystemsyoushould haveSchematicandLayout Editor. Youcangeneratetheassociatedcircuit board at any time with a mouseclick. EAGLE thenchangestotheLayout Editor,wherethepackagesareplacednexttoanemptyboardconnectedvia airwires(rubberbands).FromhereyoucangoondesigningwiththeLayout Editorasusual.Schematicandlayoutareautomaticallykeptconsistentby EAGLE (Forward&Back Annotation). Schematic diagrams can consist of a maximum of 999 sheets in the Professional Edition (99 sheets in the Standard Edition). On the left side of the Schematic Editor window the previewofthesheetsisdisplayed.
33
Autorouter
YoucanroutetheairwiresautomaticallyifyouowntheAutoroutermodule. You can choose single nets, groups of nets or all nets for the automatic routing pass. The program will handle various network classes having differenttrackwidthsandminimumclearances. TheAutorouteralsoservesasbasicengineoftheFollowmerouter.Thisisan advancedoperatingmodeoftheROUTEcommandformanualrouting,which calculatesanddisplaysthetraceofaselectedsignalautomatically.
Professional Edition
General
maximumdrawingarea64x64inches resolution1/10,000mm(0.1microns) mmorinchgrid upto255drawinglayers command(Script)files ClikeUserLanguagefordataexportandimportandthe realizationofselfdefinedcommands easylibraryediting compositionofselfdefinedlibrarieswithalreadyexisting elementsbyDrag&Drop easygenerationofnewPackagevariantsfromotherlibrariesby Drag&Drop freerotationofpackagevariants(0.1degreesteps) librarybrowserandpowerfulcomponentsearchfunction technologysupport(e.g.74L00,74LS00..) Easydefinitionoflabelleddrawingframes freedefinableattributes,applicableforDevicesintheLibrary andinSchematicorLayout integratedPDFdataexportfunction exportfunctionforgraphicfiles(BMP,TIF,PNG...) printoutsviatheOS'sprinterdriverswithprintpreview partlistgenerationwithdatabasesupport(bom.ulp) Drag&DropintheControlPanel 34
Layout Editor
fullSMDsupport supportofBlindandBuriedvias rotationofobjectsinarbitraryangles(0.1degreesteps) componentscanbelockedagainstmoving textscanbeplacedinanyorientation dynamiccalculationofsignallineswhileroutingthelayout magneticpadsfunction trackscanbelayedoutwithroundedcornersinanyradius miteringtosmoothwirejoints DesignRuleCheckforboardlayouts(checkse.g.overlaps, measuresofpadsortracks) copperpouring(groundplains) Packagevariantssupport userdefinable,freeprogrammableUserLanguagetogeneratedatafor mountingmachines,testequipments,millingmachinesoranyother dataformat outputofmanufacturingdataforpenplotters,photoplottersand drillingmachineswiththeCAMProcessor
Schematic Editor
upto999sheetsperschematic iconpreviewforsheets sortingschematicsheetsbyDrag&Drop crossreferencesfornets automaticgenerationofcontactcrossreferences simplecopyingofparts replacefunctionforpartswithoutlossofconsistencybetween schematicandlayout OnlineForward&BackAnnotationbetweenschematicandboard automaticboardgeneration automaticgenerationofsupplysignals ElectricalRuleCheck(errorcheckintheSchematicandconsistency checkbetweenSchematicandLayout)
35
Standard Edition
ComparedtotheProfessionalEditionthefollowingrestrictionsapplytothe StandardEditionintheLayoutEditor: Thelayoutareaisrestrictedtoamaximumof160x100mm (about6.3x3.9inches).Outsidethisareaitisnotpossibletoplace Packagesanddrawsignals. Amaximumnumberof4signallayersareallowed(top,bottom, and2innerlayer). Aschematiccanconsistofamaximumof99sheets.
Light Edition
ThefollowingrestrictionsapplytotheEAGLELightVersion: Theboardareaisrestrictedto100x80mm(about3.9x3.2inches). OutsidethisareaitisnotpossibletoplacePackagesanddrawsignals. Onlytwosignallayerscanbeused(noinnerlayers). Aschematiccanconsistofonlyonesinglesheet. Largerlayoutsandschematicscanbeprintedwiththe smallereditions.The CAMprocessorcangeneratemanufacturingdataaswell.
36
37
ControlPanel:Ontheright,thedescriptionoftheRCLlibrary
Library Summary
The possibility of displaying the contents of the libraries is particularly interesting.ItprovidesaveryrapidoverviewoftheavailableDevices. Expand the Libraries entry, andyou can see the availablelibraries. Inthe Descriptionfieldyoucanseeabriefdescriptionofthecontents.Ifalibraryis selected, youwill see more extensive informationaboutthelibrary inthe righthandpartoftheControlPanel.Ifyouthenexpandalibraryentrynow, the contents will be displayed together with a short description of each element.DevicesandPackagesaremarkedwithasmallicon. Nowselect,forexample,aDevice: ThedescriptionoftheDeviceandagraphicalrepresentationofitappearon theright. TheavailablePackage andtechnologyvariantsarelisted.Ifyou clickontooneofthePackageversions,thePackagepreviewshownabovewill change. IfaSchematicEditorwindowisopen,theentryADDwillbeshownrightof thevariantname.ClickitandtheDeviceisattachedtothemousecursoras soonasitisovertheSchematicEditorwindow.Nowyoucandropitinthe schematic. If you are only working with the Layout Editor, this will of course also operatewithPackages.Itis,additionally,possibletodragaDevicefromthe tree view into a schematic diagram and to place it there by means of 38
ControlPanel:LibrarysummarywithDeviceview
39
Design Rules
SpecialDesignRulescanbespecifiedinEAGLEtogoverntheboarddesign. Thesecanbesavedasdatasetsinspecialfiles(*.dru). Theparameter set that is togovern thecurrent projectisspecifiedinthe DesignRules branchofthetreeview.Ifnodatahasbeenprovidedforthe Design Rules (DRC command), EAGLE will itself provide parameters. The markingtotherightofthefileentryspecifiesthedefaultparametersetfor thecurrentproject. The layout willbe checkedbytheDRCinaccordance withthesecriteria.FurtherinformationabouttheDRCandtheDesignRules isfoundstartingonpage128.
Projects
Thevariousprojectsare managedfromtheControlPanel.Aclickontothe Projects entrydisplaysvariousfolders.Thesearelocatedunderthepathset underOptions/Directories/Projects.Itisallowedtodefinemorethanonepath there. Aprojectusuallyconsistsofafolderwhichrepresentstheprojectbyitsname andtheproject'sconfigurationfile eagle.epf.Thefolderusuallycontainsall files that belong to your project, for example, schematic and board file, speciallibraryfiles,scriptfilesandsoon. Projectdirectoriesthatcontaintheprojectfileeagle.epfwillbemarkedwitha redfoldericon.'Normal'folderswillbemarkedwithayellowicon. TheprojecttobeeditedisselectedintheProjectsbranch.Ontherightofthe project'snameyouwillfindamarkerwhichiseithergrayorgreen.Withthe help of this marker one can open or close projects. Clicking onto a gray marker,loadstheproject.Themarkerappearsgreennow.Clickingontothe greenmarkeragainorclickingontoanothergraymarkerclosesthecurrent projectrespectivelyopensanotherprojectafterclosingthecurrentone.This wayonecanswitcheasilyfromoneprojecttoanother. Asanalternativeyoucanopenorcloseaprojectbydoubleclickingontothe entryinthetreevieworbypressingtheSpaceorEnterkey. WhileclosingaprojectthesettingsofthecurrentlyopenedEditorwindows willbestoredinthecorrespondingprojectfile eagle.epf,providedthatthe optionAutomaticallysaveprojectfileissetintheOptions/Backupmenu.
40
Contextmenuforprojectmanagement
The context menu contains the Edit Description item. Adescriptionofthe projectcanbeenteredhere,andthisisthendisplayedintheDescriptionbox.
Menu Bar
TheControlPanelallowsvariousactionstobeexecutedandsettingsmade throughpulldownmenusthatareexplainedbelow.
File Menu
TheFilemenucontainsthefollowingitems: New Createsanewlayout(board),schematic,library,CAMjob,ULP,scriptortext file.TheProjectoptioncreatesanewproject.Thisinitiallyconsistssimplyofa newdirectoryinwhichthefilesforanewprojectarehandled.Thesewill 41
View Menu
Refresh Thecontentsofthetreeviewareupdated.
42
Options Menu
Directories The default directories for particular EAGLE files are entered in the directoriesdialogbox. More than one path may be entered for each of these. In the Windows versiontheentriesareseparatedbysemicolons,whileacolonisusedinthe LinuxandMacversion.TheProjectsdirectoryisthedefaultdirectoryforthe TextEditor. The Projects directory contains subdirectories, each of which represents a particularproject.EachoftheprojectdirectoriescontainsanEAGLEproject file(eagle.epf).Aprojectdirectoryanditssubdirectoriesusuallycontainall thefilesthatareassociatedwithoneparticularproject,suchastheschematic diagramandthelayout,textfiles,manufacturingdata,documentationfiles andsoon.
ThedirectoriesdialogintheOptionsmenu
Type the path directly into the corresponding box, or select the desired directorybyclickingtheBrowsebutton. Thedefaultsettingscanbeseeninthediagramabove.$EAGLEDIRstandsfor theinstallation'sEAGLEdirectory. You may also use $HOME for your home directory under Linux. Under Windows it is possible to define this environment variable wit the SET command. Ifa HOMEvariablehasnotbeensetwithinthe Environmentvariable,then underWindowsEAGLEwillsuggestthedirectoryApplicationData. ThisdirectoryisdefinedintheWindowsregistryin: HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVers ion\Explorer\Shell Folders\AppData Inthisfolderyoucanalsofindtheuserspecificconfigurationfileeaglerc.usr. Itisofcoursealsopossibletospecifypathswithanabsoluteformat. 43
Backupdialog
If the option to Automatically save project file is chosen, your project is automaticallysavedwhenyouclosethecurrentprojectorleavetheprogram. User Interface TheUserInterfacedialogallowstheappearanceoftheeditorwindowsfor thelayout,schematicdiagramandlibrarytobeadjustedtoyourpreferences. YoucanalsoaccessthismenufromtheEditorwindows. IntheControlsboxyouspecifywhichobjectsaretobedisplayedintheeditor window.IfyoudeactivatealltheControls,onlythecommandlinewillremain forentry.Thismaximizesthefreeareaavailableforthedrawing.
44
SettingsfortheUserInterface
TheoptionAlwaysvectorfontshowsandprintstextswiththebuiltinvector font, independently from the originally used font. Using the Vector font guaranteesthattheoutputwithaprinterortheCAMProcessorisexactlythe sameasshownintheeditorwindow.Fontsotherthanvectorfontdependon thesystems'settingsandcannotbecontrolledbyEAGLE.Theoutputofnon vectorfontsmaydifferfromtheeditor'sview. Opening the User Interface dialog from one of the Editor windows (for example,theLayoutEditor)theAlwaysvectorfontoptionoffersanadditional itemPersistentinthisdrawing.SettingthisoptioncausesEAGLEtosavethe Alwaysvectorfontsettinginthecurrentdrawingfile.Soyoucanbequitesure thatthelayoutwillbeshownwithvectorfontatanother'spersoncomputer (forexample,ataboardhouse). Pleaseseethehelpfunctionfordetails(TEXTcommand). Limit zoomfactor limitsthemaximumzoomfactorinaneditorwindow.At maximum zoom level the width of the drawing is about one Millimetre (approx. 40 mil). Switching off this option allows you to zoom until the 0.1Micron(0.004mil)gridwillbecomevisible. Ifyouareworkingwithawheelmouse,youcanzoominandoutbyturning themousewheel.Mousewheelzoomdeterminesthezoomfactor.Thevalue0 switchesthisfunctionoff.Thewheelisusedforscrollingthen. ThefieldExternaltexteditorallowsyoutospecifyanalternativeforthebuilt inEAGLEtexteditor.Furtherdetailsonthiscanbefoundinthehelpfunction inthesectionEditorwindows/Texteditor.
45
Window Menu
FromtheWindowmenuyoucanchoosethewindow(schematic,board,etc.) tobe displayed in the foreground. The number ontheleftisthewindow number.ItallowsyoutochooseawindowwhencombinedwiththeAltkey (e.g.Alt+1selectswindow1). Thecombination Alt+0 canbeusedanywhereintheprogramtobringthe ControlPanelintotheforeground. ThefunctionalityofAlt+window_numberissupportedintheWindows andintheLinuxversiononly.
Help Menu
TheHelpmenucontainsanitemforcallingthehelpfunction,aswellasitems for installing a new license (Product registration) and getting information abouttheprogramversionetc.(Productinformation). Product registration TheregistrationdialogiscalledautomaticallywhenyoustartEAGLEthefirst time.Ifyouwanttoinstallanupgradeyoumuststartthisdialogfromthe Help menu, and then enter the necessary information according to the License/Product Registration sectionofthehelpfunction.Alleditorwindows havetobeclosedbefore.ReadthenotesinthechapterInstallationformore information.
46
TheSchematicEditor
47
inthecommandline.ThecharactersymbolizestheEnterkey. ThecontentsoftheEAGLEHelpisstoredinasingleHTMLfileandcanbe viewed for example with a web browser, as well. Italsooffersa fulltext search. AftertypinginasearchtermintheFindline,EAGLEhelpnolongershowsall pages but only the pages containing this expression. The keys F3 and Shift+F3allowyoutogotothenextorpreviouslocation.Eachsearchterm foundwillbemarked.Greenindicatingthecurrentlyfoundterm,yellowfor allothers.
EAGLEHelpwindow
Command Parameters
AnumberofEAGLEcommandsneedadditionalparameters.Refertothehelp pagesforadescriptionofthetextualentryofparameters(viacommandline orscriptfile).
49
ParametertoolbaroftheNETcommand
OntheleftistheGRIDiconforsettingthegridpitch.Totherightarebuttons forthebendmode(SETWIRE_BEND)ofthenetline,followedbythemiter radius for smoothing line joints with the options straightorrounded (see MITERcommand).Nexttothisisthe Style menuwherethetypeoflineis defined.OnthefarrightisavaluemenuforassigningaNetclass.
GRID
Thisiconisavailableatanytime.Itisusedtoadjustthegridandtoselectthe currentunit.InEAGLE,anyvaluerelatestothecurrentunit. ArightclickontotheiconopensapopupmenuthatcontainstheentryLast. Soyoucanswitchbacktothepreviouslychosengridsetting.TheNew...entry allowstodefinesocalledAliases.Moreaboutthisinchapter5.
Fromtheleft:Openfile,savefile,printfile,callCAMProcessor,open/create correspondingboardfile(BOARDcommand).
Load,remove,orcreateanewschematicsheet.
USE
SelectlibrarieswhichwillbetakenintoconsiderationbytheADDdialog.Can alsobedonewiththe Library/Use menuitemorbyclickingthemarkersin theLibrariesbranchoftheControlPanel'streeview.Thecontextmenuofthe entry Libraries orofitssubfolderscontainstheentries Usealland Usenone foraquickandsimpleselection/deselectionofalllibraries(ofthefolder). Thiscommandhastobeusedinscriptfilesinordertochoosethelibraryyou wanttotakepartsfrom.
50
RUN
StartaUserLanguageprogram(ULP). Arightclickontotheiconshowsamenuthatcontainsalistofrecentlyused UserLanguagePrograms.
WINDOW
TheseiconsrepresentdifferentmodesoftheWINDOWcommand: Fitdrawingintothescreen(WINDOWFIT,AltF2),zoomin(F3),zoomout (F4),redrawscreen(WINDOWorF2),selectnewarea. Tomovethecurrentdrawingwindow,clickthemiddlemousebuttonand moveyourmouse! WINDOWLASTreturnstothepreviousdisplaywindow.
UNDO/REDO
These commands allow you to cancel previous commands and to execute commandswhichhavepreviouslybeencancelled.Defaultfunctionkeys: F9 andF10.
Stop Icon
TerminatestheexecutionofEAGLEcommands(Edit/Stopcommand).
Go Icon
Starts the execution of an active EAGLE command, which allows further parameterstobeenteredbytheuser,likeitiswiththeAUTOortheMARK command.
DISPLAY
Select and deselect the layers to be displayed. See the Appendix for the meaningofthelayers DISPLAY LAST shows the recently used layer combination that was previouslyselectedfordisplay. Forfurtherdetailspleaseseehelpfunction.
MARK
Thefollowingmouseclickdefinestheneworiginforthecoordinatedisplay. Relativecoordinates(Rxvalueyvalue)andpolarvalues(Pradiusangle)are showninadditiontoabsolutecoordinatesinthecoordinatedisplaybox.If youfirstclicktheMARKiconandthenthetrafficlighticon,onlytheabsolute coordinatevalueswillbedisplayedagain.
MOVE
Moveanyvisibleobject.Therightmousebuttonrotatestheobjectwhileitis attachedtothemousecursor. Ifyoumoveanetoverapin, noelectricalconnectionwillbeestablished.If youmovethepinofaGateoveranetoranotherpin,anelectricalconnection willbecreated.
52
COPY
Copypartsandotherobjects. Whencopyingnetsandbusesthenamesareretained,butinallothercasesa newnameisassigned. COPYcanbeusedwithgroupsandworksthesameasitwouldbewithCUT andPASTEwithinadrawing.Thecontentofthegroupdoesnotgotothe clipboardofyouroperatingsystem!
MIRROR
Mirrorobjects.
ROTATE
Rotateobjectsby90degrees(alsopossiblewithMOVE).
GROUP
Define agroupwhichcanthenbemoved,rotated,orcopiedwithCUTand PASTEtoanotherdrawingorwhosepropertiesaretobechanged.Afterthe iconhasbeenclicked,arectangulargroupcanbedefinedbyholdingdown theleftmousebuttonanddraggingthecursortothediagonalcornerofthe rectangle.Ifyouwanttodefineagroupbyapolygon,usetheleftmouse buttontodeterminethecornersofthepolygon.Thenclicktherightmouse buttontoclosethepolygon. GROUPALLinthecommandlineselectsallobjectsonthecurrentsheet,if therespectivelayersaredisplayed. Thefollowingcommand(ROTATE,CHANGE,MOVE...)hastobeappliedto thegroupwiththerightmousebuttonwhilethekeyispressed. ExceptionisCUT:Herealeftmouseclickisexpected.
53
CHANGE
Change the properties of an object, e.g. the width of a line, the Package variantorthesizeoftext.Seehelpfordetails. Anobject'spropertiescanbecheckedandevenchanged,whereapplicable,by the Properties entryofthecontextmenu.Toaccessthecontextmenu,click ontotheobjectwiththerightmousebutton.
CUT
Transfer the objects of a previously defined group into the paste buffer. Activate the CUT command and click with the left mousebutton into the grouptosetareferencepoint. Allothercommandsthatcanbeexecutedwithagroupexpectarightmouse clickwhiletheCtrlkeyispressed. NotidenticaltotheWindowscutfunction!
PASTE
Insertobjectsfromthepastebufferintothedrawing.Restrictions:seehelp function. NotidenticaltotheWindowspastefunction.
DELETE
Deletevisibleobjects. Alsoin combinationwithGROUPcommand.Ifagrouphasbeendefined,it canbedeletedwiththerightmousebuttonwhiletheCtrlkeyispressed. TheDELETEcommanddeletesanentirepartintheSchematicwhenclicking ontoaGatewiththeShiftkeypressed.Inthatcase,thetracksconnectedto thePackageintheboard,ifalreadyexisting,willstayunchanged. ClickingontoanetorbuswirewiththeShiftkeypresseddeletestheentire netorbussegment.
54
PINSWAP
Swap twonetsconnectedtoequivalentpinsofaDevice,providedthepins havebeendefinedwiththesameSwaplevel.
GATESWAP
SwaptwoequivalentGatesofaDevice,providedtheGateshavebeendefined withthesameSwaplevel.InEAGLEterminology,aGateisapartofaDevice whichcanbeindividuallyplacedonaschematic(e.g.onetransistorfroma transistorarray).
REPLACE
Replacea component(Device)withanotheronefromanylibrary.Thiscan onlyworkifthenewcomponenthasatleastasmanypinsasthecurrentone andthepinsaswellasthepadshaveidenticalnamesorthesamepositions. Arightclickontothisiconopensapopupmenuthatshowsalistofrecently replacedDevices.
NAME
Givenamestocomponents,nets,orbuses.
VALUE
Providevaluesforcomponents.Integratedcircuitsnormallygetthetype(e.g. 74LS00N)astheirvalue. Arightclickontothisiconopensalistofalreadyusedvalues.Selectanentry andapplyittooneormorecomponentsbyclickingontothemsuccessively.
SMASH
Separatename,value,and,ifany,attributetextsfromaDevice,sothatthey canbeplacedindividually.Thesizeofdetached(smashed)textscanalsobe individuallychanged.AlsoincombinationwithGROUP.Ifagroupisdefined, youcansmashitwitharightmouseclickwhiletheCtrlkeyispressed. UseDELETEtohidesmashedtexts.
55
MITER
Round off or bevel wire joints (also possible for nets, buses, polygon contours).Thegradeofmiteringisdeterminedbythemiterradius.Positive signresultsinaroundedjoint,negativesigninabevel. Themiterradius influences some wire bends, too(seehelpfunction:SET command,Wire_Bend).
SPLIT
Insertanangleintoawireornet.
INVOKE
DevicesthatconsistofmorethanoneSymbols(Gates)canbefetchedGateby Gate,forexampleincertainorder(GateDbeforeGateC),ifwanted. INVOKEcanalsobeused tofetchpowersupplyGatesthatdonotappear automatically in the Schematic. This is useful and required, for example, whenyouareaddingdecouplingcapacitorstoyourdesign. ThiscommandallowsyoualsotoaddaGatefromaDevicewhichislocated onanothersheet.Insuchacase,typethenameoftheDevice(e.g.IC1)into thecommandlineaftertheINVOKEcommandhasbeenselected.
WIRE
Drawline(thiscommandiscalledWIREbecauseitisusedtodefineelectrical connections,i.e.wires,intheLayoutEditor).Thetypeoflinecanbechanged with CHANGE STYLE. Clicking the right mouse button changes the bend mode(SETWIRE_BEND). WIREcanalsobeusedtodrawarcs. Pleasenotetheparticularitiesincombinationwiththe Ctrl and Shift keyin thehelpfunction: Ifyoupress,forexample,theCtrlkeywhilestartingtodrawawire,thewire beginsexactlyattheendofanalreadyexistingwirenearby.Evenifthiswire isnotinthecurrentlysetgrid.Wirewidth,styleandlayerwillbeadopted fromthealreadyexistingwire.
56
CIRCLE
Drawacircle.Circleswithawidthof0aredrawnasfilledcircles.
ARC
Drawanarc(alsopossiblewithWIRE). CHANGECAPFLAT|ROUNDdefinesstraightorroundedendsforarcs.
RECT
Drawarectangle.
POLYGON
Drawapolygon(copperareasinanyshape).
BUS
Drawabusline.Themeaningofabusismoreconceptualthanphysical.Itis only a means to make a schematic easier to read. Only nets define an electricalconnection.Nets,however,canbedraggedoutofabus.
NET
Draw a net. Nets with the same name are connected (even if located on differentsheets). Netsandpinswhichappeartotheeyetobeconnectedarenotnecessarily electricallyconnected.PleasecheckwiththeSHOWcommand,theERC,orby exportinganetlistorpinlist(EXPORTNETLISTorPARTLIST).Seealsothe helpforMOVE.
JUNCTION
Place the symbol for a net connection. In general, junctions are placed automatically,butnetswhichcrossovercanalsobejoinedmanuallybythe JUNCTIONcommand.
57
ATTRIBUTE
Definesanattributeforacomponent. Attributesarefreedefinableandcan containanyinformation. Throughthemenu Edit/Globalattributes..youcandefineattributesthatare validforallcomponentsrespectivelyforthewholeschematic.
ERC
PerformanElectricalRuleCheckandaconsistencycheckforschematicand board, if already existing. A positive consistency check allows the Forward&BackAnnotationenginetorun.
58
ASSIGN
Assignfunctionkeys. ThemostconvenientwayofdoingthisistousetheOptions/Assignmenu.
CLASS
Select and define net classes (Edit/Net classes...).A net classspecifiesthe widthofatrack,theclearancefromneighbouringsignals,andthediameter ofviasfortheAutorouterandtheROUTEcommand.Thesesettingsarealso usedinpolygons.Seealsopage117.
CLOSE
Textcommandforclosinganeditorwindow(File/Close).
EDIT
Textcommandfor loadingafileoralibraryobject.Youcan,forinstance, loadaboardfromtheSchematicEditor(EDITname.brd).
FRAME
DefineadrawingframefortheSchematic(Draw/Frame).Alsopossiblefora boarddrawing.
EXPORT
Output lists (especially netlists), directories, script files, or images (File/Export...).
LAYER
Choose or define the drawing layer. When using drawing commands the layercanbechosenintheparametertoolbar. To create, for example, a new layer with number 200 and layer name Mylayer,typeinthecommandline: LAYER 200 Mylayer IncaseyoucreatedaLayout,forexample,withtheEAGLELightEditionand upgraded to the Standard Edition because you would like to use its two additionalinnersignallayers,youhavetocreatetheselayerswiththeLAYER commandfirst: LAYER 2 Route2 LAYER 15 Route15 59
OPEN
Text command for opening a library for editing (Library/Open). This command is not identical to the File/Open menu item of the Schematic Editor, which only lets you select schematics. You can use the OPEN commandasanalternativetotheFilemenuoftheControlPanel.
PACKAGE
IncasethereismorethanonePackagevariantdefinedinthelibraryfora part(Device),atypicalexamplewouldbearesistorfromrcl.lbr,itispossible to change the currently used Package with the PACKAGE or with the CHANGEPACKAGEcommand.ThiscanbedoneintheSchematicorinthe LayoutEditor.
PRINT
Calluptheprintdialogwiththe printericonintheactiontoolbar or fromthemenuitemFile/Print....UsuallythePRINTcommandisusedtoprint schematicsorforcheckingthedrawingsneededforthePCBproduction. TheactualproductiondataaregeneratedwiththeCAMProcessor. IfyouwanttooutputyourdrawinginblackandwhitechecktheBlackoption (andSolid,ifyoudon'twantlayerstobeprintedintheirdifferentfillstyles). ThecaptiontextissuppressedunlessyoucheckCaption.SetPagelimitto1,if yourdrawingistobefittedononepage.Ifyouprefertoprintthecurrently visibledrawingwindowinsteadofthewholedrawing,selectWindowinstead ofFullintheAreaoption.
QUIT
QuitEAGLE.IdenticalwiththemenuitemFile/ExitorAltX.
REMOVE
Deletefilesorschematicsheets. REMOVE .S3 forinstance,deletessheet3oftheloadedschematic.
SET
Setsystemparametersandmodes.BestdoneviatheOptions/Setmenuitem. Pleasenotethatnotallofthepossibilitiesareavailablethroughthisdialog. Presettingscanbedefinedinthescriptfileeagle.scrbyusingtextcommands. Furtherinformationcanbefoundinthehelpfunction.
60
UPDATE
TheUPDATEcommandchecksthepartsinaboardorschematicagainsttheir respective library objects and automatically updates them if they are different.(Library/Update...orLibrary/Updateall). ThecontextmenuintheControlPanel's'treeviewofferstheOptionsUseall andUsenoneforaquickselectionoflibraries.
WRITE
Text command for saving the currently loaded file. Please note that, in contrastto Saveas,thenameofthecurrentlyeditedfileisneverchanged whentheWRITEcommandisused.
Mouse Keys
Themiddleandrightmousebuttonhaveaspecialmeaningforanumberof commands. You can use the middle mouse button only if the operating systemknowsyourmouseisa3buttonmouse,thatisyourmousemustbe installedthisway. Ifyouareworkingwithawheelmouse,youcanzoomintoandoutofthe drawingwiththehelpofthemousewheel.TheoptionMousewheelzoomin the Options/User Interface menu determins the zooming in/out factor per step.Thevalueissetto1.2bydefault. Selectingavalueof0allowsyoutousethewheelforscrolling. Keepthemousewheelorthemiddlemousebuttonpressedforpanning. MouseclicksincombinationwiththeShift,Ctrl,andAltkeycanhavevarious functions,forexample,whileselectingobjectswithMOVEorwhiledrawing lineswithWIRE. The help section on Keyboard and Mouse and the help of the referring commandgivesyoumoredetails.
61
LayoutEditorwindow
The Layout Editor window appears very much like the Schematic Editor window.Evenifyoudon'tworkwiththeSchematicEditor,youshouldstudy theprevioussection,asmostoftheinformationthereappliestotheLayout Editor,too. Onlythecommandsinthecommandtoolbararediscussedagain,assome commandsdifferintheiruse. Descriptions of commands that cannot be reached through the command toolbararealsotobefoundinthesectionconcerningtheSchematicEditor window. Allof thecommandscan alsobereached throughthepulldown menusinthemenubar.Thisalsoapplies,ofcourse,totheSchematicand LayoutEditorwindows.
62
SHOW
Highlightstheobjecttobeselectedwiththemouse. It'salsopossibletoentertheobject'sname(evenseveralnamesatonce)in thecommandline.*and?areallowedtobeusedaswildcards,aswell. Ctrl+SHOWtogglestheshowstateoftheselectedobject.
DISPLAY
Selectanddeselectthelayerstobedisplayed.Componentsonthetopsideof theboardcanonlybeselectedifthelayer23,tOrigins,isdisplayed.Thesame appliestocomponentsonthebottomsideoftheboardandlayer24,bOrigins. OnlythosesignallayersthataredefinedintheLayersetupareshown. SeeAppendixforthemeaningofthelayers. TheDISPLAYcommandsupportssocalledaliases.Thisallowsyoutoname certain combinations of layers and use it as a parameter with the LAYER command. Aquick changefromone view toanotherlayercombinationis possiblewiththiscommand. DISPLAYLASTswitchestothelastdisplayedlayercombination. DetailedinformationabouttheDISPLAYcommandcanbefoundinthehelp function.
MARK
Thefollowingmouseclickdefinestheneworiginforthecoordinatedisplay. Relativecoordinates(Rxvalueyvalue)andpolarvalues(Pradiusangle)are showninadditiontoabsolutecoordinatesinthecoordinatedisplaybox. If you first click the MARK icon and then the trafficlight icon, only the absolutecoordinatevalueswillbedisplayedagain.
MOVE
Moveanyvisibleobject.Therightmousebuttonrotatestheobject. TheMOVEcommandcannotconnectsignalsevenifawire(trace)ismoved overanotherwireorapad.UseROUTEorWIREtoroutesignals.
63
COPY
Copypartsandotherobjects. Whencopyingobjects,anewnamewillbeassigned,butthevaluewillbe retained.Whencopyingasinglewire,thecopywillhavethesamename. COPYcanbeusedwithgroupsandworksthesameasitwouldbewithCUT andPASTEwithinadrawing.
MIRROR
Mirrorobjects.Componentscanbeplacedontheoppositesideoftheboard byusingtheMIRRORcommand.
ROTATE
Rotateobjects(alsopossiblewithMOVE).Keeptheleftmousebuttonpressed torotatetheselected objectbymoving the mouse.Theparametertoolbar showsthecurrentangle.Thiscanbedonewithgroups(GROUPandright mousebutton)aswell. ROTATEcanbeusedwithgroups,aswell.ActivateROTATE,presstheCtrl keyandclickwiththerightmousebuttonintothedrawingtosetthecenter ofrotation.Thegroupwillberotatedcounterclockwisebythegivenangle. Alternatively type in the angle in the Angle box or in the command line. Detailsaboutthesyntaxcanbefoundinthehelpfunction.
GROUP
Define agroupwhichcanthen bemoved,rotated,orcopiedwithCUTand PASTE to another drawing or whose properties should be changed. After clickingtheicon,arectangulargroupcanbedefinedbyholdingdowntheleft mouse button and dragging the cursor to the diagonal corner of the rectangle,orifyouwanttodefineanonrectangulargrouparea,usetheleft mousebuttontodeterminethecornersofthepolygon.Thenclicktheright mousebuttontoclosethepolygon. GROUPALLinthecommandlineselectsallobjects. TobesurethatallobjectsareselectedDISPLAYALLlayersbefore.Onthe otherhand,deselectingspecificlayerscanexcludecertainobjectsfromthe selection. Further information about GROUP can be found in the section about the SchematicEditorandinthehelpfunction. 64
CUT
Transfertheobjectsofapreviouslydefinedgroupintothepastebuffer. Activate the CUT command and click with the left mousebuttoninto the grouptosetareferencepoint. Allothercommandsexecutedwithagroupexpectarightmouseclickwhile theCtrlkeyispressed. NotidenticaltotheWindowscutfunction.
PASTE
Insertobjectsfromthepastebufferintothedrawing.Restrictions:seehelp. NotidenticaltotheWindowspastefunction.
DELETE
Deletevisibleobjects. Ifagrouphasbeendefined,itcanbedeletedwiththe right mousebutton whiletheCtrlkeyispressed. DELETESIGNALSinthecommandlineerasesall tracksandsignalsinthe layout,providedthereisnoconsistentschematicloaded. TheDELETEcommanddeletesanentirepolygonwhenclickingonapolygon wirewiththeShiftkeypressed. KeepingtheCtrl keypressedwhileclickingwiththeleftmousebuttonona wirebendwill deletethebend.Anewdirectconnectionbetweenthenext bendswillbedrawnnow. Ifobjectscannotbedeleted,thereasoncanliewitherrorpolygonsrelatedto the DRC command. They can be deleted with the ERRORS command (ERRORS CLEAR). If layer 23, tOrigins, or 24, bOrigins, is not displayed, componentscannotbedeleted.
65
PINSWAP
Swaptwosignalsconnectedtoequivalentpadsofacomponent,providedthe pinshavebeendefinedwiththesameSwaplevel.
REPLACE
Replaceacomponent(oraPackage,ifthereisnoschematic)byanotherone fromanylibrary. IfyouwanttochangethePackagevariantonlyandnotthewholeDevice,use CHANGEPACKAGEorthePACKAGEcommand. ArightclickontotheREPLACEiconopensapopupmenuthatshowsalistof recentlyreplacedcomponents.
LOCK
Locks the position and orientation of a component on the board. If a componentislocked,youcan'tmoveitorduplicateitwithCUTandPASTE. Shift + LOCKunlocksthecomponent.Thisisalsopossiblewiththe unLock entryofthecontextmenu. Tobeabletodistinguishlockedfromunlockedcomponents,theorigincross ofalockedcomponentisdisplayedlikea'x'insteadofa'+'. Thepositionofalockedcomponentcanbechanged,however,bytypingin newcoordinatevaluesinthepropertiesdialog.
NAME
Givenamestocomponents,signals,vias,andpolygons. WithNAMEit'spossibletomoveapolygonfromonesignaltoanother.
VALUE
Provide values for components. A resistor, for example, gets 100k as its value. Arightclickontothisiconopensalistofalreadyusedvalues.Select an entry and apply it to one or more components by clicking onto them successively.
66
MITER
Roundofforbevelwirejoints(alsopossibleforpolygoncontours).Thegrade of mitering is determined by the miter radius. Positive sign results in a roundedjoint,negativesigninabevel. Themiterradiusinfluencessomewirebendmodes,too(seehelpfunction: SET,Wire_Bend).
SPLIT
Insertabendintoawire. If you want to change, for example, the layer fora sectionof an already routedtrack,youcaninserttwowirebendswiththeSPLITcommandand change thelayerof thenewly created segmentwiththeCHANGELAYER. EAGLEwillsetviasautomaticallyatthepositionofthewirebends. YoucanusetheSPLITcommandforaquickreroutingofanalreadyexisting track.Clickontothetracktoinsertawirebend.Nowmovethemouseand route it anew. To remove the previous track use the RIPUP command or DELETEincombinationwiththeCtrlkey.
OPTIMIZE
Joinswiresegmentsinasignallayerwhichlieinonestraightline.
ROUTE
Route signals manually. Airwires are converted to wires. If your EAGLE licensecomeswiththeAutoroutermodule,theROUTEcommandsupports the Followme router mode which automatically processes the trace of a selectedsignal. 67
Moreinformationcanbefoundinthehelpfunction.
RIPUP
Convertroutedwires(tracks)intounroutedsignals(airwires).Changethe displayoffilled(calculated)polygonstooutlineview. Using signal names inthe command line allows youtoripuponlycertain signals,toexcludeparticularsignals,ortoexecutethecommandexclusively forpolygons.Moredetailscanbefoundinthehelpfunction. WiresnotconnectedtocomponentsmustbeerasedwithDELETE.
WIRE
Drawlinesandarcs.Ifusedinthelayers1through16,theWIREcommand createselectricalconnections. The Style parameter(CHANGE)determinestheline type.TheDRCandthe AutorouteralwaystreataWIREasacontinuousline,regardlessofwhatStyle isused. Clickingtherightmousebuttonchangesthewirebend(SETWIRE_BEND). Pleasenotetheparticularitiesincombinationwiththe Ctrl and Shift keyin thehelpfunction: Ifyoupress,forexample,theCtrlkeywhilestartingtodrawawire,thewire beginsexactlyattheendofanalreadyexistingwirenearby.Evenifthiswire isnotinthecurrentlysetgrid.Wirewidth,styleandlayerwillbeadopted fromthealreadyexistingwire.
TEXT
Placingtext.Use CHANGESIZEtoaltertheheightofthetext.Ifthetextis usingavectorfont,CHANGERATIOwillalterthethickness.CHANGETEXT isusedtoalterthetextitself.CHANGEFONTaltersthetypeface. Theoption Alwaysvector font (Options/UserInterface)showsandprintsall textsinvectorfont,regardlessofwhichfontisactuallysetforaparticular text. 68
CIRCLE
Draw a circle. This command creates restricted areas for the Autorouter/Followmerouter,ifusedinthelayers41,tRestrict,42,bRestrict, or43,vRestrict.Circleswithwirewidth=0aredrawnasfilled.
ARC
Drawanarc(alsopossiblewithWIRE). CHANGECAPFLAT|ROUNDdefinesstraightorroundedendsforarcs. Ifthearcisapartofatraceandbothendsareconnectedtoawire,capswill beround. Arcs with flat caps are emulated when generating manufacturing data in GerberformatwiththeCAMProcessor.Thatmeanstheywillbedrawnwith smallshortstraightlines.Arcswithroundcapswon'tbeemulated.
RECT
Drawarectangle.ThiscommandcreatesrestrictedareasfortheAutorouter orFollowmerouter,ifusedinthelayers41, tRestrict,42, bRestrict,or43, vRestrict.
POLYGON
Drawapolygon. Polygonsinthesignallayersaretreatedassignals.Theykeepanadjustable distancetoobjectsbelongingtoothersignals(copperpouring,floodfill).This enables you to realize different signal areas on the same layer and make isolatedregionsforyourdesign. Thecontourofapolygonintheoutlinemodeisdisplayedasadottedline. ThePOLYGONcommandcreatesrestrictedareasfortheAutorouter/Follow merouter,ifusedinthelayerstRestrict,bRestrict,orvRestrict,. ForotherpossibilitiesofthePOLYGONcommandseehelp.
69
SIGNAL
Manual definition of a signal. This is not possible if the Forward&Back Annotationisactive.Inthatcaseyouhavetodefinetheconnectionwiththe NETcommandintheSchematicEditor.
HOLE
Defineamountinghole(notplatedthrough).
ATTRIBUTE
Definesanattributeforacomponent. Throughthemenu Edit/Globalattributes..youcandefineattributesthatare validforthewholelayout.
RATSNEST
Calculatetheshortestairwirespossibleandtherealmode(filled)displayof polygons. UsetheRATSNESTcommandwithasignalnameinordertocalculateand displayor hideacertain airwire. Aprecedingexclamationmarkhidesthe airwiresofthegivensignalname.Moreinformationcanbefoundinthehelp function. ThepolygoncalculationcanbedeactivatedwiththeSETcommand.Either throughthemenuOptions/Set/Miscorbytypinginthecommandline: SETPOLYGON_RATSNESTON|OFForinshort:SETPOLYON|OFF. RATSNEST will be executed automatically for the selected signal while drawingawirewithROUTE. WhileRATSNESTisactivethestatusbaroftheLayoutEditordisplaysthe nameofthecurrentlycalculatedsignal.
AUTO
StarttheAutorouter. IfyoutypeAUTO FOLLOWMEinthecommand line,the Autorouter Setup windowopensinthefollowmemode,whichallowstosettheparametersfor thefollowmerouteronly. 70
DRC
DefineDesignRulesandperformDesignRuleCheck.
ERRORS
Showerrors found by theDRC.Ifyouhaven'talreadyprocessedaDesign RuleCheckfortheboard,itwillbedoneautomaticallybeforeshowingthe errorlist,ifthereareanyerrorsfound. TherearefurthercommandsfortheLayoutEditor,astheyareinthe Schematic,thatarenotavailableintheCommandMenu.Pleasetakea lookatthesectionbeginningwithpage 59.Mostofthemarevalidin SchematicandLayout.
LibraryEditorwindow:Noelementhasyetbeenloaded
EDIT
LoadDeviceorPackage(ifyouonlyhavetheLayoutEditor)forediting.
From the left: Load Device, load Package, load Symbol. These icons are shownintheactiontoolbar. Ifyouclickononeoftheseiconswiththerightmousebutton,orlongclick withtheleftmousebuttonononeofthesesicons,alistwiththerecently editedobjectswillpopup.
REMOVE
Delete Device/Package/Symbol from library. Available only through the Library menuorthecommandline.Seehelpfunctionorthechapterabout LibraryandPartManagementinthismanualformore.
72
PAD
Placethepadofaconventional(throughhole)component. Thepadcomeswithaplatedthroughdrillthatgoesthroughallsignallayers. The pad shape can be round, square, octagonorlong in the outer signal layers.Intheinnersignallayerspadsarealwaysround.
SMD
PlaceaSMDpad. YoucanchangethenameofthepadsorSMDswiththeNAMEcommand. UsetheWIRE,ARC,etc.commandstodraw thesymbolforthesilkscreenonlayer21,tPlace, additionalgraphicalinformationforthedocumentationprint intolayer51,tDocu. DrawrestrictedareasfortheAutorouter,ifneeded,inlayers41,tRestrict,42, bRestrict,or43,vRestrict,orinlayers39,tKeepout,or40,bKeepout,byusing thecommandsCIRCLE,RECT,orPOLYGON. PlacemountingholeswiththeHOLEcommand,ifneeded. UsetheTEXTcommandtoplace thestring>NAMEinlayer25,tNames,servingasatextvariable containingthenameofthecomponent,
73
theactiontoolbar.EnterthenameoftheSymbol,andreplytotheconfirming questionCreatenewsymbol'symbolname'?withYes.
PIN
Placepins. Youcanadjustthepinparameters(name,direction,function,length,visible, Swaplevel)intheparametertoolbarwhilethePINcommandisactive,orlater withtheCHANGEcommand.Thepinparametersareexplainedstartingon page 206 and in the help pages under the keyword PIN. Pin names are changedusingtheNAMEcommand. UsetheTEXTcommandtoplace thestring>NAMEinlayer25,tNames,servingasatextvariable containingthenameofthecomponent, thestring>VALUEinlayer27,tValues,servingasatextvariable containingthevalueofthecomponent.
DeviceEditorwindow
ADD
Add a Symbol to a Device. Gate name, Swaplevel, and Addlevel can be definedin theADDcommandintheparametertoolbar,orredefinedlater withtheCHANGEcommand. TheSwaplevelspecifieswhetherthereareequivalentGates. TheAddleveldefines,forinstance,ifaGateistobeaddedtotheschematic onlyontheusersrequest.Example:thepowergateofanintegratedcircuit whichisnormallynotshownontheschematic.
NAME
ChangeGatename.
CHANGE
ChangeSwaplevelorAddlevel.
PACKAGE
DefineandnamePackagevariant(s).ThePACKAGEcommandisstartedby clickingontheNewbuttonintheDeviceEditorwindow,orbytypingonthe commandline.ChoosetherequestedPackagevariant. Moreinformationaboutthiscanbefoundonpage251.
CONNECT
Definewhichpins(Gate)relatetowhichpads(Package).
PREFIX
Provideprefixforthecomponentnameintheschematic(e.g.Rforresistors).
VALUE
IntheDevicemode,VALUEisusedtospecifywhetherthecomponentvalue canbefreelyselectedfromwithintheschematicdiagramorthelayout,or whetherithasafixedspecification. On:Thevaluecanbechangedfromwithintheschematic(e.g.forresistors). Thecomponentisnotfullyspecifieduntilavaluehasbeenassigned. Off: The value corresponds to the Device name, including, when present, assignmentofthetechnologyandthePackageversion(e.g.74LS00N). EvenifValueisOff,thevalueofacomponentcanbechanged.Aquerychecks ifthisactionisintended. Thealteredvalueofthecomponentremainsunchanged,iftheTechnologyor the Package version is altered later with CHANGE PACKAGE or CHANGE TECHNOLOGY. 76
ATTRIBUTE
Click on Attributes to define any additional attribute for the Device. A detailed description can be found in the chapter about libraries in this manual.
DESCRIPTION
Compose a description of the Device which can also be examined by the searchfunctionassociatedwiththeADDdialog. Information about Copying of Packages, Symbols and Devices can be foundfrompage256on.
77
TheCAMProcessor
TheCAMProcessorcanalsobestarteddirectlyfromthecommandline.A numberofcommandlineparameterscanbepassedtoitwhenitiscalled. Thesearelistedintheappendix. Pleasedonotpassonyourpersonalinstallationcode!Thisispunishable bylaw!
Generate Data
Starting the CAM Processor
TherearedifferentwaystostarttheCAMProcessor: YoucandothisdirectlyfromtheLayoutorSchematicEditorwindowwith the CAM Processor icon in the action toolbar or through the menu File/CAM Processor. The current schematic or board will be loaded automaticallyfromtheControlPanelbyclickingononeoftheentriesinthe Tree View's CAM Jobs branch. Then the selected CAM Job will be loaded automatically.Youstillhavetoloadtheschematicorboardfromwhichyou want to make the CAM Processor manufacturing data from through the File/Openmenubyusingthecommandprompt(Windowscommandprompt, Terminal or Console window) without graphical user interface. Particular informationcanbefoundintheappendixchapteraboutEAGLEOptions. 78
Load Board
BeforeyoucangenerateanoutputyoumustopentheFilemenuandloada board file, if not already loaded automatically while stating the CAM ProcessorfromanEditorwindow.AtthebottomleftintheCAMProcessor windowyouwillseethefilenamethedataisbeinggeneratedfrom. TheoutputofdataforaSchematic,forexampleforacertainplotter,isalso possible.
Start Output
Ifyouwanttoexecutethejobwhichhasbeenloaded,clickthe ProcessJob button.Ifyoujustwanttogetanoutputusingthecurrentlyvisibleparameter settings,clicktheProcessSectionbutton.
TheTextEditor
In case you prefer an external text editor, define theprogram call in the ControlPanel'sorinoneoftheEditorwindow'sOption/Userinterfacemenu, External texteditor. Ifyou wanttopreventEAGLEtostartanytexteditor automatically,typeinaminussign''intheExternaltexteditorline.Clearthe lineforthebuiltinEAGLEtexteditor. Pleasenotefurtherinformationabouttheusageofanexternaltexteditorin thehelpfunction,sectionEditorwindows/TextEditor.
80
Command Line
Asanalternativetothepreviouslymentionedclickingontoaniconyoucan usethecommandline. Whenenteringcommandsyoumayabbreviatekey wordsaslongastheycannotbemistakenforanotherkeyword,oryoumay usesmallorcapitalletters(theinputisnotcasesensitive),forexample: CHANGE WIDTH 0.024 isequivalentto cha wi 0.024 81
History Function
YoucanrecallthemostrecentlyenteredcommandsbypressingCrsrUp() or CrsrDown ( and edit them. The Esc key deletes the contents of the ) commandline.
82
ThecontextmenuforaDeviceintheSchematic
Function Keys
Textsmaybeallocatedtothefunctionkeysandtocombinationsofthosekeys withAlt,Ctrl andShift(forMacOSXadditionally Cmd),ifnotoccupiedby theoperatingsystemoraLinuxWindowManager(forexampleF1forhelp). Ifafunctionkeyispressed,thiscorrespondstothetextbeingtypedinviathe keyboard.Sinceevery commandiscapableofbeingenteredastext,every command,togetherwithcertainparameters, canbeassignedtoafunction key.Evenwholesequencesofcommandscanbeassignedtoafunctionkeyin thisway. Thecommand ASSIGN displays the current function key assignments. Changes to the key assignmentscanbecarriedoutintheassignwindow. TheNewbuttoncanbeusedtodefineanewkeyassignment.AclickontoDel will delete a marked entry, while Change alters anexistingdefinition. OK closesthedialogandsavesthedefinitions,whileCancelabortsthedialog. These settings can also be made via the Options/Assign menu in the SchematicorLayoutEditor.
83
ThedialogfortheASSIGNcommand
TopredefinecertainassignmentsyoucanalsousetheASSIGNcommandin thefileeagle.scr(seepage105). Examples: ThecombinationofCtrl+Shift+Gdisplaysagridof0.127mm: ASSIGN CS+G 'GRID MM 0.127 ON;'; ThecombinationofAlt+F6changesthelayertoTopandstartstheROUTE command: ASSIGN A+F6 'LAYER TOP; ROUTE'; ThecombinationofthekeysAlt+RdisplaysonlythelayersTop,Pads,Vias andDimensionfirstandthenstartstheprintoutwiththedefaultprinter: ASSIGN A+R 'DISPLAY NONE 1 17 18 20; PRINT;'; A,C,M,andSarethemodifiersfortheAlt,Ctrl,Cmd(MacOSXonly),and Shiftkey. ThecombinationofAlt+0bringstheControlPanelintotheforeground.The combinations Alt+1 upto 9 areassignedtothevarious editorwindows, accordingtothewindownumberwhichisshownintherespectivetitlebar.
84
Script Files
Script files are a powerful tool. They can contain long sequences of commands,suchasthespecificationofspecificcolorsandfillpatternsforall layers, as for example in defaultcolors.scr. On the other hand they might containnetlistsconvertedfromthedataofotherprograms. TheSCRIPTcommandisusedtoexecutescriptfiles. ManyUserLanguageprograms(ULP)createscriptfilesthatcanbereadin ordertomodifyalayoutoraschematic. EAGLEoutputsanentirelibrary,forinstance,asascriptfilewiththeaidof the EXPORT command(Netscript option).Thisfilecanbemodifiedwitha texteditor,afterwhichitcanbereadinagain.Thisallowschangestobe madetoalibraryquiteeasily. Thereismoreinformationaboutscriptfilesandexportcommandslaterin thischapter.
Mixed Input
Thevariousmethodsofgivingcommandscanbemixedtogether. You can, for instance, click the icon for the CIRCLE command (which corresponds to typing CIRCLE on the command line), and then type the coordinatesofthecenterofthecircleandofapointonthecircumferencein thisform (2 2) (2 3) inthecommandline. Thevaluesusedabovewould,iftheunitiscurrentlysettoinch,resultina circle with a radius of one inch centered on the coordinate (2 2). It is irrelevantwhethertheCIRCLEcommandisenteredbyiconorbytypingon thecommandline. SomeEAGLEcommandsareusedincombinationwiththeShift,Altor Ctrlkeys.IncaseyouareworkingwithEAGLEforMacOSX,pleaseuse theCmdkeyinsteadofCtrl.
85
Typographical Conventions
Enter key and Semicolon
IfEAGLEcommandsareenteredviathecommandlinetheyarefinishedwith theEnterkey.Insomecasesacommandmusthaveasemicolonattheend,so thatEAGLEknowsthattherearenomoreparameters.Itisagoodideato closeallcommandsinascriptfilewithasemicolon. TheuseoftheEnterkeyissymbolizedatmanyplaceswithinthishandbook withthesign. However in the following examples neither the Enter key sign nor the semicolonareshown,sinceallofthesecommandscanbeusedbothonthe commandlineandwithinscriptfiles.
Lower Case
Parametersshownhereinlowercasearetobereplacedbynames,numbers orkeywords.Forexample: Syntax: GRID grid_size grid_multiple Input: GRID 1 10 Thissetsthegridto1mm(assumingthatthecurrentunitissettomm). Every tenth grid line is visible. The figures 1 and 10 are placed into the commandinsteadoftheplaceholdersgrid_sizeandgrid_multiple.
Underscore
Inthenamesofparametersandkeywordstheunderscoresignisoftenused intheinterestsofaclearerrepresentation.Pleasedonotconfuseitwithan empty space. As can be seen in the example above, grid_size is a single parameter,asisgrid_multiple. Ifakeywordcontainsanunderscoresign,suchasCOLOR_LAYERdoesinthe command SET COLOR_LAYER layer_name color_word thenthecharacteristobetypedinjustlikeanyother.Forexample: 86
Spaces
Whereveraspaceispermissible,anynumberofspacescanbeused.
Alternative Parameters
The|charactermeansthattheparametersarealternatives.Forexample: Syntax: SET BEEP ON | OFF Input: SET BEEP ON or SET BEEP OFF Thebeep,whichistriggeredbycertainactions,isswitchedonoroff.
Repetition Points
The .. characters mean either that the function can be executed multiple times, or that multiple parameters of the same type are allowed. For example: Syntax: DISPLAY option layer_name.. Input: DISPLAY TOP PINS VIAS Thelayernumbercanalternativelybeused: DISPLAY 1 17 18 Morethanonelayerismadevisiblehere. Ifalayer(inthiscaseBottom)istobehidden: DISPLAY -16
Mouse Click
Thefollowingsign usually means thatat thispointinthecommandan objectistobeclickedwiththeleftmousebutton. Forexample: MOVE Input: MOVE (or Mouse click Mouse click Mouse click and so on. click the icon) on the first object to be moved on the destination on the second object to be moved
87
Relative values:
Itispossibletouserelativecoordinatevaluesintheform(Rxy)whichrefer toareferencepointsetwiththeMARKcommandbefore.Ifyoudon'tseta referencepointtheabsoluteoriginofthecoordinatesystemwillbetaken. Settingaviarelativetothereferencepoint: GRID MM 0.5; MARK (20 10); VIA (R 5 12.5); MARK; FirstthegridissettoMillimetres,thenthereferencepointattheposition(20 10)isplaced.Theviaislocatedatadistanceof5mminxand12.5mminy directionfromthethispoint.Thenthereferencepointisremoved.
Polar values:
Polarcoordinatesaregivenintheformof(Pradiusangle).
88
Modifier:
Withinparenthesisonecanusesomemodifiers.Forcombinationsyoudon't havetocareabouttheorder: A representsthepressedAltkey,thealternativegrid C representsthepressedCtrlkey,MacOSX:Cmd S representsthepressedShiftkey R relativecoordinates P polarcoordinates > rightmouseclick CandScausemiscellaneouscommandstobehaveindifferentmanners.More informationcanbefoundinthehelpfunctionoftherespectivecommand. Ifthecommandsarebeingreadfromascriptfile,eachonemustbeclosed withasemicolon.Intheabovecasesthesemicolonscanbeomittedifthe commandsarebeingenteredviathekeyboardandeachisbeingclosedwith theEnterkey. Examples: Acomponentistobetransposedtoaspecifiedposition. GRID MM 1; MOVE IC1 (120 25) ;
89
90
TheGridmenu
The Alt line allows to set an alternative grid which can be activated by pressingthe Alt key(while,forexample,MOVE,ROUTE,ADD,orWIREis active). This can be very useful for placing parts in a dense layout or arranging labels in the schematic. If you decide not to place it in the alternativegridandreleasetheAltkeybeforeplacingit,theobjectstaysinits origingrid. Stylespecifiesthewayitisdisplayed:LinesorDots. TheoptionsOnandOffunderDisplayswitchthegriddisplayonoroff. Finestsetsthefinestgridthatispossible. Clickingondefaultwillselecttheeditor'sstandardgrid. Beginningwithacertainzoominglimit,gridlinesarenotdisplayedanymore. ThislimitcanbesetinthemenuOptions/Set/Misc,Min.visiblegridsize. Gridlinesandgriddotscanhaveanycolor.Clickthecoloredbuttonofthe respective palette (depends on the background color) in the menu Options/Set/Colorsandselectthecolorasrequested.Thiscanalsobedonein thecommandline,forexample: SET COLOR_GRID BLUE Insteadofthecolornamethecolornumbercanbegiven,aswell.Itcanbein therange0..63.Theshowncolordependsonthe(self)definedcolorsofthe currentpalette. SeealsothehintsconcerningColorsettingsonpage100.
92
DeletingaWINDOWalias
ThesamemethodscanbeusedtoRenameorEditanalias. These actions can be executed also via the command line. Further informationcanbefoundinthehelppagesabouttheDISPLAY,GRID,and WINDOWcommands.
93
Automatic Naming
IfanameisgiventogetherwithoneofthecommandsPIN,PAD,SMD,NET, BUS or ADD, then other names will be derived from it as long as the commandisstillactive. Thenameissimplytypedintothecommandlinebeforeplacingtheobject (whileitisattachedtothemouse).Notethatthenamemustbeplacedwithin simplequotationmarks.EntryiscompletedwiththeEnterkey(). Theexamplesillustratehowautomaticnamingfunctions: ADD DIL14 'U1' fetchesthreeDIL14PackagestotheboardandnamesthemU1,U2andU3 (correspondstoamouseclick). PAD OCT '1' placesfouroctagonalpadswiththenames1,2,3,and4. If the name consists of only one character from A...Z, then the following objectsreceivethefollowinglettersofthealphabetasnames: ADD NAND 'A' fetches four NAND gates with thenames A, B, C and D. Ifthegenerated namereachesZ,thennameswiththedefaultprefixwillagainbegenerated (e.g.G$1).
DIRECTORY
Outputs a list of the contents (Devices, Symbols, and Packages) of the currentlyloadedlibrary.
NETLIST
Outputsa netlistforthecurrentlyloadedschematicorboardinanEAGLE specificformat.Itcanbeusedtochecktheconnectionsinadrawing.
95
NETSCRIPT
Outputsanetlistofthecurrentlyloadedschematicintheformofascriptfile. ThenetscriptcanbeimportedintotheboardfilewiththehelpoftheSCRIPT command. Thiscouldbepossiblysuggestiveiftherearedifferencesinthe netlistbetweenschematicandlayout. Inthefirststepyouhavetodeleteallsignalsinthelayoutwiththecommand DELETESIGNALS.Beawarethatalltracesarelost!NowexporttheNetscript fromtheSchematicandimportitwiththeSCRIPTcommandintothelayout. TheresultisaSchematic/Layoutfilepairwithanidenticalnetlist.
PARTLIST
Outputsacomponentlistfortheschematicorboard.
PINLIST
Outputsapin/padlistfortheschematicorboard,listingtheconnectednets.
SCRIPT
Outputsthecurrentlyloadedlibraryintheformofascriptfile. This script can be modified with a text editor in order to generate, for example,auserdefinedlibrary,ortocopypartsofonelibraryintoanother. Themodifiedscriptfilecanbeimportedintoaneworanalreadyexisting librarywiththehelpoftheSCRIPTcommand. ThescriptfilealsoservesasagoodexamplefortheEAGLEcommandsyntax. Inorderto avoidlossof precision the grid unit in thescriptfileissetto Millimetres.
IMAGE
TheoptionImageallowsyoutogeneratefilesinvariousgraphicformats. Thefollowingformatsareavailable: bmp png pbm pgm ppm tif xbm xpm WindowsBitmapfile PortableNetworkGraphicsfile PortableBitmapfile PortableGrayscaleBitmapfile PortablePixelmapfile TagImagefile XBitmapfile XPixmapfile
96
97
are consistent. Every action performed on the schematic diagram is simultaneously executed in the layout. If, for instance, you place a new Device,theassociatedhousingwillappearonthelayoutattheedgeofthe board.Ifa netisplaced,thesignallines are simultaneously drawninthe layout.Certainoperationssuchastheplacementordeletionofsignalsare only allowed in the schematic. The Layout Editor does not permit these actions,andissuesanappropriatewarning.RenamingDevicesorchanging theirvalues,forexample,arepermittedinbothfiles. TheEAGLEhelppagescontainacloserdescriptionofthetechnicaldetails. Itisnotnecessaryforyou,astheuser,topayanyfurtherattentiontothis mechanism.Youonlyhavetoensurethatyoudonotworkonaschematic whoseassociatedboardfilehasbeenclosed,andviceversa.Thismeansthat both files must always be loaded at the same time. Otherwise they loose consistency,andtheannotationcannolongerwork.
98
Configuration Commands
Mostoftheoptionsareusuallysetbymeansofthe Options menusofthe individualEAGLEeditorwindows. TheControlPanelallowssettingstobemadeforDirectories,fileBackupand the appearance of the editor window (User interface). These options are describedinthechapterontheControlPanelunderthe Optionsmenuheading,startingonpage43. ThroughtheUserinterfacesettingsitispossibletoselecttheiconbasedmenu oraconfigurabletextmenu. The MENU command allows the text menu to be given a hierarchical configurationbymeansofascriptfile.Thereisanexampleofthisinthe appendix. TheOptionsmenuintheeditorwindowsforschematicdiagrams,layoutsand librariescontains,inadditiontotheUserinterfaceitem,twofurtherentries: AssignandSet. The ASSIGN command alters and displays the assignment of the function keys.Youwillfindinformationaboutthisonpage83. GeneralsystemparametersarealteredwiththeSETcommand. The CHANGE command allows a variety of initial settings for object properties. The GRID command sets the grid size and the current unit. Further informationaboutthisstartsonpage90. 99
Color Settings
The Colors tabcontainssettingsforlayerandbackgroundcolorsandcolors forgridlinesordots. Threecolorpalettesareavailable:forblack,whiteandcoloredbackground. Eachpaletteallowsamaximumof64colorentries,whichcanbegivenany valuefortheAlphachannelandanyRGBvalue. 100
Settingswindow:Colorsettings
IfyouprefertheoldrasterOPbehaviourofpreviousEAGLEversionsonblack background, deactivate the Use alpha blending check box.In thiscasethe alphavalueisignoredwhenusingablackbackground.Colorsaremixednow usinganORfunction. By default EAGLE uses the first 16 values (entries 0..15). Eight colors followedbyfurthereightsocalledhighlightcolors. Thefirstentryofthepalettedeterminesthebackgroundcolor.Inthewhite palette,however,itisnotpossibletochangethebackgroundcolorbecause it'sneededforprintouts,whichnormallyaremadeonwhitepaper. TheimageaboveshowsthreebuttonsinthePalettecolumn.Clickononeof them.Forexample,thebuttonfor Colored Background.The Color window opensnow. Ontheleftan8x8matrixisvisiblethatcontainsalready16predefined colors.Therearealternatingeight'normal'colorswiththeircorresponding eighthighlightcolors.Acolorofthepaletteatpositionxcanbegiventhe correspondinghighlightcoloratpositionx+8. Inordertodefinenewvaluesselectanunusedboxofthematrixandadjust thenewcolorwiththehelpofthecolorselectionareaandthesaturationbar ontheright.ClickSetColortoapplyyourcolor.Nowselectanewcolorbox inthematrixandrepeattheprocedureforthenextcolor. Youmayalsoentervaluesfor Red, Green, Blue or Hue, Sat, Val and Alpha channeldirectly. Alphachannel determinesthetransparencyofthecolor.Thevalue0means thecoloristotallytransparent(invisible),themaximumvalue255standsfor nontransparent.Forprintoutsthevalueofthealphachannelissetto255for eachcolor.
101
Colorwindow:Definingcolors
The image above shows four further pairs of colors (normal and corresponding highlight color vertically arranged). In order to change the colorpaletteforaneditorwindowselecttheappropriate Backgroundinthe menuOptions/UserInterface. Youshouldalwaysdefineatleastonepairofcolors:anormalcolorand itsrelatedhighlightcolor. Alternatively, thecolordefinitionand changeofpalettecanbemadeina scriptfileorinthecommandline. SET PALETTE <index> <rgb> definesacolorforthecurrentlyusedpalette,wherethevalueforthealpha channelandthecolorvaluehastobegivenhexadecimal.Indexstandsforthe colornumber,rgbforthevaluesforalphachannel,thecolorsred,blue,and green.Example: SET PALETTE 16 0xB4FFFF0 setsthecolornumber16toyellow,whichcorrespondstothedecimalRGB value 255 255 0 which is hexadecimal FF FF 00. The first byte B4 determinesthevalueofthealphachannel(decimal180). Hexadecimalvaluesaremarkedbyaleading0x. Toactivatetheblackcolorpalettetypeinthecommandline: SET PALETTE BLACK Thenewpalettewillbecomevisibleafterrefreshingthedrawingareawith theWINDOWcommand.
102
SettingsatOptions/Set/Misc
Optionsoverview: Beep: Switcheson/offtheconfirmationbeep.Default:on. Checkconnects: Activatesthepackagecheckwhileplacingpartsintheschematic. Default:on. Undo: Switcheson/offtheundo/redobuffer.Default:on. Optimizing: Enablestheautomaticremovalofbendsinstraightlines.Default:on. 103
BRD: #Menu Add Change Copy Delete Display Grid Group Move \ #Name Quit Rect Route Script Show Signal Split \ #Text Value Via Window ';' Wire Write Edit; Grid inch 0.05 on; Grid alt inch 0.01; Set Pad_names on; Set Width_menu 0.008 0.01 0.016; Set Drill_menu 0.024 0.032 0.040; Set Size_menu 0.05 0.07 0.12; Set Used_layers 1 16 17 18 19 20 21 22 23 24 25 26 \ 27 28 39 40 41 42 43 44 45;
105
106
107
108
Werecommendtocreateaproject(folder)first.Detailscanbefoundon page41.
109
Place Symbols
Firstyouhavetomakeavailablethelibrariesyouwanttotakeelementsfrom withtheUSEcommand.Onlylibrarieswhichareinusewillberecognizedby theADDcommandanditssearchfunction.Moreinformationconcerningthe USEcommandcanbefoundonpage50.
110
ADDdialog:Resultsfromthesearchkeyletter TheADDcommandmayalsobeenteredviathecommandlineorinscript files.Theframecanalsobeplacedusingthecommand: add letter_p@frames.lbr Wildcardslike*and?mayalsobeusedinthecommandline.Thecommand add letter*@frames.lbr for example opens the ADD windows and shows various frames in letter formattoselect. Thesearchwillonlyexaminelibrariesthatare inuse.Thatmeansthatthe libraryhasbeenloadedbytheUSEcommand(Library/Use). IfacertainlibraryshouldnotbelistedintheADDdialoganymore,selectthe library name in the tree and click the Drop button. Now it is not in use anymore. DrawingframesaredefinedwiththeFRAMEcommand. Thiscanbedoneinalibrary,wheretheframecanbecombinedwitha document field. EAGLE can also use the FRAME command in the SchematicaswellastheBoardEditor.Detailsaboutdefiningadrawing 111
112
INVOKE:GatePistobeplaced
113
The default format string is %F%N/%S.%C%R. Apart from the defined placeholdersyoucanalsouseanyotherASCIIcharacters.If%Cor%Risused andthereisnoframeonthatsheet,theywilldisplayaquestionmark'?'.See alsopage249.
CrossreferencewithaXREFlabel
ThelowerlabelinthepicturepointstotherightandreferstothenetABCon thenextpage3,field4A,theupperXREFlabelpointstotheleft(beginning withtheoriginpoint)andreferstothepreviouspage1,field2D. IfaXREFlabelisplacedonanetlinedirectly,itwillbemovedtogetherwith thenet. Moreinformationaboutcrossreferencescanbefoundinthehelpfunction fortheLABELcommand.
115
ElectricalSchematicwithcontactcrossreference
116
Netclasses:Parametersettings
Theimageshowsthreeadditionalnetclassesdefined: Allnetsthatbelongtoclass0,default,willbecheckedbythesettingsofthe DesignRules. Net class number 1, for example, has got the name Power and defines a minimumtrackwidthof40mil. Theminimumdrilldiameterforviasofthisclassissetto24mil. The clearance betweentracksofnetclass1andtracksthatbelongtoother netclassesisalsosetto24mil. TheleftcolumnNrpredefinesthenetclassofthenextnetthatisdrawnwith theNETcommand.Thisselectioncanbemadeintheparametertoolbarof theNETcommand,aswell. If you would like to define special clearance values between certain net classes,clickthebuttonmarkedwith>>.TheClearanceMatrixopens.Enter yourvalueshere.
117
Netclasses:TheClearanceMatrix
To return to the simple view, click the << button. This is only possible, however,iftherearenovaluesdefinedinthematrix. ThenetclassescanbechangedlaterbymeansoftheCHANGEcommand(the Classoption)intheSchematicandintheLayoutEditor. NetclassdefinitioncanbedoneintheLayoutEditor,aswell.
118
Busmenu
Theindexofapartialbusnamemayrunfrom0to511. ThehelpfunctiongivesfurtherinformationabouttheBUScommand.
Swaplevel:Pinslayerisvisible
Inputpins1and2haveSwaplevel 1,sotheycanbeexchangedwithone another.Theoutputpin,3,whichhasSwaplevel0,cannotbeexchanged. 119
Power Supply
PinsdefinedashavingthedirectionPwrareautomaticallywiredup.Thisis true,eveniftheassociatedpowergatehasnotexplicitlybeenfetchedinto theschematic.ThenameofthePwrpindeterminesthenameofthevoltage line.ThisisalreadyfixedbythedefinitionoftheSymbolsinthelibrary. If nets are connected to a Device's Pwr pins, then these pins are not automaticallywired.Theyarejoinedinsteadtotheconnectednet. ForeveryPwrpintheremustbeatleastonepinwiththesamenamebutthe direction Sup (asupplypin).Theremustbeoneoneverysheet.TheseSup pinsarefetchedintotheschematicintheformofpowersupplysymbols,and aredefinedasDevices inalibrary(see supply*.lbr).TheseDevicesdonot haveaPackage,sincetheydonotrepresentcomponents.Theyareusedto representthesupplyvoltagesintheschematicdiagram,asisrequiredbythe ElectricalRuleCheck(ERC)forthepurposesofitslogicalchecks. Various supplyvoltages,suchas0VorGND,whicharetohavethesame potential (GND, let's say), can be connected by adding the corresponding supplysymbolsandconnectingthemwithanet.Thisnetisthengiventhe nameofthatpotential(e.g.GND).
Supplysymbols
Supplypinnameasnewnetname?
120
Ifthelastsupplypinofanetisdeleted,thenetwillgetanautomatically generatedname,likeN$1.
Define Attributes
Global Attributes
ItispossibletodefineGlobalAttributesintheSchematic,forexample,forthe authororaprojectidentificationnumber,thatcanbeplacedanywhereinthe schematic,oftenusedinthedocfieldofthedrawingframe. OpenthedialogthroughtheEdit/GlobalAttributes...menu.Clickthebutton NewtodefineanewGlobalAttribute.Itconsistsoftheattribute'snameand itsvalue.
GlobalAttributes:TheAuthorattributeiscreated
If you want to make a global attribute visible in the schematic, write a placeholderwiththeTEXTcommand.Forthe AUTHOR attribute,writethe text>author. It does not matter, if it is written in lower or upper case letters. The >characterinfrontofthetextindicatesthatthisisspecialtext. It is possible to define the placeholder text already in the Library, for example,inaSymbolofadrawingframe.Inthiscasetheglobalattributewill beshownoneachschematicsheetcontainingthisframe. GlobalAttributescanbedefinedintheSchematicandLayoutseparately. MoreinformationonthiscanbefoundintheATTRIBUTEcommand'shelp.
121
Attributedialog
ClickingtheATTRIBUTE icon andthenontoaDeviceopensadialog
window.Itliststhepart'sattributesalreadydefinedintheschematicorinthe library. TheimageaboveshowstheattributesDISTRIBUTOR,IDNUMBER,andTEMP forpartR1.Theiconsontherightindicatewheretheattributecomesform: globallyintheSchematic globallyintheLayout intheLibrary'sDeviceEditor fortheelementintheSchematic forthePackageintheLayout Thethreeattributesoftheexampledialogabovecomefromthelibrary. Attributes thataredefinedin theLayoutEditor arenotshowninthe SchematicEditor.AnewlydefinedattributeintheSchematicadoptsthe valueofanalreadyexistingattributeintheLayout. Defining a New Attribute ClickontotheNewbuttontodefineanewattributeintheschematic.Inthe followingdialogyoucandefineName,Value,andtheDisplaymode. Inthisimagetheattribute'snameisTOLERANCE,itsvalueis1%.
122
Createandchangeattributes
WiththeDisplayoptionyoumanagethewaytheattributeisdisplayedinthe drawing.Therearefouroptionsavailable: Off: Theattributeisnotvisible Value: Onlytheattribute'svalueisvisible(1%) Name: Onlytheattribute'snameisvisible(TOLERANCE) Both: Nameandvaluearevisible(TOLERANCE=1%) IftheDisplayoptionisnotsetOff,therespectivetextwillbedisplayedatthe Device's or Gate's origin. The layer which is preset in the Schematic, for examplewithCHANGELAYERbeforecreatingtheattribute,determinesthe text'slayer.Locationandlayercanbechangedanytime. Ifthereisanalreadydefinedplaceholdertextforanelementinthelibrary, thetextshowsupatthegivenlocation.Itispossibletounfixsuchtextswith theSMASHcommand.Nowyoucanmoveit,changeitslayer,thefont,its sizeandsoon. Changing an Attribute's Value Valuesofattributesthatarealreadydefinedinthelibrarycanbechangedin the Schematic Editor. After changing an attribute's value, the attributes dialog displays special icons that indicate the attribute's status. The icons havethefollowingmeaning: theyellowiconindicatesthattheattributeinitiallywasdefined withavariablevalueandthatthevaluehasbeenchanged. therediconindicatesthatthevalueoftheattributewhichwas initiallydefinedasconstanthasbeenchangedafteraconfirmation prompt. theplainbrowniconindicatesthataglobalattributewas overwrittenbyapartattribute.Thevalue,however,remained unchanged. thebrowniconwiththeunequalsignindicatesthataglobal attributewasoverwrittenbyapartattributeandthevaluehas beenchanged. 123
Attributedialogwithdifferentattributes
GrayedtextintheAttibutes'dialogindicatesthatitcan'tbechangedorrather theelement'sattributevaluewasdefinedasconstantinthelibrary. Theiconsinformyouabouttheattribute'soriginanditscurrentstatus.Move themousecursorontooneoftheiconstoletEAGLEdisplaytooltiptextsto explain its meaning, provided the Bubble help in Options/User interface is active. More details on defining attributes can be found in the library chapter beginningwithpage240.
124
TheERCErrorswindow
Ifyouselectanentryinthe Errors orWarnings branch,alinepointstothe correspondinglocationintheschematicdiagram.Incaseyouzoomedinto thedrawing,youcanclicktheoptionCentered.Thecurrentlyselectederroris showninthemiddleofthedrawingwindownow. Pleasecheckeacherrorandeverywarning. Insomesituationsitmaybethecasethatyouwanttotolerateanerrorora warning.Usethe Approve buttonforthis.Theerror/warningentrywillbe removedfromthe Errors or Warnings branchandappearsinthe Approved branch. Ifyouwanttohavethecapabilityofdisplayinganapprovederror/warning occurrenceinthe Errors or Warnings branch,expandthe Approved branch, selecttheerrorentryandclicktheDisapprovebutton.Nowitistreatedasa normalerror/warningandismarkedintheschematic. Anapprovederror/warningretainsitsapprovedstatusaslongasyoudonot disapprove it by clicking the Disapprove button. Even a new ERC won't changethisstatus. Ifthe Errors windowlistsapprovederrors orwarningsonly,itwon'topen automaticallyafterrunningtheElectricalRuleCheckagain.Thestatuslineof theSchematicEditor,however,willshowthefollowinghint: ERC:2approvederrors/warnings Movinganentryfromonebranchintotheother,markstheschematicfileas changedandnotsaved.
125
127
128
DRC:AdjustingtheDesignRules
General Principles
Thefirsttimethatyoucallthisdialog,theDesignRulesareprovidedbythe program.Ifnecessary,adjustthevaluestosuityouroryourBoardhouse's requirements. The Apply buttonstoresthevaluesthatarecurrentlysetinthelayoutfile. ChangestovariousDesignRules,likethesettingsconcerningtheRestring, areimmediatelydisplayedintheLayoutEditorafterclickingApply. TheDesignRulescanbesavedinaspecialDesignRulesfile(*.dru)bythe useoftheSaveas..button.Soyoucaneasilyusethissetofrulesforanother board. ToapplyasetofDesignRulestoaboard,youcandragany dru fileofthe Design Rules branch of the tree view inthe ControlPanel intotheLayout EditorwindoworclicktheLoad.. buttoninthe File taboftheDesignRules window. Edit Description.. can be used to alter the descriptive text for the current parameterset.ThedescriptionusuallyappearsintheFiletab,ascanbeseen intheimageabove.HTMLtextcanbeused.Youwillfindnotesonthisinthe helpsystem. The Design Rules dialog offers a range of different options that can be selectedthroughthetabs.Theoptionsinclude: File Layers ManagetheDesignRules Numberofcopperlayers,structureofmultilayer boards,kindandlengthofvias,thicknessofcopper andisolationlayers 129
Mostparametersareexplainedwiththehelpofasmallimage.Assoonas youclickintoaparameterline,theassociateddisplayappears.
Layers
Definethenumberofsignallayersandthekindofvias(BlindorBuriedvias) here.WiththehelpofamathematicalexpressionintheSetuplinetheproper structure ofthe board, theappropriate combinationofcoresandprepregs andtheresultingfacilitiesforviascanbedefined.
DesignRules:LayerSetup
In most cases (for simple two or more layer boards) the vias are drilled throughalllayers.Theimageaboveshowsthedefaultsetupforatwolayer board.Theexpression(1*16)definesonecorewithlayers1and16,which
130
4layers,viasthroughalllayers: (1*2+3*16) Twocoresareaffiliatedwitheachother. 6layers,viasthroughalllayers: (1*2+3*4+5*16) Threecoresareaffiliatedwitheachother. ThefieldsforCopperandIsolationareusedtodefinethethicknessofcopper andisolationlayers.Thesesettingsareonlyrelevantforcomplexmultilayer boardsthatuseBlindorMicrovias. ThecommandsDISPLAY,LAYER,WIRE,andROUTEworkonlywiththose signallayersdefinedintheLayerSetup. FurtherinformationandexamplesabouttheLayersetupcanbefoundinthe sectionMultilayerBoardsbeginningwithpage158. LoadingaboardfilethatwasmadewithanolderversioncausesEAGLE tocheckwhichsignal layerscontainwires.Theselayersappearinthe layersetup.Pleaseadjustitifnecessary.
131
132
DisplayingViapropertieswithINFO
Predefinedvalue(byCHANGEDIAMETER): Actualcalculateddiameterintheouterlayers: Actualcalculateddiameterintheinnerlayers: 0.7 0.9 0.8
Here the resulting via diameter is bigger than the predefined value, accordingtothegivenminimumvalueintheDesignRules'Restringsettings forVias. The following image illustrates the template for setting the width of the residualring.Thestandardvaluefortherestringaroundholesis25%ofthe holediameter.Sincethewidthoftheringonsmallholesspecifiedthisway wouldsoonfallbelowatechnicallyfeasiblevalue,aminimumvalue(here: 10milforpads,8milforvias,4milformicrovias)isspecifiedhere.Itisalso possibletospecifyamaximumvalue. Example: Theringaroundaholewith40mildiameteris10mil(25%).Ittherefore liesinbetweenthemaximumandminimumvalues. Iftheholeisonly24milindiameter(e.g.foravia),thecalculationyieldsa restringvalueofonly6mil.Foraboardmadeinstandardtechnologythisis extremelyfine,andcannoteasilybemade.Itmightwellinvolveextracosts. Inthiscaseaminimumvalueof10milisgiven.
133
DesignRules:Restringsettings
Ifyouliketodefinearestringwithafixedwidth,usethesamevaluefor minimumandmaximum.Thevalueinpercenthasnoeffectinthiscase. Diametercheckbox: Incaseyoudefinedadiameterforapadinthelibraryorforaviainthe Layout Editor, and you want to have this given diameter taken into considerationfortheinnerlayers,activatetheDiameteroption.Thiscanbeof interestifapredefinedpadorviadiameterexceedsthevaluecalculatedby the Design Rules. Otherwise the pad or via in the inner layers would be smaller than in the outer layers. If you want pads/vias to have the same diameterinalllayers,settheoptionDiameter. Theoptionissetoff,bydefault,fornewcreatedboards,butwillbesetonfor boardsthatareupdatedfromversion3.5orpriorbecauseintheseversions padsandviashadthesamediameterinalllayers.Thustheupdateprocess doesnotchangetheoriginallayout. AllthevaluescanalsobegiveninMillimetres(forexample0.2mm).
Shapes
SMDs: A rounding factor can be specified here for SMD pads. The value can be between0%(norounding)and100%(maximumrounding). AsquareSMDhasbeenplacedinsteadofanoblongoneonthefarrightof the diagram. After assigning the property Roundness = 100 %, the SMD becomesround.
134
Roundness:0102550100[%].Right:100%,square
Pads: Thisiswheretheformofthepadsisspecified.Itispossibletogivedifferent settingsforthetopandbottomlayers. The As in library option adopts the form defined in the Package Editor. ClickingonApplyshowsthechangeimmediatelyintheLayoutEditor. PadsandViaswithininnerlayersarealwaysround,nomatterwhatthey areinToporBottomlayer.Thediameterisdeterminedbytherestring settings. ProvidedapadwasgiventheFirstflaginthelibraryonecanspecifyacertain shapeforallthosepadsinthelayout. ElongationdefinestheaspectratiooflengthtowidthofLongandOffsetpads (seeimage).Thevalueisgiveninpercent.Clickwiththemouseintothefield LongorOffsetandtheimageontheleftshowsthecorrespondingcalculation rule. 100%isequivalenttoanaspectratioof2:1.0%resultsinanormaloctagon padwithanaspectratioof1:1.Themaximumis200%(ratio4:1).
DesignRules:Adjustingpadshapes
135
Supply
Specifies the settings for Thermal and Annulus symbols. These special symbolsaregeneratedinsupplylayersthatarecreatedautomatically(layer namestartingwitha$sign). EAGLE calculates the required dimensions for Annulus and Thermal apertures based on the pad's drill diameter and theAnnulus andThermal parameterssetintheDesignRules: Gap defines thegapbetweentheinsulationbridgesonaThermalsymbol. Thespecificationismadeasa%oftheholediameter,andisconstrainedby maximumandminimumvalues. The Isolate values for Thermal and Annulus determine the width of the thermalbridgeorring. TheRestringoptiondetermineswhethertheinsulationbridgeoftheThermal symbolshouldbedrawnimmediatelyattheedgeoftheholeoratadistance fromtheholegivenbytherestringvalue(Restringtab,Innersetting). Ifthe Restring optionfor Annulus isdeactivated,afilledcircleisgenerated insteadoftheAnnulusring.Thisisthedefaultsetting. The isolate value for Thermal also applies to polygons. It determines the distancebetweenapolygonandtherestringofthepadorviathatisjoinedto thepolygonthroughaThermalsymbol. TheGeneratethermalsforviasflagpermitsThermalsymbolsatthroughholes. Otherwiseviasarefullyconnectedtothecopperplane.Thisappliesalsofor polygons. But you can disable this option for individual polygons with CHANGETHERMALSOFFandamouseclickontothepolygon'scontour. Inside hatched polygons EAGLE doesn't generate Thermal symbols for viasthatdonothaveadirectcontacttooneofthepolygonlines. Calculationsforautomaticallycreatedsymbolsinsupplylayers: Annulus: 136
Default:restring=0(fullyfilled),isolate=20(mil). Thermal:
Inner diameter = pad hole diameter + 2 * restring Outer diameter = inner diameter + 2 * isolate
Isolate
Gap
Restring
Pads or SMDs marked with the flag NOTHERMALS (CHANGE THERMALS OFF) in the Package Editor will be connected basically without Thermal symbols.
Masks
Settingsfortheovermeasureofthe solder stopmask(Stop)andthe solder creammask(Cream)aremadehere. Thedefaultvalueforsolderstopis4mil,i.e.minimumvalueismaximum valueis4mil.Thepercentvaluehasnoeffectinthiscase. Thevalueforthecreamframeissetto0,whichmeansthatithasthesame dimensionsastheSMD.
137
DesignRules:SettingsforSolderStopandCreamFrame
Ifvaluesaregiveninpercent,inthecaseofSMDsandpadsoftheformLong or Offset, the smaller dimension is the significant one. The values are constrainedbyminimumandmaximumvalues. ThevalueforCreamisgivenpositively,asisFrame,althoughitseffectisto reducethesizeofthesoldercreammask(creamframe). ThesoldercreammaskisonlygeneratedforSMDs,andisdisplayedonlayer 31,tCream,orlayer32,bCream. Thesolderstopmaskisdrawninlayers29,tStop,or30,bStop. SettingtheflagSTOPorCREAM(onlyforSMD)toOFFforapadorSMDat thePackage definitionforbids EAGLEtogenerateasolderstopmaskora creamframeforit. Limitdetermines,togetherwiththeholediameter,whetherornotaviaisto becoveredwithsolderstoplacquer. Example: ThedefaultvalueforLimitis0.Thismeansallviasgetasolderstopsymbol. Theyarefreeofsolderstoplacquer. SettheLimit=24: Allthroughplatedholeswithdiametersupto24mildon'tgetasolderstop symbol(theyarelacquered),butviaswithlargerholediametersgetasolder stopsymbol. For vias with hole diameters below the Limit the STOP flag can be set (CHANGESTOPON).EAGLEgeneratesasolderstopmaskthen.
Misc
Hereyoucanselect/deselectvariouscheckswhicharemadebytheDesign RuleCheck: 138
139
140
Boardcommand:Createthelayoutfromtheschematic
The Devices are automatically placed at the left of the board. The board outlineisdrawnasasimplelineinlayer20, Dimension.Theoutlineofan eurocard is displayed in the Professional and Standard editions, a half eurocardintheLightedition. Ifyouwish,you mayalter thesizeorshapeoftheemptyboardwiththe MOVEandSPLITcommands.Pleasenotethehintsinthehelpfunctionfor WIREandMITER.It'seasilypossibletodrawroundoutlines,too. Youcanalsodeletetheoutlineandplaceaframefromalibrary(suchas 19inch.lbr)withADD. Ascriptfilecan,alternatively,bereadbytheSCRIPTcommand.Theeuro.scr file,forinstance,canbeused.Simplytype SCRIPT EURO onthecommandline. Theboardoutlineservessimultaneouslyasaboundaryfortheautorouteror Followmerouter(ifpresent). Ifyourboardhasadditionalcutouts,youshoulddrawthenecessarymilling contours in a separate layer, for example in 46, Milling. Use the WIRE commandwithwirewidth=0todefineyourlines.
141
Arrange Components
Drag the various components to the desired positions. Use the MOVE commandforthispurpose.Devicescanbeclickedondirectly,oraddressed byname. Ifyoutype,forexample, MOVE R14 inthecommandline,theDevicenamedR14willbeattachedtothemouse cursor,andcanbeplaced. Precisepositioningresultsfrominputsuchas: MOVE R14 (0.25 2.50) R14'slocatingpointisnowlocatedatthesecoordinates. KeeptheCtrlkeypressedwhileselectingacomponentinordertoletits origin jump atthe mousecursor and move it onto thecurrently used grid. AgroupofDevicescanbetransposedbycombiningtheGROUPandMOVE commands.ClickontotheGROUPiconandthendrawaframearoundthe desiredelements,clickMOVE,andthenclickwithinthegroupwiththeright mousebuttoninordertoselectit.Withaclickoftheleftmousebuttonyou canplacethegroupatthedesiredlocation. ROTATE,oraclickwiththerightmousebuttonwhiletheMOVEcommandis activeturnsaDevicethrough90degrees.Thisalsoappliestogroups. Inorder to place a component in any angle you mayspecifythe rotation directly with the ADD command or later with ROTATE or MOVE in the parametertoolbar.
ParametertoolbarforROTATE,MOVE,ADD,COPY,TEXT
NexttotheAngleboxarethebuttonsfortheSpinandMirrorflag. Thelefthand Spin iconisselected ,ifthespinflagisnotset(default).
142
143
Exchanging Packages
If, as the layout is developed, you want to replace the selected Package variantwithadifferentone,thenyoucanuseeitherthePACKAGEorthe REPLACEcommand,dependingonthesituation.
144
CHANGEpackagedialog
IftheShowalltechnologies optionisactive,thePackageversionsforallthe technologiesavailableforthisDevicearedisplayed.Ifthisoptionisnotactive youwillonlyseePackagesthataredefinedintheselectedtechnology. ThePackagecanalsobeexchangedfromwithintheschematicdiagram. Devicesthatdon'thavealternativePackagevariantsdefined,canbemodified in the Library Editor. Add further Package variants asneeded andupdate your drawing with the new library definition. See page 231 Choosing the PackageVariantsforfurtherinformation. IfyouchangethePackagevariantofaDevicewhichyougaveanewvalue with the help of the VALUE command, althoughithasbeen defined with VALUEOff,thevaluewillremainunchanged.Seealsopage76. IfyouwouldliketochangethePackagevariantforseveralidenticalparts, youcandothisinthecommandline. DefineaGROUPwithallpartsthatshallgetanewPackagevariant,first. Nowtypeinthecommandline CHANGE PACKAGE 'new-device-name' andclickwithCtrl+rightmousebuttonintothedrawing. ThenameofthenewPackagevarianthastobeenclosedininvertedcommas.
145
148
POLYGONcommand:Parametertoolbar(splitintotwolines)
Width: Linethicknesswithwhichthepolygonisdrawn.Selectthelargestpossible width.Thatavoidsunnecessaryquantitiesofdatawhentheboardissent for manufacture. If the wire width is lower than the resolution of the outputdriverintheCAMProcessor,awarningisissued. Afinerlinewidthpermitsthepolygontohaveamorecomplexshape. Pour: Specifiesthefillingtype.Thewholearea(Solid)oragrid(Hatch). Rank: Overlapping polygons must not create any shortcircuits. Rank can thereforebeusedtodeterminewhichpolygonsaretobesubtractedfrom others. A polygon with rank = 1 has the highest priority intheLayout Editor,nootherpolygondrawninthelayoutiseversubtractedfromit, whileonewithrank=6hasthelowestpriority.Assoonasthereisan overlap with a higher rank, the appropriate area is cut out from the polygonwithrank=6.Polygonswiththesamerankarecomparedbythe DRC. The rank property works only for polygons with different signals. For overlappingpolygonswiththesamesignalnameitiswithouteffect.They willbedrawnoneovertheother.
150
152
StartingtheDesignRuleCheck
Whenyou have finishedtheadjustments, starttheerror checkbyclicking Check.AtthesametimetheDesignRulesarestoredintheboardfileitself. ByclickingSelectyouspecifytheregionofthelayoutthatistobeexamined. Simplydragarectangleoverthedesiredregionwiththemouse.Theerror checkwillthenstarautomatically. ClickingonApplytransfersthesettingstotheboardfile.Thismeansthatthe valuesthathavesofarbeenchosenarenotlostifyoudonotimmediately starttheerrorcheckandifyouwanttoleavetheDRCdialogviatheCancel button. All signal layers are always examined by the Design Rule Check, no matterifvisibleornot(DISPLAYcommand).
153
DRCErrorslistintheLayoutEditor
Eacherrorismarkedwithanerrorpolygon.Itssizetellsyou,forexamplein thecase of a clearanceerror, about how much thelimitisexceeded.The errorpolygonsarevisibleintheLayoutEditor,only.Theywon'tbeprinted norexportedwiththeCAMProcessor.It'snotpossibletoerasethemwiththe DELETEcommand.ClicktheClearall buttontodeletethem.Ortypeinthe commandline: ERRORS CLEAR Errorsaremarkedwitharediconintheerrorswindow.Ifanerrorinthelist isselected,alinepointstothecorrespondinglocationintheboard. Itispossibletohavetheerrorlistsorted,ascendingordescending,byerror types or layer numbers. therefore click onto the column headers Type or Layer.
154
157
158
Inner Layer
InnerlayersareusedthesamewayastheouterlayersTopandBottom.They canbefilledwithcopperareas(polygons)aswell.Aspecialstatushavethe socalledsupplylayerswhicharegeneratedautomatically. BeforeusinginnerlayersyoumustdefinethemintheDesignRules,Layers Tab.Moredetailscanbefoundinthefollowingsectionsandonpage130.
Signal Layers
YouusetheROUTEcommandasusualtoplacetracksinthoseinnerlayers which are provided for signals. Eagle will itselfensure thatthetracksare connectedbywayofplatedthroughholestotheappropriatesignalsinthe outerlayers.ThesettingsoftheLayersetupintheDesignRulesapplyforthis procedure.
159
Changelayerproperties
TheDisplaymenu
TheDISPLAYmenushowsonlythoselayersdefinedintheLayerSetupof
160
Layer Setup
Thesettingsconcerninglayercompositionandnumberofsignallayersare madeintheDesignRules,Layerstab,Setup.Seepage130. 161
Hereviasalwayshavethelength116.Theyarereachablefromalllayers (seealsothehelpfunctionforVIA).
Disambiguation
Core: Thenonflexiblekernelwhichiscoatedwithcopperononeoronbothsides. Isrepresentedbya*intheLayerSetup.Forexample5*12:Layer5and12 aretheboard'score. Prepreg: Flexibleglueingorisolatinglayerwhichisusedinthemanufacturingprocess ofamultilayerboardtopressinnerandouterlayersontoeachother. Is represented by a + in the Layer Setup. 1+2 tells us that layer 1 is a prepregandcombinedwithlayer2. LayerStack: Apackofanynumberoflayersconsistingofcoresandprepregswhichare handledtogetherinthecurrentstepofproduction. BuriedVia: Theproductionprocessofthisviadoesnotdifferfromathrough(normal) via. The current layer stack will be drilled through completely. In the followingproductionstepsthealreadydrilledviascanbecovered(buried)by pressingfurthercoresandprepregsonthecurrentlayerstack.Iftheviaisnot 162
Displaying Vias
Itmakessensetosetthelayercoloroflayer18,Vias,tothebackgroundcolor (DISPLAY menu, Change, Color) if you are working with vias that have different lengths and shapes. In doing so it is possible to recognize layer affiliation.
Layer Setup
Combiningcoresandprepregsallowsmanyvariants.Inthefollowingsection someexamplesshowthefunctionoftheLayersetup. Pleasereadthisparagraphentirely.Evenifyouintendtodesignafourlayer board,forexample,itismostadvisabletoreadalsoalltheotherexamplesfor abetterunderstanding. 4-Layer Board Example1: Layers1,2,3and16areused. Boardstructure:Onecoreinside,outsideprepregs. Connections:12(blindvias),23(buriedvias)and116(throughvias) Thesetupexpressionlookslikethis: [2:(1+(2*3)+16)] Explanation: 2*3 Layers2and3formthecore. 163
Example1:LayerSetupfora4layerBoard
Blindviashavetokeepacertainratioofviadepthtodrilldiameter.Forthis reasonitisnecessarytospecifyvaluesforthelayerthickness. Thesevaluesaregivenbyyourboardhouse!Youaresupposedtocontactitin eithercasebeforestartingthelayout! Type inthe values inthe Copper (thickness of copperlayer)and Isolation (thicknessofisolationlayer)fieldsasshownintheimage.Thetotalthickness oftheboardisshownbelowtheCopperandIsolationfields. Example2: Layers1,2,3,and16areused. Boardstructure:Onecoreinside,outsideprepregs. Connections:12,316(blindvias),116(throughvias) Setupexpression: 164
Example2:LayerSetupfora4layerBoard
6-Layer Board Example3: Layers1,2,3,4,5,and16areused. Boardstructure:Twocores,prepregsoutside. Connections:23,45(buriedvias),116(throughvias) Setupexpression: (1+(2*3)+(4*5)+16) Explanation: 165
Example3:LayerSetupfora6layerBoard
Thevaluesforlayerthicknessforcopperandisolationusedintheseexamples arefictive.Pleasecontactyourboardhousetogettheallowedvalues. Example4: Layers1,2,3,4,5,and16areused. Boardstructure:Onecore,oneachsidetwoprepregs. Connections:34(buriedvias),24(blindviasininnerlayerstack), 116(throughvias) Setupexpression: (1+[4:2+(3*4)+5]+16) Explanation: 2+(3*4)+5 Thecorewithburiedvias.Oneprepregoneachside. [4:2+(3*4)+5] Blindviasfromlayer2to4. 166
Example4:BlindViasintheinnerlayerstack
8-Layer Board Example5: Layers1,2,3,4,5,6,7,and16areused. Boardstructure:Threecores,prepregsoutside. Connections:13,616(blindvias),23,45,67(buriedvias), 116(throughvias). Setupexpression: [3:(1+(2*3)+(4*5)+(6*7)+16):6] Explanation: (2*3)+(4*5)+(6*7) Threecores,eachwithburiedvias,arepressedtogetherand isolatedwithprepregs. 1+(2*3)+(4*5)+(6*7)+16 Outercopperlayers1and16whichareisolatedthroughprepregs arepressedontothislayerstack. (1+(2*3)+(4*5)+(6*7)+16) Parenthesisallowthroughviasfrom116. 167
Example5:LayerSetupforan8layerboard
170
ThePRINTwindow
IncaseyouselectedaprinttofileoptiontheOutputfilelineshowsthepath totheoutputfile.Ifyouwanttochangeit,clickontothebutton. BelowthesetwolinesyouwillfindsettingsaboutPaperformat,Orientation and Alignment ofyourprint.The buttoninthe Paper lineallowsyouto defineauserspecificformat,providedtheselectedprintersupportsthis. Alignment definesthelocationoftheprintoutonthepaper.Changingthis willdirectlyresultinamodifiedPreview,ifactive. Inthe Area line, youdeterminewhattoprint: Window printsthedrawing windowwhichiscurrentlyvisibleintheEditorwindow. Full ontheother hand,printsthewholedrawing.Inthiscasealldrawingobjects(displayedor not)arerelevantforthecalculationoftheresultingprintingarea. PrintingOptions MirrorinvertsthedrawingfromlefttorightabouttheYaxis,Rotateturnsit 90degreescounterclockwise,andUpsidedownturnsitthrough180degrees. Ifbothareactivated,arotationof270degreesistheresult. IftheBlackoptionischosen,ablackandwhiteprintoutismade.Otherwise theprintwillbeeitherincolororgrayscale,dependingontheprinter. Solidcauseseachobjecttobeentirelyfilled.Ifyouwanttoseethedifferent fillingpatternsoftheindividuallayers,thendeactivatethisoption. The Caption optionswitchestheappearanceofthetitle,printingdate,file nameandthescaleoftheprintonoroff. Inthe Scale sectionofthewindowthe Scalefactor specifiesthescaleofthe drawing.Itmaybeintherangeof0.001and1000. If Pagelimit is setto 0,theprinter willusewhatever numberofpagesis 172
173
174
ConsistencylossbetweenSchematicandLayout
EAGLEwillpromptawarningassoonasyouwanttoswitchtothereferring fileorstartthisprojectagain.
175
Thedifferencesaremarkedinbotheditorwindows
176
7 The Autorouter
Autorouterswhatsoever.However,inpractice,therequiredamountoftimeis notalwaysavailable,andthereforecertainboardswillnotbecompletedeven bya100%Autorouter. TheEAGLEAutorouterisbasedontheripup/retryalgorithm.Assoonasit cannotrouteatrack,itremovespreroutedtracks(ripup)andtriesitagain (retry).Thenumberoftracksitmayremoveiscalledripupdepthwhichis decisive for the speed and the routing result. This is, in principle, the previouslymentionedrestriction. Those who expect an Autorouter to supply a perfect board without some manual helpwillbedisappointed. The user mustcontributehisideasand investsomeenergy.Ifhedoes,theAutorouterwillbeavaluabletoolwhich willgreatlyreduceroutinework. Working with the EAGLE Autorouter requires that the user places the componentsandsetscontrolparameterswhichinfluencetheroutingstrategy. Theseparametersmustbesetcarefullyifthebestresultsaretobeachieved. Theyarethereforedescribedindetailinthissection.
Bus Router
Normallythebusrouterstartsfirst. Itdealswithsignalswhichcanberoutedinthepreferreddirectionwithonly slightdeviationinxandydirectionallowed.Thebusroutertakesonlythose signalsintoconsiderationthatbelongtonetclass0. Thisstepmaybeomitted.
178
Routing Pass
Theactualroutingpassisthenstarted,usingparameterswhichmakea100% routingaslikelyaspossible.Alargenumberofviasaredeliberatelyallowed toavoidpathsbecomingblocked.
Optimization
Afterthemainroutingpass,anynumberofoptimizationpassescanbemade. Theparametersarethensettoremovesuperfluousviasandtosmooththe trackpaths.Intheoptimizationpassestracksareremovedandreroutedone atatime.Thiscan,however,leadtoahigherdegreeofrouting,sinceitis possiblefornewpathstobefreedbythechangedpathofthistrack. The number of optimization passes must be specified before starting the Autorouter.Itisnotpossibletooptimizeatalaterstage.Oncetheroutingjob hasbeencompletedallthetracksareconsideredtohavebeenprerouted,and maynolongerbechanged. Anyofthestepsmentionedabovemaybeseparatelyactivatedordeactivated.
7 The Autorouter
Distance tabs.Thediameterofviasisdefinedbythevaluesinthe Restring tab. DidyousetvaluesintheDesignRulesandfornetclasses?Inthiscasethe Autorouterfollowsthehighervalue.
Grid
TheDesignRulesdeterminetheroutingandplacementgrid.Theminimum routinggridis0.02mm,whichisabout0.8mil.
Placement Grid
AlthoughtheAutorouterdoespermitanyplacementgrid,itisnotagoodidea toplacethecomponentsonagridthatistoofine.Twogoodrulesare: Theplacementgridshouldnotbefinerthantheroutinggrid. Iftheplacementgridislargerthantheroutinggrid,itshouldbesetto anintegralmultipleoftheroutinggrid. These rules make sense if, for example, you consider that it might be possible,withintheDesignRules,toroutetwotracksbetweentwopinsofa component, but that an inappropriate relationship between the two grids couldpreventthis(seediagram).
Routing Grid
PleasenotethattheAutoroutergridhastobesetintheAUTOcommand's AutorouterSetupWindow,Generaltab,RoutingGrid.Thisisnotthesameas thecurrentlyusedgridintheLayoutEditorwindowthatyouhaveselected withtheGRIDcommand. Bear in mind that for the routing grid the time demand increases exponentiallywiththeresolution.Thereforeselectaslargeagridaspossible. The main question for most boards is how many tracks are to be placed betweenthepinsofanIC.Toanswerthisquestion,theselectedDesignRules (i.e.theminimumspacingbetweentracksandpadsorothertracks)mustof coursealsobeconsidered. Theresultis: Thetwogridsmustbeselectedsothatcomponent'spadsarelocatedon theroutinggrid. Thereareofcourseexceptions,suchaswithSMDstowhichtheoppositemay apply,namelythatapositionoutsideoftheroutinggridleadstothebest results.Inanyeventthechoiceofgridshouldbecarefullyconsideredinthe lightoftheDesignRulesandthepadspacing.
180
Trackpatternswithdifferentplacementgrids
Theexampleabovemayclarifythesituation: Forthecomponentontheleft,thepadsareplacedontheroutinggrid.Two trackscanberoutedbetweentwopads.Thepadsofthecomponentinthe middle are not on the routing grid, and therefore only one track can be routedbetweenthem. OntherightyouseetheexceptionfromtheruleshownforSMDpads,which areplacedbetweentherouting grid lines sothatonetrackcanberouted betweenthem. Whenchoosingthegrid,pleasealsoensurethateachpadcoversatleastone gridpoint.OtherwiseitcanhappenthattheAutorouterisunabletoroutea signal, even though there is enough space to route it. In this case the Autorouter issues the message Unreachable SMD at x y as it starts. The parametersxandyspecifythepositionoftheSMDpad. Thedefaultvaluefortheroutinggridis50mil.Thisvalueissufficientfor simplethroughholelayouts.WorkingwithSMDcomponentsdemandsafiner routinggrid. Usualvaluesare25,12.5,10,or5mil. Please remember that finer routing grids require significantly more routingmemory.
Memory Requirement
Theamountofroutingmemoryrequireddependsinthefirstplaceonthe selectedroutinggrid,theareaoftheboardandthenumberofsignallayersin whichtracksarerouted. Thestaticmemoryrequirement(inbytes)foraboardcanbecalculatedas follows: number of grid points x number of signal layers x 2 181
7 The Autorouter
Notethatasupplylayergeneratedbygivingtheappropriatename($name) doesnotoccupyanyautoroutingmemory.Ontheotherhand,asupplylayer thathas been created with the aid of one or morepolygonsconsumes as muchroutingmemoryasanyothersignallayer. Space is also required for dynamicdata, in additiontothestaticmemory requirement.Thedynamicdatarequireinaveryroughestimateabout10% upto100% (in some cases even more!) of the staticvalue. Thisdepends heavilyonthelayout. Totalmemoryrequirement(roughapproximation): static memory x (1.1..2,0) [bytes] This much RAM should be free before starting the Autorouter. If this is insufficient,theAutoroutermuststoredataontheharddisk.Thislengthens the routing time enormously, and should be avoided at all costs. Short accessestotheharddiskarenormal,sincethejobfileontheharddiskis regularlyupdated. Trytochoosethecoarsestpossibleroutinggrid.Thissavesmemoryspace androutingtime!
Layer
Ifyouwanttodesignadoublesidedboard,thenselectTopandBottomas routelayers.YoushouldonlyusetheBottomlayerforasinglesidedboard. Inthecaseofinnerlayers,itishelpfultousethelayersfromtheoutsideto theinside,i.e.first2and15andsoon. Innerlayers areconvertedto supplylayers iftheyarerenamedto $name, wherenameisavalidsignalname.Theselayersarenotrouted. Supplylayerswithmorethanonesignalcanbeimplementedwithpolygons. Theselayersaretreatedasnormalsignallayers. Inthecaseofboardsthataresocomplexthatitisnotcertainwhetherthey canbewiredontwosides,itishelpfultodefinethemasmultilayerboards, andtosetveryhighcostsfortheinnerlayers.ThiswillcausetheAutorouter toavoidtheinnerlayersandtoplaceasmanyconnectionsaspossibleinthe outerlayers.Itcan,however,makeuseofaninnerlayerwhennecessary. ThesesettingsaremadeintheAutoroutermenu(seepage183). TheautoroutershowsthemessageUnreachableSMDinlayer...,ifalayerthat containsSMDsisnotactive.ClickingOKstartstheautorouternevertheless.If youwanttochangetheautoroutersetupclickCancel.
Preferred Directions
On the two outside layers the preferred directions arenormallyset to90 degreesfromeachother.Fortheinnerlayersitmaybeusefultochoose45 and135degreestocoverdiagonalconnections.Beforesettingthepreferred directionitiswellworthexaminingtheboard(basedontheairwires)tosee 182
7 The Autorouter
Autoroutersetup:Generalsettings(Generaltab)
Thisiswhereyouspecifythelayersthatmaybeusedforroutingandwhich preferred directions apply. Click in the appropriate combo box with the mouse,andselectthedesiredvalue. Settingthepreferreddirections: horizontal | / \ * N/A vertical diagonal at 45 diagonal at 135 none Layer not active
Define a suitable Routing grid and select the shape of the throughplated holes(Viashape). YoumayusetheLoad...andSaveas....buttonstoloadadifferentparameter setfromanAutoroutercontrolfile(*.ctl)ortosavethecurrentsettingsfor furtherprojects. Younowmakethesettingsfortheindividualroutingsteps.Clickontothe correspondingtabandmakeanysettingsyoumaywant. TheFollowmetabisnotrelevantfortheAutorouterpassitself.Youmay, however,definethesettingsfortheFollowmerouterinthistab,because itusessomeoftheAutorouterparameters,too.Moredetailsaboutthe Followmeroutercanbefoundinalatersectionofthischapter.
184
Autoroutersetup:SettingsfortheRoutepass
The parameters in the Layer costs, Costs and Maximum groups can be differentforeachpass.Furtherinformationaboutthiscanbefoundinthe nextsection. TheActivecheckboxspecifieswhetherthisstepshouldbeexecutedornot. AdditionaloptimizationpassescanbeinsertedwiththeAddbutton. Clicking onto the Select button allows certain signals to be selected for autorouting. Select these with a mouse click onto the respective airwires. ThenstarttheAutorouterwithaclickonthetrafficlighticonintheaction toolbar. Itis,alternatively,possibletoenterthesignalnamesonthecommandline. Examples: VCC GND ; ThesignalsVCCandGNDwillberouted. ThesemicolonattheendofthelinestartstheAutorouterimmediately.Itis alternativelypossibletoclickonthetrafficlighticon. Ifyoutypeinthecommandline ! VCC GND ; allsignalsexceptVCCandGNDwillberouted. Youmayusewildcardsforthesignalselection,aswell.Allowedis * ? [] whichmatchesanynumberofanycharacters. whichmatchesexactlyonecharacter. whichmatchesanyofthecharactersbetweenthebrackets, forexample[af],forallcharactersfromatof.
185
7 The Autorouter
TheAutorouterisstartedforallthesignalsthathavenotyetbeenlaidby clickingontheOKbutton. The Cancel menuiteminterruptstheAUTOcommandwithoutstoringany changes. Youarenotallowedtomakeanychangestotheparameters,ifyouwantto restartaninterruptedroutingjob.UsetheContinueexistingjobcheckboxto decidewhetheryouwanttocontinuewithanexistingjob,orwhetheryou wanttochoosenewsettingsfortheremainingunroutedsignals. Endjobendstheautoroutingjobandloadsthepreviousroutingresult.
Autoroutersetup:Restartinganinterruptedjob
186
Autorouter:ParameterforRoute
Thefollowingsectionshowstheavailableparametersandtheireffects.The names of the parameters are the same as they would be used in an Autoroutercontrolfile*.ctl.DetailsaboutthiscanbefoundinParametersof aControlFilebeginningwithpage193.
Layer Costs
cfBase.xx: 0..20
Basecostsforonesteponthecorrespondinglayer.Recommendation:outside layers(Top,Bottom)always0,insidelayersgreaterthan0.
Costs
cfVia: 0..99
Controlstheuseofvias.Alowvalueproducesmanyviasbutalsoallowsthe preferreddirectiontobefollowed.Ahighvaluetriestoavoidviasandthus violatesthepreferreddirection.Recommendation:lowvaluefortherouting pass,highvaluefortheoptimization.
cfNonPref: 0..10
Controlsfollowingofthepreferreddirection.Alowvalueallowstrackstobe routedagainstthepreferreddirection,whileahighvalueforcestheminto thepreferreddirection. If cfNonPref issetto99,tracksectionscanonlybeplacedinthepreferred direction.Onlyselectthisvalueifyouarecertainthatthisbehaviorisreally wanted.
187
cfOrthStep, cfDiagStep
Implementstherulethatthehypotenuseofarightangledtriangleisshorter thanthesumoftheothertwosides.Thedefaultvaluesare2and3.That means that the costs for the route using the two other sides are2+2,as against3forthehypotenuse.Theseparametersshouldbealteredwithgreat care!
cfExtdStep: 0..30
Controlstheavoidanceoftracksectionswhichrunatanangleof45degrees to the preferred direction, and which would divide the board into two sections.Alowvaluemeansthatsuchsectionsareallowedwhileahighvalue triestoavoidthem.Incombinationwiththeparameter mnExtdStepyoucan controlthelengthofthesetracks.If mnExtdStep =0,eachgridstepat45 degreestothepreferreddirectioncausescoststhataredefinedinparameter cfExtdStep.ChoosingforexamplemnExtdStep =5allowsatracktorunfive stepsat45 degrees withoutanyadditionalcosts.Eachfurther stepcauses costsdefinedincfExtdStep. Inthisway,90degreebendscanbegiven45degreecorners.Settingslike cfExtdStep = 99 and mnExtdStep = 0 should avoid trackswith 45degree angles. Thisparameterisonlyrelevanttolayerswhichhaveapreferreddirection. Recommendation:usealowervaluefortheroutingpass,andahighervalue fortheoptimization.
188
7.6 How the Cost Factors Influence the Routing Process cfBusImpact: 0..10
Controls whether the ideal line is followed for bus connections (see also cfPadImpact).Ahighvalueensuresthatthedirectlinebetweenstartandend pointisfollowed.Onlyimportantforbusrouting.
cfHugging: 0..5
Controls the hugging of parallel tracks. A high value allows for a strong hugging(tracksareveryclosetoeachother),alowvalueallowsforamore generous distribution. Recommendation: higher value for routing, lower valuefortheoptimization.
cfAvoid 0..10
Duringtheripup,areasareavoidedfromwhichtrackswereremoved.Ahigh valuemeansstrongavoidance. Notrelevanttotheoptimizationpasses.
cfPolygon 0..30
IfapolygonhasbeenprocessedwiththeRATSNESTcommandandtherefore isdisplayedasafilledareabeforeyoustarttheAutorouter,everystepwithin thepolygonisassociatedwiththisvalue.Alowvaluemakesiteasierforthe Autoroutertoroutetracesinsidethepolygonarea.Theprobability,however, thatthepolygonisbrokenintoseveralpiecesishigher.Ahighervaluecauses theAutoroutertomakefewerconnectionsinsidethepolygon. IfapolygonisinoutlinemodeandnotprocessedbyRATSNESTbeforeyou start the Autorouter, it won't be taken into consideration at all. cfPolygon doesnotplayaroleforsuchpolygons.
Maximum
mnVia 0..30
Controls the maximum number of vias that can be used in creating a connectingtrack.
mnSegments 0..9999
Determinesthemaximumnumberofwirepiecesinoneconnectingtrack.
mnExtdSteps 0..9999
Specifiesthenumberofstepsthatareallowedat45degreestothepreferred directionwithoutincurringthevalueofcfExtdStep. SeealsocfExtdStep. Additionallycanbefoundtheparameters mnRipupLevel, mnRipupSteps, and mnRipupTotal.Thosearedescribedinthefollowingsection.
189
7 The Autorouter
Supply Layers
Thedefinitionofsupply layers hasalready been describedintheprevious chapteronpage159. Thefollowingpointsmustbeconsideredwhenautorouting: Thelayernamespecifiesthesignalthatiscarriedbythislayer.The layer$VCC,forexample,onlycarriestheVCCsignal. Thelayerisrepresentedwithaninversedisplay. 190
191
7 The Autorouter
Answer the prompt as to whether the Autorouter should recall (Continue existingjob?)withYes.TheAutorouterwillthencontinuefromthepositionat whichthejobwaslastsaved(amaximumof10minutesmaybelost). If the autorouting is interrupted via the stop icon, the name.job file also remainsintactandcanberecalled.Thismaybeusefulwhenyouhavestarted acomplexjobonaslowcomputerandwanttocontinuewithitonafast computerassoonasoneisavailable. Pleasenotethatchangingtheparametersbeforerecallingwillnotinfluence thejob, since itwillhavebeensavedtogetherwiththeparameters which werevalidatthetimeoftheinitialAutorouterstart. WhentheAutorouterhasfinished,theroutedboardissavedas name.b$$. Youcanrenameitto name.brd anduseit,forinstance,ifapowerfailure occurredaftertheautoroutingrunandyoucouldnotsavetheboardfile.This fileisdeletedautomaticallyaftertheboardhasbeensaved.
Autorouter:StatusBar
Thedisplayedvalueshavethefollowingmeaning: Route: Resultin%(hithertomaximum,bestdata) Vias: Numberofviasinthelayout Conn: NumberofConnectionstotal/found/not routable Connectionsheremeans2pointconnections. Ripup: NumberofRipups/current RipupLevel/cur. RipupTotal Numberofripups: Thisindicatesthenumberofconnections thathavealreadybeenrouted duringtheforegoingroutingprocedurethathavebeen(canbe)removedin ordertobeabletoroutenewsignals.
192
Log file
For each routing pass the Autorouter generates a file called name.pro, containingusefulinformation.Example:
EAGLE AutoRouter Statistics: Job : d:/eagle4/test-design/democpu.brd Start at : 15.43.18 (24.07.2000) End at : 16.17.08 (24.07.2000) Elapsed time : 00.33.48 Signals : 84 RoutingGrid: 10 mil Layers: 4 Connections : 238 predefined: 0 ( 0 Vias ) Router memory : 1121760 Passname: Busses Route Optimize1 00.06.32 0 0 0 238 178 100.0 % Optimize2 00.06.15 0 0 0 238 140 100.0 % Optimize3 00.06.01 0 0 0 238 134 100.0 % Optimize4 00.05.55 0 0 0 238 128 100.0 %
Time per pass: 00.00.21 00.08.44 Number of Ripups: 0 32 max. Level: 0 1 max. Total: 0 31 Routed: Vias: Resolution: 16 0 6.7 % 238 338 100.0 %
193
7 The Autorouter
cfVia cfNonPref cfChangeDir cfOrthStep cfDiagStep cfExtdStep cfBonusStep cfMalusStep cfPadImpact cfSmdImpact cfBusImpact cfHugging cfAvoid cfPolygon cfBase.1 cfBase.2 ... cfBase.15 cfBase.16 = = = = = = = = = = = = = = = = = = 8 5 2 2 3 30 1 1 4 4 4 3 4 10 0 1 1 0 Maximum number of... Vias per connection Wire segments per connection Steps 45 deg. against preferred direction Ripups per connection Ripup sequences per connection Ripups at the same time Track parameters for... Via shape (round or octagon) Preferred direction in the given layer Symbols: 0 - / | \ * 0 : Layer not used for routing * : No preferred direction - : X is preferred direction | : Y is preferred direction / : 45 deg. is preferred direction \ : 135 deg. is preferred direction Vias Not using preferred direction Changing direction 0 or 90 deg. Step 45 or 135 deg. Step Deviation 45 deg. against preferred direction Step in bonus area Step in handicap area Pad influence on surrounding area SMD influence on surrounding area Leaving ideal bus direction Wire hugging Previously used areas during ripup Avoiding polygons Basic costs for a step in the given layer
= Round = = = = | 0 0 -
194
General
Thelayercosts(cfLayer)shouldincreasefromtheoutertotheinnerlayersor bethesameforalllayers.Itisunfavourabletouselowervaluesintheinner layers than in the outer layers. This could increase the needed routing memoryenormously. TheAutoroutercan'tlayoutwiresasarcs! TheAutoroutercan'tsetmicrovias! TheAutoroutercan'tsetBlindandBuriedviasifinnerlayersaredefined asSupplylayers!
Single-Sided Boards
Therearetwoprocedures,dependingonthekindoflayout: Inthesimplestcase,onlylayer16,Bottom,isactive.Nopreferreddirectionis defined.SelectasuitablegridandruntheAutorouter. Ifthelayoutisrathermorecomplex,itmaybepossibletoachieveausable resultwithspecialparametersettings.Pleasetakealookattheprojectnamed singlesided,whichcanbefoundintheeagle/projects/examplesdirectory.This exampleprojectcomeswithvariouscontrolfiles(*.ctl),whichareoptimized forsinglesidedrouting. TheAutoroutermayusetheToplayeraswell.Thetrackslaidtherewillbe realizedaswirebridgesontheboard.Inlayer41, tRestrict,youcandefine restrictedareasaroundthecomponentsandinregionswherewirebridges arenotallowed. Feelfreetoexperimentwiththeparametersettingsforyourlayout.
7 The Autorouter
Now switch off the bus router and all the optimization passes in the Autoroutersetup.Onlytheroutingremainsactive.Alterthefollowingcost factors: cfVia = 0 Vias are welcome mnVia = 1 mnSegments = 2..8 Max. one via per connection Fewer tracks in Top/Bottom Short tracks cfBase.1/16 = 30..99
StarttheAutorouter,usingthe Select button,andchoosethesignalstobe routed.Aftertheroutingpassitispossible,ifappropriate,tooptimizethe resultmanually. The rest of the connections are routed after this. Use AUTO to open the Autoroutersetupmenu,andloadthepreviousstoredcontrolparameterswith theLoad.. button(standard.ctl).Adjustthevaluestoanyspecialwishesyou mayhave,andstarttheAutorouter. This procedure is identical for both types of supply layer (automatically generatedsupplylayer,orasupplylayergeneratedwithpolygons).
ParametertoolbaroftheROUTEcommand
196
Configuration
TheFollowmerouterrespectsDesignRulessettings: ValuesforClearance,Distance,andSizewillbetakeninconsideration,aswell asparticularvaluesfornetclasses,ifdefined.Pleasebesurethatthe Layer setupintheLayerstabisproperlyset. ThecurrentgridsettingintheLayouteditorservesasroutinggrid.Usethe GRIDcommandinordertochangeit.Ifthereisalreadyasignalassignedto mousecursor,dropit,andselectitagain.Otherwisethegridchangedoesnot affecttheconnection. The layer setting, which can be checked and changed in the parameter toolbaroftheROUTEcommand,displaysthelayerwhichhastobeusedat themousecursorposition. TheFollowmerouterreactsimmediatelyonchangesconcerningwirewidth ordrilldiameterofvias.Iftheoption Autosetroutewidthanddrill inthe Options/Set/Misc menuisset,theFollowmerouteradaptsthegivenvalues
197
7 The Autorouter
forwirewidthandviadrilldiameterfromtheDesignRulesandfromthenet classesassoonasanairwireisselected.
Routing Parameters
ParametersthataffecttheroutingstrategyaresetbyclickingontotheAUTO icon ,whichisavailableintheparametertoolbarafterenteringoneofthe followme modes. Click this icon in order to open the known Autorouter Setupwindow.TherearetwotabsthataffecttheFollowmerouter: General andFollowme. TheBussestabandtheOptimizetabsarealsoavailable,butyoucan'tmodify theirvalues.TheyareonlyforAutorouteruse. Alternativelyyoucanopenthissetupwindowfromthecommandline.Type: AUTO FOLLOWME SelecttheGeneral tabfordefiningpreferreddirectionsforthesignallayers. Theydeterminethemaindirectionofsignalwiresinthislayer.
Followmerouter:Definingpreferreddirections
Checkthepossibleoptionsonpage184. Itispossibletochoose N/Anotavailableforasignallayer.TheFollow merouterignoressuchalayer.Objectsthatarealreadydrawninthislayer won'tbetakenintoconsideration.Thismayleadtocollisionsandresultin DesignRuleCheckerrors.TheFollowmerouterexplicitelywarnsyouthat suchproblemscanappear. Supplylayers,however,mustbesetN/A.Suchlayersaregenerallyforbidden forsignalwires.
198
Followmerouter:Settingroutingparameters
Theeffectsoftheseparametersareexplainedinsection7.6,beginningwith page186. IntheMaximum section,youcandefinethenumberofViastheroutermay useforoneconnection.Ifthisvalueissetto0,theFollowmerouterisnot allowedtosetviasautomatically.However,youareabletomanuallysetavia bychangingthelayer. The value for Segments defines the maximum numberofwire segments a connectionmayconsistof.Ifyouchooseittoosmall,itmayhappenthatno connectionwillbeestablished.
Notes
TheFollowmeroutersupportsroundandoctagonviashapesonly.Square shapedviasarenotpossible. If you are working in Full mode, the Followme router works in both directions independently, beginning with the mouse cursor position. So it could happen that the router places two vias very close to or even overlappingeachothernearthecurrentpositionofthemousecursor.Inthis case move the mouse cursorslightly, until theviasareoptimizedandthe tracelooksgood. It'srecommendedtodrawaDimension lineinlayer20inordertolimitthe boardareaandthereforerequiredtimeandmemory.
199
7 The Autorouter
Dependingonthecomplexityofyourdesign,itmaybewisetoincreasethe costfactorfor Vias anddecreaseitfor NonPref.Thisavoidsfrequentlayer changes.
200
Resistor Package
Define a New Package
SelectthePackageeditingmodeviatheiconintheactiontoolbar,and enterthePackagename R10 inthe New field.Answerthequestion Create newpackage'R10'?withYes.LaterwhencreatinganewSymbolandanew DeviceyouwillagainhavetoanswerthecorrespondingquestionswithYes.
Solder Pads
Foraresistorwithleadwires,selectthePADcommand,andsetthepad shapeandthedrilldiameterintheparametertoolbar.Thedefaultvaluefor the pad diameter is auto (respectively 0). This value should bekept. The actualdiameterisspecifiedbytheDesignRulesforthelayout.Thenplace twopadsatthedesireddistance.Theoriginofthedrawingwilllaterbethe identifying point with which a component is selected. For this reason it shouldbesomewherenearthecenteroftheDevice. Youshouldnotdrawanyobjectsinlayer17,Pads,or18,Vias!Theywill not be recognized, nor bytheDRC,neither bypolygons drawninthe layout,andcanleadtoshortcircuits!
For a SMD resistor, select the SMD command, and set the pad dimensionsintheparametertoolbar.Youcaneitherselectoneoftheoffered values,ordirectlytypethelengthandbreadthintotheentryfield.
SMDcommand:Parametertoolbar
AllpropertiescanbealteredafterplacementusingtheCHANGEcommandor bytypingthecommanddirectlyonthecommandline. Select Top asthelayer,evenifthe componentwilllaterbeplacedonthe undersideoftheboard.SMDcomponentsarelocatedontheothersideofa board using the MIRROR command. This moves the objectsin all the t.. layersintothecorrespondingb..layers.
202
Pad Name
Youcannowenterthenames,suchas 1 and 2,forthepadsorSMDs usingtheNAMEcommand.
203
ThePackageEditor
Labeling
With the TEXT command you place the texts >NAME (in layer 25, tNames) and >VALUE (in layer 27, tValues) in those places where in the boardtheactualnameandtheactualvaluearetoappear.0.07inchforthe textheight(size)and10%fortheratio(relationshipofstrokewidthtotext height, which can only be set, using CHANGE, for vector fonts) are recommended. Werecommendtowritethesetextsinvectorfont.Soyoucanbesurethat itlooksexactlythesameontheprintedcircuitboardandintheLayout Editor. SMASH and MOVE can be used later to change the position of this text relativetothepackagesymbolontheboard. InthecaseofICs,forinstance,thevaluecorrespondstowhatwilllaterbethe Devicename(e.g.74LS00). WhenworkingwiththeLayoutEditoronly,thevalueisspecifiedinthe board.
204
Description
Finally, you click on the Description box. Textcanthenbeentered inthe lowerpartofthewindowwhichthenopens.HTMLtextcanbeused.Thisisa syntaxsomewhatsimilartoHTML,whichpermitsformattingofthetext.You willfinddetailedinformationinthehelpsystemunderHTMLText. Example: <b>R-10</b> <p> Resistor 10 mm grid. Keywords from this text can be searched for from the ADD dialog in the layout. Donotforgettosavethelibraryfromtimetotime!
Note
The CHANGE command can be used at a later stage to alter object propertiessuchasthestrokethickness,textheight,padshape,orthelayerin whichtheobjectislocated. Ifyouwanttochangethepropertiesofseveralobjectsatonego,definea groupwiththeGROUPcommand ,clicktheCHANGEcommand,select theparameterandthevalue,andclickonthedrawingsurfacewiththeright mousebuttonwhiletheCtrlkeyispressed. Example: UseGROUPtodefineagroupthatcontainsbothpads,thenselectCHANGE andShape/Square.PresstheCtrlkey,andclickonthedrawingsurfacewith therightmousebutton.Theshapeofbothpadschanges.
Resistor Symbol
Define a New Symbol
Selectthe Symboleditingmode,andentertheSymbolname R inthe Newfield.Thisnameonlyhasameaninginternaltotheprogram,anddoes notappearintheschematic.
205
Pincommand:Parametertoolbar(splitintotwolines)
Orientation Setthedirectionofthepins(Orientationparameter)usingthefourlefthand iconsintheparametertoolbaror,moreconveniently,byrotatingwiththe rightmousebutton. Function The function parameter is set with the next four icons on the parameter toolbar.ThisspecifieswhethertheSymbolistobeshownwithaninversion circle(Dot),withaclocksymbol(Clk),withboth(DotClk)orsimplyasa stroke (None). The diagram illustrates the four representations on one Package.
Pinfunctions
206
Pinlabeling
Direction TheDirectionparameterspecifiesthelogicaldirectionofthesignalflow: NC In Out I/O OC Hiz Pas Pwr Sup Notconnected Input Output Input/output OpenCollectororOpenDrain Highimpedanceoutput Passive(resistors,etc.) Powerpin(powersupplyinput) Powersupplyoutputforgroundandsupplysymbols
ThePwrandSupdirectionsareusedfortheautomaticconnectionofsupply voltages(seepage238). Swaplevel TheSwaplevelisanumberbetween0and255.Thenumber0meansthatthe pin cannot be exchanged for another pin in the same Gate. Any number biggerthan0meansthatpinscanbeexchangedforotherpinswhichhave thesameSwaplevelandaredefinedwithinthesameSymbol.Thepinscanbe swappedintheschematicorintheboardwiththePINSWAPcommand. ThetwopinsofaresistorcanhavethesameSwaplevel(e.g.1),sincethey areinterchangeable. Ifthelayer93, Pins,isbeingdisplayed,the connectionpointsonnetsare shownwithgreencircles.TheDirectionand Swaplevelparametersmoreover (herePasand1)aredisplayedinthislayer. Theconnectionsofadiode,forinstance,cannotbeexchanged,andare thereforegivenSwaplevel0.
Pin Names
TheNAMEcommandallowsyoutonamepinsaftertheyhavebeenplaced. Theautomaticnameallocation,asdescribedonpage93alsooperates.
Schematic Symbol
TheschematicSymbolisdrawnintheSymbolslayerusingWIREandthe otherdrawingcommands.Placethetexts>NAMEand>VALUEinlayers95, Names,and96, Values (TEXTcommand).Placethemwherethenameand valueofthecomponentaretoappearintheschematic. Preciseplacementofthetextcanbeachievedbysettingthegridfiner,which canevenbedonewhiletheTEXTcommandisactive.Afterwards,however, settheagaingridto0.1inches. Layer97,Info,maybeusedforadditionalinformationandhints.
208
TheSymbolEditor
Resistor Device
Define a New Device
CreatethenewDeviceR10withthisicon.WhenyoulaterusetheADD commandto fetchthecomponentintotheschematic,youwillselectitby usingthisname.Itisonlyacoincidencethatinthiscasethenameofthe PackageandthenameoftheDevicearethesame. So enter the name R on the New line. The Device Editor opens after the confirmingquestionCreatenewdevice'R'?.
ThePackageselection
210
TheCONNECTwindow
TheresistorgateinthisexampleisautomaticallyidentifiedasG$1,forwhich reasonthepinsG$1.1andG$1.2ofthisgateappearinthePincolumn. ThetwoconnectionsofthehousingarelistedinthePadcolumn.Markapin andtheassociatedpad,andclickonConnect. If you want to undo a connection that you have made, mark it in the ConnectioncolumnandclickDisconnect. Clickingonacolumn'sheaderbarchangesthesortingsequence. FinishtheCONNECTcommandbyclickingonOK.
Define Prefix
ThePREFIXcommandisusedtospecifyaprefixforaname.Thenameitself willinitiallybeautomaticallyallocatedintheschematic.Foraresistorthis would,naturallyenough,beR.TheresistorswillthenbeidentifiedasR1,R2, R3etc.. ThenamescanbealteredatanytimewiththeNAMEcommand
Value
On: Off: Youareallowedtochangethevalueintheschematic(forexample forresistors).Withoutavaluethepartwillnotbespecifiedexactly. ThevaluewillbegeneratedfromtheDevicenameandincludes technologyandPackagevariant(e.g.74LS00N),ifavailable. Alsorecommendedforsupplysymbols.
211
TheDeviceEditor:Fullydefinedresistor
Description
ClickontheDescriptioninthedescriptionbox.Youcanenteradescriptionof the component here. The search facility of the ADD command in the schematicdiagramwillsearchthroughthistext. YoucanuseHTMLText,asinthePackagedescription.Youwillfindnotes aboutthisinthehelpsystemunderthekeywordHTMLText. Itcanlooklikethis: <b>R-10</b> <p> Resistor 10mm package
Save
This completes definition of the resistor, and it can be fetched into the schematicdiagram.Ifyouhavenotalreadysavedthelibrary,pleasedoitat thisstage!
Library Description
NotonlyPackagesandDevicescanhave descriptions,buttheLibraryasa wholecanhaveoneaswell.ThisdescriptionisshownintheControlPanelas soonasyouexpandtheLibrariesbranchoftheTreeviewandselectalibrary entrythere. 212
Use Library
The newly created library has to be made available for the schematic or layoutwiththehelpoftheUSEcommand.Thiscommandhastobeusedin theSchematicorLayoutEditor.ItisalsopossibletomarkalibraryasinUse intheControlPanel'streeview.Seehelpfordetails. Now the library will be recognized by the ADD command and its search function.
213
Datasheetforthe541032
All the data for this component has been extracted from a data book published by Texas Instruments, whom we thank for permission to reproduceit.
214
DIL14datasheet
Clickontothe Editapackage iconintheactiontoolbar,andenterthe nameofthePackageintheNewboxoftheEditmenu,whichisDIL14inour presentexample.ClickOK,andconfirmthequestionCreatenewpackage'DIL 14'?byansweringYes. ThePackageEditorwindownowopens. 215
Place Pads
UsethePADcommand,andplacethesolderpadsinaccordancewiththe specificationsonthedatasheet.Thepadsshouldbearrangedinsuchaway that the coordinate origin is located somewhere near the center of the Package. Eachpadcanhaveindividualpropertiessuchas Shape, Diameter,and Drill holediameter.Availableshapesare:Square,Round,Octagon,Long,andOffset (Longwithoffsetdrill). Selectthedesiredpadshapeandspecifytheholediameter. The pad diameter usually is defined with the standard value auto (respectively0),sincethesizeisfinallydeterminedinthelayoutbymeansof theDesignRules,Restringtab.Thepadappearsinthelibrarywiththedefault valueof55mil. Youmay,however,assignanindividualvalue.If,forinstance,youspecify70 mil,theconsequenceisthatthediameterofthepadontheboardcannotbe lessthan70mil(independentofthecalculatedvalueoftheDesignRules). You select this value when the PAD command is active (i.e. the pad is attachedtothemousecursor)usingtheparametertoolbar.Itisalsopossible tospecifythedrillholediameterandthepadshape.
TheparametertoolbarwhenthePADcommandisactive
Thepropertiesofpadsthathavealreadybeenplacedcanbealteredatalater stagebymeansoftheCHANGEcommand.ClickontotheCHANGEiconand selectthepropertyandtheappropriatevalue.Thenclickontothepadswhose propertiesaretobealtered.CHANGEcanalsobeappliedtogroups(using theGROUPcommand).Afterthepropertyhasbeenselected,clickinsidethe groupwiththerightmousebutton. Assoonasapadhasbeenplaced,EAGLEautomaticallygeneratessolderstop symbols in layers 29 and 30, t/bStop. The dimensions of the solder stop symbolsisspecifiedintheDesignRules,Masktab,Stopparameter. Padscanbemarkedwithspecialflags(First, Stop, Thermals).Theycanbe alteredwithCHANGEsubsequently.GivingonepadofaPackagethe First flag(CHANGEFIRSTON)allowstodefineaspecialshapeforitintheDesign Rules, Shapes tab,optionFirst,inordertomarkitasthenumber'1'padof thePackage. 216
Pad Name
EAGLE automatically assigns pad names, P$1, P$2, P$3 etc., as placementproceeds.Assignthenamesinaccordancewiththeinformationin thedatabook. ThenamescanbecheckedeasilybyclickingtheOptions/Set/Miscmenuand choosing the Display pad names option. All padnamesare displayed after refreshingthescreen(F2). Alternativelytypeinthecommandline: SET PAD ON Tohidethepadnamesagain: SET PAD OFF Thefollowingprocedureisrecommendedforcomponentsthathavealarge numberofsequentiallynumberedpads: SelectthePADcommand,typeinthenameofthefirstpad,e.g.'1',andplace thepadsinsequence.Thesinglequotemarksmustbetypedonthecommand line.SeealsothesectiononNamesandAutomaticNamingonpage93.
217
Description
ClickonDescriptioninthedescriptionbox.Awindowopensinwhoselower part it is possible to enter text, while the formatted appearance of the descriptionisdisplayedintheupperpart(Headline).Thetextcanbeentered inHTMLformat.EAGLEworkswithasubsetofHTMLtagsthatallowthetext tobeformatted.Youwillfinddetailedinformationinthehelpsystemunder HTMLText. ThedescriptivetextforourDIL14mightlooklikethis: <b>DIL-14</b> <p> 14-Pin Dual Inline Plastic Package, Standard Width 300 mil Itisalsopossibletoadd,forinstance,thereferencedatabook, theemailaddressofthesourceorotherinformationhere.Thesearchfacility intheLayoutEditor'sADDdialogalsolooksinthistextforkeywords.
218
PackageEditorwithDIL14
Save
Atthisstageifnotbeforethelibraryshouldbesavedunderitsownname (e.g.my_lib.lbr).
219
SMDpackage,FKversion
Thesizeofthesolderingareasistobe0.8mmx2.0mm.TheSMD1,at0.8 mmx3.4mm,islarger. Click again onto the Edit apackage icon, andenter thenameofthe PackageintheNewboxintheeditmenu.ThePackageistobecalledLCC20. ClickOKandconfirmthequestionCreatenewpackage'LCC20'?byanswering Yes.
220
PlacingtheSMDs
The Roundness parameter (CHANGE command) specifies whether curves shouldbegiventothecornersofthesolderpads.Thedefaultvalueis0%, whichmeansthatthereisnorounding. Seealsothesectiononpage134. IfasquareSMDisselected,andifRoundnessisdefinedas100%,theresultis a roundSMD,asisneededwhencreatingballgridarrayhousings(BGA). Roundness isusuallychosentobe0%whenaPackageisbeingdefined.A 221
SMD Names
IfnonamesarevisibleintheSMDpads,clicktheOptions/Set/Miscmenuand activatetheDisplaypadnamesoption. Alternativelyyoucantypethefollowingontothecommandline: set pad_names on
222
Notethatthesilkscreenprintmustnotcoversolderedareas,asthiswill causeproblemswhentheboardcomestobesoldered. The default value for the line width is 8 mil (0.2032 mm), for smaller components4mil(0.1016mm). It is also possible to create an additional, more detailed, silk screen for documentationpurposesinlayer51, tdocu.Thismayindeedcoversoldered areas,sinceitisnotoutputalongwiththemanufacturingdata.
223
Description
Thenclickon Description inthedescriptionbox.Youcaninsertadetailed descriptionofthisPackageformhere.HTMLTextcanbeused.Thisformatis describedintheprogram'shelpsystemunderHTMLText. TheentryoftheLCC20inHTMLtextformatcouldlooklikethis: <b>LCC-20</b> <p> FK ceramic chip carrier package from Texas Instruments. TheADDdialogintheLayoutEditorcansearchforthisdescriptionorfor keywordswithinit.
Save
Pleasedonotforgettosavethelibraryfromtimetotime!
224
ThefullydefinedLCC20
Supposed you found a Package that is exactly the one you need in another library file, simply copy it into your current library. More informationaboutthisonpage256.
225
Logicalappearanceofthe541032
ClickontotheEditasymbol icon.EnteranamefortheSymbolonthe New line, such as 2input_positive_or, and click OK. Confirm the question Createnewsymbol'2input_positive_or'?byansweringYes.Younowhavethe SymbolEditorwindowinfrontofyou.
226
Save
Thisisagoodmomenttosavetheworkthatyouhavedonesofar. Supposed you found a Symbol that is exactly the one you need use GROUP,CUT,andPASTEtocopy itintothecurrentlibrary.Seealso page258.
227
TheSymbolEditor:Logicsymbol(Americanrepresentation)
228
Pin Name
You use the NAME command to give thetwo pinsthenamesofthe signalsthattheyaretocarry.Inthiscase,theseareGNDandVCC. Forreasonsofappearance,thepinpropertyVisibleissettoPadintheSymbol shownbelow,andthepinlabelhasbeenplacedonlayer95, Names,using TEXT.
TheSymbolEditor:Supplysymbol
inlayer95, Names.Placethetextatasuitablelocation.Noplaceholderis necessaryforvaluehere.
Select Symbols
FirstuseADDtofetchtheSymbolsthatbelongtothisDevice.Awindow opensinwhichalltheSymbolsavailableinthecurrentlibraryaredisplayed. Doubleclickontothe2input_positive_orsymbolandplaceitfourtimes. ClickagainontheADDicon,andselectthe'VCCGND'Symbolfromthelist. Placethistooontothedrawingarea.
230
Thepinassignmentforthe
packages This must be the most important step in the library definition. CONNECT assignseachpintoapad.Thewayinwhichnetsintheschematicdiagram areconvertedintosignallinesinthelayoutisdefinedhere.Eachnetatapin createsasignallineatapad.Thepinassignmentforthe541032isspecified inthedatasheet.Checktheconnectsinthelibrarywithcare.Errorsthatmay passunnoticedherecanmakethelayoutuseless. SelecttheJversionfromthePackagelistandclicktheCONNECTbutton.The connectwindowopens.
232
CONNECTdialog
Thelistofpinsisontheleft,andthepadsareinthecenter.Clickontoapin entry,andselecttheassociatedpad.Bothentriesarenowmarked.Youjoin themwith theconnectbutton.Thispairnowappearsontheright,inthe Connection column. Join each pin to its pad in accordance with the data sheet.FinishthedefinitionbyclickingOK. PleasenotethatinourexampletheGatesarenamedA,B,C,andDwhile theyarenamed1,2,3,and4inthedatasheet. DefinetheconnectionsforthesecondPackageversion,FK,inthesameway. Selecttheversion,andclicktheConnectbutton.Theusualdialogappearsin theconnectwindow.Proceedexactlyasdescribedabove. Pleasenotethatsixpadsarenotconnectedinthisversion.Theyareleftover inthePadcolumn.FinishtheprocessbyclickingOK. There is now a green tick to the right of bothPackagevariants, and this indicates that connection is complete. This isonly true when every pinis connectedtoapad. Onepinhastobeconnectedtoexactlyonepad! Itisnotpossibletoconnectseveralpinswithacommonpad! A Device may contain more pads than pins, but not the other way around! PinswithdirectionNC(notconnected)mustbeconnectedtoapad,as well!
Defining Technologies
Asnotedabove,the541032istobeusedintwodifferenttechnologies AS and ALS. By including a * as a placeholder in the Device name we have alreadytakenthefirststeptowardsthis.Intheschematicdiagramthecode 233
TechnologiesforpackagevariantJ
ClosethewindowbyclickingOKagain. SelecttheFKversionfromthePackagelist.Clickonto Technologies inthe descriptionbox again.YouwillnowseethatASandALSareavailableas selectionsinthetechnologieswindow.Activatebothofthesebyclickinginto thesmallboxtotheleft,sothatatickisdisplayed.Finishthedefinitionby clickingOK. ThetechnologiesavailablefortheselectedPackageversionarenowlistedin thedescriptionareaoftheDeviceEditor.
Value
ThesettingofvaluedetermineswhethertheVALUEcommandcanbeusedto alterthevalueoftheDeviceintheschematicdiagramandinthelayout. On: Off: Youareallowedtochangethevalueintheschematic(forexample forresistors).Definingthevalueisnecessarytospecifythepart. ThevaluewillbegeneratedfromtheDevicenamewhichcan includetechnologyandPackagevariantname(e.g.74LS00N).
EvenifValueissetOff,itispossibletochangethevalueofacomponentafter confirmingawarningmessage. If you change the initial value and decide to use another Technology or PackagevariantlaterwithCHANGEPACKAGEorCHANGETECHNOLOGY, theuserdefinedvaluewillremainunchanged.
234
DeviceEditor:54*1032A.dev
<b>541032A</b> <p> Quadruple 2-Input Positive-OR Buffers/Drivers from TI.
Save
ThiscompletesdefinitionoftheDeviceset.Ifyouhavenotalreadysavedthe library,pleasedoitatthisstage!
235
NANDSymbol7400(EuropeanRepresentation)
ThetwoinputpinsarecalledI0 andI1andaredefinedashavingdirection In,Swaplevel1,visiblePinandfunctionNone. Theoutputpiniscalled O andisdefinedwithdirection Out,Swaplevel 0, visiblePin,andfunctionDot. Now define the supply gate with the name PWRN, and the following properties:
236
Powergate
ThetwopinsarecalledGNDandVCC.TheyaredefinedwithdirectionPwr, Swaplevel0,functionNone,andvisiblePad. Nowcreatethe7400DeviceintheDeviceEditor: SpecifythePackagewithPACKAGE(whichmustalreadybepresentinthe library)andusePREFIXtospecifythenameprefixasIC. UsetheADDcommandtoplacethe7400Symbolfourtimes,withAddlevel beingsettoNextandSwaplevelto1.ThenlabeltheGatesasA,B,CandD withtheNAMEcommand. TheAddlevelofNextmeansthatastheseGatesareplacedintotheschematic, they will be used in that sequence, i.e., the sequence inwhich theywere fetchedintotheDevice. ThenplacethePWRNSymbolonce,usingAddlevelRequestandSwaplevel0. NamethisGateP. AddlevelRequestspecifiestwothings: Thesupplygatewillonlybefetchedintotheschematicifrequested, i.e.withtheINVOKEcommand.TheADDcommandwillonlybeable toplaceNANDgates. Thesupplygatewillnotbeincludedwhennamesareallocatedtothe schematic.WhereasanICwithtwoNextGatesappearsinthe schematicassomethinglikeIC1AandIC1B,anICwithoneNextGate andoneRequestGatewillonlybeidentifiedasIC1. So use the CONNECT command to define the housing pads to which the supplypinsareconnected.
238
SupplysymbolforGND
TheSupplysymbolhasnoPackageassigned! Ashasbeenexplainedabove,theDevicereceivesthenameofthepinthatis usedintheSymbol.ThecorrespondingDeviceisdefinedwithAddlevelNext. IfyousetValueto off youcanbesurethatthelabelingisnotaccidentally changed.Ontheotherhand,youhavemoreflexibilitywithValuesettoon. Youcanalterthelabelif,forinstance,youhaveasecondgroundpotential. Youmust,however,thencreateexplicitnetsforthesecondground. QuickguidetodefineaSupplySymbol: CreateanewSymbolinthelibrary Placethepin,withdirectionSupply Pinnamecorrespondstothesignalname SetValueplaceholder CreateanewDevice Devicenameissignalname Packageassignmentnotnecessary 239
8.5 Attributes
You are allowed to define, additionally to >name and >value, further properties,thesocalled attributes.It'spossibletodefineattributesforeach technologyandPackagevariantintheDeviceeditor.Thischapterwillguide youthroughtheprocessofdefiningattributeswiththehelpofanexample. Thereforeopenthelibrary74xxus.lbrandsaveacopyofitwithSaveas...in anarbitrarydirectory.Wedon'twanttochangetheoriginallibraryforthis. EdittheDevice74*05.
Define Attributes
Let'sdefinesome attributes forthePackagevariant N,whichisthe DIL14 Package.ThereforeclickontoentryDIL14(VariantN)inthePackageliston therighthandsideoftheDeviceEditorwindow.NowclicktheATTRIBUTE command icon in the menu bar or onto the text Attributes in the descriptionwindowbelowthe representation of theDevice.Thefollowing Attributewindowwillappear.
Attributes'dialog
ThisdialoginitiallyshowstheTechnologiesavailableforthePackagevariant N.ClickingtheNewbuttonopenstheNewAttributewindow.Pleaseenter,for example,Heightfortheattribute's nameand0.16infortheattribute'svalue. Thelinebelowdetermineswhetheritisallowedtomodifythevalueofthe attribute(variable)ornot(constant)inthedrawing.Select constant inour examplehere. NowyouhavestilltodefineforwhichTechnologiestheattributeshouldbe valid:forthecurrentlyselectedoneonly(current)orforall.Selectallhere. ClicktheOKbuttonandthenewattributeisshowninthelistnow.
240
8.5 Attributes
DefiningtheHeightAttribute
Let's define a second attribute that should have different values for the Technologies.ClicktheNewbuttonintheAttributes'dialogagain.Enterthe followingparameters: Name:DistributorValue:Smith,variableTechnologies:all Click OK now.Afurthercolumnforthe Distributor attributeisshown.All technologieshavetheSmithentry. Attributenamesarewritteninuppercaselettersautomatically! But in our example the LS technology has to be distributed by Miller exclusively.ClickintothefieldoftheDistributorattributethatbelongstothe LStechnology.
TheDistributorfieldforLSisselected
Clickontothe Change buttonnow.Thewindowforchangingtheproperties oftheattributeopens.Setthefollowingoptions: Name:DistributorValue:Millerexclusively,constantTechnologies:current ClicktheOKbutton,andtheexceptionfortheLStechnologyisdefined.This valuecannotbealteredintheSchematic/Layout. TheChangedialogallowsthreepossibilitiesintheTechnologiesfield:current, same,all.Thismeansthatthecurrentlychangedpropertieswillbevalidfor the currently selected (current), for all the technologies with the same 241
AlltheAttributesfor74*05,VariantN
Attributeswithafixedvaluearecoloredgrayinthetable. ThedefinitionofattributesforthePackagevariant N isfinishednow.Click OKtoclosetheAttributeswindownow.Theattributesareshowninaddition toTechnologiesintheDeviceEditorwindow. If you like to define attributes, for example, for the Package variant D (SO14),clickontotheentryinthePackagelistoftheDeviceEditorwindow andproceedasdescribedaboveforvariantN. It'salsopossibletodefineattributesviathecommandlineorwiththehelpof aScriptfile.PleasetakealookintothehelpfunctionabouttheATTRIBUTE commandfordetails.
Display Attributes
IfyouwouldusetheDevice74*05withoutfurtherchangesintheSchematic orLayout Editor, it would bringalong its attributesandtheirvalues. The attributes are not visible in the drawing and can be check with the ATTRIBUTEScommand. InformationabouthowtodisplayattributesinSchematicorLayoutcanbe foundonpage123inthismanual. 242
243
Labelingofaschematicsymbol
Summary
Next:ForallGatesthatshouldbefetchedinsequence(e.g.theNANDGates ofa7400).ThisisalsoagoodoptionforDeviceswithasingleGate.TheADD commandfirsttakesunusedNextGatesfromcomponentswhichexistonthe currentsheetbefore"opening"anewcomponent. Must: For Gates which must be present if some other Gate from the componentispresent.Typicalexample:thecoilofarelay.MustGatescannot bedeletedbeforealltheotherGatesfromthatcomponenthavebeendeleted. Can:ForGateswhichareonlyusedasrequired.Inarelaythecontactsmay bedefinedwithAddlevel Can.Insuchacasetheindividualcontactscanbe specificallyfetchedwithINVOKE,andcanlaterbedeletedwithDELETE. Always: ForGateswhichasageneralrulewillbeusedintheschematicas soonasthecomponentisusedatall.Example:contactsfromamulticontact relay, of which a few are occasionally left unused. These contacts can be removed with DELETE, provided that they were defined with Addlevel Always. Request:Forsupplygatesofcomponents. The difference from Can is: A Device with exactly one NextGate and a RequestGatewillbenamed,forexampleIC1.TheGatenamedoesnotappear 244
Relaywithonecoilandthreecontacts
245
Packageofacircuitboardconnector
Nowdefineasymbolrepresentingonecontactarea.SetvisibletoPad,sothat thenames1to10,definedinthePackage,appearintheschematic.
ConnectorsymbolfortheSchematic
Then fetch the Symbol ten times into a newly created Device, settingthe AddlevelineachcasetoAlways,andusetheCONNECTcommandtocreate theconnectionsbetweentheSMDsandthepins.Whenyounowfetchthis Deviceintoaschematic,alltheconnectionsappearassoonasitisplaced. IndividualconnectionscanberemovedwithDELETE.
AfterADD,alltheconnectionsarevisibleintheschematic
246
Fixingholeswithrestrictedareas
Thedrillholesareplaced,withthedesired diameter,onthePackageusing the HOLE command. The drilling diameter canberetrospectively changed withCHANGEDRILL. TheforbiddenareafortheAutorouter/Followmerouterisdefinedinlayer 42, bRestrict, using the CIRCLE command. Forreasons of representational claritythecircleisshownherewithanonzerowidth.Circleswhosewidthis 0arefilled.InthiscaseithasnoeffectontheAutorouter,sinceitmaynot routewithinthecircleineithercase.Theseforbiddenareasarealsotaken intoaccountbyapolygoninlayer16,Bottom.
Define Symbol
FordefininganelectromechanicalrelayyouhavetouseoneSymbolforthe coilandoneormoreSymbolsforthecontacts. Pleasenotethefollowingrulesforthecontactsymbols: Thecenterofthecontactsymbolshouldbelocatedatposition(00) 247
Define Device
OurelectromechanicalrelayconsistsofmultipleGates:oneGateforthecoil andseveralGatesforthecontacts.TheplacementoftheGatesintheDevice Editor has to follow some rules. Otherwise the presentation of the cross referencesintheSchematicwouldnotbeoptimal. Theoriginofthefirstcontactgateshouldbelocatedatthe xcoordinate0.ThelowerpinoftheGateshouldbelocated completelyinthepositivecoordinatesrange.Theycoordinateis typically0.1inch. Eachfurthercontactgateisplacedtotherightofthefirstoneatthe sameycoordinate(thesameheight). ThedistancebetweenthecontactgatesintheDeviceEditorfinally determinesthedistanceofthecontactsinthegraphicalrepresentation ofthecontactcrossreferencesintheSchematic.Thecontactgateswill berotatedby90andalignedverticallyonebyonethere. ThecoilgatemaybeplacedanywhereintheDevicedrawing.The AddlevelforthisGatemustbeMust. TherepresentationofthecontactcrossreferencesshowsallGatesthatcome withthe >XREF text.Thecrossreferencesconsistingofsheetnumbersand column/row coordinates will be shown on the right of the Gates, if you placed a drawing frame defined with the FRAME command on the Schematic'ssheets. AllothertextsdefinedintheSymbolarenotvisibleinthecrossreference representation.
Define Package
DuetoEAGLE'slibrarystructureandinordertoavoiderrormessagesyou havetodefineaPackage,aswell.ThiscanbeasimpledummyPackagethat simplyhasthesamenumberofPadsasnumberofPinsintheDevice. SelectthePackagewiththeNewbuttonintheDeviceEditorandassignPins withPadswiththeCONNECTcommand. Furtherinformationaboutthesubject ElectricalSchematics canbefoundon CadSoft'swebsite.
248
ParametertoolbaroftheFRAMEcommand
Thepositionofthedrawingframeisfixedbytwomouseclicksorbytyping thecoordinatesofitscornersinthecommandline. ColumnsandRowscanbeusedtodetermineaDevice'soranet'sposition,for example with the help of an ULP, or to have crossreferences calculated automatically(seeLABELcommand). Istheframealreadydefinedbutyouwanttochangeitsproperties? ThenusetheCHANGEcommandwithitsoptionsBorder,RowsandColumns todeterminetheframe'spositionofthelabellinganditsnumberofrowsor columns. Duetothespecialnatureoftheframeobject,itdoesn'thavearotationof itsown! TheFRAMEcommandisalsoavailableinSchematicorBoard.Butitis commonpracticetodefineadrawingframeintheLibrary. The library frames.lbr also contains documentation fields you can use togetherwithaframe.Ofcourseyouareallowedtodrawyourown. Thetext variables >DRAWING_NAME, >LAST_DATE_TIME and >SHEETare contained,aswellassomefixedtext.Thedrawing'sfilename,dateandtime ofthelastchangeappearatthesepointstogetherwiththesheetnumberin theschematic(e.g.,2/3=sheet2of3).
249
Textvariablesinthedocumentationfield
The frame is defined in the Device with Addlevel Next, and the documentationfieldwithAddlevelMust.Thismeansthatthedocumentation fieldcannotbedeletedaslongastheframeispresent. ThereareframesdefinedasPackagesavailablefortheLayoutEditorwhich can be placed even if there is a consistent schematic/layout pair. These framesdon'thaveanyelectricalsignificancebecausetheyaredefinedwithout padsorSMDs. The variable >CONTACT_XREF has a special meaning for Electrical Schematics.Thepositionofthistext,whichisnotdisplayedintheSchematic, determines the reserved area for the representation of the contact cross references.Moredetailsaboutthiscanbefoundinthehelpfunctioninthe sectionContactcrossreferences.
250
252
DeviceEditor:ListofPackageVariants
Connect Command
ClicktheConnectbuttonnow.TheConnectwindowopens.Connectpinswith padsbyclickingonthepinandpadentriesbelongingtogetherasdescribedin paragraph8.2. Itisalsopossibletoadaptthepin/padconnectionsfromanalreadyexisting Package variant. In our example the assignment does not differ from the DIL14Package.ThereforeselecttheentryDIL14fromtheCopyfrom:combo box. AfterclickingOKtheCONNECTcommandisfinished.
Defining Technologies
TheDevice 54*1032A isavailableintwotechnologies(ALSandAS).These stillhavetobesetupforthenewPackagevariant. SelectthePackagevariantTestfromthelistonthelowerrightoftheDevice Editor window. A click onto Technologies in the description field opens a window.Clickthe New buttonandsetuptechnologyALSwithafollowing clickontoOK,andASagainwithafollowingclickontoOK.Bothentriesare 253
Save
ThedefinitionofthePackagevariantisfinished.Nowitistimetosavethe library.
255
PackageEditor:RelativeandPolarCoordinatesDisplay
Valuesmarkedwithan R are relativevaluesreferringtothepreviouslyset reference point. The leading P indicates polar values referring to the referencepoint. Example: Threepadsaretobeplacedonthecircumferenceofacirclewitharadiusof 50mm.Thecenterofthepartisatposition(00). GRID MM; MARK (0 0); PAD '1' (P 50 0); PAD '2' (P 50 120); PAD '3' (P 50 240); Dependingontheusedpadshapeitmaybeusefultoplacethepadsrotated (forexampleforLongpadsorSMDs). Itispossibletoentertheangledirectlyintheparametertoolbarorinthe commandlinewhilethePADorSMDcommandisactive. Example: GRID MM ; MARK (0 0); PAD '2' LONG R120 (P 50 120) ;
256
RequestingtheUpdateMode
260
261
262
263
GERBER_RS274X
ThisdevicegeneratesfilesinExtendedGerberformat(RS274X)wherethe aperturetableisintegratedintheoutputfile.SimplygenerateGerberfiles with the GERBER_RS274X device and pass them on to your board manufacturer.ThisisthemostefficientandeasiestwaytogenerateGerber data.
264
Drill Data
Thegenerationof drilldata isverysimilartothegenerationofplotdata. Typicalformatsusedinindustryare Excellon or Sieb&Meyer1000 or 3000. TheyaresupportedbytheCAMProcessor.ThemostcommononeisExcellon. Thesimplestcaseistogenerateonecommondrilldatafileforalldrillholes. Ifyouhavetodistinguish platedfrom nonplateddrillholes,twodrilldata filesmustbegenerated.EAGLEdifferentiatesbetweenplateddrillsofPads andViasinlayer44,Drills,andnonplatedholesinlayer45,Holes,whichare placedbytheHOLEcommand. IfyouhavetogeneratedrilldataforamultilayerboardthatusesBlindand Buriedviaswithdifferentvialengthsthatresultindifferentdrillingdepths, theCAMProcessortakescareonthisautomatically.Foreachvialengthit generatesaseparatedrilldatafile. Furtherinformationaboutthiscanbefoundinchapter9.5frompage279on.
EXCELLON
UsingthisdevicetheCAMProcessorgeneratesadrillfilethatcontainsthe drilltableandthedrillcoordinates.Thisfileformatisthemostcommonin theindustryandwillberecognizedbymostboardmanufacturers. The default resolution of the EXCELLON device is 1/10,000 inches, no leadingzeros(dataformat:2.4,Inch).
EXCELLON_RACK
Thisdevicecanbeused,ifyourboardmanufacturerinsistsontwoseparate files.Adrilltable(rackfile)andthedrilldatafile.Thiswasdefaultinprior EAGLEversions. InthefirststeponehastogeneratethedrilltableintheLayoutEditorwith thehelpoftheUserLanguageprogram drillcfg.ulp,andreferstothisdrill table when generating drill data with the CAM Processor. The board manufacturergetstwofilesthen,drilldataanddrilltable. Ifyouhavetodistinguishbetweenplatedandnonplateddrillingsyouhave tosupplyonedrilltableandtwodrilldatafiles(oneforlayerDrills,onefor layerHoles).
265
outlines.ulp
Asimpleexampleforcontourdatacalculationisoutlines.ulp.Startitwiththe RUNcommand.Selectthelayerforwhichoutlinedatashallbegenerated, define thediameter of the milling tool(Width), and selecttheoutputfile format(ScriptorHPGL)intheULP'sdialogwindow. TheScriptfilecontainingtheoutlinedatacanbeimportedintoEAGLEwith theSCRIPTcommand.Thusit'spossibletovisualizethecalculatedcontours intheLayoutEditor.Youcanevenmodifythem,ifnecessary. Finally,themillingdataoutputismadewiththeCAMProcessor.Selectthe layerwherethecontoursaretobedrawninanduse,forexample,theHPGL, thePS(Postscript)oroneoftheGerberdevicesfortheoutput. Furtherinformationcanbefoundinthehelpfunction,Outlinedata.
mill-outlines.ulp
AnotherUserLanguageprogramthatcalculatesoutlineanddrilldataismill outlines.ulp.Itoffersvariousconfigurationparameters.Simplystartitwith theRUNcommandintheLayoutEditor.ConsulttheULPsintegratedhelp functionfordetails. This ULP exports HPGL formatted data (further formats are planned) or generates a Script file which can be imported into the layout again. The millingcontourscanbeviewed,orevenmodified,ifrequired.Generatethe milling data with the CAM Processor and one of its devices, like Gerber, HPGLorPSthen.
Printing on a Film
Forboardsoflimitedcomplexity,onecanusealaserorinkjetprinterand printonatransparentfoilwiththePRINTcommand.Thismethodisused,for example, by hobbyists and results in a shorter fabricationtimeandaless expensiveboardfabricationprocess. ThelayersthataredisplayedintheLayoutEditorwhileprintingwillappear onthefilm.ChecktheoptionsBlackandSolidintheprintdialog. Thedrillsofpadsandviasarevisibleontheprintout.Thiswillallowaneasy visual indication of where you have to drill manually on the board. Experienceshowsthattheopeningofapadoraviashouldnotbetoobigto allowforagoodcenteringofthedrillbit.Thisissuecanbesolvedwiththe help of an User Language program, named drillaid.ulp. Start it before printing,andletitdrawaringinsideeachpadandviainaseparatelayer. Theinnerdiameterofthisringcanbedefinedandisusuallysetto0.3mm.Of course,youhavetodisplaythisadditionallayerforprintingonthefilm.
267
Execute the RUN command in the Layout Editor window to start the particularULP. NotealsothewiderangeofprogramsthataremadeavailableontheCadSoft webserverhttp://www.cadsoftusa.com/download.htm,ULPdirectory.
Documentation
ManydocumentationitemscanbegeneratedwiththeaidofUserLanguage programs.Notealsothewiderangeofprogramsthataremadeavailableon ourwebserver.Thebom.ulp,theprogramforgeneratingabillofmaterials, hasbeenusedasabasisforlotsofusercontributedULPs.
Parts List
Thepartslistcanbecreatedbybom.ulp.StartitfromtheSchematicEditor, using the RUN command. The Bill Of Material window with the parts summaryopensfirst.
268
bom.ulp:Dialogwindow
Itispossibletoimportadditionalinformationfromadatabasefileintothe partslist(Load),ortocreateanewdatabasewithitsownpropertiessuchas manufacturer,storesnumber,materialnumberorprice(New). You can obtain further details about the current version of the ULP by clickingthehelpbutton. A simple parts list can also be created from a boardor schematic by meansoftheEXPORTcommand(Partlistoption).
Drill Plan
Printingadrillplanenablesyoutocheckthedrillholesandtheirdiameters. Itshowsanindividualsymbolforeachdiameterofhole,via,andpadusedin yourdesign.EAGLEuses19differentsymbols:18ofthemareassignedtoa certain diameter; one () appears, if no symbolhasbeendefined forthe diameterofthishole.Thesymbolsappearinlayer44,Drills,atthepositions wherepadsorviasareplaced,andinlayer45,Holes,atthepositionswhere holesareplaced. TherelationbetweendiametersandsymbolsisdefinedthroughtheLayout Editor'sOptions/Set/Drilldialog. ThebuttonsNew,Change,DeleteandAddcanbeusedtocreateanewtable, tomodifycertainentries,deletethemortoaddnewones. The Set button extracts all the hole diameters from the layout and automaticallyassignsthemtoadrillsymbolnumber.ThevaluesofDiameter 269
Configurationofthedrillsymbols
and Width determinethediameterandlinethicknessofthedrillsymbolon thescreenandtheprintout. Theimageaboveshowsthatdrillsymbol1isassignedtoadrilldiameterof 0.01inch.Inthefollowingimageyoucanseehowtherelatedsymboldrawn inlayer44,Drills,or45,Holes,lookslike.Thesymbolnumber1lookslikea pluscharacter(+).
Assignmentofthedrillsymbols
The dill symbol assignment is stored in the userspecific file eaglerc.usr (.eaglercforLinuxandMac).
Drill Legend
Documentingthedrillsymbolassignmentisquitesimplewiththehelpofa handyUserLanguageprogramnameddrilllegend.ulp. 270
Job gerb274x.cam
This job can be used to generate manufacturing data in Extended Gerber format. Proceedasfollows: StarttheCAMProcessor,forexample,withtheCAMProcessoriconin theLayoutEditororwiththeFile/CAMProcessormenu. LoadtheboardintotheCAMProcessor(File/Open/Board)ifitwasnot loadedautomaticallyduringthestartsequence. Loadthepredefinedjobgerb274x.camwiththeFile/Open/Jobmenu. NowclickProcessJob.EAGLEgeneratesfivefiles,onebyone, automaticallywhichyouhavetopassontotheboardmanufacturer. EachGerberfilecontainstheaperturetableandtherespectiveplot data. Thefollowingfileswillbegenerated: %N.cmp Componentside
272
%N.gpi
Infofile,notneededhere
Job excellon.cam
The easiest way to generate drill data is to use the predefined CAM job excellon.cam,usedwiththeCAMProcessorafilethatcontainsdrilldataand therespectivedrilltablewillbegeneratedautomatically.Thisjobdoesnot distinguishbetweenthelayers Drills and Holes.Bothwillbeoutputintoa commonfile.Usuallyalldrillingswillbeplatedthroughthen. Proceedasfollows: StarttheCAMProcessor(forexampleFile/CAMProcessormenu)in theLayoutEditor. LoadtheboardintotheCAMProcessor(File/Open/Board),ifithas notbeenloadedautomaticallyduringthestartsequence. Loadthepredefinedjobexcellon.cam,e.g.withFile/Open/Job. ExecutethejobwithamouseclickonProcessJob.Drilldataoutput startsnow. Excellon.camdoesnotdistinguishbetweenplatedthroughdrillsandnon platedthroughholes! Thefollowingfileswillbegenerated: %N.drd %N.dri Drilldata Infofile,forboardmanufacturer, ifrequired
273
CAMProcessor:Generatedrilldatawiththeexcellon.camjob
Thedefaultunitforthedrilltableisinch.Ifthedrilltablewouldbepreferred inMillimetresthedevicedefinitioncanbechangedinthefileeagle.def.More detailsconcerningthiscanbefoundinthesectionUnitsforapertureanddrill tables,beginningwithpage289. Excellon.cam can be used for multilayer boards, as well as for those with Blind, Buried or Micro vias. In this case several drill data files will be generated.Seechapter9.5fordetails.
Job gerber.cam
If your board manufacturer can not handle Extended Gerber format and expects Gerber data with a separate aperture file, use thejob gerber.cam. Thesefilescanbecreatedwiththedevices GERBERAUTO and GERBER and generatesdatainRS274Dformat. Howtoproceed: StarttheCAMProcessor,forexample,withtheCAMProcessoriconin theLayoutEditororwiththeFile/CAMProcessormenu. LoadtheboardintotheCAMProcessor(File/Open/Board)ifitwasnot loadedautomaticallyduringthestartsequence. Loadthepredefinedjobgerber.camwiththeFile/Open/Jobmenu. NowclickProcessJob.EAGLEautomaticallygeneratessixfileswhich youhavetopassontotheboardmanufacturer.FiveGerberplotfiles andonecommonaperturetable. 274
Messagesingerber.cam
TheleftmessageisgeneratedbytheentryinthePromptfield,and remindsyoutodeletethetemporaryfile%N.$$$createdwhengenerating theaperturetableafterthejobisdone. Themessageontherightadvisesyouthatmorethanonesignallayerare activeatthesametime.Normallyonlyonesignallayerisactivewhile outputisgenerated.However,whengeneratingthewheel,allthelayers needtobeactiveatthesametimetoformacommonaperturetablefor theGerberoutput. Thefollowingfileswillbesubsequentlyoutput: %N.whl %N.cmp %N.sol %N.plc %N.stc %N.sts %N.$$$ %N.gpi Temporaryfile,pleasedeleteit Infofile,notneededhere Aperturefile(Wheel) Componentside Solderside Silkscreencomponentside Solderstopmaskcomponentside Solderstopmasksolderside
275
Files List
TheoutputfilesoftheCAMjobsdifferintheirfileextensions.Youare,of course,freetouseunequivocalnamesofyourown. TheCAMProcessorallowstheuseofsomeplaceholdersforthegenerationof outputfilenames.Usuallytheoutputfilenameconsistsofthenameofthe board file plus a special file extension. For the board file name without extensionweusetheplaceholder%N.Write,forexample,intheOutputFile field:%N.cmp.Thiswillbeexpandedwiththenameofthelayoutfilethatis loadedplustheextension(here:boardname.cmp). Inthefollowingtable %N alsostandsforthenameofthecurrentlyloaded boardfilethatisusedtogeneratemanufacturingdatafrom. Filename Signallayers %N.cmp %N.sol 1Top,17Pads,18Vias 16Bottom,17Pads, 18Vias Componentside(top) Solderside(bottom) Selectedlayers Description
Innerlayers %N.ly2 2Route2,17Pads,18 Vias 3Route3,17Pads,18 Vias ..... 15Route15,17Pads, 18Vias Innerlayer2 Innerlayer3 ..... Innerlayer15
%N.ly3 .....
%N.l15
Specialcase:InnerlayerasSupplylayer(e.g.:Layer2$GND,Layer15 $VCC) %N.ly2 ..... %N.l15 2$GND ..... 15$VCC Supplylayer$GND .... Supplylayer$VCC
Silkscreen
276
(*)Pleasecheckwithyourboardmanufacturerwhetheryouhavetooutput theboardcontourinlayer20inaseparatefileoryouareallowedtocombine itwiththoselayers. (**) Ifthereareadditional millededgesintheboard,youshouldcontact yourboardmanufacturerandaskthemwhichlayerstheypreferformilling contours. Pleasenotethattherearedifferencesbetweennormalinnerlayersand supplylayers: Normalinnerlayers(possiblywithpolygons)aretreatedthesameasTop orBottomlayer;youhavetooutputthemwithPadsandViastogether. Supplylayers,however,arenotcombinedwithanyfurtherlayer!
Theseplaceholdersmustbewritteninuppercaseletters!
278
9.4 Which Files do I Need for my Board? Hints Concerning File Extensions:
cmpstandsforcomponentside,theuppersideoftheboard,solforthesolder (bottom)side.Itmakessensetochoosethefirsttwolettersaccordingthe active layers. The third one can be c or s for belonging to component or solderside. Ofcourseyouarefreeinnamingyourfilesinanymanneryouwish! Pleaseensurewhendefiningajobthattheextensionsoftheoutputfiles areuniqueandthereforedistinguishable.
Supply Layer
Whengeneratingmanufacturingdatafor supplylayers,forexample$GND, youmustnotactivatethelayersPadsandVias. Isolationrings, calledAnnulus symbols,andthermalreliefs(Thermals)are generated automatically in a Supply layer. They havenothing incommon withpadsorviasofnormalsignallayers. ASupplylayerisdisplayedand outputinverted. SupplylayersareneveroutputwithPadsandVias!
279
Drill Data for Multilayer Boards With Blind and Buried Vias
TheCAM Processor generates one drill data file foreach via length fora layoutthatusesBlindandBuriedvias. Thedrilldatafileextension.drdisexpandedbythevialengthspecification.If thereare,forexample,viasfromlayer1to2,theoutputfileextensionwillbe .drd.0102. Thelayerspecificationcanbemovedtoanotherpositionwiththehelpofthe wildcard%L.Writing,forexample,intheFileboxoftheCAMProcessor%N. %L.drdresultsinanoutputfilenamedboardname.0102.drd. Padsandtroughholeviaswillbewrittenintoanoutputfilewithextension .drd.0116.Ifyouplacedholes(HOLEcommand)inthelayoutandtheHoles layerisactiveforoutput,theCAMProcessorwritesthisdataalsointothefile withextension.drd.0116. Passonallthesefilestoyourboardmanufacturer. ProvidedyoudidnotusetheEXCELLONdevicewhichcombinesdrilltable anddrillcoordinatesinacommonfile,yourboardhouseadditionallyneeds therackfilename.drlwhichisgeneratedbydrillcfg.ulp.
280
CAMProcessor:Soldersidesectionofthegerber.camjob
Output: Selectthedriverforthedesiredoutputdeviceoroutputformatinthe Devicecombobox. EntertheoutputpathandfilenameintheFilefieldorsimplyclick ontotheFilebuttonanduseitsdialog. Ifyouwanttooutputafileonaparticulardrive,placethedrive identifieror,ifappropriate,thepathinfrontofthefilenameending. Forinstance,underWindows,d:\%N.cmpwouldplacethefile boardname.cmpintherootdirectoryofdriveD.Thisalsoappliesto theLinuxversion,sothat,forexample,/dev/hdc2/%N.cmp,would placethefileondrivehdc2. %HcanbeusedaswildcardfortheHomedirectory,%Pfortheloaded file'sdirectorypath. Ifoutputistogodirectlytoaplotter,enterthenameoftheprint queuethatisconnectedtothecorrespondingcomputerinterfacein UNCnotation,e.g.\\Servername\Plottername. DependingonthechosendeviceitmaybeaskedforWheel(aperture table)orRack(drilltable).Selectpathandfilebyclickingthebutton. Layerselection: Selectthelayersthatshouldbeoutputintoacommonfilebyclicking theappropriatelayernumber. ClickthemenuLayer/Deselectalltouncheckallthelayersfirst. Layer/showselecteddisplaysonlythecurrentlyselectedlayers. 281
Rotate:
Upsidedown: Rotatestheoutputby180degrees. WhencombinedwithRotate,thedrawingisrotated byatotalof270degrees. Pos.Coords.: Avoidsnegativecoordinatevaluesfortheoutput. Thedrawingwillbemovednearthecoordinate'saxis, evenifitisalreadyinthepositivecoordinatesrange. Negativevaluescanleadtoerrorswithalotofdevices! Thisoptionshouldbesetonalwaysbydefault. Switchingitoff,transfersthecoordinatevaluesfrom theLayoutEditorunchanged. Quickplot: Draftoutputwhichshowsonlytheoutlinesofobjects. Thisoptionisavailableforcertaindevices,likeHPGL andvariousplotters. Activatestheoptimizationofthedrawingsequencefor plotters.Shouldbesetonbydefault. Thisoptionisalwaysseton.OnlythedevicesPSand EPSallowyoutoswitchoffthisoption.Thedrillholes forpadswillbevisibleontheoutput(asitiswiththe PRINTcommand).
Optimize: FillPads:
Job: IfyouareonthewaytodefineaCAMjobthatconsistsofseveral sectionsitisusefultonamethem.IntheSectionline,itispossibleto enterasectionnamewhichwillbeshownalsointhetababove. If,forexample,youassignthesectionnameWheel:GenerateAperture File,onlythetitleWheelisvisibleasatabname.Theadditional descriptioncanbereadinthesectionline.Thecolonendsthetitlein thetab. Incaseyouwishtodisplayamessageboxonthescreenbefore executingthissection,enterspecialmessagetextinthePromptfield. Forexample:Pleaseinsertanewsheetofpaper!Theoutputdoesnot continueuntilconfirmationofthismessage. Offset: Defineanoffsetinxandydirection. ThevaluescanbegiveninInchesorMillimetres,forexample,15mm or0.5inch.
282
283
284
* %N.$$$
%N.cmp
%N.pls
%N.stc %N.sts
%N.crc %N.crs
Activate only the signal layer for the output of Supply layers (here $GND)!NoPadsandnoViaslayer! Incase of other inner layers that may contain polygons, youhaveto activatethelayersPadsandVias!
286
Ifyouwanttohaveseparatefilesforplatedandnonplated drillings,selecthereLayer44,Drills,onlyandinsertafurthersection thatoutputslayer45,Holes,inaseparatefilewiththeAddbutton afterthefollowingitem. Checkwithyourboardmanufacturertoseeifthisisthemethodthey prefer. AfterchangingtheoutputdevicetheCAMProcessorrequiresaRack fileasatoolguide.Typein.drlorclicktheRackbuttonandchoose thepathtoyourrackfileinthefiledialog. 287
288
289
or
[GERBERAUTO]
andchange:
Units = Inch
to
Units = mm
UseofapertureshapesintheCAMProcessor:
Draw draws wires and emulates apertures Round draws round pads and vias Square draws square pads, SMDs and vias Octagon draws octagonal pads and vias with the same X- and Y-dimensions Rectangle draws rectangles and SMDs Oval draws pads with different X- and Y-dimensions Annulus draws isolation rings in a supply layer Thermal draws connections in a supply layer
Apertureconfigurationfileexample:
D001 D002 D017 D020 D033 D040 D052 D054 D057 D105 D100 D101 D110 D111 Annulus Annulus Annulus round round square 0.004 square 0.059 thermal thermal oval rectangle rectangle draw draw 0.004 x 0.000 0.005 x 0.000 0.063 x 0.000 0.004 0.059 0.090 0.120 0.090 0.060 0.075 0.004 0.005 x x x x x 0.060 0.080 0.030 0.075 0.060
The D code determines the tool number, then follows the aperture shape afteratleastoneblankcharacter,thenthedimensionsaredefined. Allvaluesdefaulttoinches,unlessaunitisadded,forexample0.010inor 0.8mm. Commentsaremarkedwithsemicolonsatthebeginningofaline,orwitha semicolonfollowingablankcharacter.
291
Aperture Emulation
If objects exist in a drawing which is not compatible with the available aperturesizes,itispossibletoemulatethedesireddimensionsbyselecting the Emulate Apertures option. The CAM Processor then selects smaller aperturestoemulatedimensionswhicharenotmatchedbyaperturesizes. Emulationresultsinlongerplottimesandhigherfilmcosts,soitshouldbe avoidedwheneverpossible. ThermalorAnnulusaperturesinSupplylayersareonlyemulatedwithDraw aperturesiftheEmulateThermalorEmulateAnnulusoptions,respectively,is activated. Thefilename.gpiindicateswhichaperturesareemulated.
292
Chapter 10 Appendix
10.1 Layers and their Usage
In Layout and Package Editor
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 Top Tracks, top side Route2 Inner layer (signal or supply) Route3 Inner layer (signal or supply) Route4 Inner layer (signal or supply) Route5 Inner layer (signal or supply) Route6 Inner layer (signal or supply) Route7 Inner layer (signal or supply) Route8 Inner layer (signal or supply) Route9 Inner layer (signal or supply) Route10 Inner layer (signal or supply) Route11 Inner layer (signal or supply) Route12 Inner layer (signal or supply) Route13 Inner layer (signal or supply) Route14 Inner layer (signal or supply) Route15 Inner layer (signal or supply) Bottom Tracks, bottom side Pads Pads (through-hole) Vias Vias (through all layers) Unrouted Airlines (rubber bands) Dimension Board outlines (circles for holes) *) tPlace Silk screen, top side bPlace Silk screen, bottom side tOrigins Origins, top side (generated autom.) bOrigins Origins, bottom side (generated autom.) tNames Service print, top side (component NAME) bNames Service print, bottom s. (component NAME) tValues Component VALUE, top side bValues Component VALUE, bottom side tStop Solder stop mask, top side (gen. autom.) bStop Solder stop mask, bottom side (gen. Autom.) tCream Solder cream, top side bCream Solder cream, bottom side tFinish Finish, top side bFinish Finish, bottom side tGlue Glue mask, top side bGlue Glue mask, bottom side tTest Test and adjustment information, top side bTest Test and adjustment inf., bottom side tKeepout Restricted areas for components, top side
293
10 Appendix
40 41 42 43 44 45 46 47 48 49 51 52 bKeepout tRestrict bRestrict vRestrict Drills Holes Milling Measures Document Reference tDocu bDocu Restricted areas for components, bottom s. Restricted areas for copper, top side Restricted areas for copper, bottom side Restricted areas for vias Conducting through-holes Non-conducting holes Milling Measures Documentation Reference marks Detailed top screen print Detailed bottom screen print
*) Holes generate circles with their diameter in this layer. They are used to place restrictions on the Autorouter.
Layers can be used with their names or their numbers. Names can be changedwiththeLAYERcommandorintheDISPLAYmenu.Thefunctionsof thespeciallayersremain. Ifyouwanttocreateyourownlayers,pleaseuselayernumbersabove100. UsetheDISPLAYmenutocreatenewlayers(Newbutton)ortypetheLAYER commandon thecommandline. Ifyou wanttocreate,forexample,layer 200,Remarks,typein: LAYER 200 Remarks TosetupcolorandfillstyleofthislayerusetheDISPLAYcommand.
294
EAGLEforLinuxonlycreatesandrecognizeslowercasecharactersinfile endings!
295
10 Appendix
-t-vxxx -u-wxxx -xxxx -yxxx emulate Thermal Pen velocity rotate output 180 degrees Page width (inch) Offset X (inch) Offset Y (inch)
Where:
xxx stands for further data, e.g. file name as with -W or a decimal number as with -s. Examples: -W /home/user/eagle/project/aperture.whl -s 1.25 - Default for option is off + Default for option is on Example: -e Aperture Emulation on -e+ ditto -e- Aperture Emulation off Flag options (e.g. -e) can be used without repeating the '-' character: -eatm Aperture emulation on, annulus and thermal emulation on, mirror output -ea-t+ Aperture emulation on, NO annulus emulation, thermal emulation on Defining tolerance values: If there is no sign, the value applies to either direction, + signifies a positive tolerance, a negative tolerance. adjusts the draw tolerance to 10 % adjusts the draw tolerance to +10 % and -5 %
Notesontheindividualoptions: C Executeacommand AfterloadinganEAGLEfilethegivencommandwillbe executedintheEditorwindow'scommandline. Seealsohelpfunction,CommandLineOptions. DrawTolerance(0.1=10%): Default:0 DrillTolerance(0.1=10%): Default:0 FlashTolerance(0.1=10%): Default:0
D E F
296
X a c
297
10 Appendix
h PageHeight(inch): Printableregionintheydirection(ininches).TheYdirection isthedirectioninwhichthepaperistransported.Seealso thewparameter. MirrorOutput: Default:off. OutputFileName PenDiameter[mm]: EAGLEusesthePendiametermeasurementtocalculatethe numberoflinesrequiredwhenareasaretobefilled.Default:0 QuickPlot: Generatesadraftorfastoutput,whichonlyprintstheframesof theobjects.Default:off RotateOutput: Rotatestheoutputby90degrees.Default:off ScaleFactor: Thosedeviceswhichcannotchangetheirscalefactor(inthe menuoftheCAMProcessor),haveascalefactorof1.Default:1 EmulateThermals: Worksonlyincombinationwithe+.Default:off RotateOutputby180degrees: Incombinationwithr+onecanrotateby270degrees.Default:off PenVelocityincm/s: Thisoptionisforpenplotterssupportingdifferentspeeds.Toselect aplotter'sdefaultspeed,useavalueof0.Default:0 PageWidth(inch): Printableareainxdirection.Seealsoh. OffsetX(Inch): Thisoptioncanbeusedtomovetheoriginofthedrawing. Default:0 OffsetY(Inch): Default:0
m o p
r s
t u v
w x
Exampleforstartingeaglecon.exe: eaglecon -X -dgerber -Waperture.whl -oboard.sol -D-0.1 name.brd pad via bottom ThisgeneratesaGerberfileboard.solwhichcontainsdataofthelayersPads, Vias,andBottom.Drawaperturesmayhaveanegativetoleranceupto10%. Allparametershavetobewritteninacommonline! Pathsthatincludespacecharacters,mustbesetintosinglequotes!
298
Thebackslash\attheendofalineshowsthatacommandcontinuesinthe next line. Here the MENU command runs from the first line after the commenttothelastline. Thepipesign|hastobeusedifacommandwithinbraces{}isfollowedby anothercommand.
Textmenufrommenu.scrintheLayoutEditor
299
10 Appendix
1) Only for package and symbol 2) Only for symbol 3) Only for symbol or circuit diagram
All texts starting with the character >, will be interpreted as placeholder textsforattributes.SeeATTRIBUTEcommand.
tothefile.
Consistency Check
In order to handle Board/Schematic pairs that have only minor inconsistencies, the user can enable a dialog that allows him toforce the editortoperformForward&BackAnnotation,eveniftheERCdetectsthatthe filesareinconsistent.Thiscanbedonebyappendingtheline:
Erc.AllowUserOverrideConsistencyCheck = "1"
300
tothefile.
tothefile.
tothefile.Thiswillturnthisfeatureoffforallcommandsthatdrawwires.
Group Selection
Sincethecontextmenufunctionontherightmousebuttoninterfereswith theselectionofgroups,agroupisnowselectedwithCtrlplusrightmouse button.Ifyouwanttohavetheoldmethodofselectinggroupsback,youcan addtheline
Option.ToggleCtrlForGroupSelectionAndContextMenu = "1"
tothefile.Thiswillallowselectinggroupswiththerightmousebuttononly andrequireCtrlplusrightmousebuttonforcontextmenus.
Open Project
The automatic opening of the project folder at program start (or when activating a project by clicking onto its gray button) can be disabled by appendingtheline
ControlPanel.View.AutoOpenProjectFolder = "0"
tothefile.
10 Appendix
Interface.UseCtrlForPanning = "1"
intothefile.Note,though,thattheCtrlkeyisnowusedforspecialfunctions insomecommands,sowhenusingthesespecialfunctions(likeselectingan object at its origin in MOVE) with this parameter enabled you may inadvertentlypanyourdrawingwindow.
Theedgesofpolygonswillbedisplayedascontinuouslinesthen.
Units in Dialogs
Theautomaticunitdeterminationindialoginputfieldscanbecontrolledby appendingtheline
Interface.PreferredUnit = "x"
302
Paddiameterchanged
InEAGLEversionprior4.0thepaddiameterhasbeenfixedinthePackage definition. Duetothegiven values intheDesign Rulesthepaddiameters havechanged. Pleasecheckand,ifrequired,changetheRestringsettings.RuntheDesign RuleCheckinanyratetorecognizepossibleclearanceerrors.
Updatereport:Objectswiththesamename
TheTextEditorshowsthismessageifyouattempttoloadanolderfile(BRD orSCH)thatcontainsdifferentversionsofalibraryelement.Inthiscaseit added @1, @2, @3... to the names of the Devices so that they can be identified. ThismessagecanalsoappearifyouuseCUTandPASTEcommands.
303
Updatereport:Viareplacedwithhole
The pad or via is automatically converted into a hole, provided it is not connectedbyCONNECTtoapininoneofthelibrary'sDevices. Ifthereispadthathasaconnectiontoapin(itisdefinedinthelibrary),the followingmessageappears: InthatcasetheLibraryfilemustbemanuallyeditedinordertocorrectthe pad.Thenyoucanupdatetheboardfilewiththenewlibrarydefinition.
304
Updatereport:Padreplacedwithahole
Updateerror:Fileolderthanversion2.6
Theprogramupdate26.exe,whichislocatedintheeagle/bindirectory,isused forthispurpose.
305
10 Appendix
Copy the file that is to be converted into the directory containing both update26.exe and the file layers.new. Then open a DOS window under Windows,andchangeintothisdirectory.Typethecommand: update26 dateiname.ext Thefileisconverted,afterwhichitcanbereadbythenewversionofEAGLE. Iftheconversionissuccessful,themessageintheDOSboxis:ok... Ifthe message Please define replacement for layer xxx inlayers.new should appear, it means that you have defined your own layers in layout/schematic/library. Because of the new layer structure used since version 2.6, a new layer number(greaterthan100)mustbeassigned. Thisrequiresyoutoeditthefilelayers.newusingasimpletexteditor,adding, forexample,anewlayernumberasthelastlineofthefile. If,forinstance, youhaveusedlayer55,andwanttogiveitnumber105, enter: 55 105
In a Library
Package/Symbol is in use
IfaPackageorSymbolisalreadyusedinaDevice,nopadsorpinswhichare alreadyreferencedtoapinorpadwiththehelpoftheCONNECTcomand, maybedeleted.InsuchacaseEAGLEshowsthefollowingmessages:
ErrorwhileeditingPackageorSymbol
ButitisallowedtoCHANGEorNAMEsuchpinsorpads.It'salsopossibleto add further pins/pads with the PIN or PAD/SMD command and you are allowedtoDELETEpins/padswhicharenotreferenced viatheCONNECT command. Thismessagealsoappears,ifyoutrytoremovethewholePackage/Symbol fromthelibrarywiththeREMOVEcommand.Youhavetodeletethewhole DeviceorthePackagevariantorsymbolintheDevicebefore.
306
Polygonswithwidth0
Thismessageappears,ifyouselectedalayerintheCAMProcessorwhich containsasignalpolygoninthelayoutwhoselinethicknessislessthanthe resolutionoftheselectedoutputdriver(Device). Inordertoavoidunnecessarylargeplotfilesyoushouldassignahighervalue tothepolygon'slinewidth(CHANGEwidth).
Light/Standardlimits
This message is shown if the limits of the Light or Standard Edition are exceeded. This can be the case, for example, if you want to place a part outside the Layout size limits, if you want to start the Autorouter, orset parameters for the Followme router, althoughtherearepartsoutsidethe Layoutlimits,oryouwanttodefineanotallowedinnerlayer.
307
10 Appendix
308
Index
A
Action toolbar Addlevel Always Can Must Next Request Airwire Calculate Display/hide Alias Deleting Alpha blending Alt-X Annulus symbol Dimension In supply layer Annulus Symbol Aperture Aperture File Attributes Defining For elements Global Automatic Naming Autorouter Backup Blind vias Bus router Continue existing job Control file, ctl Control parameter Controlling Cost factors Design rules Features Hints Information Interruption Layer selection Load settings Log file Memory requirement Menu Micro via 48, 50 237 244, 246 244 244, 245 244 244 22 70 70 91 93 101 42, 60 136 136 23 290 264 58, 121, 240 122 121 93 70 191 163 178 186 193 186 178 186 179 177 195 192 191 182 184 193 181 183 191
Min. distance, clearance 179 Min. routing grid 177 Module 34 Multilayer board 182 Net classes 179 Optimization 179 Placement grid 180 Polygon 189 Polygons as supply 191 Preferred direction 182, 184 Restarting 186 Restricted area 183 Ripup/Retry 190 Routing grid 180 Routing pass 179 Save settings 184 Select signals 185 Single-sided boards 195 Smds and supply layer 195 Status display 192 Supply layer 161, 182, 190 Track width 179 Unreachable Smd 181, 182
B
Background color Backup files Beep Bill of material Blind via Blind via ratio Blind, Buried via Bmp file Board Arrange components Attributes, global Creating Cut-out Cutouts Design Rules Draw outline Layer setup Lock component Multilayer Multiple board Placement grid 101 44, 295 103 268 23 132 162 96 142 144 139 251 141 128 140 130 66 158 174 139
309
Index
Prior considerations Routing manually Board Manufacture Bubble help Buried via 127 147 263 46, 48 23 Circle Filled Clearance Cmd key Color Background Settings Command Activating Language Line Parameters Text menu Toolbar Commands ADD ARC ASSIGN ATTRIBUTE AUTO BOARD BUS CHANGE CIRCLE CLASS CLOSE CONNECT COPY CUT DELETE DESCRIPTION DISPLAY DRC EDIT ERC ERRORS EXPORT FRAME GATESWAP GRID GROUP HELP HOLE INFO INVOKE JUNCTION LABEL LAYER LOCK MARK MENU MENU MIRROR MITER
247 131 85 46 100 81 85 48, 81 49 299 48 55, 66, 76, 209 57, 69 59, 83, 99 58, 70, 77 70 50, 139 57, 118 54, 65, 76, 205 57, 69, 85, 89 59, 117 59 76, 210, 232 53, 64, 254 54, 65 54, 65 74, 77 52, 63, 92 71, 152 59, 72, 110 58, 71, 124 71, 154 59, 85, 95 59, 249 55, 210 50 53, 64 49 70, 82, 247 51, 63, 132 56, 112 57, 114 58, 114 59, 294 66 52, 63, 256 60 99 53, 64, 82, 144, 250 56, 67
C
CAM Job Define drill job Description Excellon.cam Extending gerber.cam gerb274x.cam gerber.cam Output parameter CAM Processor Choose pen number Component side Cream frame Creating device driver Drill data EPS output Error: Apertures missing Error: Drills missing Extremely large plot data File extensions Fill Pads Finish mask Glue mask HPGL Inner layer Job Load job file Milling contours Plotter Pos. Coords. PostScript Prompt Save time and money Section name Silk screen Solder stop Start Start from batch Supply layer Tolerance UNC notation Vias Caption 287 284 273 285 272 274 280 77 282 276 277 288 265, 277 267 286 288 307 279 282 277 277 97 276 284 79 277 281 282 266 275 271 282 277 277 50, 78 295 276, 286 283 281 279 282 172
310
Index
MOVE 52, 63, 82 NAME 55, 66, 76 NET 57, 114 OPEN 60 OPTIMIZE 67 PACKAGE 60, 76, 252 PAD 73, 202 PASTE 54, 65 PIN 90, 206 PINSWAP 55, 66 POLYGON 57, 69, 149 PREFIX 76, 211 PRINT 60, 171 QUIT 60 RATSNEST 70 RECT 57, 69 REDO 51 REMOVE 60, 72, 110, 260 RENAME 73, 260 REPLACE 55, 66, 146 RIPUP 68, 148 ROTATE 53, 64, 143, 255 ROUTE 67, 147 RUN 51 SCRIPT 51, 95 SET 60, 100, 300 SHOW 52, 63 SIGNAL 70 SMASH 55, 67, 112, 144 SMD 73, 202, 221 SPLIT 56, 67 TECHNOLOGY 61, 77, 234 TEXT 57, 68 UNDO 51 UPDATE 61, 170, 260 USE 50, 213 VALUE 55, 66, 76, 211 VIA 70, 82, 168 WINDOW 51 WIRE 56, 68 WRITE 61 Component Add from library 55 Attribute 122 Changing Technology 146 Copying by Drag&Drop 257 Create symbol 205 Creating 75, 201 Cross-reference 247 Description 205 Keepout 205 Labeling 204 Lock 66 Name 204 On both sides 144 On bottom side 202, 250 Output list 96 Package editor 204 Placement grid in board 139 Prefix 211 Replace device 146 Replace package 144 Replacing 55 Rotation 142 Separate name/value 55, 67 Update 170 Value 55, 66, 204 Configuration Commands 99 eagle.scr 105 eaglerc, eaglerc.usr 106, 300 of EAGLE 99 User interface 99 Connector 245 Consistency check 58, 71, 99, 124 Consistency lost 175 Contact cross reference >CONTACT_XREF 116 >XREF 247 Context menu 41, 82 Control Panel 37 Options menu 43 Control parameters 186 Coordinates Display 48, 52, 63 Entering 88 Modifier 89 Polar 88, 256 Relative 88, 256 Select group 89 Copper plane 149 Core 23, 162 Cost factors 186 Cream mask 137 Cross reference For contacts 116, 247 For nets 58, 114 Specify format 116 Ctrl key 85 Current units 90 Cursor appearance 46
311
Index
D
Data output Date/time stamp Delete All signals Wire bend Design Rule Check Approve errors Correcting errors Fonts Meaning of errors Restricted areas Show errors Wire styles Design Rules Clearance Definition Layer setup Options Restring Desktop Publishing Device Assign Package Attributes Build Device Set Copying Creating Delete Description Driver Editing Gate names Placeholder in name Prefix Remove from LBR Rename Replacing Technologies Value on/off Device Set Directories Distance Documentation Documentation Export image Print Documentation field Drag&Drop Draw lines 78 249 96 65 23, 71 155 152 139 155 139 71 158 40, 128 131 71 130 129 132 267 23 210 240 229 257 209 72 212 288 72, 74 210 230 211 260 73 55, 146 234 76, 211 23 43 131 268 96 203 249 37 56
Drawing area Alias Display last Panning Drawing frame Drawing name DRC See Design Rule Check Drill Diameter Legend Non-plated Plan Plated Symbols Drill data Blind/buried vias Configuration file drillcfg.ulp Error: Drills missing EXCELLON EXCELLON_RACK Info file Leading zeros Multilayer boards Rack Separate rack file SM1000 SM1000/SM3000 SM3000 Tolerance Units Dxf data export
92 51 51 110, 249 249 23 152 23 247 270 265 269 265 270 265 280 287 287 288 265 287 288 289 280 287 287 265 287 265 288 289 97
E
eagle.def eagle.epf eagle.scr eaglecon.exe eaglerc, eaglerc.usr Edition Light Professional Standard Electrical Rule Check Approve errors Electrical schematic Electrical Schematic 288, 290 107 105 295 106, 300 36 34 36 23, 58, 124 125 247 116
312
Index
Elongation Encapsulated PostScript Environment variable ERC Error messages CAM Processor Correcting DRC - Meaning of File prior version 2.60 In a library Loading a file excellon.cam Exit program Expert options Export data 135 267 43 23 307 152 155 305 306 303 287 42 300 94 Place particular Gateswap Gerber Extending gerber.cam Fixed aperture wheel Supply layer Units Gerber device RS-274D RS274X Gerber output Annulus aperture Aperture configuration Aperture types Arc Draw aperture Emulate aperture Emulation Error: Apertures missing Flash aperture GERBER gerber.cam GERBERAUTO Info files Messages gerber.cam Resolution Supply layers Wheel Wheel, example file GND symbol Graphic format Graphics data Import Grid Alias definition Alternative grid Check Menu Min. visible size Pad placement Group Define Move Move to sheet Rotate 56 119 285 290 279 289 264 264 283 290 290 283 290 283 292 286 290 274 274 274 286 275 264 279 290 291 238 96 98 90 92 91 139 91 104 202 53, 64 53 53 255
F
Fiducials File Backup Edit New Open Print Save Film Generation Fixing hole Follow-me Router Font Checking No vector error Persistent in drawing Typeface Vector Forbidden area Forward&Back Annotation Consistency lost Function keys 271 295 59 41 42, 50 50 50 266 246 23, 196 139, 157 157 45 57, 68 45 146 23, 98 175 59, 83, 99
G
Gate Gate Hidden supply 23, 230 112
H
Help function History function 46, 49 82
313
Index
Hole Diameter Min. diameter HOME variable 23 247 132 43 Attributes Composition of your own Copy elements Copying by Drag&Drop Create new Description Device creating Drop Important comments List contents Open Output script file Package creating Package variants Remove element Rename element Search for elements Summary Symbol creating Update Update Package Updating older files Use Library Editor License Extending Multiple Users New Installation Light edition Line Type Logo import 240 259 256 257 215 212 209 111 22 95 60 96 202 231 260 260 110 38 205 170 260 29 39, 50 71 29 30 25 34 24 68 98
I
Import In-circuit tester Inner layer Installation Invalid Polygon 94 267 159 25 156
J
Job Junction Set automatically 274, 284 104
K
Keepout 156, 205
L
Layer Abuse Alias definition Available Creating Display/hide Hide unused Inner Power supply Qty. of signal layers Setup Signal Stack Thickness Usage Layout Editor Library 156 92 100 59 52, 63 100 159 159 130 130, 161, 163 159 24, 162 131, 164 293 33, 62
M
Magnetic pads Menu Configure Text menu Contents parameter menu Menu bar Micro Via Definition Restring, diameter Set in SMD Milling Contour Cutout in board Prototype board Milling machine Mounting hole 148 299 100 48 24, 169 132 169 251 141 266 266 70, 246
314
Index
Mouse click Right click Mouse keys Mouse wheel zoom Multilayer boards 4-Layer 6-Layer 8-Layer Blind, Buried vias Through vias Via display 87 89 61 45 158 163 165 167 162 161 163 Description Editing In use New Radial pad arrangement Remove from LBR Rename Rename variant Replacing Rotation Update in LBR Variants Pad Appearance in Editor Aspect ratio Automatic naming Change shape Diameter Diameter in inner layer Display mode Display name in board First Form Layer color Magnetic pads Oblong hole Offset pad Radial arrangement Restring, Diameter Shapes Solder stop mask Stop flag Thermals flag Palette Panelize boards Panning Parameter toolbar Parts list Paste buffer Path specifications Pbm file PDF output Pgm file Photoplotters Pick-and-place data Pin Automatic naming Connection point Direction Function Inverted signal Labeling 205 72, 73 306 73 256 260 73, 260 231 66 255 259 231 24 136 135 93 205 202 134 104 104, 217 135, 216 135 136 148 251 135 256 132 216 137 217 137, 217 101 174 51 48, 50 96, 268 54, 65 43 96 173 96 290 267 24 94 114, 208 207 206 227 207
N
Name Automatic naming Forbidden characters Length Net Connection point Cross reference Net classes Netlist Netscript 94 94 93 24 57 58, 114 117 95 96
O
Object Move Properties Show properties Oblong holes Output Drawing Image 52, 63 51, 63 46 251 59, 60 96
P
Package Assigning Changing Copying Creating new variant Delete Delete variant 24 210 145 254, 256 251 72 253
315
Index
Length Name Orientation Properties Same names Superimposed Swap Visible Pin/Pad connection Pin/Pad list Pinswap Placeholder For attributes >CONTACT_XREF >DRAWING_NAME >GATE >LAST_DATE_TIME >NAME >PART >PLOT_DATE_TIME >SHEET >SHEETNR >SHEETS >VALUE Placeholder texts Plated-through hole Png file Polar coords. Polygon Calculation on/off Invalid Isolate Orphans Outline mode after Ratsnest Pour Rank Spacing Thermal connector width Thermals Width Postscript PostScript Power supply Power supply layer Ppm graphic file Prefix Prepreg Print out Date/time Drawing Options 207 208 206 206 237 127 55, 66 207 210, 233 96 119 243 116, 250 249 243 249 208, 243 243 250 249 250 250 208, 243 300 70 96 256 104 152 151 151 152 150 150 151 151 151 150 173 266 120 159 96 76 24, 162 250 171 172 Page limit PDF file Printing Product information Product registration Professional edition Project Close Create new Directory Edit Description File, eagle.epf Mangement Open recent p. Prototype Manufacture 172 173 60 47 46 34 42 41, 107 43 41 107 40 42 266
R
Rack file Ratsnest Registration Relative coords. Relay Repetition points Restricted area Restricted area For components Restring RGB value Roundness Rubber band 24, 287 24 46 256 245 87 146, 246 205 24, 132 100 135 22
S
Schematic Checking Create sheet Creating Delete sheet Draw nets Drawing frame Editor Global attributes Grid Merge 124 50 109 60 114 110 33 121 110 127
316
Index
More than one sheet 126 New sheet 110 Points to note 127 Remove sheet 50 Sheet preview 48 Sheet preview on/off 126 Sort sheets 126 Various supply voltages 120 Script files 95 Comments 95 defaultcolors.scr 103 Syntax 85 Select factor 104 Selecting objects 61 Serial number 47 Sheet Delete 110 Max. number of 33 New 110 Sorting 48, 126 Signal 24 Display name 147 Signal layer 159 Silkscreen 203 SMD Automatic naming 94 Cream flag 222 Define size 221 Parameter 202 Placement 221 Round shape 221 Roundness 134 Solder cream mask 137 Solder stop mask 137 Stop flag 222 Thermals flag 137, 222 Snap length 104 Solder cream mask 137 Special characters 94 Standard edition 34 Status line 48 Stop frame 137 Superimposed pins 127 Supply Addlevel for gates 244 Autorouting supply layer 190 Invisible pins 236 Layer with polygons 159 Symbol 24, 120, 238 Various voltages 120 Voltages 236 Swaplevel Symbol Copying Creating Delete Editing In use Labeling New Power supply Remove from LBR Rename 55, 119, 208 24 256 205 72 72, 74 306 243 74 228 260 73
T
Technologies 233 Technology Changing 146 Termination Of command 51 Text Bar over text 94 Change size 57, 68 Editor 79 Font 57, 68 HTML text 205 In copper layer 271 Inverted in copper layer 69 Menu 60, 99, 299 Min. visible size 104 Ratio 204 Separate from component 144 Special characters 94 Spin flag 142 Upside down 143, 218 Variables 249, 300 Thermal symbol Dimension 136 In polygon 151, 159 In supply layer 136, 161 Tif graphic file 96 Title bar 48 Tool tips 48 Track Bend mode 149 Decompose 148 Delete all 65 Min. width 132 Set width automatically 104 Smooth wire bends 149
317
Index
Tree view Update Delete 253 Using modified one 254 Vector font 45 Checking 139 Via 24 Appearance in Editor 136 Blind 163 Blind via ratio 132, 169 Buried 162 Diameter display with INFO 132 Diameter in inner layer 134 Layer color 136 Length 168 Limit 138 Micro via 163, 169 Restring, Diameter 132 Shape in inner layer 135 Solder stop 138 Thermal symbol 136
42
U
UNC notation Undo buffer Unsmash texts Update Check for Update User guidance User interface User Language User Language Program bom.ulp Calculate milling contour cam2dxf.ulp cam2print.ulp dif40.ulp drill-legend.ulp drillcfg.ulp. dxf.ulp fabmaster.ulp gencad.ulp List of all mill-outlines.ulp mount.ulp mountsmd.ulp outlines.ulp Start ULP unidat.ulp 31 103 67 47 46 44 24, 97 268 266 174 174 268 270 280 97 268 268 40 266 268 268 266 51 268
W
Wheel file Wheel mouse Window Fetch into foreground Menu Number Store position Wire Bend mode Style 24 45 84 46 46 46 24 149 68
V
Value Placeholder text in package Placeholder text in symbol V. for Device V. is always Device name Warning Variable $EAGLEDIR $HOME Variant Creating new 218 227 234 301 300 43 43 251
X
Xbm graphic file Xpm graphic file XREF label 96 96 115
Z
Zoom factor limit Zoom in/out 45 51
318