AP0130 Moving To Altium Designer From P-CAD
AP0130 Moving To Altium Designer From P-CAD
AP0130 Moving To Altium Designer From P-CAD
Youve made the switch to Altium Designer a single, unified application that incorporates all the technologies and capabilities necessary for complete electronic product development and now youre eager to start designing. This application note gives you a jump start on the basics of designing in Altium Designer, and maps out the key differences you need to understand when moving from the P-CAD environment to Altium Designer. It also shows how easy it is to transfer your current P-CAD schematic and PCB designs and libraries into Altium Designer.
File Translation
P-CAD design files in the Import Wizard translate as follows: P-CAD PCB (*.PCB) files translate into Altium Designer PCB files (*.PcbDoc). P-CAD schematic (*.SCH) files translate into Altium Designer schematic files (*.SchDoc). Each sheet within a P-CAD schematic file is imported as a single Altium Designer schematic file (*.SchDoc). Design hierarchy is maintained, including complex hierarchy. These files will be grouped into an Altium Designer PCB project (*.PrjPCB) that is automatically created. P-CAD PCB files generate an output job document (*.OutJob) if necessary. This document will contain all the print settings from the P-CAD PCB. Libraries that contain solely pattern information translate into Altium Designer PCB library files (*.PcbLib). Libraries that contain both pattern and symbol information translate into both Altium Designer PCB library files (*.PcbLib), and schematic library files (*.SchLib) respectively. Libraries that contain both component and symbol information translate into Altium Designer schematic library files (*.SchLib). Libraries which contain solely symbol information do not import as Altium Designer does not have the same concept of a symbol as P-CAD (described later).
Translated P-CAD libraries are automatically grouped in an integrated library package (*.LibPkg).
Translation Overview
The steps for translating your P-CAD designs and libraries using the Import Wizard look like this:
Map pattern to footprint names File translation Compile library package and install generated integrated library
1. Multiple pattern graphics 2. Pin to pad mismatches Mapping can be adjusted to suit your requirements.
Libraries are compiled and validated. Cross-checked for signal to pin mapping.
Set project options Assign UIDs to matching PCB and schematic components Resolve footprint name differences Resolve net name differences Perform synchronization (generate ECOs and apply) Perform PCB DRC
Review Messages panel for warnings or errors Resolve errors and recompile Move/copy new libraries to your preferred storage area Install libraries into Altium Designer (Libraries panel) Place components from Libraries panel
Double-click a message in the Messages panel to launch the Compile Errors panel.
Project Show Differences dialog. Use right-click menu options to set Update direction.
Project Project Options dialog, Library Options page to set up compiled library locations.
Project Show Differences dialog. Use right-click menu options to set Update direction.
For a tutorial that steps you through all the basics of creating components, read Creating Library Components. The fundamentals of how components are defined, their properties, and basic relationships between components, models and library concepts are explained further in Component, Model, and Library Concepts.
From the Knowledge Center in Help, links and videos for understanding the essentials of component, model, and library concepts in Altium Designer can be found in the Documentation Library Library and Component Management.
Figure 2. P-CAD design files are displayed immediately after translation in the Projects panel.
Workspace Panels
Many elements of the environment will appear intuitive to P-CAD users, helping as you start exploring the system. For example, the Projects panel will appear similar to the P-CAD Design Manager; except that since it is not limited to design data it can include the PCB, all libraries, output files, as well as other project documents, such as Microsoft Word or Excel files. You will also notice that your translated files will be grouped somewhat differently than you are used to seeing. Whether you need to open a specific document such as a schematic, or need information or control to design on a more global, system-wide level, it can all be done using the Projects panel. As you open and make active the documents within various editors you will notice that the resources and available panels will change dynamically; the menus, available panels, and toolbars will quickly change to match the document type you are currently focused on for editing. Youll want to familiarize yourself with how to access these panels, manage, group, and control your display modes to get the most out of the productivity features that are provided here. Press F1 when the cursor is over a panel for more information on that panel.
Projects Panel
Altium Designer, like P-CAD, also features project management capabilities but there are conceptual differences youll need to get firm in your mind first. The Altium Designer approach to managing your project is that all design documents (schematic, PCB, libraries, etc.) are linked to the project file, both for management and access to certain design features such as design verification, comparison, and synchronization. The Altium Designer presentation through the Projects panel provides high visibility and a complete view of everything you need in your project. The project file, which is what you are viewing in the Projects panel, contains links to all your documents in your design, as well as any other project-level definitions. The essentials of project-based design are discussed later in the Project-based design section.
If the active project in the Folders region is under version control and you are using either the CVS or SVN version control systems, then selecting a document belonging to that project (in the Files region of the panel) will populate the VCS Revisions region with a history list for that document.
The Local History region presents a local history for the currently focused document in the Files region of the panel.
Figure 4. The Storage Manager panel has four key regions: Folders, Files in Project, VCS Revisions, and Local History.
Refer to the document Welcome to the Altium Designer Environment for an introduction to Altium Designer and an overview of its unique and unified environment. It provides an illustrated and easy approach to using Workspace panels, storage management, environment customization and much more.
Favorites
Like an internet browser, Altium Designer supports the concept of defining Favorites. Once the Favorites panel is displayed (via the System button on the Status bar) you can right-click in the Favorites panel to mark the current view of the active document as a favorite. Double-click on any favorite listed in the panel to return to that document, zoomed to the exact area and location you require. As well as views of documents in your design, favorites can include links to any directory or document on the network or local storage, as well as any page on the internet.
Project-based Design
Now that weve covered some of the basics of the Altium Designer environment, its time to talk about designing. The starting point for every design created in Altium Designer is a project. Its a simple and important concept an Altium Designer project is a set of design documents whose output defines a single implementation. For example, the schematics and PCB in a PCB project output the fileset required to manufacture a single printed circuit board, while the schematics and HDL in an FPGA project the fileset required to program a single FPGA. The project file brings together all those design documents that make up the project. Altium Designer supports a number of different types of projects, including: PCB, FPGA, Embedded Projects, Core Projects, Integrated Libraries, and Script Projects.
Projects Panel
In Altium Designer, all items related to a project are linked to a Project document, and are easily accessible and manageable in one location. The Projects panel is probably one of the more commonly-used panels in day to day work as it allows you to make changes to your project options, add to and remove documents from the project, change the display options of projects, change the order of documents within a project, or even how you would like to display information in the Projects panel. All of your translated files will appear within the Projects panel with their own respective projects automatically created for them. Right-click on the project document to display a context-sensitive command menu, giving access to project-relevant editing commands (Figure 7).
Figure 7. Right-click shows all project-related menu Refer to the application note Project Essentials for all the basics of commands. creating project files, adding and removing files from a project, setting project options, as well as understanding the various project types. It also explains how to group related projects together into a Workspace, ideal for managing multi-board projects.
You may wish to get a better picture of the entire development cycle and how it unfolds from an engineers perspective by reading An Overview of Electronic Product Development in Altium Designer.
Figure 9: The Net Identifier scope can be set from within the Options tab of Project Options.
Altium Designer uses a slightly different set of net identifiers to create net connectivity. Within a schematic sheet you can use Wires and Net Labels. Between schematic sheets, nets in a flat design are typically connected using Ports, but Off-Sheet Connectors are also available. Nets in a hierarchical design are connected from a Port on the lower sheet to a Sheet Entry of the same name, in the sheet symbol that represents the lower sheet. Power/ground nets are connected using Power Ports.
The Import Wizard handles connectivity automatically through the translation process and will give you the Automatic (Based on project contents) configuration by default. This option is an instruction to Altium Designers design compiler to determine which of the other three options are best suited for the connectivity in your design. Hierarchical modules are mapped as sheet symbols, and they will translate to sheet symbols in Altium Designer. Pins in modules are created as sheet entries in the sheet symbol. In Automatic mode, the design compiler then looks at the sheet symbols on the top sheet. If there are sheet entries (hierarchical pins) in them, it will assume vertical connectivity, and internally use the Hierarchical option. If there are no sheet symbols on the top sheet, or if there are sheet symbols but they do not include any sheet entries, it will assume horizontal connectivity for which there are two ways that Altium Designer supports this: Flat and Global. In order to determine which of
Design Synchronization
Design synchronization is fully integrated in Altium Designer without the need for passing a netlist. Synchronization in Altium Designer is also bi-directional, allowing you to make annotation changes and component property updates in both directions between your schematic and PCB, in a single operation. Again, an important and fundamental premise of Altium Designer is that the setup of the design's connectivity is driven from the schematic through to the PCB. If you are making connectivity changes in the opposite direction (from PCB to Schematic), a report is generated and these updates can then be performed on the schematic. The synchronization feature is used when you first transfer from the schematic to the new blank board, or when you make design changes that need to be passed over. For more information on design transfer and design synchronization, read the article Finding Differences and Synchronizing Designs. As well as being able to detect electrical differences, such as changed designators, component values or net connectivity, Altium Designer also include a physical difference engine, which can find schematic and PCB layout changes ideal for examining changes between different revisions of a board.
P-CAD Components
P-CAD Component
Figure 10. P-CAD components have a single symbol graphic and one or more pattern graphics for each pattern
In P-CAD, all of the logical and electrical data that is held in the component can be seen in Library Executive in the Pins View dialog. Pin and gate swapping component pin to symbol pin, and pattern pad mapping, along with the pin's electrical and logical data is the only component information available. Because this information relates primarily to the pins and is somewhat limited, there are inherent restrictions to the number of ways that P-CAD components can be represented throughout the design process. An Altium Designer component, on the other hand, contains more information and is more flexible in terms of how it can be represented.
10
= 1..255 symbols
From the Knowledge Center in Help, links and videos for understanding the essentials of component, model, and library concepts in Altium Designer can be found in the Documentation Library Library and Component Management.
= 1..n
= 1..n
Multiple footprints
Figure 11. Altium Designer symbols can have multiple footprints (pattern graphics) and symbol models
The fundamentals of how components are defined, their properties, and basic relationships between components, models and library concepts are explained further in the article Component, Model, and Library Concepts.
11
Multi-channel Design
Traditionally, a design that included complex hierarchy had to go through a process of flattening or expanding the hierarchy at some point, to uniquely instantiate every component and net. Altium Designer does not need to do this, so this multipleinstantiation capability is referred to as multi-channel design instead of complex hierarchy. Like complex hierarchy, multi-channel design is the ability to reference a child sheet multiple times. It can be done by placing multiple sheet symbols, each referencing the same sub-sheet, or it can be done by placing a single sheet-symbol and using the Repeat statement to generate an array of sub-sheets. This is built on the complex hierarchy architecture of multiple instances, but in this case the parent object is expanded by the design compiler at the time of compilation. Multi-channel design also supports multiple levels. For example, a 32-channel design could be structured over two levels, having 4-banks of 8-channels, to create the final 32channels. Additionally you can wire signals to either all of the channels or use a bus where one member of the bus goes to each channel. Altium Designer is the only electronic design platform to offer this concept. There are several example multi-channel designs that come with Altium Designer that you may wish to look at. These include the Multi-Channel Mixer, Peak Detector and PortSwitcher. All three designs can be found in the \Examples\Reference Design folder. Once you have opened one of the examples you should compile it, and then look for the tabs at the bottom of each schematic sheet.
For more information on multi-channel designs, refer to the article Multi-Channel Design Concepts.
Libraries
Altium Designer supports working directly from the source symbol or model libraries, an ideal approach when the schematic and PCB are designed by separate organizations. There are also integrated libraries, a term used in both Altium Designer and PCAD, yet each having distinct differences. In P-CAD, an integrated library is a single library file that has both the pattern (called a footprint in Altium Designer) and symbol information. Components within these libraries have the logical pin designators and pin data specific to the type of component. As explained earlier there are some fundamental differences about how a component is defined between the two environments. In P-CAD, the component definition provides the symbol and patterns with any connectivity intelligence; patterns and symbols alone do not contain any logical information such as pin designator values because they are only a graphical representation.
12
Library Types
There are four types of libraries used in the Altium Designer environment: model, schematic, integrated and database.
Model
These libraries contain the models for each component representation as per their design domain and are each stored in their respective model containers, called model libraries. In some domains, there will be typically one model per file and they are referred to as model files (*.mdl, *.ckt). In other design domains, models are usually grouped into library files according to how the user has grouped them such as PCB footprints grouped into package-type libraries (*.PcbLib).
Schematic
These libraries contain source schematic components and their model interface definitions (*.SchLib).
Integrated
An integrated library (*.IntLib) is a compiled file, that includes schematic libraries along with all models referenced in the symbols model interface definitions; which could include footprint model libraries, simulation model files, and three-dimensional model libraries.
Database
Database libraries provide similar functionality to a component information system. When you place from an installed database library (*.DBLib) all data in the component comes from the referenced database.
13
PCB Preferences
Preferences that assist in positioning components, such as Online DRC, Snap to Center and Selection preferences are found in the Preferences dialog. Select Tools Preferences [shortcut: T, P] from the main menu to open the Preferences dialog.
14
Figure 13: The Layer Stack Manager dialog shows a cross-section of the board as you design. Layers may be added or redefined in this dialog.
For further information on setting up your board, refer to the tutorial Preparing the Board for Design Transfer.
Design Rules
The PCB Editor is a powerful and dynamic rules-driven environment. This means that as you work in the PCB Editor and do things that change the design (such as placing traces, moving components, or routing the board), the PCB Editor constantly monitors each action and checks to see if the design still complies with the design rules. If it doesnt an error is immediately flagged for your attention.
Figure 14. The PCB Rules and Constraint Editor dialog, where all design rules can be managed.
With the PCB as the active document, select Design Rules from the main command menu to launch the PCB Rules and Constraint Editor dialog as shown in Figure 14. One of the powerful features of Altium Designers design rule system is that multiple rules of the same type can be defined, each targeting different objects. This is called scoping, a new concept for P-CAD users, it allows you to exactly target rules to objects in your design. To say it another way, the exact set of objects that each rule targets is defined by that rules scope. The
15
Interactive Route
As with P-CAD, you must have a signal layer active before you can begin routing. Enable the layer that you would like to start on by pressing the L shortcut key to display the View Configurations dialog. Enable the Show option to display a layer the same as you would do in P-CAD. Once you are showing your signal layer, the tab for it will display in the PCB Editor window. Click on the layer tab at the bottom of the workspace to make it the current or active layer, ready to route on. There are various interactive routing modes available in Altium Designer. These can be invoked through the Place menu or clicking the required routing button in the toolbar. The following tips will assist you to get a quick start for placing traces (many of these will be the same as in P-CAD): ENTER or Left-click Places a start or end vertex in the trace. Placed trace segments appear in the appropriate layer color. SPACEBAR Allows you to toggle between the start and end modes for the trace you are placing. SHIFT + SPACEBAR Allows you to change the corner mode of your current route END Allows you to redraw the screen at any time. Shortcut keys V, F Redraw the screen to fit all objects (View Extent). PAGEUP, PAGEDOWN Allow you to zoom in or out, centered on the cursor position. The mouse wheel will help you to pan left and right, holding the CTRL key down to zoom in and out with the mouse-wheel. BACKSPACE Will let you unplace the last trace segment. ESC or Right-click Will complete your trace. Display the Shortcuts panel for a dynamic list of shortcut keys available for use wherever you are currently working in Altium Designer, including context-sensitive shortcuts available while running a command. The Shortcuts panel can be enabled by clicking the Help button in the Status bar.
OutputJobs Editor
You can create a new file of this type for any active project by using either the File New Output Job File (as shown in Figure 15) command or right-clicking on a project in the Projects panel and choosing Add New to Project Output Job File from the pop-up menu that appears.
Figure 15. Fabrication output job file for the converted PCB project.
16
Generating Output
Once output generators have been added and configured, you can link them to an Output Medium. You can publish outputs to PDF, generate files or print your outputs directly. Refer to the OutputJob Editor Reference for more information on setting up and configuring your output jobs through the OutputJob Editor.
Figure 16.Use Smart PDF to generate live, bookmarked PDFs of your designs, ideal for design reviews and product documentation.
17
Bonus Technologies
The Bonus Technologies form a more integrated solution in the Altium Designer environment than they previously did in P-CAD. As a result of that there are some key differences to launching and using them that you should be aware of.
Situs Autorouter
Altiums Situs Topological Autorouter engine is fully integrated into the PCB editor. The Situs engine uses topological analysis to map the board space. Topological mapping provides greater flexibility in route path determination and allows non-orthogonal routing corridors to be more efficiently exploited. Altium Designer also includes full bi-directional support for the SPECCTRA autorouter. During export you can automatically preserve existing board routing, control the mapping of Altium Designer via rules to SPECCTRA pad stacks, and propagate net classes to SPECCTRA to allow efficient generation of class-based routing constraints as you did with P-CAD. With your active PCB document complete and everything positioned, youre ready to start! Select the command Auto Route All to open the Situs Routing Strategies dialog, just as before in P-CAD. Selecting Route All from this dialog will launch the autorouter. Routing a board can be a big challenge. For further points on your board setup, configuring your design rules, and running the autorouter, take a look at Situs Autorouting Essentials.
Signal Integrity
Signal Integrity is fully integrated into Altium Designer, unlike P-CAD where it is a stand-alone application. It requires that you have, at the very least, a project file that contains at least one PCB and one schematic source document. This is a slightly different requirement from P-CAD where only a PCB design is required. Signal Integrity is run from the command Tools Signal Integrity where the Model Assignments Analyses dialog will launch before Signal Integrity will run. A full tutorial that covers the setting up of design parameters like design rules, and Signal Integrity models, starting up Signal Integrity from the schematic and PCB editors, and configuring your tests further can be found in the tutorial Performing Signal Integrity Analyses.
18
19
Revision History
Date
02-Feb-2006 08-May-2006 11-May-2006 20-Jun-2006 07-Dec-2006 21-Mar-2007 9-Nov-2007 7-Jan-2008 11-Feb-2008 28-Feb-2008 10-Sep-2008
Version No.
2.0 2.1 2.2 2.3 2.4 2.5 2.6 2.7 2.8 2.9 3.0
Revision
New document release Content reviewed and updated Content reviewed and updated Content reviewed and updated Content reviewed and updated Content reviewed and updated Content updated for 6.8 Updated view configurations info. Component body references changed to 3D body. Converted to A4 Updated for Summer 08
Software, documentation and related materials: Copyright 2008 Altium Limited. All rights reserved. You are permitted to print this document provided that (1) the use of such is for personal use only and will not be copied or posted on any network computer or broadcast in any media, and (2) no modifications of the document is made. Unauthorized duplication, in whole or part, of this document by any means, mechanical or electronic, including translation into another language, except for brief excerpts in published reviews, is prohibited without the express written permission of Altium Limited. Unauthorized duplication of this work may also be prohibited by local statute. Violators may be subject to both criminal and civil penalties, including fines and/or imprisonment. Altium, Altium Designer, Board Insight, Design Explorer, DXP, LiveDesign, NanoBoard, NanoTalk, P-CAD, SimCode, Situs, TASKING, and Topological Autorouting and their respective logos are trademarks or registered trademarks of Altium Limited or its subsidiaries. All other registered or unregistered trademarks referenced herein are the property of their respective owners and no trademark rights to the same are claimed.
20