component library master training_cr
TRANSCRIPT
The ZUKEN logo and CI mark are registered trademarks of Zuken, Inc. CR-5000, System Designer, Board Designer, PWS, Package Synthesizer and Lightning are trademarks or registered trademarks of Zuken, Inc. The other company names and product names are trademarks or registered trademarks of each company.
◆This manual was prepared as an educational text. For details on specific product features, refer to “OnlineDocumentation”.
◆The contents of this manual are subject to change without notice. ◆Copying the contents of this manual without permission from Zuken
Inc. is prohibited by law.
© 2007 ZUKEN Incorporated.
Contents
Preface Welcome to the world of the Component Library
Chapter 1 Using Components Manager for the First Time
1. Overview of the Lesson ................................................................................................1-1
Chapter 2 Starting Components Manager
1. Libraries ........................................................................................................................2-1 Libraries .........................................................................................................................................2-1
2. Operating the Libraries .................................................................................................2-7 Operating the Libraries...................................................................................................................2-7 The Next Step is... ........................................................................................................................2-9
3. Starting Components Manager ...................................................................................2-10 Starting Components Manager.....................................................................................................2-10 The Components Manager Menu.................................................................................................2-11 The Components Manager Tool ...................................................................................................2-13
4. Resource Files............................................................................................................2-15 Library List Files ...........................................................................................................................2-15 Tool Resource Files......................................................................................................................2-16 Data Resource Files.....................................................................................................................2-17 * Resource File Management.......................................................................................................2-18
5. Creating a Component Library (CDB) .........................................................................2-19 CDB .............................................................................................................................................2-19 The Component Registration Procedure ......................................................................................2-20
Chapter 3 Footprint Library (.ftp)
1. Creating a Footprint Library (.ftp) ..................................................................................3-1 Footprints .......................................................................................................................................3-1 Footprint Library Registration Procedure .......................................................................................3-2
2. Registering Pads ..........................................................................................................3-3 Pads...............................................................................................................................................3-3 Starting the Pad Shape Editor ........................................................................................................3-4 * Tool Resource..............................................................................................................................3-7 Registering Pads............................................................................................................................3-8 Generating Pads in a Batch ...........................................................................................................3-9 * Flash Mode ................................................................................................................................3-11 Editing Pads Manually..................................................................................................................3-16 Edit Pad in Parametric .................................................................................................................3-23 Pad Properties .............................................................................................................................3-27 Register Pads...............................................................................................................................3-28
3. Registering Padstacks ................................................................................................3-29 Padstacks.....................................................................................................................................3-29 * Footprint Layer Definition...........................................................................................................3-30 Starting the Padstack Editor .........................................................................................................3-32 * Tool Resource............................................................................................................................3-36 Registering Padstacks..................................................................................................................3-37 * Layer Display Attributes .............................................................................................................3-38 * Penetration Property and Plating Property.................................................................................3-42 Registering Padstacks..................................................................................................................3-44
4. Registering Footprints.................................................................................................3-45 Footprints .....................................................................................................................................3-45 Registration Procedure ................................................................................................................3-46 Starting the Footprint Editor..........................................................................................................3-47 * Tool Resource............................................................................................................................3-48 Registering Footprint ....................................................................................................................3-49 * Drawing Area Size and Origin....................................................................................................3-50 * Search Dialog ............................................................................................................................3-53 * Search Filter ..............................................................................................................................3-56 * Automatic Pin Setting.................................................................................................................3-58 * Pin Reference Point ...................................................................................................................3-59 * Skip Pin Setting and Setting by Name .......................................................................................3-60 * Component Area and Keep-out Area .........................................................................................3-65 * Check Data ................................................................................................................................3-69 * Sub-canvases ............................................................................................................................3-70 Loading and Registering Other Footprints....................................................................................3-71 Registering Footprint Using Parametrics......................................................................................3-76 Registering PGA Using Parametrics ............................................................................................3-81 Editing Pads Using the Footprint Editor .......................................................................................3-83 Converting Pad to Area or Line ....................................................................................................3-87 Registering Footprints ..................................................................................................................3-89
Chapter 4 Package Library (.pkg)
1. Creating a Package Library (.pkg) ................................................................................4-1 Package Library .............................................................................................................................4-1 Package Library Registration Procedure........................................................................................4-2
2. Registering Packages...................................................................................................4-3 Starting the Package Editor............................................................................................................4-3 Registering Packages ....................................................................................................................4-4 * Package Type ..............................................................................................................................4-4 Registering Package Data..............................................................................................................4-8
Chapter 5 Part Library (.prt)
1. Creating a Part Library (.prt) .........................................................................................5-1 Part Libraries..................................................................................................................................5-1 Part Library Registration Procedure ...............................................................................................5-2
2. Registering Function Data ............................................................................................5-3 Function Data.................................................................................................................................5-3 Starting the Function Editor ............................................................................................................5-4 Registering Function Data..............................................................................................................5-5 * Schematic Symbol .......................................................................................................................5-5 * Power Supply and Ground...........................................................................................................5-7 * Equivalent Pin Definition ..............................................................................................................5-7 Registering Function Data..............................................................................................................5-9
3. Registering Pin Assignments ......................................................................................5-10 Pin Assignment ............................................................................................................................5-10 Starting the Pin Assignment Editor ...............................................................................................5-11 Registering Pin Assignment .........................................................................................................5-12 Registering Pin Assignment Data.................................................................................................5-17
4. Registering Parts ........................................................................................................5-18 Parts.............................................................................................................................................5-18 Starting the Part Editor .................................................................................................................5-19 Registering Parts..........................................................................................................................5-21 Registering Parts not Requiring Pin Assignment Data .................................................................5-29 * Differences between PCB Design With and Without Pin Assignment Data ...............................5-32 Registering Part Data...................................................................................................................5-33
5. Examples of Part Library Registration.........................................................................5-34 Examples of Part Library Registration..........................................................................................5-34
Chapter 6 Registering Special Components
1. Registering 2-terminal Components..............................................................................6-1 2-Terminal Component Registration Procedure .............................................................................6-1 Registering 2-terminal Components...............................................................................................6-2 2-terminal Registration ...................................................................................................................6-5
2. Registering Jumper Components..................................................................................6-6 Jumper Component Registration Procedure ..................................................................................6-6 Registering Jumper Components...................................................................................................6-7
3. Registering Printed Parts ............................................................................................6-10 Printed Parts Registration Procedure...........................................................................................6-10 Registering Printed Parts .............................................................................................................6-11
Chapter 7 Operating CDB
1. User Attributes for Each Tool ........................................................................................7-1 What are User Attributes? ..............................................................................................................7-1 Registering User Attributes (Attribute Names)................................................................................7-4 Registering Attribute Values for the Added User Attributes.............................................................7-5
2. Operation for Purposes.................................................................................................7-6 What is Operation for Purposes? ...................................................................................................7-6 Operation by Layer Mapping ..........................................................................................................7-7 Operation by Footprint Specification ..............................................................................................7-9
Appendix
1. Extracting LCDB from CDB.......................................................................................... A-1 Starting the Schematic Design Component Database Extracting Tool .......................................... A-2 Extracting Schematic Design Component Database..................................................................... A-3 * LCDB Extraction Tool Resource Files (cdbabst.rsc) ................................................................... A-8
2. Using the CDB Tree View ............................................................................................ A-9 Menu Bar....................................................................................................................................... A-9 Assist Menu................................................................................................................................. A-12
3. Using Utility Programs ............................................................................................... A-14 Edit Attributes on Table Tool ........................................................................................................ A-14 Copy CDB Library Tool................................................................................................................ A-17 Delete Objects from CDB Tool .................................................................................................... A-20
4. Using ASCII I/O Programs ......................................................................................... A-21 Part Library ASCII Output Program (partback) ............................................................................ A-22 Part Library ASCII Input Program (partconv)............................................................................... A-23 Package Library ASCII Output Program (pkgback) ..................................................................... A-24 Package Library ASCII Input Program (pkgconv)........................................................................ A-25 Footprint Library ASCII Output Program (ftout) ........................................................................... A-26 Footprint Library ASCII Input Program (ftin) ................................................................................ A-28
5. Using the Library Searcher ........................................................................................ A-29 Library Searcher.......................................................................................................................... A-29 Executing Library Searcher ......................................................................................................... A-30 Setting up Resources Referred to by the Library Searcher ......................................................... A-32 Generating Search Data.............................................................................................................. A-35 Search Condition Dialog ............................................................................................................. A-36 Search Results Dialog................................................................................................................. A-37
6. Using the Library Viewer............................................................................................ A-39 Library Viewer ............................................................................................................................. A-39 Executing the Library Viewer....................................................................................................... A-40 Resources Referred to by Library Viewer.................................................................................... A-42 Library Viewer Dialog .................................................................................................................. A-46
Preface - 1
Preface Welcome to the world of the Component Library
Preface
The Master Training <Component Library> is designed to provide you with basic knowledge and operations. It enables you to register and manage all component used in PCB design. The knowledge of Component Library is essential to understand CR-5000 well, and this is the first step to go through the Master Training.
Beginner’s Training
Master Training
Users engaged only in library design and management should study up through Library but we also recommend reading Board Design. Users engaged only in board design are expected to mainly study Board Design but are recommended to previously read and try out Library.
Beginner’s Training<PCB Design>
Simple operations for PCB design
The aim is to attain the knowledge necessary to be an operator
Library Board Design
Master Training <Component Library>
Registration and management of libraries
Master Training <PCB Design Library>
Registration and management of PCB design libraries
Master Training <PCB Design>
Detailed operation for PCB design
Master Training <CAM>
Operation for manufacturing panel design through CAM output
Master Training <Engineering Design
Change/Operation>
Operation and knowledge related to engineering design change/operation
The aim is to attain a level where you can help operators. You will learn the flow of board design.
1 - 1
1. Overview of the Lesson
Chapter 1 Using Components Manager for the First Time
The library course takes one element as an example in order to provide an understanding of the library structure and the link between libraries. The course also teaches you how to register and edit components in the component library through a series of lessons. As an example, we now register component SN74LS08 shown in the figure below.
Pin No. Pin Name Gate No. Terminal Name
1 2 3 4 5 6 7 8 9
10 11 12 13 14
1A 1B 1Y 2A 2B 2Y
GND 3Y 3A 3B 4Y 4A 4B
VCC
1 1 1 2 2 2
1, 2, 3, 4 3 3 3 4 4 4
1, 2, 3, 4
A B Y A B Y
GROUND Y A B Y A B
POWER
14 13 12 11 10 9 8
1 2 3 4 5 6 7
1 2
34 A
B
Y
A = B
S N 7 4 L S 0 8
Chapter 1 Using Components Manager for the First Time
1 - 2
1. Overview of the Lesson
The library course proceeds as follows.
Start Components Manager from the CR-5000 root menu.
Pin Assignment Data
Function Data
Part Library
Package Library
Package Data
Footprint Library
Footprint Data
Padstack Data
Pad Data
Part Data
Understanding the Library Structure
Starting Components Manager
Integrated Component Management System (Components Manager) Start Button
1 - 3
1. Overview of the Lesson
Chapter 1 Using Components Manager for the First Time
Component Library Creation
Footprint Library Registration
C0.2
C0.1
C1.2 :
:
S0.2
S0.1
S1.2 : :
D0.8-1.0
D0.9-1.1
D1.0-1.2 : :
Pad Registration
Registers the shape of the pin or the minimum unit of shapes used for vias in the wiring. Pads can also be used to register the shape of resist or metal masks. Refer to [Chapter 3, 2. Registering Pads].
Padstack Registration
Uses pads to register the shape of pins or vias in the wiring. Refer to [Chapter 3, 3. Registering Padstacks].
Footprint Registration
Registers component shapes. Frequently used shapes (logos, etc.) can also be registered as footprints and used. Refer to [Chapter 3, 4. Registering Footprints].
S t a r
Package Library Registration
Package Registration
Registers the footprint of each individual package and its package type (DIP, SOP, etc.) using data registered in the footprint library. Refer to [Chapter 4, 2. Registering Packages].
Package Name: DIP8
Package Type: DIP
Reference
Reference
Reference
Reference
Chapter 1 Using Components Manager for the First Time
1 - 4
1. Overview of the Lesson
To use LCDB in the System Designer, refer to [Appendix 1. Extracting LCDB from CDB].
14 13 12 11 10 9 8
1 2 3 4 5 6 7
1 2
34
Part Library Registration (.prt)
Function Registration
Registers functions according to attributes of gates in the component. Refer to [Chapter 5, 2. Registering Function Data].
Pin Assignment Registration Registers data concerning connection of component pins and gates. Refer to [Chapter 5, 3. Registering Pin Assignments].
Part Registration
Registers component shape and internal attribute correspondence by referring to function data, pin assignment data and package data. Refer to [Chapter 5, 4. Registering Parts]. Reference
Reference
Reference
A
B
Y
A INPUT B INPUT Y OUTPUT
1 1A 1 A2 1B 1 B 3 2A 1 Y 4 2A 2 A · · · · · · · · · · · ·
13 4B 4 B 14 VCC 1,2,3,4 VCCReference
2 - 1
1. Libraries
Chapter 2 Starting Components Manager
Libraries
In CR-5000, component data (such as component shapes and attributes etc.) is stored in a file before schematic/PCB design so that it can be used when needed. This file is called a "library". Each library is subdivided into files that differ according to purpose.
Package Data Component Internal Attribute Data
Package Library Part Library
Component Shape Data
Footprint Library
(PCB Design)
1 : 1A 1 A 2 : 1B 1 B 3 : 1Y 1 Y 4 : 2A 2 A
14 : VCC 1,2,3,4 VCC
Package Type: DIP
Chapter 2 Starting Components Manager
2 - 2
1. Libraries
A component library consists of the following three types of files.
The libraries are configured as follows.
Component Library File Classification
1. Part Library 2. Package Library 3. Footprint Library
Component Library Classification
Component Library Configuration
SN74LS08
Footprint Data
Part Data
Pin Assignment Name: LS08 Package Name: LS08_DIP
Pin Assignment Data
Pin Assignment Name : LS08
1 1A 1 A 2 1B 1 B 3 1Y 1 Y 4 2A 2 A 5 2B 2 B 6 2Y 2 Y 7 GND 1,2,3,4 GROUND8 3Y 3 Y 9 3A 3 Y
10 3B 3 Y 11 4Y 4 Y 12 4A 4 A 13 4B 4 B 14 +5V 1,2,3,4 POWER
Function Data
Function Name : 2AND
INPUT A INPUT B OUTPUT Y
Package Library
Package Data Package Name : LS08_DIP
Footprint Name : DIP14
Padstack Name : Vc1.4c0.8
Pad Name : C1.4 C0.8
Padstack Data
Pad Data
Footprint Name: DIP14
Footprint Library
Vc1.4c0.8
C1.4 C0.8 C0.8 C1.4
Part Library
Part Name : SN74LS08
2AND 4X
2 - 3
1. Libraries
Chapter 2 Starting Components Manager
As is shown by the component library configuration given on the previous page, each library contains component data for different purposes. Beginning in "1. Part Library", we shall explain what types of data are contained in each library.
1. Part Library Part library is a library that contains three types of data: part data, pin assignment data and function data.
[ Part Data ]
Defines internal component data by referring to pin assignment data and function data. It also defines component shape data by referring to package data in the package library. In other words, part data is a combination of a component's internal data and shape data. Part data is also a key element of PCB and schematic design.
One set of part data is required for each component.
[ Pin Assignment Data ] Defines the connection of a component's pins and internal gates.
[ Function Data ] Defines gates inside a component.
What is the Part Library
Caution!
× 4
A
B
Y A INPUT B INPUT Y OUTPUT
Pin No. Pin Name Gate No. Terminal Name1 1A 1 A 2 1B 1 B 3 1Y 1 Y 4 2A 2 A
13 4B 4 B 14 +5V 1,2,3,4 POWER
1 1A 1 A 2 1B 1 B 3 1Y 1 Y 4 2A 2 A 5 2B 2 B . . . . . . . . . . . . 13 4B 4 B 14 +5V 1,2,3,4 POWER
1 2
4 3
14 13 12 11 10 9 8
1 2 3 4 5 6 7
Chapter 2 Starting Components Manager
2 - 4
1. Libraries
Package library is contained within .
Our explanation introduces data types in the order of part data, pin assignment data and function data. Data is however registered in the order of function data, pin assignment data, and part data.
Part Library Configuration
Package Name : LS08_DIP
Footprint Name: DIP14 Shape downloaded fromfootprint library.
Package Data
1 1A 1 A 2 1B 1 B 3 1Y 1 Y 4 2A 2 A
13 4B 4 B 14 +5V 1,2,3,4 POWER
KEYWORD
Function Name : 2AND
Pin Assignment Data
Pin Assignment Name : LS08 × 4
Function Data
Function Name : 2AND
A INPUT B INPUT Y OUTPUT
A = B
Part Data Part Name : SN74LS08
KEYWORD
Pin Assignment Name: LS08 Package Name: LS08_DIP
Caution!
2 - 5
1. Libraries
Chapter 2 Starting Components Manager
2. Package Library
Package library is a library that contains package data.
[ Package Data ]
The package data defines the type of package (SOP, DIP, axial, radial, etc.) and its shape (footprint).
Footprint library is contained within .
What is the Package Library?
Package Name: LS08_DIP
Package Type: DIP
Footprint Name: DIP14 Shape Data
Footprint Name : DIP14
Footprint Library
Package Library
Package Name : LS08_DIP
Type : DIP
Footprint Name : DIP14
KEYWORD
Package Library Configuration
Chapter 2 Starting Components Manager
2 - 6
1. Libraries
3. Footprint Library
Footprint library contains the shape data of components used in PCB design. Shape data consists of three types of data: footprint data, padstack data, and pad data. [ Footprint Data ]
Frequently used marks (logos, etc.) and shapes of components used in PCB design are registered as footprint data.
[ Padstack Data ]
Resist, metal mask and hole shapes are registered as padstack data, as well as the shape of component pins and conductive parts of vias in the wiring.
[ Pad Data ]
Shapes that make up the padstack are registered as pad data.
What is the Footprint Library?
S t a r
Hole
Conductor A
Conductor B
Resist A
Resist B
Conductor
Metal Mask
Resist
Footprint Library Configuration
Footprint Data
Footprint Name : DIP14
Footprint Library
Padstack Data Pad Data
Padstack Name : Vc1.2c0.8
Padstack Name: Vc1.2c0.8
Pad Name
Pad Name
Reference Reference
C1.2
C0.8
Pad Name : C1.2
Pad Name : C0.8
2 - 7
2. Operating the Libraries
Chapter 2 Starting Components Manager
Operating the Libraries Design can be carried out in the following three ways using CR-5000. We shall now explain by applying these three usages to the libraries.
Net Data Output
1. Schematic Design → PCB Design (using component library forschematic design)
2. Schematic Design → PCB Design 3. PCB Design Only
1. Schematic → PCB (Using LCDB) 2. Schematic → PCB 3. PCB Design Only
Part Library Registration
LCDB Extraction
Symbol Library Registration
Schematic Design
Part Library
SN74LS08
Part Library
SN74LS08AND2.smb AND2.smb
74LS08 XXXXX XXXXX XXXX
. . . .
. . . .
. . . .
. . . .
. . . .
LCDB Extraction
Symbol Library Symbol Library
Net Data Extraction
Chapter 2 Starting Components Manager
2 - 8
2. Operating the Libraries
In case that Component Manager Simple Module is managed, the management is the same as 1. Schematic Design PCB Design.
Net Data/Component Allocation
PCB Design
Net Data Net Data Net Data
Part Library
1 1A 1 A 2 1B 1 B 3 1Y 1 Y . . . . . . . . . . . . . . . . 14 VCC 1,2,3,4 POWER
Package Library
Package Name: DIP8
Package Type: DIP
Footprint Library
Caution!
2 - 9 Chapter 2 Starting Components Manager
2. Operating the Libraries
As shown in the figure in “Operating the Libraries” on the previous page, the libraries prepared depends on how the PCB is to be designed. Choose your design method and then follow the steps described.
74LS08 XXXXX XXXXX XXXXX XXXXX
The Next Step is…
2. Schematic → PCB1. Schematic → PCB (using LCDB) 4. Simple CDB3. PCB Design Only
Chapter1- 2
Chapter3
Chapter4
Chapter5 –6
Appendix1
Components Manager basic Knowledge
How to start up Resource files CDB Overview etc.
Footprint Library
Package Library
Package Name : DIP8 Package Type : DIP
Part Library
AND2.smbSN74LS08
1 1A 1 A 2 1B 1 B 3 1Y 1 Y . . . . . . . . . . . . . . . . 14 VCC 1,2,3,4 POWER
Appendix2-6
Extract LCDB
Utilities
Library Searcher Library Viewer etc.
Complete Components Library
Chapter 2 Starting Components Manager
2 - 10
3. Starting Components Manager Starting Components Manager
Components Manager, which is the tool to manage all components, is used in registering and editing libraries. Start Components Manager by following the procedures below. Launch Components Manager.
1. Click the Start button on the task bar and, from the menu, click Programs → CR-5000 Board Designer 10.0 → Components Manager.
1. Click the Components Manager icon on the CR-5000 root menu.
2. The Components Manager menu appears.
Lesson
UNIX
Click
2 - 11
3. Starting Components Manager
Chapter 2 Starting Components Manager
Components Manager root menu show the object in each library regarding component and the menu bar is preparing tool that is for managing each library. This page introduces each part name and the basic function. For other functions, refer to [Appendix 2. Using the CDB Tree View] on page A-9.
1. Manu bar Commands for Components Manager (CDB library Copy , Purge and Edit for attribute on table etc) and setting commands for viewing of Components Manager are being prepared.
2. Field for specifying a target object
The object type that is displayed on the top of tree view is selected. You select one object name from Part, Pin Assignment, Function, Package, Footprint, Padstack and Pad.
3. Filter
A condition is specified, and only objects in that condition are displayed.
The Components Manager Menu
Reference
3. Filter
2. Field for specifying a target object
4. Tree view
5. Assist menu
6. Tool box
7. Field for object number that is displaying
1. Menu bar
Chapter 2 Starting Components Manager
2 - 12
3. Starting Components Manager
4. Tree view
Part library, Package library and Footprint library that are defined by the PCB library list file (library.rsc) are read and relating objects are displayed by tree shape. You can confirm the relation ship by that tree shape. Icon: The mark that is displayed before the object name. You can find the object type by the icon. There are the following icons displayed as a typical thing.
Blue Part Library Package
Orange Package Library Footprint Green Footprint Library Padstack
Part Pad
Pin Assignment Stock code
Function Schematic Symbol
5. Assist menu The menu is displayed when it hold the right button of the mouse on the file list canvas. Commands that can be executed for selected file on tree view are displayed.
6. Tool box
Icons for starting each tool are displayed.
7. Field for object number that is displaying The item count and the searched result total count are displayed.
2 - 13
3. Starting Components Manager
Chapter 2 Starting Components Manager
Components Manager has the following tools.
Pad Generator
This tool indicates the list of pads used by footprint and padstack, and generates multiple pads based on the parameter at a time.
Pad Canvas Editor
This tool can refer to a pad and edit it on the canvas editor. And it can register a new pad, too.
Padstack Editor
This tool can refer to a padstack and edit it on the canvas editor. And it can register a new padstack.
Footprint Editor
This tool can refer to component shape information that is used in the Placement/Wiring tool or the Panel tool and edit it on the canvas editor. And it can register a new footprint to the footprint library.
Package Editor
This tool can refer to package information and edit it. And it can register new package information.
Function Editor
This tool can refer to gate information in part and edit it. And it can register new gate information.
Pin Assignment Editor
This tool can refer to the connection between component terminals and internal gate and edit it. And it can register new pin assignment information.
Part Editor
This tool can refer to regarding part attribute information and edit it. And it can register new part information.
The Components Manager Tool
Package Name : LS08_DIPPackage Type :DIP Footprint Name : DIP14
SN74LS08
A
B
Y
C0.1 0.1 FlashC0.2 0.2 Flash C2.0 2.0 Flash
Chapter 2 Starting Components Manager
2 - 14
3. Starting Components Manager
Library Searcher
This tool can search component objects based on conditions in from components library. And the name that was found by this tool can send to other tools.
Library Viewer This tool can indicate the component information in the data sheet format.
Extract LCDB This tool extracts part logical information from a part library of CDB and creates LCDB or updates.
Edit LCDB This tool starts up the LCDB editor. You can confirm LCDB information by this editor or edit.
Edit Schematic Design Symbols This tool starts up the Schematic Design Symbol editor. You can register new schematic symbols from CDB and edit. To use LCDB in System Designer, refer to [Appendix 1. Extracting LCDB from CDB.]
There are also buttons to boot tools to register, edit and/or view each of these libraries.
Reference
Chapter 2 Starting Components Manager
2 - 15
4. Resource Files This section introduces each resource file that Components Manager refers to.
Library List Files When Environment → Library… on the menu bar of Components Manager is clicked, the library dialog starts. Each library file name is displayed. When a tool is started, it is registered and edited by these file names. If the name of for a non-existent file is displayed, the tool creates the file automatically when the file is accessed. The library file path name is written in the resource file named "library.rsc". "library.rsc" is a file used to write libraries that are referred to when you are using Components Manager/ Board Designer/ Board Producer. "library.rsc" exists in the following directory. If more than one of any library exists, you must enter the required library file path name in “library.rsc” before starting Components Manager. It is possible to edit “library.rsc” by PCB library list file editor as well as using text editor. For this editor, refer to [Master Training <PCB Design Library>]. If you are using the UNIX version, refer to [Resource Files] in the Online Help.
Priority 1: %HOME%\cr5000\ue\library.rsc (Local) Priority 2: %CR5_PROJECT_ROOT%\zue\info\library.rsc (Project) Priority 3: %ZUEROOT%\info\library.rsc (Master)
Caution!
Part Library Filename Display Field
Package Library Filename Display Field
Footprint Library Filename Display Field
Part{ ”C:\\home\\lesson2\\cdb\\cmp.prt”
} Package{
”C:\\home\\lesson2\\cdb\\cmp.pkg” } Footprint{
”C:\\home\\lesson2\\cdb\\cmp.ftp” } Searcher{
”C:\\home\\lesson2\\cdb\\searcher” }
Part Library File Name
Package Library File Name
Footprint Library File Name Directory Path For Library Searcher
Reference
Reference
Chapter 2 Starting Components Manager
2 - 16
4. Resource Files
The tool resource file specified in the initial settings is referred to when any tool is started. If you set a frequently used drawing size, it does not have to be changed on each occasion. A tool resource file is saved under a certain name in a certain directory for each tool. A description of each tool is provided on the page given in the table below.
Tool File Path Page
Pad Editor %HOME%\cr5000\cs\pad.rsc %CR5_PROJECT_ROOT%\zcs\info\pad.rsc %ZCSROOT%\info\pad.rsc
P3-7
Padstack Editor %HOME%\cr5000\cs\padstack.rsc %CR5_PROJECT_ROOT%\zcs\info\padstack.rsc %ZCSROOT%\info\padstack.rsc
P3-36
Footprint Editor %HOME%\cr5000\cs\footprint.rsc %CR5_PROJECT_ROOT%\zcs\info\footprint.rsc %ZCSROOT%\info\footprint.rsc
P3-48
Package Editor %HOME%\cr5000\cs\package.rsc %CR5_PROJECT_ROOT%\zcs\info\package.rsc %ZCSROOT%\info\package.rsc
Function Editor %HOME%\cr5000\cs\function.rsc %CR5_PROJECT_ROOT%\zcs\info\function.rsc %ZCSROOT%\info\function.rsc
Pin Assignment Editor %HOME%\cr5000\cs\pinassign.rsc %CR5_PROJECT_ROOT%\zcs\info\pinassign.rsc %ZCSROOT%\info\pinassign.rsc
Part Editor %HOME%\cr5000\cs\part.rsc %CR5_PROJECT_ROOT%\zcs\info\part.rsc %ZCSROOT%\info\part.rsc
Library Searcher %HOME%\cr5000\cs\eng\search.rsc %CR5_PROJECT_ROOT%\zcs\info\eng\search.rsc %ZCSROOT%\info\eng\search.rsc
Appendix-33
Components Manager Root Menu
%HOME%\cr5000\cs\cdbmgr.rsc %CR5_PROJECT_ROOT%\zcs\info\cdbmgr.rsc %ZCSROOT%\info\cdbmgr.rsc
As described in the above table, the tool resource files can be set in both master and local files. If both master and local files exist, the local file is referred to first.
Priority 1: %HOME%\cr5000\cs\footprint.rsc (Local)
Priority 2: %CR5_PROJECT_ROOT%\zcs\info\footprint.rsc (Project)
Priority 3: %ZCSROOT%\info\footprint.rsc (Master)
Tool Resource Files
Example
2 - 17
4. Resource Files
Chapter 2 Starting Components Manager
In addition to the tool resource files introduced on the previous page, a data resource file is referred to when starting tools and creating data. You can, for example, use the various tools to register user-defined property items that can be defined without restriction. User-defined items and data format of the definition are defined in the data resource file. User-defined items registered by the part registration tool, package registration tool or footprint registration tool are defined in the data resource file named "cdb.rsc". "cdb.rsc" exists in the following directory.
%HOME%\cr5000\cs\cdb.rsc (Local) %CR5_PROJECT_ROOT%\zcs\info\cdb.rsc (Project) %ZCSROOT%\info\cdb.rsc (Master)
# Japanese coding: sjis
#################################################################### ## PART PROPERTY ITEMS #################################################################### Part*Property 6 { ##### System Reserved Properties ##### # properties related with System Designer # “symbolName” text “schematic symbol name” - - “” “symbolName1” text “schematic symbol name” - - “” # “symbolName2” text “schematic symbol name” - - “” # “usePoserBox” text “if use powerbox” ( “YES” “NO” ) fix “” # “powerBoxSymbolName” text “schematic symbol name for powerbox” - - “” “value” text “value” - - “” “tolerance” text “tolerance” - - “” “characteristic” text “characteristic” - - “” # properties related with CR3000 PWS “PCMAC1” int “pcmac number1 in PWS” - - “” “PCMAC2” int “pcmac number2 in PWS” - - “” “PCMAC3” int “pcmac number3 in PWS” - - “” “PCMAC4” int “pcmac number4 in PWS” - - “” “PCMAC5” int “pcmac number5 in PWS” - - “” # properties related with Quad – transmission analysis tool “quadModel” text “Quad model name” - - “” # properties related with Quick Thermal – thermal analysis tool “powerDiss” float “power consumption(W)” - - “” “tjMax” float “Max. junction temperature(C)” - - “” “maxP” float “Max. power consumption(W)” - - “” # properties related with FLEX-ART –automatic layout/rooting tool “PKIND” text “part kind for FLEX-ART” - - “” # properties related with Footprint COC Area “compAreaBtmHeight” float “COC Area Bottom Height (mm)” - - “”
The tools set vary with each section. For details, refer to [Resource Files] in the Online Help.Reference
Data Resource Files
Chapter 2 Starting Components Manager
2 - 18
4. Resource Files
* Resource file management Three resource files are referred to in order, and the higher priority resource file is applied. This is useful way to set the work environment depending on how far it should be set equivalently. %HOME% (Local Resource = Personal environment)
A home directory for the login user that can be set for each login user. This is a resource file dedicated to the corresponding user.
%CR5_PROJECT_ROOT% (Project Resource = Project environment) Users can set this directory freely, including a directory for mounting destination. This is a common resource file that can be handled by users with different machines.
%ZUEROOT% (Master Resource = Program environment) A directory in which the program is installed. This is a common resource file for all users using the same program server. When the program is installed in individual machines, this directory can not be shared by users with different machines.
When login users lesson1 and lesson2 are in machine Host1 and login user lesson3 is in another machine, Host2. Also, when Host2 mounts on Host1:
User lesson1 in Host1 has a local resource and references it, but does not reference master and project resources. Since lesson2 in Host1 and lesson3 in Host2 have no local resources, they search the project resource and reference it. The master resource is not referenced.
We recommend using each resource according to the environment: Master resource when designing in the same environment by a specific terminal Project resource when designing in the same environment by several terminals Local resource when designing in a specific environment by specific users.
The environment variable %CR5_PROJECT_ROOT is not automatically set at installation. This variable must be set for each client in order to use it. Caution!
Example
%ZUEROOT=/opt/cr5000/zueCR5_PROJECT_ROOT=/home/prjrtlesson1: %HOME=/home/lesson1lesson2: %HOME=/home/lesson2
%ZUEROOT=/opt/cr5000/zueCR5_PROJECT_ROOT= /home/prjrtlesson3: %HOME=/home/lesson3
Mount
homeopt
cr5000
zue
info
library.rsc library.rsc library.rsc library.rsc
lesson1
home
cr5000cr5000
ue ue
lesson2 prjrt
zue
info
lesson3
cr5000
cr5000
opt
ue
zue
infoue
Host1 Host2
User: lesson1 User: lesson2 User: lesson3
NotReference
NotReference
ReferenceNot
Reference
Reference
Reference
host1 :
Mount
Reference firstReference secondReference third(last)
Referencing order:
2 - 19 Chapter 2 Starting Components Manager
5. Creating a Component Library (CDB) CDB
The following libraries storing component data for PCB designing using CR-5000 are called component library (CDB).
●Part Library ●Package Library ●Footprint Library
Footprint Data
Part Data
Pin Assignment Name: LS08 Package Name: LS08_DIP
Pin Assignment Data
Pin Assignment Name : LS08
1 1A 1 A 2 1B 1 B 3 1Y 1 Y 4 2A 2 A 5 2B 2 B 6 2Y 2 Y 7 GND 1,2,3,4 GROUND8 3Y 3 Y 9 3A 3 Y
10 3B 3 Y 11 4Y 4 Y 12 4A 4 A 13 4B 4 B 14 +5V 1,2,3,4 POWER
Function Data
Function Name : 2AND
INPUT A INPU B OUTPUT Y
Package Library
Package Data Package Name : LS08_DIP
Footprint Name : DIP14
Padstack Name : Vc1.4c0.8
Pad Name : C1.4 C0.8
Padstack Data
Pad Data
Footprint Name: DIP14
Footprint Library
Vc1.4c0.8
C1.4 C0.8 C0.8 C1.4
Part Library
Part Name : 74LS08
2ANDX4
Chapter 2 Starting Components Manager
2 - 20
5. Creating a Component Library (CDB)
On the preceding page, we introduced CDB configuration in the order of parts to function. Let's take another look at the configuration. In order to register a footprint with the footprint library, for example, pad or padstack data is referred to for pin shape. In the same way, pad data is referred to for padstack registration. Therefore, if reference data is not registered beforehand, there is nothing to refer to, and registration is consequently carried out in reverse of the order shown in the figure (from pad to footprint). New library files are automatically created under the filename displayed on the Components Manager menu bar Environment Library part, package and footprint library filename display fields whenever an editor to register each library is started. In the case shown on the right: The part library is created in the C:\home\lesson2\cdb directory under the filename “cmp.prt.” Be sure to add a file type to the library file name to show the type of library.
PRT PKG FTP
Part Library Package Library Footprint Library
XX.prt XX.pkg XX.ftp
Creating New Library Files
Rules for Library File Names
Example
The Component Registration Procedure
Footprint Data Footprint Name : DIP14
Padstack Name : Vc1.4c0.8
Pad Name : C1.4 C0.8
Padstack Data
Pad Data
Footprint Library
Registration order
2 - 21
5. Creating a Component Library (CDB)
Chapter 2 Starting Components Manager
Component databases are created according to the following procedure.
C0.2
C0.1
C1.2
S0.2
S0.1
S1.2
D0.8-1.0
D0.9-1.1
D1.0-1.2
Pad Registration
Registers the shape of the pin or the minimum unit of shapes used for vias in the wiring. Pads can also be used to register the shape of resist or metal masks. Refer to [Chapter 3, 2. Registering Pads].
Padstack Registration
Uses pads to register the shape of pins or vias in the wiring. Refer to [Chapter 3, 3. Registering Padstacks].
Footprint Registration
Registers component shapes. Frequently used shapes (logos, etc.) can also be registered as footprints and used. Refer to [Chapter 3, 4. Registering Footprints].S t a r
Package Library Registration
Package Registration
Registers the footprint of each individual package and its package type (DIP, SOP, etc.) using data registered in the footprint library. Refer to [Chapter 4, 2. Registering Packages].
Package Name: DIP8
Package Type: DIP
Reference
Reference
Reference
Reference
Footprint Library Registration
Chapter 2 Starting Components Manager
2 - 22
5. Creating a Component Library (CDB)
14 13 12 11 10 9 8
1 2 3 4 5 6 7
1 2
34
Part Library Registration
Function Registration
Registers functions according to attributes of gates in the component. Refer to [Chapter 5, 2. Registering Function Data].
Pin Assignment Registration
Registers data concerning connection of component pins and gates. Refer to [Chapter 5, 3. Registering Pin Assignments].
Part Registration
Registers component shape and internal attribute correspondence by referring to function data, pin assignment data and package data. Refer to [Chapter 5, 4. Registering Parts].
Reference
Reference
A
B
Y
A INPUT B INPUT Y OUTPUT
1 1A 1 A2 1B 1 B 3 2A 1 Y 4 2A 2 A · · · · · · · · · · · ·
13 4B 4 B 14 VCC 1,2,3,4 VCC
Reference
3 - 1
1. Creating a Footprint Library (.ftp)
Chapter 3 Creating a Footprint Library (.ftp)
Footprints Footprint libraries contain figure data for components. As was previously explained, this figure component data consists of footprint, padstack and pad data. The correlation of these data types is shown below. Data is named and managed as shown in the figure above. If using a round pad with the diameter of 1.2mm when registering the padstack: For a pad with the diameter of 1.2mm, use the pad name C1.2 The pad is then defined as C1.2 when you register the padstack. Use names that include the shapes and sizes at the end. Footprint, padstack, and pad data are registered in the footprint library file (.ftp) by each corresponding editor.
Footprint Library File
Example
Caution!
Pad Data
1.2mm
C1.2 0.8mm
C0.8
Padstack Data
C1.2
Files to be saved
FTP
Footprint Editor
Padstack Editor
Pad Editor
Footprint Library
Footprint DataFootprint Name: DIP14
Padstack Name: Vc1.2c0.8
Uses padstack or pad/line/area for the pin shape of footprint.
Padstack Name: Vc1.2c0.8
Consists of “pads and a hole”, “only pads” or “only a hole”.
Padstack Data
Pad NameC1.2
Pad NameC0.8
Pad Data
Pad Name: C0.8
Pad Name: C1.2
Reference Reference
Chapter 3 Creating a Footprint Library (.ftp)
3 - 2
1. Creating a Footprint Library (.ftp)
To illustrate the component registration procedure, we shall now register a 14-pin SOP component in the order of pad data, padstack data, and footprint data The name of the footprint library file to be registered will be "cmp.ftp".
Footprint Library Registration Procedure
File Path Name: C:\home\lesson2\cdb\cmp.ftp
Padstack Editor
Pad Editor
Footprint Editor
F T P
Pin Count: 14 Pitch: 1.27 Pins (Metal Mask) Width: 0.65 Length: 1.20 Resist Width: 0.85 Length: 1.40 Component Overlapping Check (COC)
Width: 0.65Length: 1.20Width: 0.85Length: 1.40
Pad Registration
Pad Name R1.2-0.65R1.4-0.85
Pin Shape: R1.2-0.65 Metal Mask Shape: R1.2-0.65
Padstack Registration
Padstack Name
SMD1.2-0.65
Padstack: SMD1.2-0.65Resist: R1.4-0.85 Silk Width: 0.2
Footprint Registration
Footprint Name
SOP-14
Component Figure Data to be Registered
Pad Registration
Padstack Registration
Footprint Registration
3 - 3
2. Registering Pads
Chapter 3 Creating a Footprint Library (.ftp)
Pads Pads are figures that represent the shape of pins, resists or metal masks. Pads can be used for the same purpose when registering padstacks. Resists and metal mask shapes can be input when registering the footprint or after being positioned on the PC board. Footprint Editor
(pad input) is available in the footprint editor.
Artwork Tool
(pad input) is available in the Artwork Tool.
Frequently used figures not related to conductor data can be input as a pad by the footprint editor or Board Designer. Input PCB adjusting marks using a pad:
Input them with the Artwork Tool.
Use the pad shape editor to register pads.
Conductor (Pin Shape)
Resist Shape
Pad Registration
Padstack Registration
Footprint Registration
Example
Chapter 3 Creating a Footprint Library (.ftp)
3 - 4
2. Registering Pads
To edit pad shapes, there are the following two ways. Edit by (the pad generator) Edit by (the pad canvas editor)
Starting the pad generator. 1. After checking the footprint library name, click the pad generator start button in
Components Manager.
(1) Click Environment → Library… on the menu bar of Components Manager. The Library dialog is displayed. The pad to be edited will be stored in a file shown in the display field for the footprint library file name.
The file name displayed is the one written in the CDB global data resource. The displayed file name and path can be changed by changing resources, but neither Components Manager nor CDB editors can change them. To set the resource file, refer to [Library List Files] on page 2-15. If the displayed file does not exist, it is automatically created when the tool is started.
(2) Click (pad generator).
2. The table editor for the pad generator is displayed.
C:\home\lesson2\cdb\cmp.ftp
Lesson
Reference
Caution!
Does Not Exist FTP
xx.ftp
Automatic Generation
Window Border Pad Shape Button
Menu Bar
Pad Count Field
Pad Shape Table
Error Message Display Field
Click
1. Check
Starting the Pad Shape Editor
3 - 5
2. Registering Pads
Chapter 3 Creating a Footprint Library (.ftp)
3. Click the Pad Shape button and select Circle.
4. Because “cmp.ftp” does not
exist, the following dialog appears. Click Yes.
5. Select Parametric Pad
Generator from Edit on the menu bar.
6. The Circle Generator appears.
Click Cancel to close the editor.
Starting the pad canvas editor. 1. Click (pad canvas editor).
2. The pad canvas editor appears.
Lesson
Click
Click Click
Click
Click
Chapter 3 Creating a Footprint Library (.ftp)
3 - 6
2. Registering Pads
The differences between canvas editing and parametric generation are as follows: [Canvas Edit] Input any shapes from simple ones to complicated ones in
the editor and edit them. Parametric input commands are also available so that simple shapes can be input and displayed by setting parameters.
[Parametric Generation] Pads with the same shapes but different sizes can be
generated simultaneously by inputting parameters. However, it limits the shapes of pads to be generated and does not allow you to check the shapes, meaning that you have to use the pad canvas editor to check them.
The pad canvas editor can also be started directly from the pad generator. 1. Select Pad Canvas Editor from Tool on the menu bar in the pad generator. 2. The pad canvas editor is started.
Click
Example
3 - 7
2. Registering Pads
Chapter 3 Creating a Footprint Library (.ftp)
* Tool Resource The initial settings in the pad editor are defined in the tool resource. They consist of settings such as the default line type when a line type has not been selected, the size of a drawing area immediately after opening the file and others. The tool resource is in the following directory.
Priority 1: %HOME%\cr5000\cs\pad.rsc (Local) Priority 2: %CR5_PROJECT_ROOT%\zcs\info\pad.rsc (Project)
Priority 3: %ZCSROOT%\info\pad.rsc (Master) No resource other than the master pad resource exists after implementing CR-5000. Copy in the local or project resources and edit the contents as required.
# Japanese coding: sjis Pad*drawAreaWidth : 4.0 Pad*drawAreaHeight : 4.0 Pad*drawAreaOriginX : 2.0 Pad*drawAreaOriginY : 2.0 Pad*unitType : mm Pad*lineWidth : 1.0 Pad*lineType : solid # solid, dash, dash1, dash2 Pad*dashU : 2.0 Pad*dashV : 0.5 Pad*dashW : 0.5 Pad*surfacePenWidth : 0.1 Pad*surfaceFillWidth : 0.1 Pad*surfaceFillAngle : 0.0 Pad*hatchPitch : 0.2 Pad*arcRadius : 1.0 Pad*flushProperty : OFF Pad*trapSize : 10 # more than1
A sample pad resource "pad.rsc" is shown above. Any of the items may be omitted. It is possible to define only the items that you need. You can also omit either the master or local tool resource. If neither of them exists, the pad editor refers to the internal initial settings. They are the same as those in the master “pad.rsc” immediately after installing CR-5000. For details on the items defined in the tool resource and their format, refer to [Resource Files] in the Online Help.
Caution!
Note
Reference
Chapter 3 Creating a Footprint Library (.ftp)
3 - 8
2. Registering Pads
Next, we will register pads required for 14-pin SOP components and various shapes of pads. There are three ways to register:
• Parametric Generation • Parametric Input • Manual Input
For the following eight different pads shapes, pads in the same shape but of different sizes can be generated simultaneously by inputting parameter values. Use the pad parametric generation dialog to register them.
1. Circle 2. Square 3. Rectangle 4. Round Thermal 5. Square Thermal 6. Doughnut 7 Finger 8. Teardrop 9. Miscellaneous (for reference only)
Eight different shapes of pads can be generated by inputting parametric values, just as with parametric generation. Use the parametric input and edit commands in the pad canvas editor. Manual input allows you to generate complicated figures that cannot be generated by parametric generation. Use the input and edit commands in the pad canvas editor. Manual input is not covered in this lesson. However, the input and edit command icons are explained in [4. Registering Footprints]. For input and edit command icons, refer to [Chapter 3, 4. Registering Footprints] on page 3-45.
Pad Name
R1.2-0.65
R1.4-085
Registering Pads
Parametric Generation
Width: 0.65 Length: 1.20
Width: 0.85 Length: 1.40
Parametric Input
Manual Input
Reference
Note
3 - 9
2. Registering Pads
Chapter 3 Creating a Footprint Library (.ftp)
The pad generator enables you to generate pads in the same shapes but of different sizes simultaneously by setting parameters. The following eight shapes can be generated simultaneously.
1. Circle
2. Square
3. Rectangle
4. Round Thermal
5. Square Thermal
6. Doughnut
7. Finger
8. Teardrop To perform batch generation, select a pad shape from the pad shape option list displayed by clicking on the Pad Shape button in the pad generator, and start the pad batch generation dialog by selecting Parametric Pad Generator from Edit on the menu bar.
Generating Pads in a Batch
Rules to auto-create pad names
Click
Select a shape to be generated
Menu Bar
Rules to auto-create pad shapes
Flash Mode Setup
Click
Chapter 3 Creating a Footprint Library (.ftp)
3 - 10
2. Registering Pads
Edit a rectangular pad to generate a 14-pin SOP and another pad of a different size. 1. Select a shape from the pad shape option list in the pad generator.
Click and select Rectangle.
2. Open the rectangle generator by selecting Parametric Pad Generator from Edit on the
menu bar.
Each item name is displayed in the rectangular pad setting menu.
Pad Name
R1.2-0.65
R1.4-0.85
Width: Length: 0.65 1.20
0.85 1.40
Click
Click
Lesson
Click
3 - 11
2. Registering Pads
Chapter 3 Creating a Footprint Library (.ftp)
3. Set the pad name rules for batch generation. (1) Set "R?-?"in the Pad Name
Creation Format. (2) Set values in the Pad Name
Auto-creation Parameter as in the picture to the left.
Settings should be as shown here.
The rules for pad name automatic creation refer to parameters defining pad names to be created. For example, if using a combination of "C" representing Circle and its "diameter" for a round pad name, the pad name parameters for pads with diameters of 0.1mm through 0.5mm in the increment of 0.1mm will be those shown in the figure to the right.
4. Set the flash mode for the rectangular pads to be registered.
Click Stream to be selected.
* Flash Mode
The flash mode can also be set from the following place in the pad canvas editor.
How to Change Click Flash or Stream to change.
The flash mode defines whether the data type for photo output is flash or stream.
Rules for Pad Name Automatic Creation
Pad Name Creating Format: C ?
Pad Name Auto-creating Parameter:
? Default Step 1 0.1 0.1
means it is selected. Click
Chapter 3 Creating a Footprint Library (.ftp)
3 - 12
2. Registering Pads
5. Set shape parameters.
(1) Set the following values to the height and width.
Parameter Min. Max. StepHeight 1.2 1.4 0.2 Width 0.65 0.85 0.2
(2) Click Apply at the bottom of the
dialog, and two pads will be generated.
Created pads are listed as follow with detailed information in the spread sheet. 6. Save the generated pads into a file.
Select Save from File on the menu bar in the pad generator. The name field(s) of the pads saved into the file turn gray.
Click
Click
3 - 13
2. Registering Pads
Chapter 3 Creating a Footprint Library (.ftp)
Register pads with diameters of 0.1mm through 0.5mm in the increment of 0.1mm. The names are "C0.1", "C0.2", "C0.3","C0.4 and "C0.5" which are the same as those in "Rules for Pad Name Automatic Creation" on page 3-11. The results are as follows:
This function allows you to output the data displayed in the spread sheet to ascii file. On the menu bar, File Export 1. Select items to output 2. Specify the file name 3. Select the output format
Output format: • CSV format (*.csv) • Tab format (*.txt) • Table format (*.tbl)
Pad Generator can be used not only to simultaneously generate pads but also to list data for existing pads. 1. The number of pads for each shape 2. Detailed parameters for each pad In addition, it is possible to delete/create pad data by assist menu. Append Row : New pad is registered when Pad Name and Height etc. are entered in the appended row. Delete Row : Selected pad data is deleted.
Lesson
Export Note
Pad Generator
Assist Menu
1
2
12
3
Note
Chapter 3 Creating a Footprint Library (.ftp)
3 - 14
2. Registering Pads
Here are some shape parameters used for simultaneous-generation of the shapes listed in the Pad Shape option list in the pad generator.
• The values of the outline width and the fill line width of batch-generated pads are both 0.
The outline width, fill line width and fill line angle of a surface are editable. Set a smaller value for the outline width of the Area Painting Attribute than the length of the pad side.
Refer to Note in [2. Square] above.
• Outside diameter > Inside diameter • The slit starting angle can only be 0, 45, 90, 135, 180, 225, 270 or 315. • The number of divisions is 1 - 8.
4. Round Thermal
Reference
2. Square
3. Rectangle
Caution!
Note
Caution!
Caution!
Slit starting angle
Slit width
Number of divisions
Diameter
Height
width
Length of a side
Inside diameter
Outside diameter
1. Circle
3 - 15
2. Registering Pads
Chapter 3 Creating a Footprint Library (.ftp)
• Outside diameter > Inside diameter • The slit starting angle can only be 0, 45, 90, 135, 180, 225, 270 or 315. • The number of divisions is 1 - 8.
• Outside diameter > Inside diameter
The larger of Circle 1 and Circle 2 is placed to the left.
Close the pad batch-generator dialog.
Click Cancel.
5. Square Thermal
6. Doughnut
7. Finger
Caution!
Caution!
8. Teardrop
Caution!
Lesson
Slit starting angle
Slit width
Number of divisions
Outside diameter Inside
diameter
Length
Angle
Diameter
Outside diameter
Inside diameter
Click
Distance between 2 circles
Chapter 3 Creating a Footprint Library (.ftp)
3 - 16
2. Registering Pads
Editing pads manually means using the input and edit commands in the pad canvas editor to edit pads. You can edit any pad shape, from circles and squares to those that the batch program does not support. You can start the pad canvas editor either by clicking on the canvas editor starting button in the Components Manager root menu or by selecting Pad Canvas Editor from Tool on the menu bar in the pad generator.
Or
Editing Pads Manually
Lesson
Click
Click
Window Border
Grid Setting Field
Panel Menu
Coordinates Setting Field
Canvas
Menu Bar
Tool Bar
Flash Mode Selection Button
Error Message Display Field
Guide Message Field
Pad Name Field
3 - 17
2. Registering Pads
Chapter 3 Creating a Footprint Library (.ftp)
Edit a circle pad with a 0.5-mm diameter surface named "C0.5m". 1. Input the pad name.
(1) Click the Pad Name field. (2) Input "C0.5m”.
2. Input a 0.5mm circle for the area.
(1) Click (Input Area) on the tool bar.
(2) Set as follows on the panel
menu.
Shape : (Circle) Pointing Mode : (Center/Point on Circumference) Circle Dia. : 0.5
Diameter 0.5mm
Pad Name C 0.5m
Pad Name: C0.5m
The input and edit commands that were grayed-out become active, which indicates that a file is open.
Lesson 1
Click
Click
Click
Click
Chapter 3 Creating a Footprint Library (.ftp)
3 - 18
2. Registering Pads
(3) A temporary shape is displayed on the canvas.
(4) Select Absolute from the option
list below the canvas, input 0 in the X- and Y-coordinate fields and click Apply.
(5) A pad is generated as shown in
the picture on the left. (6) Select Command End on the
assist menu.
3. Set the Flash Mode
(1) Confirm that the Stream is selected for Flash Mode.
The current command can be terminated by selecting Command End from the assist menu or by selecting a different command.
Click
Click
3 - 19
2. Registering Pads
Chapter 3 Creating a Footprint Library (.ftp)
4. Change Drawing Area Sizes (1) Input "0.1" in the Grid field. (2) Check that the Grid is ON. (3) Select (Drawing Area/Origin)
on the panel menu. (4) Click two points (P1 and P2) to
change size and click another point (P3) to specify the origin.
(5) Click (Display All).
It is also considered as a display area when clicking on (Display All). The pad drawing area is considered to be a display area when editing a pad using the Copy Component from CDB command in Board Designer/Board Producer. The origin becomes a reference point to generate a padstack.
For padstack registration, refer to [Registering Padstacks] on page 3-37. When the pad is used as a terminal shape, the unconnected net is displayed from the pad origin.
For the terminal reference point, refer to [Pin Reference Point] on page 3-59.
What is the Pad Drawing Area/Origin?
Reference
Reference
Click
P2 P3
P1
Click
Chapter 3 Creating a Footprint Library (.ftp)
3 - 20
2. Registering Pads
5. Select MANUAL from Update Version Automatically in Environment on the menu bar. 6. Save the pad.
Select Save from File on the menu bar.
Besides Save and Revert, the following commands are included.
Open Displays a registered pad. Save As Saves a pad being currently edited under a different name. Revert Get the pad being edited back as it was saved last time. Rename Renames a registered pad.
(Objects being edited cannot be deleted.)
A dialog to confirm the version number appears. Click Yes.
When saving a file, this dialog appears if MANUAL is selected from Update Version Automatically.
The version number when a file is first saved is "Version: 0", and after that, whenever you save the same file, the number increases by 1. (In case that the version number is updated when a pad is registered newly, it is set to “Version:1”.) You can see how many times a file is updated from this number.
If you need to check more detailed information, select Updated Time/Version No. from Attributes on the menu bar. A dialog, like the picture on the left, containing the following information appears.
• Version • Latest Editor • First Editor • Latest Updated Time • First Updated Time
This is the same as in other CDB editors.
Menu Bar/File Note
What is Version Number?
Click
Click
3 - 21
2. Registering Pads
Chapter 3 Creating a Footprint Library (.ftp)
Edit a circle pad with a 0.5-mm diameter polyline, named "C0.5l." 1. Input the pad name and select (Input Line) on the tool bar.
Set as follows on the panel menu. Shape : (Circle) Pointing Mode : (Center and Diameter) Circle Dia. : 0.5 Line Width : 0.1
2. As in Lesson 1, input at coordinates (0,0).
Set the coordinates (0,0) from the coordinates field of the lower part of the editor. Set Stream to ON for the Flash Mode. Change drawing area sizes in the same way as "C0.5m".
3. Save the pad.
Click Yes in the version number confirmation dialog.
Lesson 2
Click
Chapter 3 Creating a Footprint Library (.ftp)
3 - 22
2. Registering Pads
You can easily specify values for grids, pen width and text by using a table. In this case, you must specify frequently used values in the resource file for each tool.
Edit resource file name %ZCSROOT%\info\footprint.rsc or %CR5_PROJECT_ROOT%\zcs\info\footprint.rsc or %HOME%\cr5000\cs\footprint.rsc
Items to be edited Footprint*textSizeTable 5 {
"1" 2.540 2.540 0.254 0.1 "2" 1.270 1.270 0.100 0.1
}
Edit resource file name %ZCSROOT%\info\padstack.rsc or %CR5_PROJECT_ROOT%\zcs\info\padstack.rsc or %HOME%\cr5000\cs\padstack.rsc
Items to be edited Padstack *gridTable 3 {
"0.050" 0.050 0.050 "0.100" 0.100 0.100
}
Edit resource file name %ZCSROOT%\info\pad.rsc or %CR5_PROJECT_ROOT%\zcs\info\pad.rsc or %HOME%\cr5000\cs\pad.rsc
Items to be edited Pad *penWidthTable {
0.100 0.200 0.500 1.000 2.000 }
For pad.rsc, refer to [*Tool Resource] on page 3-7. For padstack.rsc, refer to [*Tool Resource] on page 3-36. For footprint.rsc, refer to [*Tool Resource] on page 3-48.
Tables
When using the Footprint Editor (Text Table)
When using the Padstack Editor (Grid Table)
When using the Pad Editor (Pen Width Table)
Environment Grid Input Line Command
Reference
3 - 23
2. Registering Pads
Chapter 3 Creating a Footprint Library (.ftp)
Parametric input means to input parameter values required to generate a pad shape, just as in batch generation. The generated shape appears on the canvas. The pads that can be generated with parametric input are the same eight shapes as for batch generation.
1. Circle
2. Square
3. Rectangle
4. Round Thermal
5. Square Thermal
6. Doughnut
7. Finger
8. Teardrop Parametric input dialogs are explained in this section. For parametric input, eight buttons are available on left side of the tool bar. Edit each shape. For reference, the setting values for each parameter are as follows:
Editing Pad in Parametric
1. Parametric Circle Input
Diameter
Parameter Value
DiameterPad Name
C5. 1 ⏐
C5. 5
5. 1mm⏐
5. 5mm
Flash Mode = Flash
Parametric Circle Input
Parametric Rectangular Input
Parametric Round Thermal Input
Parametric Doughnut Input
Parametric Square Input
Parametric Finger Input
Parametric Square Thermal Input
Parametric Teardrop Input
Parametric Input Command
Chapter 3 Creating a Footprint Library (.ftp)
3 - 24
2. Registering Pads
[When generating tangent arc on corners]
[When generating tangent arc on corners]
The slit starting angle can only be 0, 45, 90, 135, 180, 225, 270 or 315. The number of divisions is 1 - 8.
Length of one side
Length of one side
Radius
2. Parametric Square Input
3. Parametric Rectangle Input Parameter Value
Size Pad Name
R1.4-0.65
R1.6-0.85
Width 0.65mm Height 1.40mm Width 0.85mm Height 1.60mm
Flash Mode = Flash
4. Parametric Finger Input
5. Parametric Round Thermal Input
Number of divisions
Parameter Value
Length of a sidePad Name
S3. 0 ⏐
S3. 5
3. 0mm⏐
3. 5mmFlash Mode = Flash
Length
Angle
Width Parameter Value
Size Pad Name
L6.0-1.4
Diameter 1.4mm Length 6.0mm Angle 90
Flash Mode = Flash
Parameter Value
Size Pad Name
TC1.6-1.0 Outside Diameter 1.6mm Inside Diameter 1.0mm Slit Width 0.3mm Slit Angle 45 Division 4
Flash Mode = Flash
Slit starting angle
Inside diameter
Outside diameter
Slit width
Caution!
Width
Height
Width
Height
Radius
3 - 25
2. Registering Pads
Chapter 3 Creating a Footprint Library (.ftp)
The slit starting angle can only be 0, 45, 90, 135, 180, 225, 270 or 315. The number of divisions is 1 - 8.
The larger of Circle 1 and Circle 2 should be placed to the left.
6. Parametric Square Thermal Input
Number of divisions
Parameter Value
Size Pad Name
TS1.6-1.0 Outside Diameter 1.6mm Inside Diameter 1.0mm Slit Width 0.3mm Slit Angle 45 Division 4
Flash Mode = Flash
Slit starting angle
Slit width
Caution!
7. Parametric Doughnut Input Parameter Value
Size Pad Name
D1.6-1.0 Outside Diameter 1.6mm Inside Diameter 1.0mm
8. Parametric Teardrop Input Parameter Value
Size Pad Name
TE1.6-1.0 Circle 1 1.6mm Circle 2 1.0mm Distance 1.6mm
Flash Mode = Stream
Caution!
Flash Mode = Flash
Inside diameter
Outside diameter
Inside diameter
Outside diameter
Distance between 2 circles
Chapter 3 Creating a Footprint Library (.ftp)
3 - 26
2. Registering Pads
1. Close the Pad Generator.
Select Exit from File on the menu bar.
2. Close the Pad Canvas Editor.
Select Exit from File on the menu bar.
If the current pad has been edited, the dialog shown in the right appears when the tool is closed. Click Yes to save the pad. This is the same as in other CDB editors.
Only the Components Manager root menu remains.
Names such as pad name and part name are case sensitive.
Lesson
Confirmation Dialog
Caution!
Note
Click
3 - 27
2. Registering Pads
Chapter 3 Creating a Footprint Library (.ftp)
Pad shape property is determined by the command selected to input the pad. The output shape for CAM data output depends on the shape property. To check the shape property, use the Search for Pads dialog that appears by selecting Open from File on the menu bar in the pad canvas editor. Pad names and shape properties are listed in the dialog. Compare "C0.5", "C0.5m" and "C0.5l". They have the same diameter values but different shapes. Recall the input method when registering pads. 1. for "C0.5"
Batch edit: Circle 2. for "C0.5m"
Manual area input: Area (Circle) 3. for "C0.5l"
Manual line input: Polyline As you can see, there are three types of shape properties for the same shape.
Shape Property Name Circle Area (Circle) Polyline
Shape
Features Area data with 0 outline width and 0 fill line width.
Area data with settable outline width and fill line width values.
Line data with settable outline width value.
Status for CAM Output
After fully understanding attribute features and CAM output status, then register pads.
Pad Properties
Click
Chapter 3 Creating a Footprint Library (.ftp)
3 - 28
2. Registering Pads
The following pads are used in the Master Training <Component Library>. Edit them using batch generation, manual input or parametric input.
The footprint library these pads are to be registered to is as follows:
Circle
Rectangle
Round Thermal
Flash Mode=Flash Flash Mode=Stream Flash Mode=Flash Pad Name Size Pad Name Size
R2.2-1.2 Width 1.2mmHeight 2.2mm
R2.4-1.4 Width 1.4mmHeight 2.4mm
C0.1 C0.2
:
Increases by 0.1
: C2.9 C3.0 C3.5 C4.0 C4.5 C5.0
Diameter 0.1mm" 0.2mm
:
Increases by 0.1
: " 2.9mm" 3.0mm" 3.5mm" 4.0mm" 4.5mm" 5.0mm
Outline Width 0.1mm
Fill Line Width 0.1mm
TC2.0-14 External Diameter 2.0mm Internal Diameter 1.4mm Slit Width 0.4mm Slit Angle 0 Number of Divisions 4
When pad registration is completed, close the pad editor.
C:\home\lesson2\cdb\cmp.ftp
Pad Name
Size
Lesson
Line Width
Pad Data List
Register Pads
3 - 29 Chapter 3 Creating a Footprint Library (.ftp)
3. Registering Padstacks Padstacks
A padstack is an object used as a component pin shape or a via.
Before starting to edit a padstack, read this explanation on padstack structure. A padstack consists of one hole and more than one pad as follows:
Each of these pads has a purpose.
The figure above is an example of a pin for an insert mounted component or a via. The reason that pads have these purposes is that the footprint library (.ftp) those padstacks are to be registered with has footprint layers which have properties.
Pad Registration
Padstack Registration
Footprint Registration
Padstack
Pad 1 Conductor shape of A SidePad 2 Resist shape of A Side Pad 3 Resist shape of B Side Pad 4 Conductor shape of B Side
Hole
Pad 1
Pad 2
Pad 3
Pad 4
Conductor Layer on A Side
Resist Layer on A Side
Resist Layer on B Side
Conductor Layer on B Side
Caution!
Chapter 3 Creating a Footprint Library (.ftp)
3 - 30
3. Registering Padstacks
* Footprint Layer Definition Along with registering the footprint library, the necessary layers and objective of the layers are defined as attributes.
The footprint layer is recognized and data is input into the objective layer when registering a padstack or footprint.
The data described above is used to create the PCB. If it exists in the PCB data, it is subdivided further and allocated to layers of the same objective by mapping the layers as shown in the figure below. This is referred to as "layer mapping of technology".
PCB Layer Definition
PCB Layer A side Map B side Map A side Penetration Map B side Penetration Map
Conductor Layer on A Side
Component Conductor Layer
Component Conductor Layer
Component Conductor Layer
Conductor Layer on B Side
Component Conductor Layer
Component Conductor Layer
Component Conductor Layer
Silk Layer on A Side
Component Silk Layer
Silk Layer on B Side
Component Silk Layer
Resist Layer on A Side
Component Resist Layer
Component Resist Layer Component Resist Layer
Resist Layer on B Side
Component Resist Layer
Component Resist Layer Component Resist Layer
Technology Library (Layer Mapping) For more information concerning technology layer mapping, refer to "Chapter 3 Technology Library" in [Master Training <PCB Design Library> ]
Conductor Shape for A Side
Conductor Shape B Side
Resist Shape for A Side
Resist Shape for B Side
Pads input into this layer are recognized as conductor shapes.
Silk Layer
Conductor Layer
Resist Layer
Footprint Layer
ComponentSilk Layer
ComponentConductor Layer ComponentResist Layer
If using a Double-Surface PCB:
Silk Layer on A Side
Conductor Layer on A Side
Resist Layer on A Side
Resist Layer on B Side
Conductor Layer on B Side
Silk Layer on B Side
Wiring layer Property 1st Layer Positive
2nd Layer Positive
Reference
3 - 31 Chapter 3 Creating a Footprint Library (.ftp)
3. Registering Padstacks
In the example on the previous page, if a component shape is the same regardless of whether it is mounted on A or B Side, it can be allocated to more than one PCB layer that has the same attributes as those possessed by the footprint layer.
If the pad shape differs for the inner and outer layers, as with multilayer boards, you have to separate conductor and resist layers into inner and outer layers as shown in the figure below.
Silk Layer
Footprint Layer
Silk Layer on A Side
Silk Layer on B Side
PCB Layer
Conductor Layer Only As an Example:
Conductor Layer for A Side
Conductor Layer for Inner Layer
Conductor Layer for B Side
If using a 4-Layer Board:
Footprint LayerPCB Layer
1
2
3
4
Chapter 3 Creating a Footprint Library (.ftp)
3 - 32
3. Registering Padstacks
Let’s start the padstack editor. 1. Click the padstack editor starting button of Components Manager.
Click (Padstack Editor). 2. The editor of the padstack editor appears.
3. To register a new padstack, define the footprint layer first.
(1) Select Define Footprint Layer from Tool on the menu bar.
Starting the Padstack Editor
Lesson
Click
Click
Window Boarder
Menu Bar
Penetration Property List
Buildup Via Property List Grid Toggle Field
Padstack Shape Viewer
Canvas
Padstack Table
Hole Shape Table
Guide Message Display Field Error Message Display Field
Padstack Name Field
Plating List
3 - 33 Chapter 3 Creating a Footprint Library (.ftp)
3. Registering Padstacks
(2) The “Define Footprint Layer”
dialog appears. Footprint Layer List
For details on layer types, refer to [Integrated Component Management System Components Manager] User’s Guide. 4. Define a layer name “Comp-conductive1” and a layer type “Conductor layer”.
(1) Click the layer name field. (2) Type in “Comp-conductive1”. (3) Click “Conductor” in the Layer
Type list.
5. Append a row to add a layer name. (1) Position the cursor to the first
row, click Append Row on the assist menu.
(2) A row is appended below the
row placed cursor on.
Footprint Layer List Displays a list of defined layer names and types.
Layer Name: Field for typing the name of the layer.
Layer Type: You can select layer attributes from the menu.
Layer Type Layer Name
Footprint Layer List
Reference
Click
Click
Chapter 3 Creating a Footprint Library (.ftp)
3 - 34
3. Registering Padstacks
In the case of changing "Comp-conductive1" to "Comp-conductive2"
1. Click "Comp-conductive1". 2 Input a “Comp-conductive2” in the Layer
Name field.
In the case of deleting "Comp-conductive1"
1. Click "Comp-conductive1". 2 Click Delete Row on the assist menu.
Layers of which a footprint layer is being edited or padstack are being used cannot be deleted.
To place “Comp-conductive3” above “Comp-conductive2”
1. Click "Comp-conductive3". 2. Click the up arrow displayed at
the right.
Change/Delete Names/Layer Types in the Footprint Layer List
Changing Layer Names
Deleting Layer Name
Rearranging Footprint Layer
Caution!
Click
Click
Click
Click
Click
3 - 35 Chapter 3 Creating a Footprint Library (.ftp)
3. Registering Padstacks
6. Define all layer names and types by referring to the table below.
Layer Name Layer Type Comp-conductive1 Conductor Layer Comp-conductive2 Conductor Layer Comp-conductive3 Conductor Layer Comp-conductive4 Conductor Layer Comp-symbol Symbol Mar Comp-resist1 Resist Layer Comp-resist2 Resist Layer Comp-metalmask Metal Mask Layer Comp-comparea1 Component Area Layer Comp-comparea2 Component Area Layer Comp-hole Hole Layer Comp-inh(plc)1 Inhibit Layer Comp-inh(plc)2 Inhibit Layer Comp-inh(via)1 Inhibit Layer Comp-inh(via)2 Inhibit Layer Comp-inh(wir)1 Inhibit Layer Comp-inh(wir)2 Inhibit Layer Comp-mark Undefined Layer Comp-sunpo Undefined Layer
Define as shown in the left picture.
7. Save the footprint layer definition and close the dialog.
Click File on the menu bar, then Save. Click File again, then Exit.
Defined
Click
Click
Chapter 3 Creating a Footprint Library (.ftp)
3 - 36
3. Registering Padstacks
* Tool Resource The initial settings of the padstack editor are defined in the tool resource. The tool resource exists in the following directory.
Priority 1: %HOME%\cr5000\cs\padstack.rsc (Local) Priority 2: %CR5_PROJECT_ROOT%\zcs\info\padstack.rsc (Project) Priority 3: %ZCSROOT%\info\padstack.rsc (Master)
No resource other than the master padstack resource (“padstack.rsc”) exists after implementing CR-5000. Copy to the local resource and edit the contents as required.
# Japanese coding: sjis Padstack*drawAreaWidth : 4.0 Padstack*drawAreaHeight : 4.0 Padstack*drawAreaOriginX : 2.0 Padstack*drawAreaOriginY : 2.0 Padstack*unitType : mm Padstack*precision : 3 Padstack*AutoVersionUp : ON # ON,OFF,MANUAL Padstack*ConfirmMode : OFF # ON,OFF Padstack*circleHoleDiameter : 0.3 # more than 0.0 Padstack*oblongDiameter : 0.3 #more than 0.0 Padstack*oblongLength : 0.5 #more than 0.0 Padstack*oblongAngle : 0.0 #-360.0 –360.0 Padstack*sqrHoleWidth : 0.3 #more than 0.0 Padstack*sqrHoleHeight : 0.3 #more than 0.0 Padstack*sqrHoleAngle : 0.0 #-360.0 –360.0 Padstack*sqrHoleRadius : 0.05 #0.0 or more Padstack*subCanvas : 3 #1-5 Padstack*disppskSavePolicy : confirm # confirm, auto, never #---------------------------------------------------------------------------------- # Grid Parameter #---------------------------------------------------------------------------------- Padstack*gridPitchX : 0.5 Padstack*gridPitchY : 0.5
A sample padstack resource (padstack.rsc) is shown in the figure above. Any items may be omitted. It is possible to define only the items you need. You can also omit either the master or local tool resource. If neither exists, the padstack editor refers to the internal initial settings. They are the same as those of the master padstack resource (“padstack.rsc”) immediately after installing CR-5000. For details on the items defined in the tool resource and their format, refer to [Resource Files] in the Online Help.
Reference
Caution!
Note
3 - 37 Chapter 3 Creating a Footprint Library (.ftp)
3. Registering Padstacks
Register the pin shape of a 14-pin SOP component with a padstack. In this lesson, select conductor and metal mask layers only.
1. Set a padstack name.
(1) Click the padstack name field. (2) Type in "SMD1.2-0.65" and
press the Return key. (3) The Confirm dialog appears.
Click No.
A sheet frame (white frame) is displayed on the canvas.
Registering Padstacks
Padstack name:
Padstack name:
Lesson
Caution!
SMD1.2-0.65
Layer Name List appears. This condition is called the condition that file is opening.
Click
Chapter 3 Creating a Footprint Library (.ftp)
3 - 38
3. Registering Padstacks
* Layer Display Attributes When the padstack editor or the footprint editor was started, the layer display attributes resource file that is layer color etc are being described is loaded. If these files don’t exist, when they are started, you can select which changing layer attributes or using system default value. %HOME%\cr5000\cs\disppsk.rsc (Local) %ZCSROOT%\info\disppsk.rsc (Master) %HOME%\cr5000\cs\dispftp.rsc (Local) %ZCSROOT%\info\dispftp.rsc (Master)
DisplayAttributes 8 { “Comp-conductive1” 7 0 e 45 90 5 y “Comp-conductive2” 3 0 e 45 90 5 y “Comp-conductive3” 3 0 e 45 90 5 y “Comp-conductive4” 3 0 e 45 90 5 y “Comp-symbol” 3 0 e 45 90 5 y “Comp-resist1” 3 0 e 45 90 5 y “Comp-resist2” 3 0 e 45 90 5 y “Comp-metalmask” 3 0 e 45 90 5 y “Comp-comparea1” 3 0 e 45 90 5 y “Comp-comparea2” 3 0 e 45 90 5 y “Comp-hole” 3 0 e 45 90 5 y
When the Padstack editor is started and “disppsk.rsc” doesn’t exist, if “dispftp.rsc” exist, it can be loaded. You can save the Layer display attributes when the padstack editor is exited. In that time, if the layer display attribute resource file doesn’t exist, it is created automatically.
Each resource file that is created automatically or is overwritten is as follows.
%HOME%\cr5000\cs\disppsk.rsc (Local)
%HOME%\cr5000\cs\dispftp.rsc (Local)
Padstack Layer Display Attribute Resource File (disppsk.rsc)
Footprint Layer Display Attribute Resource File (dispftp.rsc)
Color number Display priority Fill type Hatching angle1 Hatching angle2 Hatching interval Display/Not display
Footprint Layer Display Attribute Resource File (dispftp.rsc)
Padstack Layer Display Attribute Resource File (disppsk.rsc)
Footprint layer name
Caution!
3 - 39 Chapter 3 Creating a Footprint Library (.ftp)
3. Registering Padstacks
2. Set the penetration attribute for the padstack.
Click Non-through for Penetration.
3. Set the buildup via attribute for the padstack.
Click OFF for the buildup via attribute as in the left picture.
It is possible to define the padstack as buildup via in Board Designer. It enables us to design with using the different clearance value between drill via and buildup via.
For the buildup via design, refer to [Master Training <Engineering Change/Operation>]. 4. Set a pad name "R1.2-0.65" for the Comp-conductive 1 and Comp-metalmask layers.
(1) Click the Connect cell of the
Comp-conductive1 line in the padstack table.
(2) Click Search Dialog on the
assist menu. (3) Pad Select dialog appears. (4) Click the Connect cell of the
Comp-conductive1. (5) As pressing Ctrl key, click the
Unconnect cell of Comp-conductive1 and the Connect cell of the Comp-metalmask.
(6) Double-click R1.2-0.65 in the
Pad Select dialog.
Click
Buildup Via AttributeBuildup Via Attribute
Reference
Click
Double-Click
Click
Click
Click
Click
Click
Chapter 3 Creating a Footprint Library (.ftp)
3 - 40
3. Registering Padstacks
(7) The pad name “R1.2-0.65” is
set in the selected cell.
Pad Select dialog is displayed until OK or Cancel is clicked. It enables you to set pads sequentially for other layers.
(8) Click Cancel to end the Pad Select dialog.
The pad selection dialog can be displayed within the pad input command of the padstack editor or footprint editor. “1-41/41” (the number of retrieved lists and the scope of displayed names) is displayed in the search field for the dialog.
(How to Select) Click the inquired name in the list, and click OK button. OK : Reflect the selected pad name to the Pad Stack Editor and end
the dialog. Apply: Reflect the selected pad name to the Pad Stack Editor and not
end the dialog. Edit: Pad Canvas Editor is launched so that the pad can be edited. Cancel: Not reflect the selected pad name to the Pad Stack Editor and
end the dialog.
To set unconnected pads that are the same as existing connected pads, use the batch copy function.
On menu bar, Edit → Copy Connected Pad to Unconnected Pad
Unconnected pads in the non-conductive layer of the padstack are not copied because only the settings for connected land are valid in the non-conductive layer.
How to Use the Pad Selection DialogHow to Use the Pad Selection Dialog
Copy Function in Padstack Table
Batch Copying from Connected Pad to Unconnected Pad
Caution!
Click
Note
Click
3 - 41 Chapter 3 Creating a Footprint Library (.ftp)
3. Registering Padstacks
5. Set the values for hole if necessary.(It is unnecessary to set them in this case due to the SOP shape of “SMD1.2-0.65”.)
It is necessary to set values for hole if the padstack is registered to be used as pins of insert-mounted component or as via. Select one from three types of hole shapes.
Angles can be set for slot and square holes.
The property of "hole type" can be added to holes. The hole type is a property referred to when data of same hole diameter is assigned to different tool code if drill data is output by Board Producer.
Setting Padstack Hole Shape
What is Hole Type?
Setting Hole Shape inside of Padstack
Setting Padstack Hole Shape
Round Hole
Slot hole
Square Hole
Diameter
Length/Width
Diameter/ Height
Length/Width
Diameter/ Height
Hole diameter Hole diameter :0.5mm :0.5mm
Hole Type Hole Type :1 : 2 Tool Code
Caution!
Chapter 3 Creating a Footprint Library (.ftp)
3 - 42
3. Registering Padstacks
6. Set Plating. Check the "None" ON for Plating.
* Penetration Property and Plating Property
Penetration Property: Through means "there are holes for penetrating PCB". Non-through means "there are no hole". Plating Property: This is a property that is relevant when "Through" is
selected. Present means "the holes are for electric connection". None means "the holes are not for electric connection or no
holes".
Non-through / None Through / Present Through / None For edge connector pins, set "Through/Present" even if there is no hole.
7. Set a panel design property.
Select OFF from Use for Panel from Attributes on the menu bar.
It can be selected whether the padstack is to be used by the panel design tool in Board Producer. When it is selected ON to use the padstack by the panel design tool, the padstack is automatically copied into panel database when panel data is generated.
:Use it in panel design tool
:Not use it in panel design tool.
For Panel Design Properties, refer to “Panel Properties” in the [Master Training <CAM>].
for SMD for pins of insert-mounted component
Holes not to be electrically connected
Caution!
What is Panel Design Property?Panel Design Property
Reference
Click
Click
3 - 43 Chapter 3 Creating a Footprint Library (.ftp)
3. Registering Padstacks
8. Save the padstack.
Select Save from File on the menu bar.
For Menu Bar/File, refer to [2. Registering Pads] on page 3-3. 9. Close the padstack editor.
Select Exit from File on the menu bar.
A dialog asking you "Do you want to save visible-layer display parameters?" appears. Click No.
For visible-layer display parameter, refer to "[Layer Display Attributes] on page 3-38.
Reference
Reference
Click
Click
Click
Chapter 3 Creating a Footprint Library (.ftp)
3 - 44
3. Registering Padstacks
Start the padstack editor again, then register the following padstacks using the pads you made in [2. Registering Pads].
The footprint library these padstacks are to be registered with is as follows:
Pad Name Padstack Name
.Attribute setting . Connect Unconnect Thermal Clearance
Penetration Attr. Through Comp-conductive1 C1.0 C0.8 TC2.0-1.4 C2.0
Buildup Via Attr. OFF Comp-metalmask —— —— —— ——
Hole Shape Circle Comp-resist1 C1.1 —— —— ——
Diameter/Width 0.6mm
Hole Type Undefined
Plating Attr. Present
VIA0.6-1.0
Panel design Attr. OFF
Penetration Attr. Through Comp-conductive1 C1.3 C0.9 TC2.0-1.4 C2.2
Buildup Via Attr OFF Comp-metalmask —— —— —— ——
Hole Shape Circle Comp-resist1 C1.4 —— —— ——
Diameter/Width 0.7mm
Hole Type Undefined
Plating Attr. Present
VIA0.7-1.3
Panel design Attr. OFF
Penetration Attr. Through Comp-conductive1 C1.4 C1.0 TC2.0-1.4 C2.2
Buildup Via Attr OFF Comp-metalmask —— —— —— ——
Hole Shape Circle Comp-resist1 C1.5 —— —— ——
Diameter/Width 0.8mm
Hole Type Undefined
Plating Attr. Present
VIA0.8-1.4
Panel design Attr. OFF
Penetration Attr. Non-Through Comp-conductive1 R2.2-1.2 R2.2-1.2 —— ——
Buildup Via Attr OFF Comp-resist1 R2.4-1.4 —— —— ——
Hole Shape —— Comp-metalmask R2.2-1.2 —— —— ——
Diameter/Width ——
Hole Type ——
Plating Attr. None
SMD2.2-1.2
Panel design Attr. OFF
When finishing registering all the padstacks, close the padstack editor.
Registering Padstacks
C:\home\lesson2\cdb\cmp.ftp
Required Padstacks
Lesson
Chapter 3 Creating a Footprint Library (.ftp)
3 - 45
4. Registering Footprints Footprints
A footprint is a figure used for a component shape or frequently used mark (logo). In the [Beginner’s Training <PCB Design>], we registered a logo mark and a fiducial mark as footprints and used them.
If registering a component shape as a footprint, you should adhere to the following points.
Carry out pin setting.
Pin setting has the following two functions.
Declares the set item as a component pin (determines pin reference point). Determines pin numbers.
Pin setting can be carried out on objects that meet the following conditions.
Layer Type = Conductor Layer
If you forget to carry out pin setting, it will result in an error in the "Board Generation tool".
S t a r
Component Shape Logo Mark
Pad Registration
Padstack Registration
Footprint Registration
Carry out pin setting
Silk Layer
Conductive Layer
Resist Layer
Metal mask Layer
Caution!
Chapter 3 Creating a Footprint Library (.ftp)
3 - 46
4. Registering Footprints
Footprints are registered according to the following procedure.
Input a pin shape using lines, areas, pads and padstacks. Set the pin reference point and pin numbers. Input resist or metal masks in the padstack if necessary. Input silk objects. Input any inhibited objects and constraints area objects.
Registration Procedure
Input Pin Shape
Pin Setting
Input Other Shape Data
Input Silk Shape
Input Each Area Data
3 - 47
4. Registering Footprints
Chapter 3 Creating a Footprint Library (.ftp)
Let’s next start the footprint editor. 1. Click the starting button for the footprint editor in the Components Manager.
Click (Footprint Editor). 2. The editor for the footprint editor appears.
Starting the Footprint Editor
Lesson
Click
Active Layer Setting Button
Error Message Display Field
Pin Count Field
Menu Bar
Grid Setting Field
Panel Menu
Window Border
Canvas
Coordinate Setting Fields
Guide Message Display Field
Footprint Name Field
Tool Bar
Chapter 3 Creating a Footprint Library (.ftp)
3 - 48
4. Registering Footprints
* Tool Resource The initial values of the footprint editor are defined in the tool resource. The tool resource exists in the following directories.
Priority 1: %HOME%\cr5000\cs\footprint.rsc (Local) Priority 2: %CR5_PROJECT_ROOT%\zcs\info\footprint.rsc (Project) Priority 3: %ZCSROOT%\info\footprint.rsc (Master)
Only the master "footprint.rsc" exists after installing CR-5000. Copy it to the local and edit as required.
# Japanese coding: s j is #---- - - -- - - -- - -- - -- - - -- - - -- - - -- - -- -- - - -- - - -- - - -- - -- - # Footprint tool resource. #---- - - -- - - -- - -- - -- - - -- - - -- - - -- - -- -- - - -- - - -- - - -- - -- - Footprint*drawAreaWidth : 30.0 # more than 0.0 Footprint*drawAreaHeight : 30.0 # more than 0.0 Footprint*drawAreaOriginX : 15.0 # more than 0.0 Footprint*drawAreaOriginY : 15.0 # more than 0.0 Footprint*lineType : solid # solid,dash,dash1,dash2 Footprint*lineWidth : 0.3 # 0.0 or more Footprint*oblongDiameter : 1.0 # more than 0.0 Footprint*oblongLength : 2.0 # more than 0.0 Footprint*oblongAngle : 0.0 # -360.0 360.0 Footprint*sqrHoleWidth : 2.0 # more than 0.0 Footprint*sqrHoleHeight : 2.0 # more than 0.0 Footprint*sqrHoleAngle : 0.0 # -360.0 360.0 Footprint*sqrHoleRadius : 0.25 # 0.0 or more Footprint*unitType : mm # mm, mil, inch, micron Footprint*fontName_Motif : “variable” # for UNIX Footprint*fontName_Mswindows : “Lucida Console/18/Normal” #for NT Footprint*vectorFontName : _zafont0.vec_# cf. $ZLOCALROOT/zsys/font/eng Footprint*undoLimit : 30 # 0~100 Footprint*surfacePenWidth : 1.0 # 0.0 or more Footprint*surfaceFillWidth : 1.0 # 0.0 or more
A sample "footprint.rsc" is shown in the figure above. Any items may be omitted. It is possible to define only the items you need. You can omit the local, project or master tool resource files. If neither exists, the footprint editor refers to the internal initial settings. They are the same as those of the master footprint resource immediately after installing CR-5000. For details on the items defined in the tool resource and their format, refer to [Resource Files] in the Online Help.
Reference
Caution!
Note
3 - 49
4. Registering Footprints
Chapter 3 Creating a Footprint Library (.ftp)
Now attempt to register the following 14-pin SOP using the pads and padstacks registered in Sections 3 and 4. 1. Set the footprint name.
(1) Click the footprint name field. (2) Type "SOP14" in the field and
press the Return key. (2) The Confirm dialog appears.
Click No. For visible-layer display parameter, refer to "* Layer Display Attributes" on page 3-38. A sheet frame (white frame) is displayed on the canvas. 2. Since pin pitch is 1.27, change the grid pitch to 1.27.
(1) Click the grid field, type "1.27" into the field, and press the Return key.
(2) Set the grid mode to "ON".
Registering Footprint
Footprint Name : SOP14
in Shape: SMD1.2-0.65 Distance of A: 1.27 Distance of B: 7.62 Resist: R1.4-0.85 Component Height: 1 to 4
Footprint name: SOP14
Footprint name
Lesson
Changing Grids
Caution!
Reference
Pitch Display Grid ON/OFF Check Box
ON: (Red for UNIX) OFF: (White for UNIX)
Chapter 3 Creating a Footprint Library (.ftp)
3 - 50
4. Registering Footprints
3. Change the drawing area sizes and origins.
(1) Select Use Parameters from Drawing Area/Origin from Environment on the menu bar.
(2) A dialog for changing the
drawing area appears. Click each field and type in the following values.
Click the OK button.
* Drawing Area Size and Origin Drawing Area is set to get a rough measure of component size during footprint editing. The origin become the reference point when moving a component by digitizing with the Board Designer. There are three ways to change the drawing area size and the origin position. [Change by click ]
1. From menu bar, Click Environment Drawing Area/Origin Use Mouse. ( Or just click on the tool bar.)
2. On the panel menu, select Drawing Area and Origin Point.
3. Click P1 and P2 to enclose the component, and click P3 to specify the origin point.
[Change with parameters ]
1. From menu bar, Click Environment Drawing Area/Origin Use Parameters.
2. In the Change Drawing Area dialog, set Width, Height, Origin X, and Origin Y.
3. Click OK.
[Change automatically ] 1. From menu bar, Click Environment
Drawing Area/Origin Generate Drawing Area.
The drawing area size will be 1.2 times each side of a rectangle enclosing the placed figure.
The origin is not changed.
Input Drawing Area/Origin (Drawing Area/Origin)
Width: 10.16 Height: 10.16 Drawing Origin X: 5.08 Drawing Origin Y: 5.08
Click
Click
Height
Width
Origin
Caution!
3 - 51
4. Registering Footprints
Chapter 3 Creating a Footprint Library (.ftp)
4 Now, change the color of each layer using the visible layer setting.
(1) On the menu bar, Click View Layer Settings.
(2) Layer Settings dialog appears. (3) Change the display colors of
the following layers. Layer Color
Comp-symbol Yellow Comp-metalmask LightBlue Comp-comparea1 GreenYellow
(4) Check ON for all Visible cell. (5) Click OK.
Changing Display Colors Click the field of the layer display color that you want to change. Select the desired display color from the color dialog.
Click OK. Changing the Visible Settings Click Visible to select whole column. Move the cursor to the any check box cell, and click ON from the assist menu. Or, enter Space key to toggle ON/OFF.
You can change the following items using the Layer Settings dialog. ●Display Color ●Display Mode ●Visibility ●Hatching Angle 1 and 2 ●Displaying Priority ●Hatching Pitch
Layer Setting
Click Details tab to display color with its name.
Click
Click
Click
Click
Click
Chapter 3 Creating a Footprint Library (.ftp)
3 - 52
4. Registering Footprints
5. Input a padstack named SMD1.2-0.65 as the pin shape.
(1) From the tool bar, click (Input Padstack).
The padstack search dialog appears. (2) Select Unspecified from the
option menu for the penetration attribute.
(3) Click and select "SMD1.2-0.65"
from the padstack name list. The shape appears in the windows. (4) Click the OK button The padstack name is set in the panel menu.
It is possible to display Padstack search dialog by click (the list icon) in the panel menu.
(5) Input seven padstacks as
shown left.
Commands are not ended unless Command End from the assist menu or another command is selected.
Input Pin Shape (Padstack)
Caution!
Click
Note
Click
Click
Click
3 - 53
4. Registering Footprints
Chapter 3 Creating a Footprint Library (.ftp)
* Search Dialog The search dialog appears when searching for and setting data required by registration tools for each setting. For example, find a padstack to be used as a pin shape by the footprint editor, and also refer to a pad used by that padstack to perform the setting: (1) You can use a penetration attribute as a
keyword to narrow down the search results for padstacks.
(2) Click and select a padstack name you
want to refer to from the padstack name list.
(3) The shape is then displayed. (4) You can also refer to the data of the pad
being used for the padstack by clicking the pad reference button.
(5) After referring to the pad, click the
Cancel button and close the dialog. (6) To set the padstack, click the following
buttons on the dialog.
OK Sets and Closes the dialog Apply Applies the setting Edit Starts the padstack editor Cancel Closes the dialog
(4)
(6)
Click
Click
Click
Search for Pads dialog
(2)
(3)
(5)
Chapter 3 Creating a Footprint Library (.ftp)
3 - 54
4. Registering Footprints
When the command is selected, the cross cursor and coordinates are displayed. You can make the following changes to the coordinates.
Setting display ON/OFF From menu bar, View Coordinates to toggle display ON/OFF.
Setting display position From menu bar, Environment Option to see the position to display.
(Cursor) (Canvas lower right)
Coordinate Display
Visibility
Display Position
(-2, -2)
(-2, -2)
(-2, -2)
(-2, -2)
3 - 55
4. Registering Footprints
Chapter 3 Creating a Footprint Library (.ftp)
6. Now, let's copy the seven input padstacks. (1) From the tool bar, click . (2) Set the panel menu as follows.
Mode: Drag Base Point: Vertex Continuous: OFF
Using the grid as a reference, copy on of the padstacks and paste it 7.62 mm higher.
(1) Click P1 to designate the object
to be copied and P2 to designate the location it is to be pasted.
Copy and paste other six pads 7.62 mm higher.
(1) Hold the click on the point
where nothing is on (P1), move the cursor to enclose the object and release it (P2).
(2) Click to designate the copy
reference point by click P3. (3) Click P4 to designate the
location the object is to be pasted.
Copy
P1
P2
P2
P1
P3
P4
Hold
Release
Click
Click
Copy single item
Copy several item
Chapter 3 Creating a Footprint Library (.ftp)
3 - 56
4. Registering Footprints
* Search Filter It is possible to restrict the object to be selected. It allows you to select Area only or other object than Line etc. Select all with setting Line: OFF and Padstack: ON It is possible to set Single Select and Frame Select for each object separately. Search Filter is on the panel menu after each command is selected. When Condition is set to ON, it is necessary set details for each objects by click Frame Search Condition.
You can specify conditions only for properties with the check box ON.
Example
Line
Padstack
Padstack only selected.
Single: ON/OFF when it is clicked directly. Frame: ON/OFF when it is selected by Frame Select Condition: ON/OFF of detailed condition when it is selected
by Frame Select.(Specify detailed condition by Frame Search Condition).
Target Object
Attributes of the object. e.g. Select the line only that
width is narrower than 0.2mm
Caution!
3 - 57
4. Registering Footprints
Chapter 3 Creating a Footprint Library (.ftp)
7. Now, perform pin settings. (1) Click (Set Pin) on the tool
bar. (2) Set the panel menu as follows.
Mode: Set Pin No.: 1 Pin Ref. Point Input: OFF User-defined Pin No.: OFF Pin No. to be set is displayed at the cursor.
(3) Click No.1 Pin (P1). The point is then displayed as “1”. The Pin Count field also shows “1”. (Each time you click, the number increases by one.) Pin No. on the panel menu shows “2”.
The data for pin settings is set in a conductor layer regardless of the active layer.
(4) Continue to set all the pins up to pin number 14.
More than one pin with the same number can not exist at the same time. If you make a mistake and set the wrong pin, you must first cancel the pin setting before setting again.
Set Pin & Cancel Pin
Note
Caution!
P1
Chapter 3 Creating a Footprint Library (.ftp)
3 - 58
4. Registering Footprints
There are two ways to cancel pin setting. Release individually From the panel menu of Pin Edit command, select Mode: Release and click the pin(s) to cancel on the canvas.
Release all Enter 0 in the Pin No. field.
Pin settings can be carried out on figures meeting the following condition: Layer Type = Figures placed in a conductor layer
When Search: All is set and active layer is not conductive layer, pin(s) can not be set. Padstack can be selected regardless the figure being on the conductive layer or not.
* Automatic Pin Setting
In the component library lesson, we manually set pins by clicking the padstacks one at a time. The footprint editor is equipped with an automatic pin setting command. Set Pins Automatically. Click (Set Pins Automatically) and Automatic Pin Setting Parameter dialog appears. (How to set) (1) From the Search Filter on the panel menu, Select the pin
object from among four objects (multiple objects can be selected).
(2) Select the start corner from among the four buttons. (3) Select the pin setting method from among the five buttons.
Horizontal Direction Clockwise
Vertical Direction Matrix
Counterclockwise
(4) Click the start pin number and in put the number. (5) Select the pin assignment mode from two modes. (6) Click the Apply button to input the data.
You can specify the prefix or suffix for the pin number to be assigned by setting Pin Number Prefix/Suffix from Option on the menu bar and setting values. If you select the matrix pin setting method, you must also set the matrix pin number mode from Option on the menu bar.
Alphabet (Vertical) – No. (Horizontal) No. (Horizontal) - Alphabet (Vertical) Alphabet (Horizontal) - Number (Vertical) No. (Vertical) - Alphabet (Horizontal) Matrix Jump No.
Pin Cancellation
Data for Pin Setting
Automatic Pin Setting
Caution!
Caution!
(2)(3)
(4)
(5)
3 - 59
4. Registering Footprints
Chapter 3 Creating a Footprint Library (.ftp)
* Pin Reference Point A pin reference point refers to a point to generate a net (unconnected) showing the connection between pins.
There are two methods to specifying the position of a pin reference point.
Automatic setting Manual setting
1. Automatic Setting
Both pads and padstacks have their own drawing origins. The drawing origins become their pin reference points if pin setting is carried out on these figures.
(Pad Editor)
(Padstack Editor)
The center of the minimum rectangle enclosing a figure to be pin set becomes the pin reference point.
For Pads and Padstacks
For Figures other than Pad and Padstack
Chapter 3 Creating a Footprint Library (.ftp)
3 - 60
4. Registering Footprints
2. Manual Setting When automatic setting is carried out on a figure other than a pad or a padstack, the pin reference point may sometimes be set outside the figure. In this case, use the manual setting to indicate a point for pin reference point setting. (e.g.) Area data shown below.
(1) Click (Edit Pin). (2) Set Pin Ref. Point Input to ON on the panel menu. (3) Select the padstack reference point, P1, and click
where you want to set a pin reference point, P2.
* Skip Pin Setting and Setting by Name
Skip Pin Setting You can set pins to be skipped by the panel menu of Edit Pin command.
(1) Click (Edit Pin).
(2) Set pin No.1 and pin No.2 in the same
way as in the previous lesson. (3) Enter "4" in the Pin No. on the panel
menu. (4) Click the padstack that is to become pin
No.4.
If you continue by clicking the next padstack, the number increases by one, for example, from 5 to 6.
Setting by Name You can set pins by name if you use the user defined pin number mode.
(1) Click (Edit Pin). (2) Set User-defined Pin No. to ON on
the panel menu. (3) Enter string such as “ABC” in the
Pin No. on the panel menu. (4) Click the padstack.
Caution!
(Area)
Pin Ref. Point
Ref. Point when Aromatic setting
P2
P1
1
A1
B1
A2
B2
A3
B3
3 - 61
4. Registering Footprints
Chapter 3 Creating a Footprint Library (.ftp)
User-defined Pin No. List When you set pin number by name, it is possible to select name from the list of User-defined Pin No. Here is how to set the list.
(1) From the menu bar, click Environment User-defined Pin No.
(2) User-defined Pin No. dialog appears. Enter the
required string in the text field to add it.
When the tool is launched, the user-defined pin number is displayed that is defined in the line Footpring*TermsName or Footprint*TermsNameTable in the “footprint.rsc”.
1. Click the name you want to delete. The clicked nameis then highlighted.
2. Click Delete.
1. Click the name below the place where you want to insert. The clicked name is then highlighted.
2. Type the name into the text field below the pin
number list. 3. Click Insert. The name is then inserted above
the highlighted name.
To insert
1. Type the name into the text field below the pin number list. 2. Click Append and the name is added at the end of the pin number list.
To append
To delete
User-defined Pin No. List
Pin No. List
Text Field
Click
Click
Note
Chapter 3 Creating a Footprint Library (.ftp)
3 - 62
4. Registering Footprints
8. Using the pad for pad name "R1.4-0.85", input a resist into the Comp-resist 1 layer.
(1) Change the active layer to Comp-resist 1.
Click and select Comp-resist 1 from the active layers list.
(2) Click (Input Pad) from the tool bar.
(3) Select the pad name R1.4-0.85
from the Search for Pads dialog.
In the panel menu, the selected pad name is displayed.
If the pad name has not been set when inputting the pad, the dialog automatically appears. To change pad names, click to start Search for Pads dialog and change the name.
(4) Input resists for all pins,
P1-P14.
Input Resist (Input Pad)
Change Active Layers
P14
P1
Note
3 - 63
4. Registering Footprints
Chapter 3 Creating a Footprint Library (.ftp)
9. Using a 0.2 mm wide line, input a silk figure in the Comp-symbol layer.
(1) Select Comp-symbol for the
active layer. (2) Change the value of the grid to
0.635 mm. (3) Click (Input Line) on the
panel menu. (4) Change the settings on the
panel menu as follows. Shape: (Polyline) Line Width: 0.2mm Pen Type: (Rotundate) Attributes: (Straight Line) (5) Click P1 through P6 as shown
in the figure on the left, and select Data End on the assist menu.
The line parameter dialog appears. Change the value of Line Width to "0.2" and click OK.
Input Line
Setting Parameters
Click
P1 P2
P3P4
P5
P6
Chapter 3 Creating a Footprint Library (.ftp)
3 - 64
4. Registering Footprints
10. Now query the symbol mark. (1) Click (Change Shape
Attributes) on the tool bar. (2) Click the silk figure. (3) The Query Line Data/Change
Attributes dialog appears.
With the shape attributes change command, you can change attribute settings as well as check input attribute data.
As an example, let's change the width of the line to 0.4 mm. (1) Type "0.4" in the line width field. (2) Line Width in the table is changed to
0.4. (3) Click OK.
(4) Line width changes to 0.4mm.
Change the width back to "0.2".
Change Shape Attributes
Click
Query Line Data/Change Attributes Dialog
(3)
(1)
(2)
3 - 65
4. Registering Footprints
Chapter 3 Creating a Footprint Library (.ftp)
11. Input the component area (COC area) into the Comp-compare 1 layer. (1) Click (Zoom out) once. (2) Select Precision from
Environment on the menu bar. Change the precision value to
"4" . (3) Change the grid value to
"0.3175". (4) Click (Input Component
Area) on the tool bar. (5) Change the settings on the
panel menu as follows. Shape: (Rectangle) From: 1mm To: 4mm Layer: Comp-comparea1
(6) The rectangle is designated by P1 and P2.
* Component Area and Keep-out Area Depending upon the type of layer input, a component area and a keep-out area are recognized as component area data and untouchable area data.
The target layers are those that are defined “Component area” and “Keepout layer” when layer type is footprint layer definition.
Layer Component Area Keepout Area
Component area Layer Keepout Layer
Input Component Area
Click
Click
P1
P2
Click
Click
Chapter 3 Creating a Footprint Library (.ftp)
3 - 66
4. Registering Footprints
This section will explain the functions of component area data and keep-out area data. Component area data is input by (Input Component Area command). When selected, specify part height on the panel menu. The function of component area data is to provide the Board Designer's Floor Planner and placement/wiring tools with shapes and values to check for component overlapping in accordance with the clearance defined in the Design Rule File. For more information on how to define component height for parts or packages, refer to [Chapter 7, 1. User Properties for Each Tool] on page 7-1. Components that possess component area of the following part heights are as described below. From 4 To 6 From 0 To 2 From 4 To 9
Component Area Component Area Clearance: If 0.5 mm Component Area Height Component Area Height Clearance: If 1 mm Component Area Height Height Limitation Area (PCB Layer) Clearance: If 1 mm Component Area Placement Keep-out Data (PCB Layer) Component Area Height Limitation Area (PCB Layer)
Keepout area data is input using ordinary lines and areas.
The function of keepout data is to restrict the input of either placement, wiring or via with the Board Designer's Floor Planner and placement/wiring tools.
Component Area Data
Reference
Keep-out Area Data
Component
ToFrom
Board
Error OK
Height Limitation 15mm 8mm
OK Error
Types of Keepout Data
Via inhibition data Cannot input vias.
Placement / Wire+Via / Only Wire / Only Via / Via Hole
Keepout Area Data
Height Limitation Area
PlacementKeepout
3 - 67
4. Registering Footprints
Chapter 3 Creating a Footprint Library (.ftp)
12. Input Dimension Line for Length in Component Shape
(1) Click (Zoom out) once to input a dimension line easily.
(2) Click (Input Dimension Line) on the tool bar.
(3) Change the settings on the panel menu as follows.
Shape: (Linear Dimension) Data Search: ON Value: Length Layer: Comp-sunpo
(4) Click Pin 1 (P1), Pin 7 (P2) and where you want to input the dimension line (P3).
P2P1
P3
Click
Input Dimension Line
Click
Chapter 3 Creating a Footprint Library (.ftp)
3 - 68
4. Registering Footprints
(5) Change the setting in the panel menu as follows.
Dim. Dir. Vertical
(6) Input as shown in the picture on the left.
Inputting Dimensions
The following five types of dimension lines can be input.
Linear dimension Diameter dimension Angle dimension Leader dimension To set a character for the dimension, click Detail to set values in the dialog displayed. The dimension standards dialog appears by selecting Dimension Settings from Attributes on the menu bar in the dimension dialog. In this dialog, it is possible to set values of all attributes (line width etc.) for dimension. Dimension lines can only be input to undefined layers.
The initial value of the parameter at input dimension lines can be defined by footprint.rsc. By specifying frequently used values in advance, you can save time in setting parameters at initial command startup. For footprint.rsc, refer to [Tool Resource] on page 3-48. Reference
Caution!
Note
Extension line
3 - 69
4. Registering Footprints
Chapter 3 Creating a Footprint Library (.ftp)
13. Set the panel design property.
Set Use for Panel from Attributes on the menu bar to OFF.
For panel design property, refer to “Panel Design Property” on page 3-42. 14. Check the data.
Select Check Data from Utilities. And set “ON” to all items.
Click Execute. Confirm there is no error for the footprint that you are registering and click Close.
*Check Data
You can check a footprint before placing on PCB board. And you can set to executing check data automatically when the footprint is saved.
Select Check data when data saving from Environment on the menu bar.
15. Save the footprint.
(1) Click Save from File on the menu bar.
The message “Saving… One
moment please…” is displayed in the message display field.
For the menu bar/file, refer to Note in [Chapter3, 2. Registering Pads] on page 3-20.
Reference
Reference
ON OFF
ON OFF
Click
Click
Click
Click
Chapter 3 Creating a Footprint Library (.ftp)
3 - 70
4. Registering Footprints
* Sub-canvases If you want to browse more than one area, you can display all the areas by using the sub-canvas function, displaying each area in one canvas. This function can be used in the following tools.
Pad Canvas Editor Padstack Editor Footprint Editor
Click Subcanvas from Display on the tool bar of each Editor. Settings for the Visible layer refer to the main dialog settings. Up to three sub-canvases can be started simultaneously.
Caution!
Input and Edit commands are accepted simultaneously from each sub-dialog.
3 - 71
4. Registering Footprints
Chapter 3 Creating a Footprint Library (.ftp)
Let’s register 16-pin SOP by using the footprint name “SOP 14” that has been registered so far. The Load function loads a footprint that has already been registered, as a template. 1. Start the Footprint Editor and set the footprint name to “SOP 16”. 2. Click Import from File on the menu bar.
(1) The dialog box as shown below for loading data in other data footprints is displayed.
Loading and Registering Other Footprints
Footprint name: SOP16
Pin Shape: SMD1.2-0.65
Distance A: 1.27
Distance B: 7.62
Resist: R1.4-0.85
Component height: 1 to 4
A
B
Lesson
Dialog box for loading data in other footprints
Click
Chapter 3 Creating a Footprint Library (.ftp)
3 - 72
4. Registering Footprints
3. Set a parameter.
(1) Select “SOP 14” as a footprint name to be loaded.
(2) Set as shown left and click OK. Clicking the mouse during pressing Ctrl toggles selection and de-selection of the layer names to be changed, keeping the settings unchanged.
(3) The shape is loaded. Objects input in footprint layers that are not Visible layers are also loaded, but they are not displayed. 4. Set the grid pitch to 0.635 mm. 5. Expand the drawing area.
(1) Change the drawing area size.
Now set the origin of the
drawing area to the center.
Setting a parameter
Note
Caution!
Setting a grid
Changing the drawing area
P1
P2
P3
Click
Click
3 - 73
4. Registering Footprints
Chapter 3 Creating a Footprint Library (.ftp)
6. Release pins 8 to 14. 7. Copy two padstacks and pads to the side by using the Copy Area function.
(1) Click (Copy) on the tool bar.
(2) Select two padstack as
surrounding them with frame. (3) Click (P1) the reference point
for moving. (4) Click (P2) where they are
copied.
8. Let’s next set pins from Pin 8.
(1) Click to automatically set pins.
9. Edit the silk shape and component area.
(1) Click (Move) on the figure
input panel menu. (2) Change the setting on the panel
menu as follows. Mode: Drag Target: Segment/Vertex Segment Stretch: Lock (3) Edit the silk line and component
area.
Releasing pins
Inputting pin shape
Setting pins
Editing silk shape/component area
P1 P2
P1 P2
Hold
Release
Chapter 3 Creating a Footprint Library (.ftp)
3 - 74
4. Registering Footprints
10. Save the footprint.
(1) Click Save from File on the menu bar.
The message “Saving…One
moment please…” is displayed in the error message display field.
For the menu bar/file, refer to Note in [2 Registering Pads] on page 3-20. 12 Exit the Footprint Editor.
(1) Click Exit from File. If you have not saved the data yet, the confirmation dialog box is displayed. Clicking Yes saves the data being registered.
(2) The message “Do you want to save visible-layer display parameters?” is displayed. Click No.
For the visible layer display parameters, refer to [* Layer Display Attributes] on page 3-38.
Saving the footprint
Reference
Exiting the tool
Caution!
Reference
Click
Click
Click
3 - 75
4. Registering Footprints
Chapter 3 Creating a Footprint Library (.ftp)
Input footprint shape function
This command is used when you want to input figure information such as lines and padstacks from other footprint. You can input figures to a coordinate value by dragging them. (During dragging) (After input) Select Input Footprint Shape from Input on the menu bar.
Selecting a layer to be loaded You can input a footprint by specifying a footprint layer to be loaded. Select Select Layer on the panel menu.
Selecting an object to be loaded You can input a footprint by specifying an object to be loaded. Select Select Object on the panel menu.
As opposed to the “loading data in other footprints” explained on the previous page, this function can load only figure information.
Function to input footprint shapes
Note
Caution!
Chapter 3 Creating a Footprint Library (.ftp)
3 - 76
4. Registering Footprints
This section explains how to edit the footprint named "SOP14" that was made in the previous section, using the Parametric Registration for footprint. The Parametric Registration is a function that generates or alters footprints by setting values to the parameters. The following setting values must be decided in order to generate an SOP or DIP component using parametrics. 1. Start the footprint editor and set "SOP14-P" as the footprint name. 2. Click the (Parametric Registration) from the tool bar.
Parametric Figure Generation
With the parametric figure generation, you can generate footprints for ten different package types.
Registering Footprint Using Parametrics
Footprint name:- P
Pin Shape SMD1.2-0.65 Distance A 1.27 Distance B 7.62 SymbolMarkLayer Comp-symbol SymbolMarkShape Line with a width of
0.2mm CompAreaLayer Comp-cmparea1 CompHeight 1-4mm
Lesson
Select Shape dialog
SIP
Capacitor
Transistor
Connector/ZIP
2-pin Chip
DIP/SOP
PGA
Diode
Edge Connector
Can Package
Bare Chip
QFP
Resistor
Coil
3-pin Chip
Resistor for use Europe/other
Pin (Bare Chip) Coordinate table loaded
A
B 8.89
8.255 Origin 5.08
3 - 77
4. Registering Footprints
Chapter 3 Creating a Footprint Library (.ftp)
3. Click (DIP/SOP).
A dialog box to input parameters is displayed.
There are four radio buttons to set four types of parameters at the upper part of the dialog.
4. Use Layer parameter to set the layer to be input a symbol mark and component area
on.
(1) Double-click the cell for the symbol mark and click Comp-symbol in the list dialog.
(2) Double-click the cell for component area and click Comp-comparea1 in the list dialog.
Double-Click
Double-Click
Click
Click
Chapter 3 Creating a Footprint Library (.ftp)
3 - 78
4. Registering Footprints
5. By using Padstack parameters, set a padstack for a pin shape and a padstack for the first pin.
Double-click the cell for the padstack, and a dialog to search for padstacks will be displayed. Set "SMD1.2-0.65" to the padstack using the dialog. Set "SMD1.2-0.65" to the first pin using the dialog as well.
6. Set shape parameters.
(1) Set Symbolmark and Terms to Symbolmark and Terms.
(2) Select "Center of a Component"
from the option menu as the center position.
(3) Symbol mark shapes are to be input with a 0.2-mm width line.
Select Line Parameter from
Attributes on the menu bar.
Set 0.2 to the line width in the
line attribute dialog.
Click OK.
Click
Click
Click
Click
Click
Click
3 - 79
4. Registering Footprints
Chapter 3 Creating a Footprint Library (.ftp)
(4) Set the mark figure to “Cut Surface. ”
(5) Set the pin assignment order to
(6) Set the component area to
“Rectangle”.
(7) Set the term to "Generate Padstack".
(8) Enter values in the table.
Set "8.89" to the symbol length
X.
Click the cell of Silk Length X and enter "8.89".
(9) Enter values according to the table on the left.
Click
Chapter 3 Creating a Footprint Library (.ftp)
3 - 80
4. Registering Footprints
It will then appear as shown to the left.
7. Click the OK button in the input parameter dialog, and execute.
You can generate the shape of a 14-pin SOP as shown in the figure on the left.
Please input component area data and other data or the data that you need to each active layer.
Component area is automatically generated for only one layer at footprint registration. If you want to generate component area for each side of DIP type component, you need to input them manually. In this lesson, resists haven't been registered in the padstacks yet, so you need to input resist data.
Caution!
3 - 81
4. Registering Footprints
Chapter 3 Creating a Footprint Library (.ftp)
Let’s create a PGA using the parametric figure generation in the same way as for SOP14-P. 1. Click the (Parametric Registration) from the tool bar.
Click (PGA) in the Select Figure dialog box.
2. Set the parameter.
(1) Symbolmark: Comp-symbol
(2) Comparea: Comp-comparea1
(3) Padstack: VIA0.6-1.0
(4) Symbolmark and Terms: Symbolmark and Terms
(5) Center Position: Center of the Component
(6) Symbol Mark Figure: Line
(7) Term Order:
(8) Component Area: Rectangle
(9) Term: Generate Padstack
If using Parametric Registration, what can be selected for PGA Term Order are “Alphabetic (vertical) – Number (horizontal)” are “No Term” only. Assign again using Set Pins Automatically if necessary. Refer to [Automatic Pin Setting] on page 3-58 for Set Pins Automatically.
Registering PGA Using Parametrics
Footprint name: PGA108
A
B
33.02
1.5
Origin 33.02
1.5
Pin Shape VIA0.6-1.0 Distance A 2.54 Distance B 2.54 SymbolMarkLayer Comp-symbol SymbolMarkShape Line with a width of
0.2mm CompAreaLayer Comp-cmparea1 CompHeight 0-2mm
Click
Reference
Caution!
Chapter 3 Creating a Footprint Library (.ftp)
3 - 82
4. Registering Footprints
(9) Input values in accordance with the table to the left.
Click OK, and a pin grid arrangement such as the one on the left will be displayed.
3 - 83
4. Registering Footprints
Chapter 3 Creating a Footprint Library (.ftp)
It is possible to edit pad shapes that become necessary while editing footprints from the footprint editor without starting the pad editor.
Use Convert Area/Line to Pad command from Utilities on the menu bar.
Edit a 1.0-mm diameter round surface in the "Comp-conductive1" layer using the footprint editor.
1. Input a pad shape using the footprint editor.
(1) Enter "FT-PAD-1" in the footprint name field.
(2) Click (Input Area) from the
tool bar. (3) Change the settings on the
panel menu as follows.
Shape: (Circle)
Pointing Mode: (Center and Diameter)
Circle Dir.: 1.0
(4) Input it at the coordinate value “0,0”.
(5) Change the drawing size.
Editing Pads Using the Footprint Editor
(Footprint Editor) (Pad Editor)
Lesson
Click
Click
Chapter 3 Creating a Footprint Library (.ftp)
3 - 84
4. Registering Footprints
2. Click Convert Area/Line to Pad from Utilities on the menu bar.
(1) Click the circumference of the circle (P1).
(2) Click the pad reference point (P2).
(3) A dialog to convert Area/line to a pad is displayed.
(4) Set values as follows.
Click OK when setting is completed. Now the figure is registered as a pad.
There are three registration modes.
●Replace Replaces a specified figure with a specified existing pad on the footprint editor.
●Register
Saves a specified figure as pad data, but it remains as a line or area (depending on the object you input) on the footprint editor.
●Replace & Register
Saves a designated figure as pad data. This is treated as a pad on the footprint editor.
Pad Name: Pad1 Flash Mode: Stream Register mode: Register Grid Pitch: X1 Y1
About the Convert Area/Line to Pad Dialog
(Footprint Editor) (Pad Editor)
Area
Line
Conyerted toa Pad
Replaced witha Pad
Existing Pad
P2
P1
3 - 85
4. Registering Footprints
Chapter 3 Creating a Footprint Library (.ftp)
Register multiple figures as one pad using the footprint editor. Also, convert multiple figures on a footprint as pads.
1. Input a 1.0-mm diameter round area and lines using the footprint editor.
Footprint name "FT-PAD2" Input area data as well as "FT-PAD1". In addition, input a line-circle with a 1.0-mm diameter and 0.1-mm width.
Change the size of the drawing area.
2. Click Convert Area/Line to Pad from Utilities on the menu bar.
(1) Select Frame Select on the assist menu.
(2) Enclose the area and the line
with P1 and P2, and select Data End on the assist menu.
(3) Click the pad reference point.
(4) Set the following values using the Convert Area/line to Pad dialog.
Pad Name: Pad2 Flash Mode: Stream Register mode: Replace & RegisterGrid Pitch: X1 Y1
Lesson
P1
P2
P1
Chapter 3 Creating a Footprint Library (.ftp)
3 - 86
4. Registering Footprints
3. Check the circle on the footprint.
Click (Change Attributes) and then click the circumference.
If the figure on the footprint is converted to a pad, the Query Pads/Change Attributes dialog appears. Click OK to close the dialog.
You can only register the following as pads using the footprint editor:
Area Line
Caution!
P1
Click
3 - 87
4. Registering Footprints
Chapter 3 Creating a Footprint Library (.ftp)
This section explains how to convert a pad on a footprint to area data or line data and make it editable.
Use Convert Pad to Area/Line command in Utilities on the menu bar to register the object.
Convert "Pad 2" which you edited in the lesson on "Editing Pads using the Footprint Editor" into an area and a line.
1. Input "Pad 2" in the footprint editor.
Enter "BR-PAD2"in the footprint name field.
Input "PAD2" at the coordinates (0,0) using the (Input Pad) command.
Change the size of the drawing area to the proper one.
Use (Change Attributes) to refer to the pad.
2. Click Convert Area/Line to Pad from Utilities on the menu bar to register the object.
Click the circumference (P1).
Converting Pad to Area or Line
(Footprint Editor) (Pad Editor)
Lesson
P1
Chapter 3 Creating a Footprint Library (.ftp)
3 - 88
4. Registering Footprints
3. Check that it is converted.
Use (Change Attributes) for the reference.
Select Next from the assist menu.
The data is converted into area data and line data as shown to the left. Edit the figure if required.
Each figure is converted into the following figure(s)
4. Close the footprint editor.
Round Shape (Batch-registered round shapes) → Area Oblong Shape (Batch-registered oblong shapes) → Line Pad made of Composite Figures → Each figure (surface or line) Thermal Shape and Doughnut Shape → Cannot be converted
Caution!
3 - 89
4. Registering Footprints
Chapter 3 Creating a Footprint Library (.ftp)
Edit the following footprints using the pads and padstacks you made in Chapter 3, [2. Registering Pads] and Chapter 3, [3. Registering Padstacks]. Parametric editing enables you to operate more easily. The operation procedures for manual editing are explained from page 3-83. The library these footprints are registered with is as follows:
Packaged Parts
CAPA5.0
DIP24
CHIP2014
DIP40
RES15.0
CN-DIP40
Printed Components
PLOGO2
PMARK4
Registering Footprints
C:\home\lesson2\cdb\cmp.ftp
Chapter 3 Creating a Footprint Library (.ftp)
3 - 90
4. Registering Footprints
1. Set 0.5mm as the grid pitch.
2. The drawing size is too big, so zoom in , setting the drawing origin as the center.
Input two padstacks, like the picture to the left.
Set a pin .
3. Select Comp-symbol for an active layer and input a silk shape.
Input it while maintaining the silk width rule above.
4. Select Comp-comparea1 as the active layer.
To input area data, click and input a shape.
5. Click (Display All) and to change the drawing area size.
To change the drawing area size, refer to "Drawing Area Size and Origin" on page 3-49.
Footprint Name CAPA5.0 Pin Count 2 Pin Shape VIA0.7-1.3 (Padstack Name) Resist Shape (Pad Name) Part Height From 0 To 15 Silk width 0.2 mm Use for Panel OFF
Setting Grid
Inputting Pin Shape
Setting Pins
Inputting Silk Shape
Inputting Component Area
Changing the Drawing Area Size
Reference
2.0
7.0
1.0
5.0COC Area
3 - 91
4. Registering Footprints
Chapter 3 Creating a Footprint Library (.ftp)
1. Load and create a footprint named "CAPA5.0".
Select CAPA5.0 by using Input Footprint Shape from Input on the menu bar.
Select a padstack only by using Select Object.
Input a figure with the cursor aligned at the origin.
For details on other footprint figures, refer to [Input footprint shape function] on page 3-75.
2. Set 0.1mm for the grid pitch.
Select Comp-symbol for an active layer and input a silk shape.
3. Select Comp-comparea1 for the active layer and input a component area .
4. Set the size of the drawing area.
Footprint Name RESI5.0 Pin Count 2 Pin Shape VIA0.7-1.3 (Padstack Name) Resist Shape (Pad Name) Part Height From 0 To 3 Silk width 0.2 mm Use for Panel OFF
Loading existing figure data
Inputting a silk shape
Reference
Inputting ComponentArea
Setting Drawing Area Size
0.3
5.0
2.4
3.0
2.0
COC Area
Chapter 3 Creating a Footprint Library (.ftp)
3 - 92
4. Registering Footprints
1. Set the size of the drawing area.
Select Use Parameters from Environment Drawing Area/Origin on the menu bar.
2. Set 0.5mm for the grid pitch.
3. Input pin shapes.
Input padstacks like the picture to the left.
Set a pin.
4. Select Comp-symbol for an active layer and input silk shapes.
5. Select Comp-comparea1 for the active layer and input a component area .
Footprint Name CHIP2014 Pin Count 2 Pin Shape SMD2.2-1.2 (Padstack Name) Resist Shape (Pad Name) Part Height From 0 To 1 Silk width 0.2 mm Use for Panel OFF
Setting Drawing Area Size
Width: 6 Height: 4 Origin X: 3 Origin Y: 2
Setting Grid
Inputting Pin Shape
Inputting Silk Shape
Inputting Component Area
Setting pins
3.0
5.0
3.0
COC Area
3 - 93
4. Registering Footprints
Chapter 3 Creating a Footprint Library (.ftp)
1. Set the size of the drawing area.
Select Use Parameters from Environment Drawing Area/Origin on the menu bar.
2. Set 2.54mm for the grid pitch.
3. Input pin shapes.
Input 24 padstacks as shown to the left.
Set a pin.
4. Input silk shapes and a component area.
Change the value of the grid pitch to 0.254mm.
Perform each setting after selecting a proper layer.
Use the assist menu or panel menu to input an arc while inputting a line.
Input points from P1 to P5 as using Input Line (Polyline)..
Click (Arc) from the panel menu, and then click the last two points (P6 and P7).
Footprint Name DIP24 Pin Count 24 Pin Shape VIA0.7-1.3 (Padstack Name) Resist Shape (Pad Name) Part Height From 2 To 7 Silk width 0.2 mm Use for Panel OFF
Setting Drawing Area Size
Width: 33.02 Height: 12.70 Origin X: 2.54 Origin Y: 2.54
Setting Grid
Inputting Pin Shape
Inputting Silk Shape
Setting pins
Tips for Inputting Silk Shape
Arc
P4
P5P6
P7
P1
P3
P2
30.48
7.62 5.08 R1.27
2.54 COC Area
R0.508
Chapter 3 Creating a Footprint Library (.ftp)
3 - 94
4. Registering Footprints
1. Edit DIP40 based on DIP24, as done for RESI5.0. Select DIP24 by using Import from File on the menu bar. Click OK.
If there are unnecessary layer, select required layer only when footprint is imported.
2. Enlarge the drawing size.
Click (Zoom Out) a few times and click to change drawing area sizes.
The drawing origin should be set at the first pin.
Footprint Name DIP40 Pin Count 40 Pin Shape VIA0.7-1.3 (Padstack Name) Resist Shape (Pad Name) Part Height From 2 To 7 Silk width 0.2 mm Use for Panel OFF
Copying data already registered
Changing Drawing Area Size
Drawing Origin
50.8
15.24 12.7
R1.27
2.54 COC Area
Note
Click
3 - 95
4. Registering Footprints
Chapter 3 Creating a Footprint Library (.ftp)
3. Set 2.54mm for the grid pitch. 4. Input and place pin shapes by performing area copying and area moving.
Click , hold (P1) release (P2) to select by frame. Click (P3) the base position for drag
click the position to move (P4) Command End.
Click . Indicating an area is the same as for Copy Area.
5. Set 1.27mm for the grid pitch.
6. Perform pin setting and input a component area.
Set a pin. Click . Select the object by frame. Set as shown in the left picture, and click Apply. Click (Move) and select Target: Segment/Vertex. Edit DIP24 COC area to be applied to DIP40.
7. Select Comp-symbol for the active layer and input silk shapes.
8. Set the drawing size.
Setting Grid
Inputting Pin Shape
Copy Area
Move Area
Changing Grids
Setting Pin
Editing Component Area
Inputting Silk Shape
Setting Drawing Size
P1
P2
P4
P1
P3
P2
Hold
Release
Click
Click
Chapter 3 Creating a Footprint Library (.ftp)
3 - 96
4. Registering Footprints
1. Register CN-DIP40 based on DIP40. Select Import from File on the menu bar, opening DIP40.
2. Delete silk figures and COC area and move the pin figures using the move area
command.
Click (Delete Figure) and delete the silk figure and component area shown to the left. Click (Move) and move No.21-40 pins.
3. Re-assign pin numbers.
4. Set 1.27mm for the grid pitch and input silk shapes using . 5. Input silk text by using .
Set on the panel menu as follows.
Set 1, 2, 39, 40 in order. Click where you want to input text.
Footprint Name CN-DIP40 Pin Count 40 Pin Shape VIA0.7-1.3 (Padstack Name) Resist Shape (Pad Name) Part Heigaht From 2 To 7 Silk width 0.2 mm Use for Panel OFF
Copying data already registered
Editing Pin Shape
Character String: Character Width: 1.5 Character Height: 2.0 Pen Width: 0.2
2.54
2.54
5.08
The same shape as the symbol mark figure
50.8
COC Area
3 - 97
4. Registering Footprints
Chapter 3 Creating a Footprint Library (.ftp)
6. Input a component area.
Change the size of the component area to that of the silk shape.
7. Set the drawing size.
COC Area
Changing Component Areas
Setting Drawing Size
Chapter 3 Creating a Footprint Library (.ftp)
3 - 98
4. Registering Footprints
1. Set 1.0mm for the grid pitch. 2. Set the drawing size.
3. Input two padstacks and set pins by using .
4. Select Comp-symbol for an active layer and input silk shapes. 5. Save JUMPER10 as JUMPER20 and register JUMPER20.
Move the construction points of padstack and silk figure by using .
Footprint Name JUMPER10 Pin Count 2 Pin Shape VIA0.8-1.4 (Padstack Name) Resist Shape (Pad Name) Part Height From To Silk width 0.2 mm Use for Panel Not used
10
Footprint Name JUMPER20 Pin Count 2 Pin Shape VIA0.8-1.4 (Padstack Name) Resist Shape (Pad Name) Part Height From To Silk width 0.2 mm Use for Panel Not used
20
Setting Grid
Inputting Pin Shape
Inputting a Silk Shape
Performing Save As to register a differentcomponent
Width: 12 Height: 4 Drawing OriginX: 1 Drawing OriginY: 2
3 - 99
4. Registering Footprints
Chapter 3 Creating a Footprint Library (.ftp)
Register a logo mark as a component. 1. Set the drawing size. 2. Select Comp-symbol for an active layer, and input a star mark.
Set 0.25mm for the grid pitch.
Input the shape using a 0.2-mm width line.
3. Set the drawing area size again.
3. Input the letters "Star." by using .
Set as follows on the panel menu.
Footprint Name PLOGO2 Pin Count Pin Shape (Padstack Name) Resist Shape (Pad Name) Part Height From To Silk width 0.2 mm Use for Panel Not used
3.5
3.5
String: Star Character Width: 3 Height: 4 Text Line Width: 0.2
Setting Drawing Area Size
Setting Grid
Inputting Shape
Width: 4 Height: 4 Drawing OriginX: 2 Drawing OriginY: 3.75
Chapter 3 Creating a Footprint Library (.ftp)
3 - 100
4. Registering Footprints
1. Set the drawing size.
2. Set 1.0mm for the grid pitch. 3. Input the figure on Comp-mark layer.
Select Comp-mark for active layer. Input by using (Input Line) and shape (Circle). Set the line width to 0.2 mm.
Footprint Name MARK4 Pin Count Pin Shape (Padstack Name) Resist Shape (Pad Name) Part Height From To Silk width 0.2 mm Use for Panel Used
10.0
6.0
Setting Drawing Area Size
Setting Grid
Input Figure
4 - 1
1. Creating a Package Library (.pkg)
Chapter 4 Package Library (.pkg)
Package Library Package library is the library that stores package data such as the type of package (SOP, DIP, etc.) and the package’s footprint. The package data is referred to by part data in part library. Register the following information with the package data. No tool to refer to the body diameter and the lead diameter is now available. Name package data as well as the data in the footprint library. The name should be one that you can recognize the shape and type easily from. Package data is registered with the package library from the package editor.
Package Library File
Package Library
Package Data
Package Name: DIP14-A Package Type: DIP Footprint Name: DIP14
Footprint Library
Footprint Data DIP14
Padstack Data
Pad Data
Refers to
Information to be Registered
● Package Type
● Footprint Specification Name
● Whether there is a different footprint depending on mounting surfaces
● Footprint Setting corresponding to Package
● Body Diameter
● Lead Line Diameter
Package Type: DIP Footprint Name: DIP14
Caution!
Caution!
Package Editor PKG
Chapter 4 Package Library (.pkg)
4 - 2
1. Creating a Package Library (.pkg)
Footprint library registration has been completed in the preceding page. The following package data is registered with the cmp.pkg package library file while referencing the footprint data.
PKG File Path Name C:\home\lesson2\cdb\cmp.pkg
Register PKG
FTP
Reference Registration Procedure
Package Registration
Package Name: SOP14-A Package Type: SOP(Small Outline Package) Footprint Name: SOP14 (both sides)
Package Data to be Registered
Package Library Registration Procedure
cmp.pkg
4 - 3 Chapter 4 Package Library (.pkg)
2. Registering Packages Starting the Package Editor
Start the package editor.
1. After confirming the package library file name, click the package editor start button in Components Manager.
(1) Click Environment → Library…
on the menu bar of Components Manager. The Library dialog is displayed. The padstack to be edited will be stored in a file shown in the display field for the package library file name.
The file name displayed is the one written in the CDB global data resource. The displayed file name and path can be changed by changing resources, but neither Components Manager nor CDB editors can change them. To set the resource file, refer to [Library List Files] on page 2-15. If the displayed file name does not exist, it will be created automatically when the tool starts.
(2) Click (Package Editor).
2. The editor of the Package Editor appears.
Lesson
C:\home\lesson2\cdb\cmp.pkg
Reference
Caution!
Does not Exist PKG
xx.pkg
Automatic Creation
Check
Click
Package Name Field
Body Diameter Field
Error Message Display Field
Mounting Form Table
Different Footprint Selecting Button
Menu BarWindow Border
Unit Option Menu
Package Type Option Menu
Lead Line Diameter Field
Menu Tab
Chapter 4 Package Library (.pkg)
4 - 4
2. Registering Packages
Register the following package data.
1. Set the package name.
Set "SOP14-A" in the package name field.
2. Click Basic Information on the menu tab.
3. Select the package type. Click the package type selection button, and select SOP from the list.
* Package Type
The package type is referred to as the component selection key item when using the Board Designer's Select Manager.
If AXIAL or RADIAL is selected for a package type:
The insertion pitch and insertion height fields are displayed in the footprint setting area.
No tool to refer to the insertion pitch and the insertion height is now available.
Package Name: SOP14-A Package Type: SOP(Small Outline Package) Footprint Name: SOP14 (both sides)
Lesson
Caution!
PackageName: SOP14-A
Registering Packages
Package Type
SOP
Click
Chapter 4 Package Library (.pkg)
4 - 5
2. Registering Packages
4. Set the footprint name corresponding to the package name SOP14-A. Set the footprint data that corresponds to the package in the footprint setting area.
Footprint for each Mounting Side
(1) Set "default" for the footprint specification name.
Click the cell of the Footprint Specification Name column and enter "default."
The footprint specification name is set in the design rules file and referred to when generating a new PC board. For details, refer to [Operation by Footprint Specification] on page 7-9.
(2) Set "SOP14" for the footprint name of both A- and B-sides.
Enter “SOP14” from the keyboard in the same way as a footprint specification name is set.
Instead of entering from the keyboard, you can start the Search for Footprint dialog and select footprint.
.
OFF: Same footprints on both sides
ON: Different footprint on both sides A and B
Reference
(OFF) (ON)
Enter a footprint specification name from the keyboard and save data. This enable youto select the saved data from the pull-down menu in the Footprint Name cell the next time you register new package data.
Select a footprint name and click OK.
The footprint name is set.
In the Footprint Name cell, select Search Dialog on the assist menu.
Click Click
Click
Chapter 4 Package Library (.pkg)
4 - 6
2. Registering Packages
It is possible to assign multiple footprints to one package name. If several footprints have the same footprint specification name, set the Default check box ON for the footprint that has the highest frequency of use among them. The footprint set Defalt:ON is loaded when the Board Generation is executed. If you would like to change footprints with Component Mapping Editor when new board is generated, set Map Component is set to ON. It can be set Board Generation / Set up Tool dialog that can be started from Tool on the menu bar of Board Generation Set up Tool. * default ABC DEF DEF Low GHI
When a default value is omitted, the footprint at the top of the list is a default value.
1. Click Append Row on the assist menu. 2. Set footprint specification name and footprint
name in the appended row.
1. Click a footprint name to delete. 2. Click Delete Row on the assist menu.
Footprint Spec Name Footprint Name default ABC
When Adding More than One Footprint to List
Board Generation Tool
Note
[Package Information] [Component Mapping Editor] Footprint Spec Name
Footprint Name
Select one for default among footprints having same footprint spec name.
Default Flag for footprint specification name
When Deleting from the List
Click
Click
Chapter 4 Package Library (.pkg)
4 - 7
2. Registering Packages
5. Body Diameter and Lead Line Diameter 6. Save the data.
Select Save from File on the menu bar.
6. Close the package editor.
Select Exit from File on the menu bar.
For details on Menu bar/File, refer to the Note in [Chapter 3, 2. Registering Pads] on page 3-20. For limitations on characters to be used, refer to [List of Prohibited Characters] on page A-57. Characters are case-sensitive.
No tool to refer to these isnow available.
Reference
Caution!
Click
Click
Chapter 4 Package Library (.pkg)
4 - 8
2. Registering Packages
Register the package data using the footprint data you registered in previous sections. The library name the package data is to be registered to is as follows: Set the same footprint names for both A- side and B-side. Package Name Package Type Footprint Spec. Name Footprint Name CN-DIP40-K INS-CONNECTOR default CN-DIP40 DIP24-Y DIP default DIP24 DIP40-Y DIP default DIP40 SOP14-A SOP default SOP14 SOP16-A SOP default SOP16
The grayed-out cell means the values are already registered.
Registering Package Data
C:\home\lesson2\cdb\cmp.pkg
Caution!
5 - 1
1. Creating a Part Library (.prt)
Chapter 5 Part Library (.prt)
Part Libraries Part library is the library that stores the internal properties of component. Internal property data includes part data, pin assignment data and function data. The correlation of the data is as follows.
The data given above is managed by name. In addition, the part library data is extracted when extracting LDCB from CDB. The names should be ones from which you can easily recognize the gates and elements. For those using LCDB in the System Designer, refer to [1 Extracting LCDB from CDB] on page A-1.
Part data, pin assignment data and function data are registered to the part library file (.prt) using the respective editors.
PKG
Package Name: DIP14-A
Refers to
Caution!
Reference
Pin Assignment Editor
Function Editor
Part Editor
PRT
Part Library File
Part Library
Part Data Pin Assignment Data Function Data
Pin Assignment Name: AND2X4
Function Name: AND2
Function Name: AND2
1 1A 1 A 2 1B 1 B 3 1Y 1 Y . . . . . . . . 13 4B 4 B 14 +5V 1,2,3,4 +5V
A INPUT B INPUT Y OUTPUT
Refers to
Part Name: 74LS08 Pin Assignment Name:
AND2X4 Package Name: DIP14-A
Refers to
Files to be stored
Chapter 5 Part Library (.prt)
5 - 2
1. Creating a Part Library (.prt)
Using SN74LS08 as an example, now register function data, pin assignment data and part data in that order. The part library file is "cmp.prt".
Part Library Registration Procedure
PRT File Path Name C:\home\lesson2\cdb\cmp.prt
Pin Assignment Editor
Part Editor
Function Editor
SN74LS081 1A 1 A 2 1B 1 B 3 1Y 1 Y . . . . . . . . . . . . . . . . 13 4B 4 B 14 +5V 1,2,3,4 +5V
Function Registration
Pin Assignment Registration
Part Registration
Register a Function
A=B B
A Y Function Name
AND2
Register Parts
Pin Assignment Name
AND2*4
Part Name
SN74LS08
Stock code : Z121A1112
14 13 12 11 10 9 8
1 2 3 4 5 6 7
1 2
34
Register Pin AssignmentsVCC 4A 4B 4Y 3A 3B 3Y
1A 1B 1Y 2A 2B 2Y GND
5 - 3 Chapter 5 Part Library (.prt)
2. Registering Function Data Function Data
Function data registers data concerning each gate inside components.
Function data registers the following data.
The equivalent pin definition is referred to as pin swapping data when linking with the System Designer or wiring design with the Board Designer.
Function data is referred to by pin assignment.
Gate Data
B
A Y
● The Number of Gate Pins (including normal power supply)
● Gate Pin Names ● Input/Output Attributes of Pins ● Equivalent Pin Definition
Caution!
Function Data
Refers to
Pin Assignment Data
X 4
X 4
Chapter 5 Part Library (.prt)
5 - 4
2. Registering Function Data
Now start the Function Editor.
1. After confirming the part library file name, click the function editor start button in Components Manager.
(1) Environment → Library… on
the menu bar of Components Manager. The Library dialog is displayed. The function, pin assignment and part data to be edited will be stored in a file shown in the display field for the part library file name.
The file name displayed is the one written in the CDB global data resource. The displayed file name and path can be changed by changing resources, but neither Components Manager nor CDB editors can change them. To set the resource file, refer to [Library List Files] on page 2-15. If the displayed file does not exist, it is automatically created when the tool is started.
(2) Click (Function Editor).
2. The editor for the function editor appears.
Starting the Function Editor
Lesson
C:\home\lesson2\cdb\cmp.prt
Reference
Caution!
Does not Exist PRT
xx.prt
Automatic Creation
Check
Click
Menu Bar Function Name Field
Schematic Symbol Name Field
Function Pin Setting Field
Function Pin Table
Equivalent Pin Setting FieldError Message Display Field
Window Border
Menu Tab Internal Function Selection Button
5 - 5
2. Registering Function Data
Chapter 5 Part Library (.prt)
Now register function data for SN74LS08. SN74LS08 has four AND gates as shown in the figure below. The function data defines these AND gates.
1. Set the function name. Set the function name to “AND2”.
2. Click Basic Information on the Menu tab. 3. Internal function data will not be used.
Make sure the box is not checked.
The menu display is different depending on internal function data is used or not.
Internal function is used Internal function is not used.
Internal function is used to represent the hierarchical structure of a function that consists of function(s) in itself. However, internal function(s) contained in a function can not be referred when gate swapping etc. There is no way to make good use of this setting now.
* Schematic Symbol
When specifying a schematic symbol, register it from the schematic symbol name setting table.
The schematic symbol definition is omitted from this lesson.
Registering Function Data
B
A Y Function Name: AND2
A=B
Function Name: AND2
Function Registration
Pin Assignment Registration
Part Registration
Lesson
Internal Function
Click
Click
Chapter 5 Part Library (.prt)
5 - 6
2. Registering Function Data
4. Set the number of function pins. Set the number of pins including those for normal power supply. Case of AND Gate
Set 5. Rows are created as many as the pin number.
5.Set each pin data. (1) Name the pins.
Click the cell of one of the Pin Name and enter “A” from the keyboard.
Set as follows sequentially.
(2) Set an input property for each pin. Click and hold in the I/O cell of Pin Name “A” by left mouse button, and release it in the I/O cell of Pin Name “B”. Select INPUT from the I/O list. Values are set for multiple rows. Then, set the following values.
The function pin table will look like the picture on the left.
Pin I/O type is data referred to by the "Rule Check" in the System Designer. For details on the Rule Check, refer to the [System Designer Operation Guide -Master-].
Setting Pin Count
Reference
Pin Name Pin ID B 2 Y 3 +5V 4 GND 5
Pin Name Pin ID Input/Output Y 3 OUTPUT +5V 4 POWER GND 5 GROUND
Setting Input Property
Pin Count 3 + Conventional Power supply 2 = 5
Release Hold
Setting Pin Name
5 - 7
2. Registering Function Data
Chapter 5 Part Library (.prt)
* Power Supply and Ground
When registering function data, be sure to register conventional power supplies such as the one shown in the figure below, to the function list.
5. Now, set the equivalent pin definition. Set "Pin A and Pin B as equivalent". Input "A = B" in the equivalent pin edit field and press the [Return] key.
* Equivalent Pin Definition
The equivalent pin definition is referred to as pin swapping data when editing schematics in the System Designer or PCB design in the Board Designer.
Actual equivalent definition is carried out only for pins that protrude from the dashed line box.
To set all pins as equivalent, on the menu bar click Utilities Set All Pins To Be Equivalent.
Any one gate has only three pins. This is because in reality each ofthe four gates shown in the figureon the left is shown without powersupply and ground.
Why?
GND+5V
Pin A/B group is equivalent to Pin C/D group.
Equivalent pin A/B group is equivalent to Equivalent pin C/D group. Example
+5V
GND
(A, B) = (C, D) (A = B) = (C = D)
Equivalent pin definition
Equivalent Pin Edit Field
Note
Chapter 5 Part Library (.prt)
5 - 8
2. Registering Function Data
7. Save the data. Select Save from File on the menu bar.
If you want to continue registering data, return to "1. Set the Function Name" on page 5-5.
8. Close the function editor. Select Exit from File on the menu bar.
For details on Menu bar/File, refer to Note in [Chapter 3, 2. Registering Pads] on page 3-20.
Reference
Click
Note
Click
5 - 9
2. Registering Function Data
Chapter 5 Part Library (.prt)
Referring to [5. Examples of Part Library Registration] on page 5-34, register the function data for the following elements. The part library name that the function data is to be registered to is as follows:
Element Name Function Name Function Data Ref. Page SN74LS04 INV P5-35 SN74LS08 AND2 P5-36 SN74LS32 OR2 P5-37 SN74LS74 DFF P5-38
CONNECT40 CON1 P5-43 The grayed cell means the values are already registered.
Registering Function Data
Caution!
C:\home\lesson2\cdb\cmp.prt
5 - 10 Chapter 5 Part Library (.prt)
3. Registering Pin Assignments Pin Assignment
Data concerning the connection between component pins and interior gates is registered with pin assignments.
The data to be registered with pin assignment is as follows:
The number of gates and function names are referred to as gate swapping data for wiring design in the Board Designer.
1 1A 1 A 2 1B 1 B 3 1Y 1 Y 4 2A 2 A 5 2B 2 B 6 2Y 2 Y 7 GND 1,2,3,4 GROUND8 3Y 3 Y 9 3A 3 A 10 3B 3 B 11 4Y 4 Y 12 4A 4 A 13 4B 4 B 14 +5V 1,2,3,4 +5V
● Gate Count and Function Names ● Correspondence between Component Pins and Gate Pins● Component Pin Count
Data to be Registered
Caution!
Function Data
Refers to
Pin Assignment Data
X 4
1 1A 1 A 2 1B 1 B 3 1Y 1 Y . . . . . . . . . . . . . . . . 13 4B 4 B 14 +5V 1,2,3,4 POWER
Pin assignment data refers to function data.
Part Data
Refers to
Pin assignment data is referred to by part data.
5 - 11 Chapter 5 Part Library (.prt)
3. Registering Pin Assignments
Now start the pin assignment editor.
1. Click the pin assignment editor start button in Components Manager.
Click (Pin Assignment Editor).
2. The editor for the pin assignment editor is displayed.
Starting the Pin Assignment Editor
Lesson
Pin Assignment Table
Gate Count Setting Field
Function Table
Pin Count Edit Field
Error Message Field
Schematic Symbol Name Setting Field
Menu BarWindow Border
Menu Tab
Pin Assignment Name Field
Chapter 5 Part Library (.prt)
5 - 12
3. Registering Pin Assignments
Now register the pin assignment for "SN74LS08" while referring to the function "AND2" registered in [Registering Function Data] on page 5-5.
1. Set the pin assignment name. Enter "AND2*4" in the pin assignment name field.
2. Click Basic Information on the menu tab. 3. Set the function table.
(1) Set the number of gates.
Set "4" as the number of gates as shown in the figure above.
(2) Specify the function name for each gates.
On a Function Name cell in function table, click right button to display the assist menu. Click Search dialog on the menu. Search for Functions dialog appears.
Registering Pin Assignment Function Registration
Pin Assignment Registration
Part Registration
1 1A 1 A 2 1B 1 B 3 1Y 1 Y 4 2A 2 A 5 2B 2 B 6 2Y 2 Y 7 GND 1,2,3,4 GND 8 3Y 3 Y 9 3A 3 A 10 3B 3 B 11 4Y 4 Y 12 4A 4 A 13 4B 4 B 14 +5V 1,2,3,4 +5V
SN74LS08
Pin Assignment Name: AND2*4
Pin Assignment Name: AND2*4 Lesson
Click
Click
(1)
5 - 13 Chapter 5 Part Library (.prt)
3. Registering Pin Assignments
Select all cells of function name in the function table.
Click “AND2” in the Search for the Functions dialog. Then click OK.
Function name is set for all gates.
The function name set in the function table are referred to as gate swapping data during wiring design in Board Desinger.
It is possible to show the same function names in one row. Set Collective Disp. of Gate Nos. ON on the assist menu in the function table.
Internal Function List
Display of Function table
Collective Disp. of Gate Nos: OFF ON
Hold
Release
Click
Click
Chapter 5 Part Library (.prt)
5 - 14
3. Registering Pin Assignments
4. Set the pin assignment table. (1) Set the number of component pins.
SN74LS08 has 14 pins, so set "14".
(2) Set gate numbers and function pin names for pin numbers 1-14.
Display the assist menu in the Pin assignment table. Click Connect on the menu. Connect dialog appears. Set ON for Display unconnected pins only and Assign to the selected pin and after. See the cursor ( ) is on the first row. Select the following pins in the Connect dialog. Gate No. Connection Pin Name
1 A 1 B 1 Y 2 A 2 B 2 Y
To select multiple rows, hold Shift key or Ctrl key down and click the rows. Click Connect. “Gate No.” and “Connection Pin Name” are assigned to the selected pins from top down. “Pin Name” is automatically created with Gate No. and Connection Pin name.
Click
Click
5 - 15 Chapter 5 Part Library (.prt)
3. Registering Pin Assignments
(3) Set Pin no. 7 as a common pin connected to GND. See the cursor is on the row of pin no. 7 Type “GND” in the filter cell of Connection Pin Name. Select all pins whose connection pin names are “GND”. Check Assign to the selected pin and after off. Click Connect. All GND pins are assigned to no.7 pin.
It is possible to represent consecutive gate number as one using “-“. e.g. Gate Number: 1,2,3,4 1-4
Pin name of common pin is automatically created with Gate No. that is selected first + Connection pin name.
(4) Change the pin name of pin no. 7 to “GND”.
Double-click the pin name cell. Change to “GND”.
You do not have to use Connection dialog. It is also possible to enter value from keyboard. If you would like to input consecutive numeric values, Auto Input function is available.
If you enter gate number and connection pin name from keyboard, it is examined if it is consistent. The wrong string can not be accepted.
Click
Double-Click
Note
Caution!
If wrong string is entered by Auto InputIf wrong string is entered from keyboard.
How to use Pin Assignment Table
Click a cell filled with a value. Click Auto Pin on the assist menu.
Click the cell in which the AutoInput is ended up.
Auto Input
Caution!
Click
Click
Chapter 5 Part Library (.prt)
5 - 16
3. Registering Pin Assignments
Set the following values to the pin assignment table.
It will be then shown as in the left figure.
4. Save the data.
Select Save from File on the menu bar.
To edit continuously, start from [1. Set Pin Assignment Name] on page 5-12 again.
Pin No. Pin Name Function No. Function Pin Name 1 1A 1 A 2 1B 1 B 3 1Y 1 Y 4 2A 2 A 5 2B 2 B 6 2Y 2 Y 7 GND 1,2,3,4 GND 8 3Y 3 Y 9 3A 3 A 10 3B 3 B 11 4Y 4 Y 12 4A 4 A 13 4B 4 B 14 +5V 1,2,3,4 +5V
Click
5 - 17 Chapter 5 Part Library (.prt)
3. Registering Pin Assignments
5. Close the Pin Assignment Editor.
Select Exit from File on the menu bar.
For details on Menu bar/File, refer to Note in [Chapter 3, 2. Registering Pads] on page 3-20.
Referring to [5. Examples of Part Library Registration] on page 5-34, register the pin assignment data for the following elements using the function data you registered in [Chapter 5, 2 Registering Function Data]. The part library name the pin assignment data is to be registered to is as follows:
Element Name Pin Assignment Name Pin Assignment Data Ref. Page
SN74LS04 INV*6 P5-35
SN74LS08 AND2*4 P5-36
SN74LS32 OR2*4 P5-37
SN74LS74 DFF*2 P5-38
CONNECT40 CON1*40 P5-43
The grayed cell means the values are already registered.
Reference
Registering Pin Assignment Data
C:\home\lesson2\cdb\cmp.prt
Caution!
Click
5 - 18 Chapter 5 Part Library (.prt)
4. Registering Parts
Part data consists of two data: pin assignment/package data and stock code/other data. An internal property and the component shape of an element can be determined by assigning the above-mentioned two items to the element data.
Register the following data also.
One set of part data is required for each component without exception (one-to-one correspondence). *1 A component property is also called a “user-defined property,” users can set their unique items for each
component.
SN74LS08
Data to be Registered
[Basic Information] ● Part Kind ● Package name ● Pin Assignment
(assigned/not assigned) ● Pin Assignment Name
(if assigned) ● Pin data(if not assigned) [Stock Code ID](if Packaged Part) ● Stock Code ID [Gate Function] (If Pin Assignment is assigned)
[Attributes] ● Approved/Unapproved ● Use for Schematic ● Use for Layout ● Output Parts List ● Logical Polarity ● Jumper ● Solder Method ● Part Class ● Component Attribute *1
Caution!
1 1A 1 A 2 1B 1 B 3 1Y 1 Y 4 2A 2 A 5 2B 2 B 6 2Y 2 Y 7 GND 1,2,3,4 GND 8 3Y 3 Y 9 3A 3 A 10 3B 3 B 11 4Y 4 Y 12 4A 4 A 13 4B 4 B 14 +5V 1,2,3,4 +5V
Parts
5 - 19
4. Registering Parts
Chapter 5 Part Library (.prt)
Start the part editor.
1. Click the part editor start button in Components Manager.
Click (Part Editor).
2. The editor for the part editor is displayed.
Starting the Part Editor
Lesson
Click
Menu Tab Part Kind Selecting Button
Package Name/Footprint Name Field Pin Assignment Selection Button
Pin Assignment Name Field Pin Count Field
Menu Bar Approved Selecting List
Window BorderPart Name Field
Schematic Symbol Name Field
Pin information Table
Error Message Field
Log Display
Part Class (System Attribute)
Component Attribute (User-defined Attribute)
Unapproved Reason
Chapter 5 Part Library (.prt)
5 - 20
4. Registering Parts
The following tabs are available depending on the setting of Basic Information. [Stock Code ID] tab
It is available if Part Kind is Packaged Part. Stock Code ID and its attributes can be defined.
[Gate Function] tab
It is available if Pin Assignment is used. It is possible to set gate attributes and gate pin attribute of the part.
Stock Code ID information Table
5 - 21
4. Registering Parts
Chapter 5 Part Library (.prt)
Now register part data for "SN74LS08" while referring to "SOP14-A" (registered in [Chapter 4, 2. Registering Packages]) and "AND2*4" (registered in [Chapter 5, 3. Registering Pin Assignments]).
1. Set the part name. Enter “SN74LS08” in the part name field.
2. Click Basic Information on the menu tab.
3. Set the Part Kind. Select Packaged Part from the Part Kind option list.
Packaged Part Components mounted by soldering (regular components), and laid out by Floor Planner, the placement/wiring tool in the Board Designer. Specify the package name if Packaged Part is selected.
Printed Part Components such as a logo created when the PC board is made. It is laid out by the PC board shaped editor, Floor Planner, the Placement/Wiring Tool and Artwork Tool in the Board Designer. Specify footprint name if Printed Part is selected.
For setting of printed parts, refer to [Registering Printed Parts] on page 6-11.
Registering Parts Function Registration
Pin Assignment Registration
Part Registration
Setting Part Name Part Name: SN74LS08 Lesson
Part Kind
S t a rPackaged Part Printed Part
Note
Reference
Part Name : SN74LS08
1 1A 1 A 2 1B 1 B 3 1Y 1 Y 4 2A 2 A 5 2B 2 B 6 2Y 2 Y 14 +5V 1,2,3,4 +5V
Pin Assignment Name : AND2*4Package Name : SOP14-A
Click
Chapter 5 Part Library (.prt)
5 - 22
4. Registering Parts
4. Specify the package name.
(1) Click the list icon and display the Search for Packages dialog.
(2) Select “SOP14-A”. Click OK.
You can type the name directly into the package name field. If you type in a name that is not registered in the package library, the message dialog shown on the right appears. Click Yes, and the package editor starts, and you can proceed to register the package. Click No, and the name is input as it is. Be sure, however, to register the package.
Setting Package Name
Note
Click
Click
Click
5 - 23
4. Registering Parts
Chapter 5 Part Library (.prt)
5. Set the pin assignment data.
(1) Check Pin Assignment box ON. (2) If Pin Assignment is checked
ON, set the pin assignment name.
(3) Select AND2*4 in the Search
for PinAssigns dialog, and click OK.
(4) The pin assignment information
is displayed in the pin information table.
6. Click Log/Attribute on the menu tab. Click
Click
Click
Click
Click
Chapter 5 Part Library (.prt)
5 - 24
4. Registering Parts
7. Set the Use for Schematic. Check Use for Schematic box ON.
This item defines whether or not to use as a System Designer (schematic editor) component.
Example : If component(s) are used in Board Designer:
Even if the Use for Schematic box is checked OFF, the part is extracted to LCDB when Extract LCDB is executed. For those using LCDB in the System Designer, refer to [1. Extracting LCDB from CDB] on page A-1.
8. Set the Use for Layout. Check Use for Layout box ON.
This item defines whether or not to use as a Board Designer (on PCB) component.
Example : If component(s) are used in the System Designer:
9. Set the Parts List Output. Check Parts List Output box ON.
This item defines whether or not the component is applicable when outputting the System Designer parts list.
Example : If component(s) are used in System Designer:
Reference
Use for Schematic (Components to be Back-annotated)
Use for Schematic
Caution!
Use for Schematic
For backward annotation Not for backward annotation
Example
Setting Use for Schematic
Click
Use for Layout
For forward annotation
Example
Not for forward annotation
Use for Layout Use for Layout
Click
Output Parts List
Example
Parts List Output
For component list output Not for component list output Parts List Output
Click
Setting Use for Layout.
Setting Parts List Output.
5 - 25
4. Registering Parts
Chapter 5 Part Library (.prt)
10. Set the logical polarity. Check Logical Polarity box ON.
Logical polarity defines whether polarity must be observed for the pins in 2-pin components. This information is referred to as pin swapping data when schematic editing in the System Designer or PCB design in the Board Designer.
The pin equivalence is carried out when registering functions for components with three pins or more. For equivalent pins, refer to [Equivalent Pin Definition] on page 5-7.
11. Define whether the part is handled as jumper or not. Check Jumper box OFF.
This item defines whether the component is handled as a normal component or a jumper in Board Designer.
Logical Polarity
Pins are not swappable. Pins are swappable.
Logical Polarity: Present A ≠ B
Caution!
Reference
Logical Polarity: Absent A = B
Setting Logical Polarity
A B A B
Click
Part Type
Normal Jumper
Jumper Jumper
Setting as jumper
Chapter 5 Part Library (.prt)
5 - 26
4. Registering Parts
12. Set the solder method. Select Unlimited from the Solder Method selection list.
The solder method is referred to for placement surface check during component placement designing in the Board Designer. The methods set here are as follows:
● Unlimited ● Not Flow-solderable ● Reflow-solderable Only Once
Components indicated by the solder methods are as follows.
Unlimited Components for which both flow and reflow soldering can be used. Ex: Chip components, SOP components.
Not Flow-solderable Components for which only reflow soldering can be used for mounting. Ex: Insert-mounted components, QFP components.
Reflow-solderable Only Once Components for which only reflow soldering can be used, and then only once.
The surface on which components may be placed is determined according to the correlation of the solder method and the technology soldering attribute.
Solder Method Unlimited Not
Flow-solderable Reflow-solderable
Only Once Flow o x x Reflow o o x Reflow x1 o o o
Soldering Attribute Technology Registration Tool Undefined o o o
(O indicates placement is possible, X impossible.)
13. Set the part class. Click Module from the Part Class list.
Set this item if you use “Library Conversion [CDB -> PWS]”.
14. Click Stock Code ID on the menu tab.
Setting Solder Method
Solder Method
Click
Part Class
Click
Setting Part Class.
5 - 27
4. Registering Parts
Chapter 5 Part Library (.prt)
15. Set Stock Code ID. (1) Click Append Row on the assist
menu in the Stock Code ID information table.
(2) Enter “Z1221A1112” for Stock Code ID.
1. Click Append Row on the assist menu in the Stock Code ID information table.
2. Enter new stock code ID.
1. Click the stock code ID that you want to delete.
2. Click Delete Row on the assist menu in the
Stock Code ID information table.
You can use several stock codes for one package name. If multiple stock code ID are set, check Default box ON for the ID that is used mostly. The default stock code is downloaded when the schematic data load tool is executed.
How to Edit Stock Code
To add Note
To delete
Add one or more Stock Codes to the List
Click
Setting Stock code ID.
Click
Click
Chapter 5 Part Library (.prt)
5 - 28
4. Registering Parts
16. Set the approved part. Click Approved from the Approved Parts list.
The “Approved Part” refers to parts that are assigned formal stock numbers. And the “Unapproved Part” designates parts that are assigned provisional stock numbers.
Upon issuance of formal stock numbers, set the formal part name and register and use it as an admitted part. When a part has had its attribute changed from Unadmitted to Admitted, check to see that its part name is changed to a formal part name. If a new part name is specified, change the old part name.
Selecting “Unapproved” enables you to input a comment in the [Reason] field. The comment you input is automatically input in the user-defined property ([reasonForUnauthorization]) for the component property.
17. Save the data. Click Save from File on the menu bar.
If you want to continue to input data, return to [1. Set the part name] on page 5-21.
18. Close the Part Editor. Click Exit from File on the menu bar.
For details on Menu bar/File, refer to the Note in [Chapter 3, 2. Registering Pads] on page 3-20.
Admitted Part
Admitted Part
A part with a formally defined stock number
Example
A part with an undefined formal stock number
Note
Unapproved part
Setting Approved Part.
Click
Reference
Click
Click
5 - 29
4. Registering Parts
Chapter 5 Part Library (.prt)
The previous pages explained parts that have several gates in a single element. A memory IC or a similar part having no gates or only one gate in the package can be registered with part data only (no pin assignment data). This section explains the registration procedure using SN74LS138 as an example.
Even for a part with no gates or only one gate in the package, you may register function data, pin assignment data, and part data in this order. The data on SN74LS138 is as follows:
[Pin Assignment/Package Information]
Part type = Packaged part
Package name: SOP16-A Pin assignment = None
[Stock Code/Other Information] Stock code Z121A2329 Use for Schematic ON Use for Layout ON Output Parts List ON Logical Polarity Yes Jumper OFF Solder Method Unlimited Par Class Module Approved Approved
Registering Parts not Requiring Pin Assignment Data
With pin assignment data With no pin assignment data
Caution!
Part name: SN74LS138
Pin No. Pin name ID I/O 1 A 1 IO 2 B 2 IO 3 C 3 IO 4 G2A 4 IO 5 G2B 5 IO 6 G1 6 IO 7 Y7 7 O 8 GND 8 GND 9 Y6 9 O 10 Y5 10 O 11 Y4 11 O 12 Y3 12 O 13 Y2 13 O 14 Y1 14 O 15 Y0 15 O 16 +5V 16 VCC
Chapter 5 Part Library (.prt)
5 - 30
4. Registering Parts
1. Follow the ordinary registration procedure for entering a part name and setting a package type and name.
2. Check Pin Assignment OFF. 3. Enter the number of pins directly from the keyboard.
The pin data table displays the specified number of pin numbers.
4. Enter a pin name for each pin number directly from the keyboard. When you set Y6 to Y0, it is easy way to use Auto Input.
1. Input “Y6” and “Y5”.
2. Select both cells of “Y6” and “Y5”.
3. Click Auto Input on the assist menu.
4. Click the Pin name cell of pin no. 15.
Registration Procedure
Pin No. Pin Name
1 A 2 B 3 C 4 G2A 5 G2B 6 G1 7 Y7 8 GND 9 Y6 10 Y5 11 Y4 12 Y3 13 Y2 14 Y1 15 Y0 16 +5V Click
5 - 31
4. Registering Parts
Chapter 5 Part Library (.prt)
5. Select I/O attribute from the list for each pins.
Where the same attribute can be set, it is possible to enter them at once. 1. Select all cells where “BIDIRECT” are set in. 2. Click BIDIRECT from the list. 3. “BIDIRECT” are set in all cells.
The windows below are after all pin data are set. The setting besides [Basic Information] is common to ordinary registration.
[Basic Information] [Stock Code ID]
[Log/Attribute]
Pin No. Pin Name
1 BIDIRECT 2 BIDIRECT 3 BIDIRECT 4 BIDIRECT 5 BIDIRECT 6 BIDIRECT 7 OUTPUT 8 GROUND 9 OUTPUT 10 OUTPUT 11 OUTPUT 12 OUTPUT 13 OUTPUT 14 OUTPUT 15 OUTPUT 16 POWER
Click
Chapter 5 Part Library (.prt)
5 - 32
4. Registering Parts
* Differences between PCB Design With and Without Pin Assignment Data
This section has explained the registration of part data with and without assignment data. The use of pin assignment information in PCB design is explained below. 1. When using the Board Generation Tool
When “Component type = gate” in the symbols used in a circuit diagram, part data with no pin assignment data results in an error. A gate symbol in a circuit diagram has the attributes of part name and function name. Since the Board Producer references the part name and function name, the part data must have pin assignment data that also contains function data.
2. When performing placement and wiring (Pin and gate swapping) Pin assignment data enables pins and gates to be swapped on the Board Designer. With pin assignment data, gates can be swapped because the number and types of existing gates are defined in the data. Function data may contain pin equivalent definitions that make pins interchangeable.
[With pin assignment data]
Part = SN74LS08 Pin Assignment Yes Pin Assignment Name and2*4
(Pin assignment information)
(Part information)
Function name = and21 A 2 B 3 Y 4 VCC 5 GND
(Function information)
[With no pin assignment data] Component type = Gate
Part name = SN74LS08Function name = and2 Part = SN74LS08
Pin Assignment No
Error
Pin Assignment Name =and2*4 4 function names and2 inone package O K
5 - 33
4. Registering Parts
Chapter 5 Part Library (.prt)
Referring to [Chapter 5, 5. Examples of Part Library Registration] on page 5-34, register the part data of the following elements using the pin assignment data you registered in [Chapter 5, 3 Registering Pin Assignments]. The part library name the part data is to be registered with is as follows:
Element Name Part Name Part Data Ref. Page SN74LS04 SN74LS04 P5-35 SN74LS08 SN74LS08 P5-36 SN74LS32 SN74LS32 P5-37 SN74LS74 SN74LS74 P5-38 SN74LS138 SN74LS138 P5-39 SN74LS165 SN74LS165 P5-40 L2732K L2732K P5-41 Z80A Z80A P5-42 CONNECT40 CONNECT40 P5-43
The grayed cell means the values are already registered.
Registering Part Data
C:\home\lesson2\cdb\cmp.prt
Caution!
5 - 34
5. Examples of Part Library Registration
Chapter 5 Part Library (.prt)
Examples of Part Library Registration Register the following elements data to a part library. The part library the data is registered to is as follows:
Part Name Pin Assignment SN74LS04 14-pin IC Present SN74LS08 14-pin IC Present SN74LS32 14-pin IC Present SN74LS74 14-pin IC Present SN74LS138 16-pin IC Absent SN74LS165 16-pin IC Absent L2732K 24-pin IC Absent Z80A 40-pin IC Absent CONNECT40 40-pin Connector Present
The grayed cell means the values are already registered.
C:\home\lesson2\cdb\cmp.prt
Caution!
Part to beRegistered
5 - 35 Chapter 5 Part Library (.prt)
5. Examples of Part Library R i i
Pin Count Pin Equivalence
Part Name SN74LS04
Pin Assignment Name INV*6
Function Count 6 Function Name INV
Pin No. Pin Name ID Function No. Function Name Pin No. Pin Name ID Function No. Function Name 1 1A 1 1 A 2 1Y 2 1 Y 3 2A 3 2 A 4 2Y 4 2 Y 5 3A 5 3 A 6 3Y 6 3 Y 7 GND 7 1-6 GND 8 4Y 8 4 Y 9 4A 9 4 A 10 5Y 10 5 Y 11 5A 11 5 A 12 6Y 12 6 Y 13 6A 13 6 A 14 +5V 14 1-6 +5V
Function Name INV
Pin Name ID Input/Output Pin Name ID Input/OutputA 1 INPUT Y 2 OUTPUT
+5V 3 POWER GND 4 GROUND
4
Pin Assignment Present
Pin Assignment Name INV*6
Part Kind Packaged Part
Package Name SOP14-A
Stock Code Z121A1110
Use for Schematic YES Use for Layout YES Output Parts List YES Logical Polarity Present Jumper NO Solder Method Unlimited Part Class Module
Approved Approved
Chapter 5 Part Library (.prt)
5 - 36
5. Examples of Part Library
Pin Count Pin Equivalence
Part Name SN74LS08
Pin Assignment Name AND2*4
Function Count 4 Function Name AND2
Pin No. Pin Name ID Function No. Function Name Pin No. Pin Name ID Function No. Function Name 1 1A 1 1 A 2 1B 2 1 B 3 1Y 3 1 Y 4 2A 4 2 A 5 2B 5 2 B 6 2Y 6 2 Y 7 GND 7 1-4 GND 8 3Y 8 3 Y 9 3A 9 3 A 10 3B 10 3 B 11 4Y 11 4 Y 12 4A 12 4 A 13 4B 13 4 B 14 +5V 14 1-4 +5V
Function Name AND2
Pin Name ID Input/Output Pin Name ID Input/OutputA 1 INPUT B 2 INPUT Y 3 OUTPUT
+5V 4 POWER GND 5 GROUND
A=B
5
Pin Assignment Present
Pin Assignment Name AND2*4
Part Kind Packaged Part
Package Name SOP14-A
Stock Code Z121A1112
Use for Schematic YES Use for Layout YES Output Parts List YES Logical Polarity Present Jumper NO Solder Method Unlimited Part Class Module
Approved Approved
5 - 37 Chapter 5 Part Library (.prt)
5. Examples of Part Library R i i
Pin Count Pin Equivalence
Part Name SN74LS32
Pin Assignment Name OR2*4
Function Count 4 Function Name OR2
Pin No. Pin Name ID Function No. Function Name Pin No. Pin Name ID Function No. Function Name 1 1A 1 1 A 2 1B 2 1 B 3 1Y 3 1 Y 4 2A 4 2 A 5 2B 5 2 B 6 2Y 6 2 Y 7 GND 7 1-4 GND 8 3Y 8 3 Y 9 3A 9 3 A 10 3B 10 3 B 11 4Y 11 4 Y 12 4A 12 4 A 13 4B 13 4 B 14 +5V 14 1-4 +5V
Function Name OR2
Pin Name ID Input/Output Pin Name ID Input/OutputA 1 INPUT B 2 INPUT Y 3 OUTPUT
+5V 4 POWER GND 5 GROUND
A=B
5
Pin Assignment Present
Pin Assignment Name OR2*4
Part Kind Packaged Part
Package Name SOP14-A
Stock Code Z121A1118
Use for Schematic YES Use for Layout YES Output Parts List YES Logical Polarity Present Jumper NO Solder Method Unlimited Part Class Module
Approved Approved
Chapter 5 Part Library (.prt)
5 - 38
5. Examples of Part Library
Pin Count Pin Equivalence
Part Name SN74LS74
Pin Assignment Name DFF*2
Function Count 2 Function Name DFF
Pin No. Pin Name ID Function No. Function Name Pin No. Pin Name ID Function No. Function Name 1 1CLR 1 1 CLR 2 1D 2 1 D 3 1CLK 3 1 CLK 4 1PR 4 1 PR 5 1Q 5 1 Q 6 1%Q% 6 1 %Q% 7 GND 7 1-2 GND 8 2%Q% 8 2 %Q% 9 2Q 9 2 Q 10 2PR 10 2 PR 11 2CLK 11 2 CLK 12 2D 12 2 D 13 2CLR 13 2 CLR 14 +5V 14 1-2 +5V
Function Name DFF
Pin Name ID Input/Output Pin Name ID Input/OutputCLR 1 INPUT
D 2 INPUT CLK 3 INPUT PR 4 INPUT Q 5 OUTPUT
%Q% 6 OUTPUT +5V 7 POWER GND 8 GROUND
8
Pin Assignment Present
Pin Assignment Name DFF*2
Part Kind Packaged Part
Package Name SOP14-A
Stock Code Z121A1123
Use for Schematic YES Use for Layout YES Output Parts List YES Logical Polarity Present Jumper NO Solder Method Unlimited Part Class Module
Approved Approved
5 - 39 Chapter 5 Part Library (.prt)
5. Examples of Part Library R i i
Part Name SN74LS138
Pin Count 16
Pin No. Pin Name ID Input/Output Property Pin No. Pin Name ID Input/Output Property 1 A 1 BIDIRECT 2 B 2 BIDIRECT 3 C 3 BIDIRECT 4 G2A 4 BIDIRECT 5 G2B 5 BIDIRECT 6 G1 6 BIDIRECT 7 Y7 7 OUTPUT 8 GND 8 GROUND 9 Y6 9 OUTPUT 10 Y5 10 OUTPUT 11 Y4 11 OUTPUT 12 Y3 12 OUTPUT 13 Y2 13 OUTPUT 14 Y1 14 OUTPUT 15 Y0 15 OUTPUT 16 +5V 16 POWER
Pin Assignment Absent
Pin Assignment Name
Part Kind Packaged Part
Package Name SOP16-A
Stock Code Z121A2329
Use for Schematic YES Use for Layout YES Output Parts List YES Logical Polarity Present Jumper NO Solder Method Unlimited Part Class Module
Approved Approved
Chapter 5 Part Library (.prt)
5 - 40
5. Examples of Part Library
V
Part Name SN74LS165
Pin Count 16
Pin No. Pin Name ID Input/Output Property Pin No. Pin Name ID Input/Output Property 1 SL 1 BIDIRECT 2 CK 2 BIDIRECT 3 E 3 INPUT 4 F 4 INPUT 5 G 5 INPUT 6 H 6 INPUT 7 %QH% 7 OUTPUT 8 GND 8 GROUND 9 QH 9 OUTPUT 10 SI 10 INPUT 11 A 11 INPUT 12 B 12 INPUT 13 C 13 INPUT 14 D 14 INPUT 15 C1 15 BIDIRECT 16 +5V 16 POWER
Pin Assignment Absent
Pin Assignment Name
Part Kind Packaged Part
Package Name SOP16-A
Stock Code Z121A2332
Use for Schematic YES Use for Layout YES Output Parts List YES Logical Polarity Present Jumper NO Solder Method Unlimited Part Class Module
Approved Approved
5 - 41 Chapter 5 Part Library (.prt)
5. Examples of Part Library R i i
Part Name L2732K
Pin Count 24
Pin No. Pin Name ID Input/Output Property Pin No. Pin Name ID Input/Output Property 1 A7 1 INPUT 21 A11 21 INPUT 2 A6 2 INPUT 22 A9 22 INPUT 3 A5 3 INPUT 23 A8 23 INPUT 4 A4 4 INPUTI 24 +5V 24 POWER 5 A3 5 IINPUT 6 A2 6 INPUT 7 A1 7 INPUT 8 A0 8 INPUT 9 D0 9 OUTPUT 10 D1 10 OUTPUT 11 D2 11 OUTPUT 12 GND 12 GROUND 13 D3 13 OUTPUT 14 D4 14 OUTPUT 15 D5 15 OUTPUT 16 D6 16 OUTPUT 17 D7 17 OUTPUT 18 CE 18 BIDIRECT 19 A10 19 OUTPUT 20 OE 20 BIDIRECT
Pin Assignment Absent
Pin Assignment Name
Part Kind Packaged Part
Package Name DIP24-Y
Stock Code Z111Y2049
Use for Schematic YES Use for Layout YES Output Parts List YES Logical Polarity Present Jumper NO Solder Method Not Flow-solderable Part Class Module
Approved Approved
Chapter 5 Part Library (.prt)
5 - 42
5. Examples of Part Library
Part Name Z80A
Pin Count 40
Pin No. Pin Name ID Input/Output Property Pin No. Pin Name ID Input/Output Property 1 A11 1 INPUT 21 RD 21 BIDIRECT 2 A12 2 INPUT 22 WR 22 BIDIRECT 3 A13 3 INPUT 23 BUSAK 23 BIDIRECT 4 A14 4 INPUT 24 WAIT 24 BIDIRECT 5 A15 5 INPUT 25 BUSRQ 25 BIDIRECT 6 CLK 6 BIDIRECT 26 RESET 26 BIDIRECT 7 D4 7 OUTPUT 27 M1 27 BIDIRECT 8 D3 8 OUTPUT 28 RFSH 28 BIDIRECT 9 D5 9 OUTPUT 29 GND 29 GROUND10 D6 10 OUTPUT 30 A0 30 INPUT11 +5V 11 POWER 31 A1 31 INPUT12 D2 12 OUTPUT 32 A2 32 INPUT13 D7 13 OUTPUT 33 A3 33 INPUT14 D0 14 OUTPUT 34 A4 34 INPUT15 D1 15 OUTPUT 35 A5 35 INPUT16 INT 16 BIDIRECT 36 A6 36 INPUT17 NMI 17 BIDIRECT 37 A7 37 INPUT18 HALT 18 BIDIRECT 38 A8 38 INPUT19 MREQ 19 BIDIRECT 39 A9 39 INPUT20 IORQ 20 BIDIRECT 40 A10 40 INPUT
Pin Assignment Absent
Pin Assignment Name
Part Kind Packaged Part
Package Name DIP40-Y
Stock Code Z112a0505
Use for Schematic YES Use for Layout YES Output Parts List YES Logical Polarity Present Jumper NO Solder Method Not Flow-solderable Part Class Module
Approved Approved
5 - 43 Chapter 5 Part Library (.prt)
5. Examples of Part Library R i i
Pin Count 40
Pin Assignment Name CON1*40
Function Name CON1
Pin Count Pin Equivalence
Function Name CON1
Pin Name ID Input/Output Pin Name ID Input/OutputA 1 BIDIRECT
1
Pin No. Pin Name ID Function No. Function Name Pin No. Pin Name ID Function No. Function Name 1 1A 1 1 A 21 21A 21 21 A 2 2A 2 2 A 22 22A 22 22 A 3 3A 3 3 A 23 23A 23 23 A 4 4A 4 4 A 24 24A 24 24 A 5 5A 5 5 A 25 25A 25 25 A 6 6A 6 6 A 26 26A 26 26 A 7 7A 7 7 A 27 27A 27 27 A 8 8A 8 8 A 28 28A 28 28 A 9 9A 9 9 A 29 29A 29 29 A10 10A 10 10 A 30 30A 30 30 A11 11A 11 11 A 31 31A 31 31 A12 12A 12 12 A 32 32A 32 32 A13 13A 13 13 A 33 33A 33 33 A14 14A 14 14 A 34 34A 34 34 A15 15A 15 15 A 35 35A 35 35 A16 16A 16 16 A 36 36A 36 36 A17 17A 17 17 A 37 37A 37 37 A18 18A 18 18 A 38 38A 38 38 A19 19A 19 19 A 39 39A 39 39 A20 20A 20 20 A 40 40A 40 40 A
Part Name CONNECT40
2 4 6 8 10 12 14 16 18 20 22 24 26 28 30 32 34 36 38 401 3 5 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39
Pin Assignment Present
Pin Assignment Name CON1*40
Part Kind Packaged Part
Package Name CN-DIP40-K
Stock Code Z814K9533
Use for Schematic YES Use for Layout YES Output Parts List YES Logical Polarity Present Jumper NO Solder Method Not Flow-solderable Part Class Connector
Approved Approved
Chapter 5 Part Library (.prt)
5 - 44
5. Examples of Part Library
The component libraries are those used in the beginner course. The component libraries you will use in the master course are stored in the following directory.
C:\home\lesson2\cdb\cdb2.ftp
cdb2.pkg cdb2.prt
The following sample component libraries are provided by Zuken whenyou install CR-5000.
C:\cr5000\data\BDsample\BD\cdb\cdb-sample.ftp cdb-sample.pkg cdb-sample.prt
Chapter 6 Registering Special Components
6 - 1
1. Registering 2-terminal Components 2-Terminal Component Registration Procedure
If a component has two terminals like diode and capacitors, the part data only is registered with the part library.
The following data is registered when registering 2-terminal components.
1. Footprint Data (including pad and padstack data if required) 2. Package Data 3. Part Data
The registration procedure is as follows.
Register a necessary shape using the footprint editor. (The necessary pads and padstacks must be registered in advance).
Register package data using the package editor.
Package Name : RESI5.0-S Package Type : AXIAL Footprint Name : RESI5.0
Register part data using the part editor. To define the pin equivalency of a 2-terminal component, use the Logical Polarity in the Stock Code/Other Information section of the part editor.
Required Data for Registration
Registration Procedure Register Footprint Data
Register Package Data
Register Part Data
Chapter 6 Registering Special Components
6 - 2
1. Registering 2-terminal Components
Now register the "resistor" shown below.
Part Kind Packaged Part Pin Count 2 Pin Shape VIA0.7-1.3 Resist Shape (Pad Name) Part Height From 0 To 3 Silk Width 0.2 mm
Package Name Package Type Footprint Spec. Name Footprint Name RESI5.0-S AXIAL default RESI5.0
1. Start the footprint editor and register the footprint.
Register the component shape as shown to the left.
Registering 2-terminal Components Footprint Data
Footprint Name RESI5.0
2.0
2.0 3.0
5.0
COC Area
Package Data
Lesson
Chapter 6 Registering Special Components
6 - 3
1. Registering 2-terminal Components
2. Start the package editor and register the package data.
Set as shown to the left.
If necessary, set the insertion pitch and the insertion height.
[Package Data]
No tool to refer to the insertion pitch and the insertion height is now available.
3. Start the part editor and register part data for "resistor".
Pin Assignment
Symbol Pin ID Pin No. Pin Name Input/Output
1 1 T1 BIDIRECT
2 2 T2 BIDIRECT
Caution!
Part Name 3300HM
1 2T 1 T 2
Pin Assignment Absent
Pin Assignment Name
Part Kind Packaged Part
Package Name RESI5.0-S
Stock Code Z109S7381
Use for Schematic YES Use for Layout YES Output Parts List YES Logical Polarity Absent Jumper NO Solder Method Unlimited Part Class Discrete
Approved Approved
Chapter 6 Registering Special Components
6 - 4
1. Registering 2-terminal Components
When you set the values given in the previous page, the editor should be as below.
Logical polarity setting is as follows:
If registering a resistor or capacitor without polarity: Absent If registering a diode or capacitor with polarity: Present
Whether pins for 2-terminal components are interchangeable or not is determined by whether the logical polarity is set to "Present" or "Absent".
This is limited to cases where neither pins is connected.
You may connect a signal line to pin No.1 which would originally have to have been connected to Pin No.2. After connecting the line to pin No.1, the unconnected line that had been displayed as being connected to Pin No.1 is then displayed as being connected to pin No.2.
Yes
Yes
Yes
Absent
[Basic Information]
1 2
Caution!
Note
[Log/Attribute]
[Stock Code ID]
RESI5.0-S
Z109S7381
Approved
No
Absent Unlimited
Discrete
Chapter 6 Registering Special Components
6 - 5
1. Registering 2-terminal Components
Register the package data and the part data of the following two capacitors.
Part Name 0.33uF Capacitor(Polarity OFF) 1.0uF Capacitor (Polarity ON)
The component shapes are already registered in [Chapter 3. Creating a Footprint Library (.ftp)].
Package Name Package Type Footprint Spec.Name Footprint Name CHIP2014-A CHIP default CHIP2014 CAPA5.0-S AXIAL default CAPA5.0
Pin Assignment Symbol Pin ID Pin No. Pin Name Input/Output
1 1 T1 BIDIRECT
2 2 T2 BIDIRECT
Pin Assignment Symbol Pin ID Pin No. Pin Name Input/Output
1 1 P INPUT
2 2 M OUTPUT
2-terminal Registration Lesson
Part to be Registered
Caution!
Package Data
Part Name 0.33uF
Part Name 1.0uF
1 2T 1 T 2
1 2P M
Pin Assignment Absent
Pin Assignment Name
Part Kind Packaged Part
Package Name CHIP2014-A
Stock Code Z325A8039
Use for Schematic YES Use for Layout YES Output Parts List YES Logical Polarity Absent Jumper NO Solder Method Unlimited Part Class Undefined
Approved Approved
Pin Assignment Absent
Pin Assignment Name
Part Kind Packaged Part
Package Name CAPA5.0-S
Stock Code Z3065S7056
Use for Schematic YES Use for Layout YES Output Parts List YES Logical Polarity Present Jumper NO Solder Method Unlimited Part Class Discrete
Approved Approved
Chapter 6 Registering Special Components
6 - 6
2. Registering Jumper Components Jumper Component Registration Procedure
To register a jumper component produced when wiring with the Board Designer, you must define it as a jumper component within the part data.
The following data is registered when registering a jumper component.
1. Footprint Data (including pad and padstack data if required) 2. Package Data 3. Part Data
The registration procedure is as follows.
Register necessary shapes (shapes in different pitches) using the footprint editor. (The necessary pads and padstacks must be registered in advance).
Register package data using the package editor. Set more than one footprint name used as a jumper for one package.
Register part data using the part editor.
Set ON for Jumper on the Log/Attribute menu tab.
Required Data for Registration
Registration Procedure Register Footprint Data
Register Package Data
Register Part Data
Chapter 6 Registering Special Components
2. Registering Jumper Components
6 - 7
Now, register the jumper component shown below.
Part Kind Packaged Part Pin Count 2 Pin Shape VIA0.8-1.4 (Padstack Name) Resist Shape (Pad Name) Silk Width 0.2 mm Mount Symmetry Absent
Package Name Package Type Footprint Spec. Name Footprint Name JUMPER INS-OTHER default JUMPER10 JUMPER20
1. Start the footprint editor and register the jumper shape described above. 2. Register the package data in the same manner.
(1) Set OFF for Footprint for each Mounting Side.
(2) Select default from the list in the
Footprint Spec Name cell.
(3) Set Jumper10 for Footprint Name
(4) Select Append Row on the
assist menu. A row is appended.
(5) Set JUMPER20 as well.
For settings of multiple footprints, refer to [When Adding More than One Footprint to List] on page 4-6.
Registering Jumper Components
Footprint Data
Footprint Name JUMPER10
Package Data
Lesson
Footprint Name JUMPER20
10
20
Reference
Chapter 6 Registering Special Components
6 - 8
2. Registering Jumper Components
You can change pitches in Board Designer by setting more than one footprint name in the package data.
By specifying the length between two points when a jumper comes up, a jumper in the pitch nearest the specified length will be operated.
3. Start the part editor and register part information.
Pin Assignment
Symbol Pin ID Pin No. Pin Name Input/Output
1 1 T1 BIDIRECT
2 2 T2 BIDIRECT
Set stock code "Z001J0010" for the footprint name "JUMPER 10", and set "Z001J0020" for "JUMPER 20".
Defining More Than One Footprint NameNote
Part Name JUMPER
1 2T 1 T 2
Pitch Change
Registered Jumpers
When GeneratedNo.1
No.2 No.2 P2 P1
X X
Pin Assignment Absent
Pin Assignment Name
Part Kind Packaged Part
Package Name JUMPER
Stock Code Z001J0010
Stock Code Z001J0020
Use for Schematic NO Use for Layout YES Output Parts List YES Logical Polarity Absent Jumper YESSolder Method Unlimited Part Class Undefined
Approved Approved
Chapter 6 Registering Special Components
2. Registering Jumper Components
6 - 9
Set values as shown in the figure on the left in the same way as for "Registering 2-terminal components".
Set ON for Jumper on the Log/Attribute menu tab.
To register 2-terminal components, refer to [Chapter 6, 1. Registering 2-terminal Components] on page 6-1.
A part type defines a component as either a "Normal (ordinary component)" or a "Jumper". It is referred to by the jumper function in the Board Designer.
The default setting is "Normal".
4. Save the Data.
[Basic Information]
[Log/Attribute]
Reference
Jumper Note
Jumper
Components other than Jumper
Normal
Caution!
[Stock Code ID]
Jumper
Click
Chapter 6 Registering Special Components
6 - 10
3. Registering Printed Parts Printed Parts Registration Procedure
Printed parts are parts which are not made as a package when making a PC board but rather are created during the manufacturing process. Printed parts include company marks and logos. Registration of printed parts differs somewhat from registration of ordinary package components. We shall now take a look at data required for registration of printed parts and the registration procedure for printed parts. The following data is registered.
1. Footprint Data (including pad and padstack data if required) 2. Part Data (including function and pin assignment data if required)
Package data is not required since printed parts are not package components.
The registration procedure is as follows.
Register necessary shapes using the footprint editor. (The necessary pads and padstacks must be registered in advance.)
Register part data using the Part Editor. Select Printed Part for Part Kind on Basic Information menu tab. Set the footprint name.
Required Data for Registration
Registration Procedure
Register Footprint Data
Registering Part Data
Caution!
Chapter 6 Registering Special Components
3. Registering Printed Parts
6 - 11
Now, register the mark shown below.
1. Start the footprint editor and register the footprint.
(1) Set "PLOGO1" as the footprint name.
(2) Select Use Parameters from
Environment Drawing Area/Origin on the menu bar and set values as follows:
To set the drawing area and origin, refer to [Drawing Area Size and Origin] on page 3-50.
(3) Set the grid and active layer as follows.
(4) Click (Input Line), and set as follows on the panel menu.
Registering Printed Parts
Footprint Name PLOGO1 Part Name PLOGO1 Part Kind Printed Part
Lesson
Reference
Grid: 0.05mmActive Layer: Comp-symbol
Shape: (Polyline) Line Width: 0.05
Chapter 6 Registering Special Components
6 - 12
3. Registering Printed Parts
(5) Click the coordinates option list under the canvas and select Absolute.
(6) Input “0” for the X coordinate
and “0” for the Y coordinate and click Apply.
It is also possible to input data by using the Input Coordinates dialog box by specifying Coordinates on the assist menu.
(7) Click (Tangent Arc) on the
panel menu and set “0.1” for the radius.
(8) Input the following coordinates to their respective input fields: X=-1, Y=-1.25 Apply.
(9) Click (Segment) on the
panel menu.
(10) Input the following coordinates to their respective input fields: X=-0.4, Y=-1.25 Apply.
(11) Continue in the similar way, being careful about inputting the automatic tangent arc.
When the automatic tangent arc mode is "On", tangent arcs will be generated automatically until (Segment) or (Arc) is clicked.
(12) Click (Move) and click
Rotate. Input “45” for the Angle.
(-0.4, -1.25) (0.4, -1.25)
(1, -1.25)(-1, -1.25)
(-0.4, -2.0) (0.4, 2.0)
(0, 0)
Click
Click
Note
Caution!
Chapter 6 Registering Special Components
3. Registering Printed Parts
6 - 13
(13) Select the line at P1 and click
the (0,0) at P2 where is the center of rotation.
(14) Set again the drawing area.
On the menu bar click Environment Drawing Area/Origin Generate Drawing Area
(15)Set Mounting Polarity to OFF from Attributes on the menu bar.
After registration, close the Footprint Editor.
Chapter 6 Registering Special Components
6 - 14
3. Registering Printed Parts
2. Start Part Editor and register the part.
(1) Enter "PLOGO1" to the Part Name field.
(2) Set Printed Part to ON on the
Basic Information menu tab. (3) Input the previously registered
“PLOGO1” as the footprint name. (It can be selected from the list icon.)
(4) Logos and marks do not require
pin data so you may skip the pin data area.
(5) Save the data.
After completing the registration procedure, Board Designer placement becomes possible.
Footprint Name PLOGO1
Pin Assignment Absent
Pin Assignment Name
Part Kind Printed Part
Footprint Name PLOGO1
Use for Schematic NO Use for Layout YES Output Parts List NO Logical Polarity Absent Solder Method Unlimited Jumper Part Class
Approved Approved
Not to be referred
Board Designer/Board Producer
Chapter 7 Operating CDB
7 - 1
1. User Attributes for Each Tool What are User Attributes?
User-defined attribute is the item that can be set according to each customer’s need. It is set for each of Part, Package and Footprint library with each tool.
Click XX Attribute from Attributes on the menu bar of each tool.
As was previously mentioned, user attributes are items that can be custom-set by each user. There are, however, some attributes which are set in an established format and are referred to when the tool is executed. The attributes referred to by tools in CR-5000 are as follows.
System Designer (When exacting LCDB)
Tool Attr. Name Data type Value to set Meaning Part Pin Assignment Function
symbolName or symbolName*
Character string
Symbol file name without “.smb”
Specify the symbol file name to be used in Schematic.
Part Pin Assignment usePowerBox Character
string YES/NO Define if generating power box or not
Part Pin Assignment powerBoxSymbolName Character
string
Power box symbol file name without “.smb”
Specify the symbol file name to be used for power box.
When “Schematic symbol name” is defined by function pin assignment or part tool, that schematic symbol name is set to “symbolName” automatically.
Log/Attribute tab
[Package/Function/Pin Assignment/ Part Editor]
[Pad/Padstack/Footprint Editor]
Click
User attributes
Chapter 7 Operating CDB
7 - 2
1. User Attributes for Each Tool
Board Designer (Floor Planner, Placement/Wiring tool)
Tool Attr. Name Data type Value to set Meaning Stock code ID Part Package
compAreaBtmHeight Real number
COC Area Bottom Height
Stock code ID Part Package
compAreaTopHeight Real number
COC Area Top Height
Use if you set the other value than that is set for Footprintl
Part Footprint placementLayer Character
string A/B/Both/Neither Restriction of placement side
Part Footprint placementAngle Character
string 0/45/90/135/180/225/270/315/All
Restriction of placement angle
Package Footprint compDRCGroup Character
string
Component DRC Group name
Define the clearance between specified components
Footprint ignoreLayoutArea Character
string YES/NO Define if DRC is ignored at the edge of board.
Footprint
scaling Character string YES/NO
Define if non-schematic component can be scaled
Footprint placeLayerNo Integer Wired layer no.
or 0
Define on which layer it can be placed
Footprint pin_inhibit_type Character
string same_net/connect_only/pin_only
How to check the inhibited figure in-comp.
Footprint
compAreaAutoGenerate Character string YES/NO
Define if component area auto-generation is allowed.
Padstack noWiring Character string YES/Not defined Prohibition of
wiring Stock code ID Part Footprint
TP_LIMITATION Character string YES/NO Define if testpoint
can be generated.
Part
patternPartType Character string
resistor/capacitor/inductor/coupled_line
Define if the component is handled as pattern component
Pad virtualPad Character string YES/Not defined Virtual pad for
pattern component.
Board Designer (Thermal Analysis Tool)
Tool Attr. Name Data type Meaning Stock code ID Part powerDiss Real
number Rated power consumption
Stock code ID Part tjMax Real
number Max. allowed junction temperature
Stock code ID Part maxP Real
number Max. power consumption
Package thermRJC Real number Junction-to case heat resistance
PWS Translator
Tool Attr. Name Data type Value to set Meaning
Part PCMAC1-5 Integer 1-12288 PCMAC_NO for pmaster
Chapter 7 Operating CDB
7 - 3
1. User Attributes for Each Tool
Board Designer (EMC Adviser)
Tool Attr. Name Data type Meaning (Value to set)
Part emcPart Character string
Define as EMC target component (YES/NO)
Board Designer (Lightning)
Tool Attr. Name Data Type Meaning (Value to set)
Part hs_model Character string Device ID or device name
Part hs_vendor Character string Device vendor name
Part hs_device Character string Device name
Part hs_tech Character string Technology name
Part hs_value Character string Component value
Part elec_type Character string Component type
Part pin Gate pin tthl Character
string Rise time of pin
Part pin Gate pin ttlh Character
string Fall time of pin
Part pin Gate pin voh Character
string Amplitude voltage (High)
Part pin Gate pin vol Character
string Amplitude voltage (Low)
Part pin Gate pin cpin Character
string Default electric capacitance
Board Designer (ICX)
Tool Attr. Name Data Type Meaning (Value to set) Stock code ID Part ICX_PART_MODEL Character
string IBIS model name for ICX
Part enetNonSeries Character string
Non-series attribute for the part specified as E-net
Part pin ICX_PORT_TYPE Character string I/O attribute
Part pin Pin assigned pin ICX_SERIES Character
string To be specified as E-net
Part pin Pin assigned pin enetSeries Character
string To be specified as E-net
Board Designer (Transmission line analysis tool XTK)
Tool Attr. Name Data Type Meaning Part Stock code ID quadModel Character
string Quad model name
Chapter 7 Operating CDB
7 - 4
1. User Attributes for Each Tool
Edit a resource file (cdb.rsc) in order to add an attribute name for a user attribute. The cdb.rsc exists in the following directory.
Priority1 %HOME%\cr5000\cs\cdb.rsc (Local) Priority2 %CR5_PROJECT_ROOT%\zcs\info\cdb.rsc (Project) Priority3 %ZCSROOT%\info\cdb.rsc (Master)
cdb.rsc is divided into several sections for each tool. The attribute name is set in the section that the attribute is applied to.
Part attribute Part*Property Stock code ID attribute StockId*Property Part pin attribute PartTerm*Property Gate function attribute Gate*Property Gate function pin attribute GateTerm*Property Pin Assignment pin attribute PinassignTerm*Property Function attribute Function*Property Function pin attribute FunctionTerm*Property Package attribute Package*Property Footprint attribute Footprint*Property Padstack attribute Padstack*Property Pad attribute Pad*Property
Add attribute name in the section of Part*Property in cdb.rsc.
# Japanese coding: sjis ########################################################################## ## PART PROPERTY ITEMS ########################################################################## Part*Property 6 { ##### System Reserved Properties ##### # properties related with System Designer # “symbolName” text “schematic symbol name” - - “” “symbolName1” text “schematic symbol name” - - “” “symbolName2” text “schematic symbol name” - - “” “usePowerBox” text “if use powerbox” ( “YES” “NO” ) fix “” | | | | “EMC_STD” text “EMC standard” - - “” “COCOM” text “COCOM Level” - - “” “COMMENT” text “comment” - - “” “OPERATOR” text “operator name” - - “” “DATE” text “datd of update” - - “” “Search-code” text “Search-code” - - “” } |
Option type defines if the value that is not set as one of options can be set (-) or not (fix).
2-byte characters such as Japanese language can be used for the “Display Attribute Name” displayed for the attribute name in the Attributes dialog box.
Registering User Attributes (Attribute Names)
Note
Attribute name Data Type Attribute nameto display
Option Option type Comment
Note
Chapter 7 Operating CDB
7 - 5
1. User Attributes for Each Tool
When a necessary user attribute name is set, set values for the attribute name. There are two methods for setting values:
1. Enter an attribute value directly to the contents field. 2. Define some values beforehand in the resource file and select one from the list and
set.
Procedure for "1. Enter a value directly"
Click the value of Search-code in the attribute table on the Log/Attribute menu tab.
Input the value “IC” from the keyboard.
Procedure for "2. Select the value from the list and set".
Add choices to the Part*Property section in cdb.rsc.
Part*Property { : : “Search-code” text “Search-code” (“Semiconduc” “IC” “Connector” “Others” : : }
When adding option, enclose the option to be selected with “ (double quotation mark). Click the value of Search-code in the attribute table on the Log/Attribute menu tab. Pull-down menu appears. Select IC on it.
Registering Attribute Values for the Added User Attributes
Choices of Property Value
Click
Click
Click
Chapter 7 Operating CDB
7 - 6
2. Operation for Purposes What is Operation for Purposes?
This section explains operation with CR-5000 in the following three cases.
1. Operation for each PCB Specification 2. Operation for each Customer 3. Operation for Parts with different pin positions according to soldering
methods
1. Operation for each PCB Specification Pad shapes and sizes are different for "height density PCB" and "low density PCB" even though they are for the same component. "Operation for each PCB specification" means the way to generate a component based on such PCB specification differences.
2. Operation for each Customer Different customers may use different symbol mark figures and different pad sizes for the same component. "Operation for each Customer" is a way to make components cope with these differences.
3. Operation for Parts with different pin positions according to soldering methods This is the operation method for when pad shapes and terminal reference points are different even between the same components because of soldering method differences.
CR-5000 does not require its users to register the same component as more than one component for operation 1 and 2 above. Using “Operation by Layer Mapping” and “Operation by Footprint Specification” corresponds to these cases in CR-5000.
SN74LS08
for High Density PCB for Low Density PCB
SN74LS08
for Company A for Company B
for Flow
for Reflow
Chapter 7 Operating CDB
7 - 7
2. Operation for Purposes
For the "operation for each PCB specification" and "operation for each customer", you can design more efficiently by "layer mapping". CR-5000's component library file and PCB database file have layers that can be divided according to objectives.
1. Component Library File ---- Footprint Layer Component data that can handle all types of PC boards without relying on the number of board layers is input in the footprint layer.
2. PCB Database File ---- PCB Layer The PCB layer differs according to the number of layers in the PCB to be designed. Component placement data and conductor pattern connection data are input in the PCB layer.
When designing PC boards using CR-5000, a "required footprint layer" is allotted to the "PCB Layer", which is called "layer mapping".
Operation by Layer Mapping
Footprint Layer
Symbol Mark Layer
High-density Conductive Layer
Low-density Conductive Layer
High-density Resist Layer
Low-density Resist Layer
PC Board Shape Layer
Layout Layer
Symbol Mark Layer
Conductive Layer
Resist Layer
Metal Mask Layer
Placement Keep-out Layer
Wiring Keep-out Layer
PCB Layer
Layer Mapping
Chapter 7 Operating CDB
7 - 8
2. Operation for Purposes
The procedure for the design using "layer mapping" is as follows:
1. Prepare layers to be used for each objective in the footprint layer. 2. Register padstacks for high density/low density together as one item, and
for Company A/Company B together as one item. 3. Register a component using the padstacks registered in Step 2. 4. By layer mapping, components matching the PCB to be designed are
allotted to the PCB database file.
The respective mapping of the high-density PC board for Company A and the high-density PC board for Company B are determined by the technology contained in the technology file.
For details on operation, refer to [Chapter 3, 7. Organizing the CDB] in the [Master Training <Engineering Change/Operation>].
Design Procedure of using layer mapping
Symbol Mark Layer
Conductive Layer
Resist Layer
Symbol Mark Layer
Conductive Layer
Resist Layer
Symbol Mark Layer for Company A
Symbol Mark Layer for Company B
High-density Conductive Layer
Low-density Conductive Layer
High-density Resist Layer for Company A
Low-density Resist Layer for Company A
High-density Resist Layer for Company B
Low-density Resist Layer for Company B
1. Footprint Layer Setting
2. Padstack Registration
3. Footprint Registration
4. Layer Mapping
High Density PCB for Company A
High Density PCB for Company B
PCB Layer Footprint Layer
Select from the Technology file
High Density Technology for A
Low Density Technology for A
Low Density Technology for B
High Density Technology for B
Technology File (.tch)
Reference
Chapter 7 Operating CDB
7 - 9
2. Operation for Purposes
In "3. Operation for Parts with different pin positions according to soldering methods", it is necessary to edit footprints based on the soldering methods because each pin can only have one its reference point for one footprint.
However, if you edit footprints for each soldering method, the number of footprints increase greatly, causing difficulties in selecting components for new PCB generation.
Use "Footprint specification names" to solve the above-mentioned problem and to achieve an efficient design.
Operation by Footprint Specification
CHIP2014-Flow
CHIP2014-Reflow
[Register as different footprints]
for Flow
for Reflow
[Cannot register as one footprint]
New Board Generation
Flow
Reflow
Flow
Reflow
Which part?
Which part? Determined
Chapter 7 Operating CDB
7 - 10
2. Operation for Purposes
This is the design procedure using "footprint specification names". The procedure explained here deserves special attention, and indicates typical components registration to PCB generation.
1. Edit a footprint based on the soldering method. 2. Assign more than one footprint to one
package. Set footprint specification names for the footprints at this time.
3. Set priority for footprint specification names in the design rules.
4. When generating a new PCB, assigns components according to priority.
5. Components are copied into PCB database (.pcb) when generating a new PCB.
Design Procedure base on Footprint Specification Name
PRT PKT FTP RUL PCB
“flow” > “reflow” > “default”
Setting of order of priority
Chapter 7 Operating CDB
7 - 11
2. Operation for Purposes
Components are selected, like the figure above, according to the priority of the footprint specifications.
For the details, refer to [Chapter 3, 7. Organizing the CDB] in [Master Training <Engineering Change/Operation>].
Board Database Package Library
Footprint Specification Name: default
Footprint Specification Name: Flow
Package Name: A
Package Name: B
Footprint Specification Name: Reflow
Package Name: A
Package Name: B
“Flow”>”Reflow”>”default”
Set priority for footprint specifications in the design rules file.
Design Rules File (.rul)
Reference
A - 1
1. Extracting LCDB from CDB
Appendix
The Schematic Design Component Database (LCDB) is required when inputting components using the Schematic Design Component Database for schematic design. This section explains how to extract the Schematic Design Component Database (LCDB) from the Component Library (CDB).
Extracting LCDB from CDB
Appendix
A - 2
1. Extracting LCDB from CDB
The Schematic Design Component Database (LCDB) is extracted from the Components Manager. Start the Components Manager to start the Schematic Design Component Database Extracting Tool. 1. Click Environment Library on the menu bar of Component Manager. Confirm the
library to be extracted for the Schematic Design Component Database (LCDB).
The following are written in the resource file “C:\HOME\cr5000\ue\library.rsc”. Check the contents. Part library file C:\home\lesson2\cdb\cmp.prt
Package library file C:\home\lesson2\cdb\cmp.pkg
Footprint library file C:\home\lesson2\cdb\cmp.ftp
2. Click (Extract LCDB tool).
Before the tool is started, it is necessary to prepare for it. What should be done as preparation depends on the setting of LCDB for Output option.
Starting the Schematic Design Component Database Extracting Tool
Lesson
Click
Output File Name Field
Part Option to be Extracted
Component Data DeletionCheck Box
Output Destination Option
Part Library Field
Check
Note
A - 3
1. Extracting LCDB from CDB
Appendix
Extract the Schematic Design Component Database (LCDB). There are two ways to output component data.
Auto-select by referencing LCDB list file and part attribute Specify the LCDB parameter file name (.prf) in the field below.
Auto-select by referencing LCDB list file and part attribute
When “Auto-select by referencing LCDB list file and part attribute” is selected, the resource file should have the path described where the part should be output. The parts are output to the same directory every time they are output according to the path. Following files needs to be prepared.
(1) LCDB list file (library.rsc) (2) LCDB extraction tool resource file (cdbabst.rsc)
(1) Preparation of LCDB list file (library.rsc) The priority for browsing the LCDB list file is as follows.
Priority 1: %HOME%\cr5000\ds\library.rsc Priority 2: %CR5_PROJECT_ROOT%\zds\info\library.rsc Priority 3: %ZDSROOT%\info\library.rsc
Set as follows if you want to specify the output directory and file name depending on any conditions.
LcdbRootDir : C:/home/Lib/cdb LcdbRoot/IC 2 { "IC-Type" text "TTL" TTL "*MOS" MOS "-" IC_other.prf } :
In the example above, files are classified into “TTL,” “MOS” and “IC_other” according to the value of the “IC-Type” property, and output to the “C:\home\Lib\cdb\IC” directory.
: LcdbRoot/R 2 { "resistance" float <1.0 under_1.0Ohm.prf <100 1-99Ohm.prf <10000 100-9.9kOhm.prf <1000000 10k-990kOhm.prf 1000000<= over_1MOhm.prf
In the example above, files are classified into according to the value of the “resistance” property, and output to the “C:\home\Lib\cdb\R” directory.
(2) Preparation of LCDB extraction tool resource file (cdbabst.rsc) The priority for browsing the LCDB extraction tool resource file is as follows.
Priority 1: %HOME%\cr5000\cs\cdbabst.rsc Priority 2: %CR5_PROJECT_ROOT%\zcs\info\cdbabst.rsc Priority 3: %ZCSROOT%\info\cdbabst.rsc
The directory “%HOME%\cr5000\cs” does not exist when the software is installed. If the directory does not exist, create a new directory and copy the files into it.
Extracting Schematic Design Component Database
Lesson
Output Condition
Top Directory for Output Destination
Property Type
Output Destination File (.prf) for each condition
Output Directory
Caution!
Appendix
A - 4
1. Extracting LCDB from CDB
In the LCDB extraction tool resource file, specify the template parameter file name and log file name etc.
CdbAbst*TemplateFile: "C:/cr5000/zds/info/lanlcdb.prf" : CdbAbst*LogFile: "C:/temp/cdbabst.log" :
CdbAbst*TemplateFile: "opt/cr5000/zds/info/lanlcdb.prf" : CdbAbst*LogFile: "usr/temp/cdbabst.log" :
For details including file format, refer to [LCDB Extraction Tool Resource File] on page A-8.
1. Open the LCDB list file (%HOME%\ds\library.rsc) on the text editor, and see the
content.
LCDBRootDir : “C:/home/lesson2/cdb” LcdbRoot 2 { “partName” text
* cmp.prf }
If OS is Windows and “Top directory for output destination” is not described, the drive where the CR-5000 is installed is recognized as the top directory automatically. Above setting has all part be output to C:\home\lesson2\cdb\cmp. 2. Check Auto-select by referencing LCDB list file and part attribute ON for “LCDB for
Output”. Click Execute.
You can browse the log file output after extraction. Select Load Log File from File on the menu bar.
Reference
Note
Can browse the part names for the output components.
Top directory for output destination Property type
Output destination file (.prf) for each condition Output condition
Lesson
Caution!
Template Parameter
Output Destination for Log File
Click
Click
Click
A - 5
1. Extracting LCDB from CDB
Appendix
Specify the LCDB parameter file name (.prf) in the field below.
When “Specify the LCDB parameter file name (.prf) in the field below” is selected, it is necessary to specify the directory to output, and all parts are output into one LCDB. The following files needs to be prepared.
Preparation of LCDB extraction tool resource file.
Edit the default output destination if necessary.
CdbAbst*TargetFile: "C:/temp/LCDB.prf" :
CdbAbst*TargetFile: "/usr/tmp/LCDB.prf" :
For details including file format, refer to [LCDB Extraction Tool Resource Files] on page A-8. 1. Check Specify the LCDB parameter file name (.prf) in the field below ON for “LCDB for
Output”. Type C:\home\lesson2\cdb\cmp2.prf in the File name field.
2. Click Execute. 3. Close the Extract LCDB tool.
On the menu bar, click File Exit.
Default output destination
Default output destination
Reference
Click
Lesson
Click
Click
Appendix
A - 6
1. Extracting LCDB from CDB
You can delete the output destination LCDB and then extract it so that the data in the part library and that in LCDB matches after extracting LCDB. You can select either to extract only the data with updated component data or to extract all component data. When specifying the deleted component check mode, all part data are extracted regardless of the settings in [Target Parts].
Note
Deleted Component Check Mode
Part Option to be Extracted
Caution!
Other modes for LCDB extraction
A - 7
1. Extracting LCDB from CDB
Appendix
4. Check the extracted schematic design component database. Click
(Schematic Design
Database Editor).
When it is started, the file opens that is defined as Components Library for Schematic Design path.
Click Open from File on the menu bar and select C:/home/lesson2/cdb/cmp2.prf.
If System Designer is not installed, it is impossible to use LCDB Editor. 5. Close the LCDB Editor.
On the menu bar, click File Exit.
Do not change data in the LCDB Editor when using the component library (CDB). If you do, the data in the component library (CDB) and that in the Schematic Design Component Database (LCDB) become inconsistent and cause an error. Be sure to reflect data in the Component Library (CDB) first and then re-extract the Schematic Design Component Database (LCDB) when changing component data.
Caution!
Click
Click
Click
Values in one line are forone component.
Property name
File name of the open library
Part name
The CDB name is a unique name to specify a component in the Component Library (CDB). Part names (partName) and stock codes (partNumber) are used. Normally, the part name is used as a CDB name. However, when a part name hasmultiple stock codes, the stock code is used as a CDB name.
CDB name
Caution!
Appendix
A - 8
1. Extracting LCDB from CDB
* LCDB Extraction Tool Resource Files (cdbabst.rsc) These files are resource files that describe various conditions when extracting the Schematic Design Component Database (LCDB). These files are browsed in the following priority.
Priority 1 %HOME%\cr5000\cs\cdbabst.rsc Priority 2 %CR5_PROJECT_ROOT%\zcs\info\cdbabst.rsc Priority 3 %ZCSROOT%\info\cdbabst.rsc
○Definition of default values in the extraction mode (true: Automatic selection, false: File name specification) CdbAbst*AutoSelect: true/false
○Default values for the output destination LCDB parameter file when the extraction mode is “Specify File Name” CdbAbst*TargetFile: "/usr/tmp/LCDB.prf"
○Path for the template LCDB parameter file when the extraction mode is “Automatic Selection” CdbAbst*TemplateFile: "/opt/cr5000/zds/info/lanlcdb.prf"
○Procedure when the extraction mode is “Automatic Selection” and some part library data do not match the condition in the Schematic Design Component Library List file ($ZDSROOT/info/library.rsc)(true: No data extracted, false: Only matched data extracted) CdbAbst*StopNoTarget: true/false
○Path specification of the log file for extracted data when the extraction mode is “Automatic Selection” CdbAbst*LogFile: /temp/cdbabst.log
○Log output specification for the extracted data when the extraction mode is “Automatic Selection” (write: Overwrite the current log, off: No log output, append: Add to the current log) CdbAbst*LogOpenMode: write/off/append
○Format for “componentName” output from the part data with “Pin Assignment = Absent” (%s: Part name assigned) CdbAbst*CompNameForPart: "%s_package"
○Format for “componentName” output from the function data of the part data with “Pin Assignment = Present”(%s: Function name assigned) CdbAbst*CompNameForFunction: "%s_%s"
○Format for “componentName” output from the Pin Assignment data of the part data with “Pin Assignment = Present” (%s: Pin Assignment name assigned) CdbAbst*CompNameForPinAssign: "%s_package"
○Format for “componentName” of the power supply box generated at extraction (%s: Pin Assignment name assigned) CdbAbst*CompNameForPowerBox: "%s.pbox"
○Format for the symbol file name defined for the power supply box generated CdbAbst*SymbNameForPowerBox: "pbox_%d_%d"
○Time difference settings (second) between the clock of the machine for extraction and that for registering part libraries CdbAbst*Tolerance: 0
○Specification whether to always extract all part library data or to extract only the updated data from the second time onward (true: All data, false: Only updated data) CdbAbst*ForceMode: true/false
○Specification of the user property name for the defined-type component that is generated from a part CdbAbst*PropNameForCompType: componentType
○Specification of whether to generate a component with “Type = Gate” for component generation from one gate/one component pin assignment (true: Generate, false: Not generate) CdbAbst*OmitCompForOneGatePart: false/true
○Specification of whether to generate a power supply box component for the part or pin assignment with an undefined user property “userPowerBox” CdbAbst*DefaultUsePowerBox: true/false
○Specification of the property name to store pin counts for LCDB when extracting a part’s pin count CdbAbst*PropNameForNumberOfPins: numberOfPins
○Specification of whether to extract the current LCDB after deleting it CdbAbst*ReplaceLcdb: false/true
Setting Items (Description Format)
A - 9
2. Using the CDB Tree View
Appendix
It is possible to show the CDB objects by tree view. The library list file (library.rsc) defines the part, package and footprint library to be referred.
Introduce the functions by the menu level.
Menu Bar 1. File New This menu creates a new object for each library. Input the name to start the editor.
Exit This menu closes Components Manager tool.
Menu bar
Filter
Field for specifying a target object
Tree view
Assist menu
Tool box
Field for object number that is displaying
Appendix
A - 10
2. Using the CDB Tree View
2. View Tree View This menu sets ON/OFF of the tree view display. When it is set to OFF, Components Manager root menu is changed to the icon set. Tool box When the tree view display is ON, the tool box can be displayed or hidden. Tool box type
Filter When the tree view display is ON, the filter can be displayed or hidden. Sort This menu sorts the objects by the following order. Reverse When the objects are expanded on the tree view, this menu shows the higher level objects at expanded view. Expand All When the objects are expanded on the tree view, this menu shows all lower (higher if "Reverse" is On) level objects at expanded view. Display Only Editing Object This menu shows only the objects which are being edited including under creation. Refresh This menu refreshes the tree view.
Tree View = OFF
Icon Text Text +Icon
*Text ascending * Text descending * Number ascending * Number descending
ON OFF
Footprint →Package→Part
Footprint →Padstack →Pad
A - 11 Appendix
2. Using the CDB Tree View
3. Environment Library This menu shows the each component library defined by library.rsc. It is possible to set the path for the LCDB (schematic part library) and symbol libraries. It is not possible to change the paths for part, package, footprint and root directory for Components Library for Schematic Design. 4. Tool Edit Attributes On Table This menu allows you to refer to/modify the attribute of objects that are registered in the library. Copy CDB library This menu copies the component objects one from another. CDB Library Purge This menu detects the duplicated objects in a library and purge as required. Generate Generic Part If all information is not defined for a part, this menu generates the part with the defined information and registers it to the library. Delete Objects from CDB This menu deletes the objects by list. Check up Footprint and Part This menu allows you to check the consistency between footprints and related parts. Define Footprint Layer This menu allows you to define and edit the footprint layers. Compare Objects This menu allows you to compare the objects between different CDBs. It is possible to start each tool from the menu bar in the following editors. Pad Generator Function Editor Library Viewer
Pad Canvas Editor Pin Assignment Editor Extract LCDB
Padstack Editor Part Editor Edit LCDB
Footprint Editor Library Searcher Edit Schematic Design Symbol
Package Editor
Arbitrary Command Launch "Arbitrary Command".
Refer to [Appendix 3. Using Utility Programs] for each tool function.
Caution!
Reference
Appendix
A - 12
2. Using the CDB Tree View
Assist menu is used after any object is selected. The command is executed for the selected object. Open This menu opens the selected object by editor. View This menu starts CDB Figure Viewer. CDB Figure Viewer supports the following functions.
View the component graphics.
It is possible to check the graphics without opening the editor. Select an object from tree view and click View on the assist menu.
Show the graphics in 3D.
It is possible to change the view type for 3D image. Select View → 3D View.
Print It is possible to print the image on the screen.
Select File → Print.
It is grayed out when the target object is either Part, Package, Pin assignment, Function or Stock Code.
Caution!
Assist Menu
A - 13 Appendix
2. Using the CDB Tree View
Send To This menu sends the selected data to Library Viewer. Copy... This menu copies the object. Rename... This menu renames the object. Delete This menu deletes the object from the library. It is grayed out when the target object is either Schematic Symbol or Stock Code. Property This menu shows the attribute information of the selected object in the Property dialog.
It is possible to display text information of footprint etc. that is image data.
It is not possible to show the property of schematic symbols..
Caution!
Caution!
Part Information Footprint Information
A - 14
3. Using Utility Programs
Appendix
The Components Manager provides utility programs for managing and editing information in each library. To start up a utility program, click [Tool] on the menu bar in the Components Manager root menu and select the desired program from the pull-down menu displayed. This appendix introduces the following three utility programs:
Edit Attributes On Table Tool The Edit Attributes On Table Tool enables the user to edit the system-reserved and user-defined part and stock attributes in part data. This tool allows you to look through whether attributes is set correctly. It is also easy to set the user-defined attribute for all components at once by this tool.
Edit Attributes On Table Tool Copy CDB Library Tool
Delete Objects From CDB Tool
Edit Attributes On Table Tool Copy CDB Library Tool Delete Objects From CDB Tool
A - 15 Appendix
3. Using Utility Programs
1. Click Tool on the menu bar, then Edit Attributes On Table to start up the attribute table
edit program as shown below. 2. To edit an attribute, select from the following target objects in [Object]. When “Part” is selected as the target object
3. Set the new value into the corresponding cell. The way to set the value is different depending on the attribute type and options of each cell. Character string Numeric value Check button Toggle Pull-down
Setting “and2” at symbolName for the part “SN74LS08” The cell that has been edited turns watercolor. It is not possible to edit the grayed cells. 4. Click File Save on the menu bar. The contents having been edited are written on
the file.
Click the cell and enter “and2” from the keyboard.
Operating procedure
Part Part attribute Stock Code Stock code attribute Pin Assignment Pin assignment attribute Function Function attribute Package Package attribute Footprint Footprint attribute Padstack Padstack attribute Pad Pad attribute
Objects
Example
Example
Note
Caution!
Select target object
Appendix
A - 16
3. Using Utility Programs
Edit Attributes on Table has the function to import/export ascii file. It is possible to select the inquired items and export it to ascii file. It is also possible to import the ascii file that is output from other component database. How to export ascii file.
(1) Click File Export on the menu bar. (2) Select the item to be output (3) Specify the output file name (4) Specify the output format. (5) Click OK.
How to import ascii file.
(1) Click File Import on the menu bar. (2) Specify the file name to import. (3) Click OK. There is one format that can be imported.
Delimited with commas (*.csv) has following format.
(1) Display item name (2) Attribute identifier (Attribute name for a user-defined attribute, or fixed character string for a system-reserved
attribute) (3) (Unused now) (4) Attribute value
Lines 1 and 3 are ignored when inputting an ASCII file.
Note
• Delimited with commas (*.csv)• Delimited with tabs (*.txt) • Table format (*.tbl)
Output format
• Delimited with commas (*.csv)
Input format
“part name,” “pin count,” “package name,” “pin assignment name,” “schematic symbol name,”“for back annotation” "&id","&#pins","&packageName","&pinassignName","symbolName","&useWithSchema" "*","*","*","*","*","*" "0.33uF","2","CHIP2014-A","","","No" "1.0uF","2","CHIP2014-A","","","Yes" "330OHM","2","RESI5.0-S","","","Yes" "CONNECT40","40","CN-DIP40-K","CON1*40","","Yes" "JUMPER","2","JUMPER","","","Yes" "L2732K","24","DIP24-Y","","","Yes" "PLOGO1","0","","","","No" "SN74LS04","14","SOP14-A","INV*6","","Yes" "SN74LS08","14","SOP14-A","AND2*4","and2","Yes"
(1)
(2) (3)
(4)
ASCII file input and output
Caution!
(3)
(2) (3)
(5) (4)
(2)
Note
A - 17 Appendix
3. Using Utility Programs
The Copy CDB Library Tool can copy information from one CDB library to another. If a non-existent library file name is specified as the copy destination, a new file is created. This process is executed on each library. 1. Click Tool on the menu bar, then Copy CDB Library to start up the part library copy
program as shown below. Click Environment on the menu bar and select [Copy Package Library] or [Copy Footprint Library].
The editor function for this copy program is introduced below.
(1) Specifying an object to copy Part library - Part, Pin Assign or Function Package library - Package only Footprint library - Footprint, Padstack or Pad (2) Specifying processing of
low-order objects Select processing for low-order
object from the following two: Only information referenced by the target object All information registered in the library
If “Part” is selected as the object to copy, the lower order objects are “Pin Assignment” and “Function.” For “Pin Assignment,” “Function” is the only low-order object. “Function” has no low-order objects.
Copy CDB Library Tool
Copy
a.prt a.pkg a.ftp b.prt b.pkg b.ftp
Caution!
Operating procedure
Specify a source library file name. Specify a destination library file name.
(1)
(2)
Appendix
A - 18
3. Using Utility Programs
(3) Specifying information to copy Specify the object to copy. Specify the object by entering the name in the appended row that is generated with Append Row on the assist menu, or by following functions.
Select All Lists all objects registered
in the reference library for copying.
Delete All Erases all lines set in the
table. Erase Erases the line that the
Copy cell is set to OFF (objects not to be copied).
Flip Inverts the display of Copy
cell. Copy ON turns OFF and vice versa.
Search Specify objects for listing
in the table by using the search dialog.
Library Searcher Specify objects for listing
in the table by using the library searcher.
Copy Determines whether the object should be copied or not. Reference Object Name Specifies the object name (part name etc.) that has been registered in the reference library. Destination Object Name Specifies the object name (part name etc.) that will be registered in the destination library. If
abbreviated, the name should be the same as reference object name. Status Displays the status after copy. There are following three kinds of status. Create :Component that is created newly. Overwrite :Component that is overwritten on the existing one. Not Copied :Component that is not copied. (4) Specify processing for a duplicate object name.
Select one of the following three processing types:
When copying a low-order object with a different name, click Copy As. (5) Specify whether to copy the update history information (First Editor, First Updated
Time, Latest Editor, and Latest Update Time). (6) Start copying.
Do not copy Overwrite Terminate as Error
(3) Table
(4)
(5)
(6)
A - 19 Appendix
3. Using Utility Programs
Copying only “SN74LS08” and “Z80A” from the part library “cmp.prt” into “COPY.prt”.
1. “cmp.prt” specified at “library.rsc” is set as the reference library.
2. Specify “COPY.prt” as the
destination library. 3. A dialog is displayed to
indicate that a new part library file has been created. Click OK.
4. Click Select All, then Flip. 5. Set Copy cell of SN74LS08
and Z80A to ON. 6. Click Execute. 7. A dialog box is displayed to
indicate the copied object. See the message and click Close.
8. Processing statuses are
displayed. 9. Click File in the menu bar,
then Exit to close the program.
Example
Click
Click
Click
Click
Click
Click
Appendix
A - 20
3. Using Utility Programs
The Delete Objects From CDB Tool can show the objects that are registered in the each library of CDB in the table and delete all CDB library information at once. Click Tool on the menu bar, then Delete Objects From CDB to start up the object batch deletion program. The editor function for the deletion program is introduced below.
Select All Lists all objects registered in the library to be deleted.
Clear All Erases all lines set in the
table. Flip Eliminates the selected
object from the table. Search Specify objects to list in the
table by using the search dialog.
Library Searcher Specify objects to list in the
table by using the library searcher.
Unlike the Copy CDB Library Tool explained in the previous section, this program does not execute processing in lower-level objects (Ex. Pin assignments and functions for parts.)
Delete Objects From CDB Tool
Delete Objects From CDB Tool
Data to be deleted
Operating procedure
Table
Program name (The program can bechanged to another.)
Select target object to delete Reference part library name Reference package library name Reference footprint library name
Click to execute deletion.
Caution!
A - 21
4. Using ASCII I/O Programs
Appendix
CR-5000 provides two types of ASCII programs: an ASCII input program that enables you to simultaneously edit and register a library based on an ASCII file, and an ASCII output program which creates an ASCII file based on an existing library file. ASCII input/output programs for the following six component libraries will be explained in this Appendix.
Part Library ASCII Output Program (partback.exe) Part Library ASCII Input Program (partconv.exe) Package Library ASCII Output Program (pkgback.exe) Package Library ASCII Input Program (pkgconv.exe) Footprint Library ASCII Output Program (ftout.exe) Footprint Library ASCII Input Program (ftin.exe)
For the UNIX version, change the program (xxx.exe) shown in Appendix to (xxx.sh) and execute it from a terminal emulator.
UNIX
Appendix
A - 22
4. Using ASCII I/O Programs
The part library ASCII output program (partback.exe) outputs part data, pin assignment data and function data to a part library ASCII file based on the existing part library. <<To Start>>
C:\>partback.exe -r part-library-name -o part-library-ASCII-file-name [option]
There is no need to input the suffix ".prt". <<Options>> -m output-mode Specifies the object to be output to an ASCII file,
(Part, Pin Assignment, Function, etc.)
Output Mode Object to be Output part Part only
partall A series of a part, pin assignment and function set in the part
stockall Part corresponding to a stock code and a series of pin assignment and function set in the part
pinassign Pin assignment only
pinassignall Pin assignment and a function that is set in the pin assignment
function Function only
functionall Function and an internal function set in the function
-e error-message-file-name Outputs error messages for the program execution to a file. (Standard output when omitted.)
-w warning-message-file-name Outputs warning messages for program execution to a file. (Standard output when omitted.)
Outputs a part and a series of a pin assignments and a function set in the part from a part library "cmp.prt" in a working directory to a part library ASCII file "prt.asc".
C:\>partback.exe -r cmp -o prt.asc -m partall
partback.exe
Part Library
PRT
Part Library ASCII File
Caution!
Example
Part Library ASCII Output Program (partback.exe)
A - 23 Appendix
4. Using ASCII I/O Programs
The part library ASCII input program (partconv.exe) inputs data in a part library or edits a part library based on a part library ASCII file. It adds data to an existing part library or edits an existing part library depending on the option specified at program execution. <<To Start>>
C:\>partconv.exe -r part-library-ASCII-file-name -o part-library-name [option]
Specify the suffix ".prt". <<Options>>
-m Edit Mode Specifies an edit mode for a part library,
(“modify” when omitted). Edit Mode Function
modify Registers only contents described in the ASCII file. Doesn't change the data that is already registered with the library but is not written in the ASCII file.
overwrite Performs registration just as the ASCII file describes. Deletes data that is already registered with the library but is not written in the ASCII file.
append Registers only contents that are not registered with the library. Issues errors and terminates if they are already registered with the library and described in the ASCII file.
-p:error Process Mode Specifies a process mode at error.. (“terminate” when omitted)
Process Mode Function
terminate When ascii file is described wrongly, the process is interrupted and the program does not change the database at all.
continue When ascii file is described wrongly, the process of error part is interrupted and does not change the database of it. But the process continues from the next part.
-e error-message-file-name Outputs error messages for the program execution to a file. (Standard output when omitted.)
-w warning-message-file-name Outputs warning messages for the program execution to a file. (Standard output when omitted.)
Creates a new part library "comp2.prt" based on a part library ASCII file "prt.asc" in a working directory.
C:\>partconv.exe -r prt.asc -o cmp2.prt
Part Library ASCII Input Program (partconv.exe)
Part Library
PRT partconv.exe
Part Library ASCII File
Caution!
Example
Appendix
A - 24
4. Using ASCII I/O Programs
The package library ASCII output program (pkgback.exe) outputs package data to a package library ASCII file, based on the existing package library. Caution: This program is optional software. <<To Start>>
C:\>pkgback.exe -r package-library-name -o package-library-ASCII-file-name [option]
There is no need to input the suffix ".pkg". <<Options>> -m package -p:name package-name Can specify data to be output using a package
name registered with a package library. (Outputs all package data in the specified package library when omitted.)
-e error-message-file-name Outputs error messages for program execution to a file. (Standard output when omitted.)
-w warning-message-file-name Outputs warning messages for program execution to a file. (Standard output when omitted.)
Output only a package named "JUMPER" from a package library file "cmp.pkg" to package library ASCII file "pkg.asc".
C:\>pkgback.exe -r cmp -o pkg.asc -m package -p:name JUMPER
Package Library
PKG pkgback.exe
Package Library ASCII File
Caution!
Example
Package Library ASCII Output Program (pkgback.exe)
A - 25 Appendix
4. Using ASCII I/O Programs
The package library ASCII input program (pkgconv.exe) inputs data in a package library or edits a package library based on a package library ASCII file. It adds data to an existing package library or edits an existing package library depending on the option specified at program execution.
<<To Start>>
C:\>pkgconv.exe -r package-library-name -o package-library-ASCII-file-name [option]
There is no need to input the suffix ".pkg". <<Options>>
-m edit-mode Specifies an edit mode for a part library.
(“modify” when omitted.) Edit Mode Function
modify Registers only contents described in the ASCII file. Does not change data that is already registered with the library but is not written in the ASCII file.
overwrite Performs registration just as the ASCII file describes. Deletes data that is already registered with the library but is not written in the ASCII file.
append Registers only contents that are not registered with the library. Outputs errors and terminates if they are already registered with the library and described in the ASCII file.
-p:error Process Mode Specifies a process mode at error.. (“terminate” when omitted)
Process Mode Function
terminate When ascii file is described wrongly, the process is interrupted and the program does not change the database at all.
continue When ascii file is described wrongly, the process of error package is interrupted and does not change the database of it. But the process continues from the next package.
-e error-message-file-name Outputs error messages for the program execution to a file. (Standard output when omitted.)
-w warning-message-file-name Outputs warning messages for the program execution to a file. (Standard output when omitted.)
Inputs the data in package library ASCII file "pkg.asc" to package library file "cmp2.pkg".
C:\>pkgconv.exe -r pkg.asc -o cmp2.pkg -m overwrite
Package Library
PKG pkgconv.exe
Package Library ASCII File
Caution!
Example
Package Library ASCII Input Program (pkgconv.exe)
Appendix
A - 26
4. Using ASCII I/O Programs
The footprint library ASCII output program (ftout.exe) outputs footprint data, padstack data and pad data from an existing footprint library to a footprint library ASCII file. It can also output footprint data, padstack data and pad data in a PCB database. <<To Start>>
C:\>ftout.exe -r footprint-library-name -o footprint-library-ASCII-file-name(.ftf) [option]
The suffix ".ftp" cannot be omitted. <<Options>> -m output-mode Specifies an object to be output to an ASCII file
(footprint, padstack, part, etc.).
Output Mode Object to be Output footprint Footprint only. footprintall Footprint, and a series of padstacks and
pads set in the footprint. padstack Padstack only. padstackall Padstack and pads set in the padstack.pad Pad only.
-m output-mode -p:name object-name Moreover, it enables you to select data from those
specified by an output mode, by specifying an object name.
Use it in the combination of “-m output-mode”. Outputs footprint data named "SOP14".
-m footprint -p:name SOP14
Footprint Library ASCII Output Program (ftout.exe)
Footprint Library
FTP
ftout.exe
Footprint Library ASCII File PCB
Board database
Caution!
Example
A - 27 Appendix
4. Using ASCII I/O Programs
-m pcb PCB-database-name Outputs footprint data, padstack data and pad data
in a specified PCB database. Use it in combination with “-m output mode”. About “-m output mode”, refer to the previous page. Outputs footprint data from a PCB database named "abc.pcb".
-m pcb abc -m footprint -l technology-file-name For a footprint that has a technology that is different
from the one specified for the entire PCB, specify a technology library storing the technology.
-m pcb Available only when specifying a PCB database name -p:unit unit Specifies a unit to output to an ASCII file. Unit
mm millimeter inch inch mil mil
dbunit database unit -e error-message-file-name Outputs error messages for program execution to a
file. (Standard output when omitted.) -w warning-message-file-name Outputs warning messages for program execution
to a file. (Standard output when omitted.) Outputs all data from footprint library "emp.ftp" to footprint library ASCII file "ftp.ftf".
C:\>ftout.exe -r cmp.ftp -o ftp.ftf -m footprintall Outputs only footprint data from PCB database "ex1.pcb" to footprint library ASCII file "pcb.ftf".
C:\>ftout.exe -m pcb ex1 -o pcb.ftf -m footprintall
Example
Example
Example
Appendix
A - 28
4. Using ASCII I/O Programs
The footprint library ASCII input program (ftin.exe) inputs data in a footprint library or edits a footprint library based on a footprint library ASCII file. It adds data to an existing footprint library or edits an existing footprint library depending on the option specified at program execution. <<To Start>>
C:\>ftin.exe -r footprint-ASCII-file-name -o footprint-library-name [option]
<<Options>> -m EditMode Specifies an edit mode for a part library.
(“append” when omitted.) Edit Mode Function
overwrite Performs registration just as the ASCII file describes. Deletes data that is already registered with the library but is not written in the ASCII file.
append Registers only contents that are not registered with the library. Issues errors and terminates if they are already registered with the library and described in the ASCII file.
-p:unit unit Specifies a unit to output to an ASCII file. Unit
mil millimeter inch inch mil mil
dbunit database unit -e error-message-file-name Outputs error messages for program execution to a
file. (Standard output when omitted.)
-w warning-message-file-name Outputs warning messages for program execution to a file. (Standard output when omitted.)
Inputs data in existing footprint library "cmp2.ftp" using the append mode based on a footprint library ASCII file "ftp.ftf" in a working directory.
C:\>ftin.exe -r ftp.ftf -o cmp2.ftp -m append
Footprint Library
FTP ftin.exe
Footprint Library ASCII File
Example
Footprint Library ASCII Input Program (ftin.exe)
A - 29
5. Using the Library Searcher
Appendix
Library Searcher The library searcher is a tool to search for CDB data that meets conditions. To use the library searcher, you need to make search data for it. The flow to make search data is as follows:
Flow for Creating Search Database
Creating Search Database
FTP PKG PRT library
.rsc
Search data 1
search .rsc
Searchdata 2
Searchdata 3
Searchdata 4
Search data xx
Click
Appendix
A - 30
5. Using the Library Searcher
It is necessary to make search data in order to execute the library searcher. It is also necessary to set key items for the search in the resource file and a directory path name for the search data. The resource files you must set to execute the library searcher are as follows:
Component Library Resource %HOME%\cr5000\ue\library.rsc Library Searcher Resource %ZCSROOT%\info\eng\search.rsc
1. Start Components Manager and start the library searcher.
Click
(Library Searcher).
A dialog to search a library (searcher dialog) shown in the figure on the left appears.
2. Create search data.
Select Search Data Settings from Utilities on the menu bar in the searcher dialog. Check the library path for search data creation. Click OK. When you are finished creating the search data, the messages shown to the left are displayed. Click Close.
Executing Library Searcher
Lesson
Click
Click
Click
A - 31 Appendix
5. Using the Library Searcher
3. Check the search data. C:\>cd C:\home\lesson2\cdb\searcher C:\>dir
Open a dtterm window or Command Prompt. Move to the directory shown to the left, and enter "ls" or “dir” from the keyboard. The search data shown on the left is now created.
4. Perform searching using the searcher dialog.
The yellow
(list icon)
means that a list dialog will appear if you click it. Select "Padstack" for Category Type and "Yes" for Through. Click the Search button. The search results are displayed in the search result dialog. The dialog can be closed by clicking Exit from File on the menu bar.
You can transfer the data for the listed components to each CDB tool and display the contents using the search result dialog. The details will be explained in the next section.
Click
Click
Appendix
A - 32
5. Using the Library Searcher
The library searcher refers to the following two resource files.
1. Component Library Resource library.rsc 2. Library Searcher Resource search.rsc
This section explains these two resource files. 1. Component Library Resource
The component library resource is stored in the following directories.
%HOME%\cr5000\ue\library.rsc (Local) %CR5_PROJECT_ROOT%\zue\info\library.rsc (Project) %ZUEROOT%\info\library.rsc (Master)
If a file exists in the local, project or master, the priority is in that order. The component library resource has already been explained in [Chapter 2, 4. Resource Files], however, the description for the library searcher will be explained here. Part Library File Name Package Library File Name Footprint Library File Name
Write a directory to store the search data in the Searcher section. When searching, it refers to the path of this directory and searches for the data. The searcher can only refer to the data at its own node. Therefore, there is no need to write a node name in the Searcher section.
Setting up Resources Referred to by the Library Searcher
Caution!
Caution!
Footprint{ “A01:/home/lesson2/cdb/cmp.ftp” } Searcher{ “/home/lesson2/cdb/searcher” }
Part{ “C: \ \ home \ \ lesson2 \ \ cdb \ \ cmp.prt” } Package{ “C: \ \ home \ \ lesson2 \ \ cdb \ \ cmp.pkg” } Footprint{ “C: \ \ home \ \ lesson2 \ \ cdb \ \ cmp.ftp” } Searcher{ “ C: \ \ home \ \ lesson2 \ \ cdb \ \ searcher ” }
Direct path name for Searcher
A - 33 Appendix
5. Using the Library Searcher
2. Library Searcher Resource The library searcher resource is stored in the following directories.
%HOME%\cr5000\cs\eng\search.rsc (Local) %CR5_PROJECT_ROOT%\zcs\info\eng\search.rsc (Project) %ZCSROOT%\info\eng\search.rsc (Master)
If a file exists in the local, project or master, the priority is in that order. Write search items to be set in the Searcher dialog in the library searcher resource file. "search.rsc" below is an example of the searcher resource. The contents of this resource file will be explained here by comparing them with the library search dialog. 1. Tool data (1) (searchDialog LANDSCAPE)
Caution!
[Landscape]
[Portrait]
(searchInfo (searchDialog LANDSCAPE) (category All_Parts "PART" (label " Part ") % (compKind 21 ) (key " Part - name " (path "id") ) (key " Part - level " (path "level")(selectAble "discrete" "connector" "module" "undef")) (key " Package - name " (path "package/id") ) (key " Type " (path "type") (selectAble "*" "printed" "packaged")) (key " Pin - assignment - name " (path "pinAssign/id") ) (key " Default - stock - code " (path "defaultStockInfo/id") ) (key " Stock - code " (path "stockInfo/i d") ) % (key " Printed - part " (path "isPrinted") (selectAble "yes" "no")) % (key " Status " (path "property=status/value") ) ) (category Discretes "PART" (parent "All_Parts" )
1. Tool data
2. Category data
Fixed (1) Window shape of the Searcher dialog
(2) Category name and category type (3) Character strings representing a category name
displayed in the Searcher dialog
Appendix
A - 34
5. Using the Library Searcher
2. Category data (2) (category Packed_Parts “PART”) Category Name Category Type Category Name: Search data file name made by executing "search_gen" Category Type: Object class in the component library (CDB)
Category Category Type Part PART Pinassignment PINASSIGNMENT Function FUNCTION Package PACKAGE Footprint FOOTPRINT Padstack PADSTACK Pad PADSHAPE Stockinfo STOCKINFO
"Category" means a component object type (e.g. part, pin assignment). (3) label “Packed_Part” Category name displayed in the dialog. (4) (key "Id" (path "id") (type "PART") (tools "part")) ← a (key “Type” (Path “type”) (selectAble “*” “Packaged” “Printed”) ← b
a. Enter a part name in the field of a search item "Id".
b. Select a part type from a list dialog or enter it from the keyboard in the field of a search item "Type".
Search items depend on the category type specified in the category field in the search key section. For details of how to specify the path in the search key section, refer to [Resource Files] in the Online Help.
Note
Reference
Caution!
Click
A - 35 Appendix
5. Using the Library Searcher
The search data generation must be executed not only to create new data but also to update component library data when it is added/changed/deleted. Values for search conditions set for each category are extracted in the search data. When searching, they become keys of searching libraries, and the search results are displayed in a dialog. The search data generation procedure is as follows: 1. Click Search Data Settings from Utilities on the menu bar of the library search dialog. 2. A dialog is displayed to check the path to the directory generating search data and the
path to each library file. Click OK.
Each path can be changed from the dialog to the left.
3. The dialog below displays processing statuses.
After search data has been completed, click Close.
Generating Search Database
FTP PKG PRT library
.rscsearch
.rsc
Searchdata 1
Searchdata 2
Search data 3
Search data 4
When changes are made:
Generating Search Data
Click
Click
Click
Appendix
A - 36
5. Using the Library Searcher
This section explains the dialog appearing when the library searcher is booted. (1) Setting Category
Specify a category and a category type. (2) Recording/Returning Search Condition
When Record is on, conditions will be stored by the name below the Record. Conditions can be returned by specifying that name.
If a name is not specified when storing conditions, the name will be "category-name_number". The stored conditions will be deleted when quitting the searcher. (3) Case Sensitive
Set case sensitive search to ON or OFF. (4) Search/ Extend/Refine Search Buttons
Search Searches for elements meeting the conditions. Refine Narrows down the search results to those meeting the next conditions.
(AND) Extend Searches for elements meeting the next conditions and adds them to
the search results. (OR) (4) Search Key Field: to set search conditions.
There are two ways to input search keys.
1. Enter values directly from the keyboard. 2. Click a list icon at each field and select a value from the list of search keys defined in the library
searcher resource. Wild cards and mathematical expressions can be used for the search conditions.
“?” “*” “[ ]” “=” “>” “<” “>=” “<=” "NOT" and "OR" search can also be performed using the following symbols.
“!” (NOT = other than) Anything meeting values other than those described after "!".
“|” (pipe) (OR = otherwise) Anything meeting values described before "|" or after "|".
Search Condition Dialog
(1)
(2)
(3)
(5)
Caution!
Note
(4)
A - 37 Appendix
5. Using the Library Searcher
Set search conditions using the Searcher dialog as shown on the previous page and click the Search button to display the Search Results dialog listing objects meeting the conditions. This section explains the Search Results dialog. (1) Search name, Category, Number of results
Displays the number of search results (the number of elements meeting the conditions).
(2) Search results display area
Displays the details of the elements that meet the conditions.
Sorting Search Results Display Area
The column highlighted in red can be sorted by specifying the sorting method. <Procedure> Select the column to sort. Then select the sorting method on the assist menu.
Ascending order of character strings (“ABC”), Descending order of character strings(“CBA”), Ascending order of numbers, Descending order of numbers
(3) Send to button
Transfers data to other tools.
The operation procedure is as follows:
1. Click element(s) to be transferred.
To select more than one element: Ctrl + click To select all: Click one of title cells.
Search Results Dialog
(1)
(2)
(3)
Click
Title cell
“Send to” Button
Appendix
A - 38
5. Using the Library Searcher
2. Click the Send to button.
3. Select a tool the results are to be
transferred to, and start it. (4) File Export on the menu bar.
The results can be output to a file. (5) File Close on the menu bar.
The Search Results dialog is closed.
Click
(4) (5)
A - 39 Appendix
6. Using the Library Viewer Library Viewer
The library viewer displays all elements of each CDB data by setting its name (e.g. part name, footprint name). It can also print out the displayed information. You can either enter a data name directly in the library viewer or transfer data from the library searcher by clicking the Send to button. The viewable elements depend on the three structures of the –CDB library.
CDB is constructed as in the left diagram, so that the library viewer displays the elements for the specified data and that below it. For example, when a padstack name is specified, the elements to be displayed will be as follows: • The properties of the padstack • The pad data used by the padstack
Part Data
Package Pin Assignment
Footprint Function
Padstack Data
Pad
Click
Click
Click
Click
Appendix
A - 40
6. Using the Library Viewer
To execute the library viewer, you need to define "which elements are to be displayed in what format" in a template definition file. The template definition file is in the following directory.
Template Definition File %ZCSROOT%\info\eng\databook.dbt
1. Start Components Manger and then the library viewer.
Click
(Library Viewer). The library viewer dialog is displayed. Enter "Z80A" from the keyboard into the field that specifies the object to be displayed.
(1) Various elements are displayed, as in the picture to the left.
(2) Select Component Shape
from Template on the menu bar.
(3) Select Component Shape
(displayed for each layer) from Template on the menu bar.
(4) Select Properties from
Template on the menu bar.
Executing the Library Viewer
Lesson
"Z80A"
(1)
(2)
(3)
(4)
A - 41 Appendix
6. Using the Library Viewer
2. Specify an object using the library searcher and display the data in the library viewer.
Select Searcher from Tool on the menu bar in the library viewer dialog to start the library searcher. Select Padstack for the category type. Click the Search button. Click padstack name "SMD2.2-1.2" in the search results dialog, and also click "VIA0.6-1.0" while pressing the Ctrl key. Check that the library viewer is selected for the data transfer, and click the Send to button. The elements of " SMD2.2-1.2" will be displayed in the library viewer.
You can go on to the next page by clicking in upper right of the library viewer. The element of “VIA0.6-1.0” will be displayed.
Click
Click
Click
Appendix
A - 42
6. Using the Library Viewer
The library viewer refers to the following three resource files.
1. Component Library Resource library.rsc 2. Data Resource for Schematic Design landata.rsc 3. Template Definition File databook.dbt
This section explains the above-mentioned three resources. 1. Component Library Resource
For an explanation on the component library resource file, refer to [ Library List File] on Page 2-15 and [ Setting up Resources Referred to by Library Searcher] on page A-32.
This resource determines which library elements to be displayed in the library viewer are extracted from.
2. Data Resource for Schematic Design
The library viewer refers to the master or project for the data resource for schematic design. They are in the following directory.
%ZDSROOT%\info\landata.rsc (Master) %CR5_PROJECT_ROOT%\zds\info\landata.rsc (Project)
The library viewer refers to the "symbPathTable" section in the resource. To add "symbolName" as a user-defined property to either part data, pin assignment data or function data and display a symbol shape with a symbol name in the library viewer, select a symbol path where the symbol is registered in the Select Symbol Path field in the root menu of Components Manager. It will be searched for and displayed in the library viewer. The library viewer only refers to the master for landata.rsc. Therefore, indiscriminately changing it will influence schematic designing.
Resources Referred to by Library Viewer
Caution!
symbPathTable 3 { 0 "current" "." 1 "localSmb" "./smb" 2 "IC" "$ZDSROOT/data/lib/IC/smb" 3 "Resistor" "$ZDSROOT/data/lib/R/smb" 4 "Capacitor" "$ZDSROOT/data/lib/C/smb" 5 "Transistor" "$ZDSROOT/data/lib/Q/smb" 6 "Diode" "$ZDSROOT/data/lib/D/smb" 7 "Coil/Trans" "$ZDSROOT/data/lib/L/smb" 8 "Other" "$ZDSROOT/data/lib/ETC/smb" }
A - 43 Appendix
6. Using the Library Viewer
3. Template Definition File The template definition file is in the following directory.
%HOME%\cr5000\cs\eng\databook.dbt (Local) %CR5_PROJECT_ROOT%\zcs\info\eng\databook.dbt (Project) %ZCSROOT%\info\eng\databook.dbt (Master)
If a file exists in the local, project or master, the priority is in that order. The local and project files do not exist when installing, so copy from the master if necessary. Define the format of the library viewer in the template definition file. The padstack displaying the format used in the "Executing the Library Viewer" section is explained in an example here. The structure of "databook.dbt" is as follows. (databook)
(paper [21000,29700] )
(textHeight 400 )
(originView ON )
(originSize 8 )
(originColor 1 )
(dimensionView OFF )
(panesNo 1 )
(entity part
(page “general”
(item
(box [300,300] [20700,29400] )
(graphic “part:L::symbolName1+:top:pinAll2:” [300,15200] [10300,26200] )
(graphic “part:L::symbolName1-:top:pinAll2:” [10300,15200] [20700,26200] )
(graphic “part:P::::A:::” [300,3300] [20700,13700] )
(text “Component Data Sheet : PART” (origin [500,28700] ) (textHeight 500 ) (justify LEFT ))
(value “id” (origin [20650,28700] ) (textHeight 500 ) (justify RIGHT ))
(line [300,28400] [20700,28400] )
)
)
(page “figure”
(item
(graphic “part:P:::::::” [300,15300] [10300,24500] )
Caution!
Fixed
Paper size, def text height, def line width (omissible)
(1) entity type
(2) Template name
(3) primitive
Appendix
A - 44
6. Using the Library Viewer
(1) Entity Type It defines the format that is referred to when the library is selected.
(2) Template Name
Click Template on the menu bar to display general, figure, layertypefigure, and properties. Choose one as the template to be referred to.
Refers to the template (format) in the following:
(3) Primitive
Define ruled lines, text, component shapes, and others here. This is called graphic item specification. The order to extract data in each library using key items is also defined in primitive.
Example (graphic “part:P::::A:::” [300,3300] [20700,13700] )
The example above means to display a footprint on Side A allocated to a package that is specified by a part, in a rectangle at the coordinates of (300,3300), (20700,13700).
For settings of other primitives, refer to [Resource Files] in the Online Help.
Reference
page “general” page “figure”
page “properties” page “layertypefigure”
A - 45 Appendix
6. Using the Library Viewer
Template Definition Tool
The Template Definition Tool enables you to manipulate the data on the screen that you want to display on the library viewer. The viewer simultaneously saves and displays the template, so you can easily specify the location of the item displayed.
Creat a template Input a value item Input a graphic item Change the display item property
Select Template Definition from Template on the menu bar in the Library Viewer, and the Template Definition Tool starts up. Create a template. Select New from File on the menu bar. Input data added to a part or footprint. Select Value from Input on the menu bar. Input graphic data that displays figure information on a component (footprint, schematic symbol). Select Graphic from Input on the menu bar. Browse and change display item properties. Select Change Shape Attribute from Attributes on the menu bar. A file named “lvt.ftp” is created in the directory where the resource file “databook.dbt” exists. Be sure to edit the lvt.ftp file in the Template Definition Tool.
Note
Template DefinitionTool
Creating a template
Changing the display item property
Inputting a value item
Inputting a graphic item
Caution!
Appendix
A - 46
6. Using the Library Viewer
This section explains the library viewer dialog that is displayed when the library viewer is started. (1) Setting an entity type
Chose one from Part, Package, Footprint, Padstack, Pad, Pin Assignment and Function.
(2) Object name
Specify a name for the object selected from the entity type option list. (3) Setting more than one page
When there is more than one page, it shows "current page/total page count". go to the previous page, go to the next page.
Some of the frequently used commands will be explained among the commands that are available from the menu bar of the Library Viewer. View Layer Settings View Color Settings It is possible to have the layer displayed or hidden, and set the color.
Library Viewer Dialog
Changing the layer display
(2)(1)
(3)
A - 47 Appendix
6. Using the Library Viewer
View → Panes → 1 Pane, 4 Panes, 9 Panes or 16 Panes Divides the display into the selected number and displays several types of data at once.
View → Grid Switches the display ON and OFF of grids for the part shape displayed on the library viewer.
View → Grid View Type → Point Grid or Line Grid Selects a display grid type.
Point grid Line grid View → Pin No. Switches the display ON and OFF of pin numbers for the part terminals displayed on the library viewer.
Displaying More Than One Page
Displaying grids
Selecting grid type
Displaying pin numbers
Appendix
A - 48
6. Using the Library Viewer
Environment → Option Sets the details of display, such as text size of pin number and COC area, and display position etc.
View → Dimension Displays dimension lines for the component displayed in the library viewer regardless of dimension line that is input to footprints.
This displays the dimensions (the distance between pins by dimension, etc.) by referring to the following template files. %HOME%\cr5000\cs\eng\dimrules.dbt (Local) %CR5_PROJECT_ROOT%\zcs\info\eng\dimrules.dbt (Project) %ZCSROOT%\info\eng\dimrules.dbt (Master)
If a file exists in the local, project or master, the priority is in that. The local and project files do not exist when installing, so copy from the master if necessary.
The values written in the “(Footprint*DimParam)” section of %ZCSROOT%\info\footprint.rsc are applied to parameters related to dimensions (including the character width of dimensions).
The parameters for dimensions described above are set in the dimension standards dialog displayed by selecting Dimension Standards from Attributes on the menu bar in the dimension dialog for the footprint editor.
For details on the dimension standards, refer to [Inputting Dimensions] on page 3-68.
Setting the display option.
Caution!
Note
Reference
The display of Dimension line
Displaying dimension line.
A - 49 Appendix
6. Using the Library Viewer
File → Print Prints out the information displayed in the library viewer.
To print, specify the output plotter and printed object and click OK. There are two modes available to specify what to be printed. One of them allows you to output the displayed data only, and the other allows you to output multiple templates and several components at once.
Tool → Library Searcher Starts the Library Searcher from the Library Viewer.
File → Exit Closes the Library Viewer.
It is possible to keep the control book for CDB data by printing out the displayed object data. Select Print from File on the menu bar. Moreover, the library viewer can be started from other tools, so that it can be used as a tool to check elements of each data.
Starting Library Searcher from Library Viewer
Printing
Closing Library Viewer
Click
Output Plotter
Printed Object
Paper Size
Paper Orientation
Zuken Inc.
Master Training <Component Library>
Serial ID D2A1001E