Cadstar Schematic Diy

You might also like

Download as pdf or txt
Download as pdf or txt
You are on page 1of 36

CADSTAR Schematic Version 11

Do-it-Yourself Training Booklet

CADSTAR Schematic Do-It-Yourself Book With Projects For Educational Purpose

The information in this document is correct at the time of printing and is subject to changes without prior notice. This document belongs to Zuken. No part of this document shall be copied without official written approval. CADSTAR is registered trademark of ZUKEN. This booklet is given free of charge and is not for resale.

Hello! My name is DIY-booklet and Im glad to see you have picked me up. I am from ZUKEN and it is good to meet you. If you are wondering where this is, take a look at www.zuken.com/cadstar, my "home"page. With this booklet, you have received a free copy of CADSTAR Schematics. This is a course covering the basic use of CADSTAR Schematics. CADSTAR 11.0 will be used throughout the course. To install CADSTAR Schematics, double click on the executable for set-up and simply follow the instructions. If you are seriously thinking about designing a schematic, you have made the right decision to come to me. You will find out in detail how you can make use of CADSTAR to capture a Schematic. I will start by showing you a hand drawn schematic design and transforming this to a professional schematic. The second step I will show you is how to create and add a component to your library. Spend some time with me and you will learn a lot in a short time. It is not difficult to capture a schematic and to design a PCB, but if I was not clear enough, just click on the camera icon every time you come across it, and watch me (you will need an internet connection for this)!

For more information visit www.zuken.com/cadstar

Contents:
Introduction to CADSTAR The Basic Design Flow Chapter 1 Training o Overview o Starting a New Schematic and applying a Top - Down Methodology o Adding Sheets using Hierarchical methods o Adding Hierarchy Blocks o The Power Supply Circuit o Adding Symbol by Part o Moving Symbols o Connecting Symbols o Adding (Intelligent) Busses o Select Nets o Highlight Nets o Pin Names/Numbers Visibility o Finding Component Pin Names/Numbers o Documentation Output Chapter 2 Library o The CADSTAR system of libraries o Library Versioning o PCB Component / BGA Wizard o Schematic Symbol / Block Wizard o Parts Library Editor Conclusion

For more information visit www.zuken.com/cadstar

Introduction to CADSTAR
Let me introduce CADSTAR to you. CADSTAR is an EDA design tool allowing you to draw a schematic design and transfer the design to a PCB layout environment. After an error-free transfer, CADSTAR helps to place and route your design. Routing is an integral part of a PCB design process. CADSTAR offers much flexibility in this area by providing manual, semi-automatic and fully automatic routing tools within the Embedded Route Editor or P.R.Editor XR (Place & Route Editor). The Embedded Route Editor has been designed in general for users who dont use a PCB design tool regularly, and P.R.Editor is for the more advanced users who require more powerful solutions. For really advanced users (industry users) high-speed design features (such as lengthening, delay, impedance, cross-talk, overshoot, reflection etc.) can also be provided in a full standard package or as an optional add-on. The additional add-ons that are available to you, include CADSTAR 3D which is a unique 3D verification tool for PCB design that provides a complete new concept of PCB Design in a 3D environment or the CADSTAR Variant Manager which enables you to generate variants of a 'master' design (included B.O.Ms and assembly drawings) without having to maintain separate files for each variant. I will guide you through the basic design flow of a Schematic design and through some very simple Schematic designs using CADSTAR. Try them and have fun!

The Basic Design Flow


Library Usually you need to start off with a library and to ensure that all the parts (schematic symbols & PCB footprints) that you will require are available in your library. But to complete the exercises in this DIY booklet you dont need to worry about the library. Nevertheless if you are keen on learning more about the CADSTAR library you can try Chapter 2. Note: the library provided with CADSTAR Schematics contains all the parts essential for the SCM designs described in this 'Do-It-Yourself Book' and some examples of the online CADSTAR Exchange Library. More libraries are available on-line through CADSTAR Exchange. The ready-to-download-and-use parts contain all the information you require including manufacturers' part numbers. They are updated and expanded regularly with over 230,000 parts currently available. If the part required is not already available in these libraries, you can quickly and easily design your own parts using the supplied wizards and the Graphical Library Editor. Access to the on-line CADSTAR Exchange Library is available as part of the maintenance contract. It is always advisable to start with a schematic design before moving onto the PCB design (although CADSTAR does support reverse engineering).

Schematic

For more information visit www.zuken.com/cadstar

Chapter 1 Training 1 Overview


The main entry point into CADSTAR is the Design Editor. From this application you can access schematics and the library editor (or any other CADSTAR application). Once the application has been executed, it will appear as shown: Standard menus General tool bar The toolbars are dockable and customizable

Status Bar The Working Area is, divided up into: Menus and Toolbars Working Area Additional Windows Workspace; showing open designs, libraries and items of current design (such as Symbols) Shape Properties Library Preview Status Bar (command sensitive)

The Status bar is subdivided, showing the information (Left to Right). Prompt Area; this area will always indicate what CADSTAR is expecting you to select/input. Redraw indicator; will turn red if the previous redraw was interrupted by pressing Esc button. The Absolute Cursor Position Relative Position; showing the distance moved during a command. Always shown in the Current Units Current Units; may be changed by either Right-Mouse-Click on the correct area of the status bar (Shortcut menu) or Left-Mouse-Click (Units Dialog Box for complete control) Current Grid; may be changed by either Right-Mouse-Click on the correct area of the status bar (Shortcut menu) or Left-Mouse-Click (Grids Dialog Box for complete control) Additional Information; may be displayed to the right of the current working grid

For more information visit www.zuken.com/cadstar

Starting a New Schematic and applying a Top - Down Methodology


This section will show the process of creating multi-sheet drawings using a hierarchical method. When starting a new schematic design it is always best to plan the Hierarchical sheet structure in advance. CADSTAR makes it easy to change the structure if required. a. Click on the Toolbar (File - New - Schematic Design) and choose one of the templates (I like Form A4-euro). In this template I have already added a drawing border. The drawing border is a Documentation Symbol which is a symbol with no electrical properties that may be added to both your schematic and PCB designs for documentation purposes (you can create and add your company logo too). To add a Documentation Symbol select Add Doc symbol, then select the preferred symbol from the library and add it to your design. Note: the drawing border is added to All Sheets at a scale of 1:1. b. The next action is to save the file under a new name. Select File Save As For the filename type for example train1.scm. If you don't like to work with a black background, you can also select in the toolbar a different background colour To create or change the Hierarchical Sheet structure click on View Select Sheet Shown in yellow is the default name of Sheet1. By Clicking on Sheet1, the Rename button will be selectable and the Sheet name can be renamed to something more meaningful like OVERVIEW

c.

d.

e.

You can also browse the sheet structure through the Workspace

For more information visit www.zuken.com/cadstar

Adding Sheets using Hierarchical methods


There are two ways to create a Hierarchical design; Top Down and Bottom Up. To help you to understand these methods there is some terminology that must be aware of: Parent: The Top Level Sheet Child: A Lower Level Sheet that has a Parent Orphan: A Lower Level Sheet that does not have a Parent Bottom Up Design: A design structure where you create the Lower-level circuit first and then add the Hierarchical Block to represent this circuit on a Top-level circuit. Top Down Design: A design structure where you add a Hierarchical Block to the Top Level sheet first and then create the circuit represented by the Hierarchical Block.

Hierarchy is a method of indicating the presence of routine/simple circuits on top-level drawings, thus making them easier to read because they are not cluttered with unnecessary detail. These routine circuits are represented by Hierarchical blocks, which are linked to Lower-level sheets. These Lowerlevel sheets contain the actual circuits. This can be repeated for as many levels as required with blocks used at each level to represent the actual symbols in the sub circuit at the lower level:

1 2 3

3 4 5 6 7

7 2 5 4 6

One master sheet replicated 4 times to make four child sheets

In the example above, the Top Level Sheet contains an outline Block Diagram of the circuit. Each Block is an outline representing a circuit. Each Block is linked to a lower level circuit on a separate sheet. In the case of sheet 3 there is another level down, linked by four Blocks. Note: The whole design, consisting 7 separate sheets, is contained in one Schematic Design file.

For more information visit www.zuken.com/cadstar

Adding Hierarchy Blocks


We will be completing this design using a Top Down method. We start with a basic block at the Top Level an overview.

a.

Select the Shape Defaults Icon.

b.

Set the Defaults dialog to draw a New Block with a Line Code Line . Once set, select OK. Select the Add Rectangle icon.

10

c.

d.

Set the Units to mm (using Left Mouse Click on the Status bar) and then set the Grid to 1mm. Draw the 2 rectangular outlines Blocks as shown below.

Note: Watch the status bar showing the absolute and relative coordinates while drawing a block

For more information visit www.zuken.com/cadstar

e.

The next step is to name the blocks by selecting the block and clicking the Item Properties icon. Enter the name PROCESSOR and click OK.

The name will be added using a default text code. If the text size is too small select the text and click again the Item Properties icon. Now you can change the text code, choosing a larger one (for example; Verdana 120/120/4).

f.

The other block should be named POWER SUPPLY. The names are always added in a default position and may be moved to the centre of each block. Just Select the preferred position. the text and drag it to

g.

You can change the colours of the blocks (or any other item) up to your preference. Select in the menu bar Settings Colours , double click on Blocks and double click on Names, select Names and choose a preferred colour.

For more information visit www.zuken.com/cadstar

h.

The next step is to create the actual circuit of the power supply. Double click on the Block outline or Block name (POWER SUPPLY) and select Create New Sheet and name the Sheet POWER SUPPLY. Select OK.

If you select View Select Sheet the dialog will display a top level sheet (OVERVIEW) and a lower level sheet (POWER SUPPLY). If you double click in the dialog on the POWER SUPPLY it will close the dialog and display the sheet ready for drawing.

i.

You should make sure the units are Thou (Thousandth of an Inch) or mm by Setting Units or alternative by clicking on the units at the bottom of the CADSTAR window. Change the grid to 25 Thousands of an inch or 0.635mm. Note: The movie shows how to change the units and grid in a CADSTAR PCB design, but exactly the same steps do apply for schematics using the same GUI.

j.

When completed, save this schematic design . If you didn't manage to create the hierarchical structure, just open training1.scm before going to the next exercise.

For more information visit www.zuken.com/cadstar

The Power Supply Circuit


a. b.
CON1
1 2 3

Lets start with drawing the Power Supply diagram as shown below. You will have to gather the components being used in the Power Supply.
U1
1 IN OUT 3 VCC

D1

1N914
1

LP2937
1

R1 10K

COM M ON

R4 22K
2

2 2

SMBJ12CA

1 +

EX_PWRF

Z1

C1 2200uF
2

C2 10NF

REF

1 1

R2 5K1

C3 10NF

1 +

R3 C4 22uF
2

22K

C5 10NF

2 2

Part Name/Number ---------------2.5MM PWR CON 5K1-1%-CRG0805 10K-1%-CRG0805 10NF-20/80% SMD0805 22K-1%-CRG0805 CAP 2200UF 25V 1N914 LP2937 SMBJ12CA TAJ-22U/6.3V

Description ----------connector 5K1 CRG0805 THICK FILM 1% 10K CRG0805 THICK FILM 1% 10NF 0805 SMD CAP (X7R) 22K CRG0805 THICK FILM 1% AXIAL 35mm Pitch, 16mm wide High-speed diode 500 mA Low Dropout Regulator Transient Voltage Suppressor ELECTROLYTIC CAPACITOR

Qty. ---1 1 1 3 2 1 1 1 1 1

Comps. -----CON1, R2, R1, C2, C3, C5, R3, R4, C1, D1, U1, Z1, C4,

c.

Although you can draw a schematic by using generic symbols, before you can transfer to PCB you must Part Allocate the schematics first. By adding the Part from the start, we can skip the Part Allocation and transfer straight to PCB design as needed. As all Parts to draw the power supply are already available in the library you can add the components by Part. More libraries are available on-line through CADSTAR Exchange. The ready-to-download-anduse parts contain all the information you require including manufacturers' part numbers. They are updated and expanded regularly with over 230,000 parts currently available. If a part required is not already available in these libraries, you can quickly and easily design your own parts using the supplied wizards and the Graphical Library Editor as described in Chapter 2. Access to the on-line CADSTAR Exchange Library is available as part of the maintenance contract.

For more information visit www.zuken.com/cadstar

Adding Symbol by Part


CADSTAR offers several ways to add a Symbol by Part. a. A fast and easy way to add Symbols by Part is by using a simple searcher through the Workspace window. In the Workspace window click on the Libraries tab. A list of all the libraries is now displayed. Proceed to search and place a capacitor onto the schematic template by using the Workspace and search on and choose 10NF-20/80% SMD0805 Drag the capacitor from the Workspace window onto the design template. The symbol is now attached to the cursor. After you have placed the symbol automatically a second symbol is attached to the cursor. Press [ESC] to finish. The part is now still selected, to change the component name click the Item Properties icon and change the name from C1 to C2.

b.

c.

d.

e.

A more advanced way to search and filter Parts you can select Add Part or Symbol

f.

Select the Part Name field and type for example the characters 1N. Note that the main list moved to the first part starting with these characters. Click on the part in the list to select it. Select the Add button to add the symbol and place the component. A second symbol is automatically attached to the cursor. Press Esc if you want to return to the dialog to select a different Part. If you cannot easily find a Part select the Browse button. The advanced Library Searcher will start automatically. This is a non-modal dialog box, i.e. it can remain on the screen at all times, being minimized and restored as required. Select Parts Library and select one or more Parts libraries you want to search. In the library searcher we can use multiple filters (e.g. filter on value and tolerance) restricting the displayed library items. These filters are at the top row of the table.

g.

h.

For more information visit www.zuken.com/cadstar

i.

We are now going to search for a 10K resistor (R1 in the power supply circuit). Enter 10K in the Value cell then press or press right mouse button and select apply filters. Now the display is restricted only to those that match the entered parameters.

Select the Part 10K-1%-CRG0805 and press the Send Selection icon . If you have dual monitors the Library Searcher can remain open on one screen and the schematics design on the other screen, increasing the viewable design area. If you have one monitor you can minimize the Library Searcher window.

For more information visit www.zuken.com/cadstar

The Component Name is automatically named R.. as the preferred Name Stem. This can be defined in the Parts Library. You can still change the Component Name if you like. Click Add and the Part will appear on the cursor for you to place it. After placing the Part press [Esc] to return to the Add Symbol by Part window. After adding the components into the design (like 1N914), you can select the component and click on the right-hand mouse button to see a Link: On-line CADSTAR Datasheet. The link is a hyperlink to a URL on the internet (or intranet), but can also be linked to something different (i.e. PDF file or Word document). More links can be added to components in the CADSTAR Parts Library Editor. Be aware that some links might be out of date as the component has become obsolete. Dont be frightened about the red markers on the pins as these are just zoom independent markers to highlight unconnected pins (the markers will disappear once you connect the pins). While dragging, you can use the right-hand mouse button for mirror and/or rotation for the placement of a symbol, or use a programmable function key like F3 to rotate. You can setup the function keys by selecting Tools Customise Keyboard.

Moving Symbols
CADSTAR has 4 main modes for moving items (from Left to Right): a. Select this is the most flexible mode; all of the commands may be used without specifically being entered. Group Selections may be made by Dragging a Window around the items to be moved/rotated/mirrored. (Or a single item may be selected). Then select the icon for the action required (this is noun-verb editing). Alternatively, to move the selected items, place the cursor over one of the selection and drag it to the new position (all other selected items will follow). Move in this mode, a single click picks up an item and the next click places it. There is no Group Selection in this mode. Once an item is picked, a right mouse click opens a shortcut menu for accessing Rotate or Mirror. Whilst moving a component, enter M <return> on the keyboard to mirror the item and R <return> to rotate it. Rotate in this mode, a single click rotates the item. Mirror in this mode, a single click mirrors the selected item.

b.

c. d.

After you have added all the components, you can start connecting them together.

For more information visit www.zuken.com/cadstar

Connecting Symbols
You can connect two symbols simply by placing the connecting terminals (pins) onto each other. Pins that are connected will be automatically hidden. But you can also add connections manually. a.

Adding Connections
Connect the symbols together in the same way as the hand-drawn schematic is connected. To Icon. While connecting, you can also use the rightconnect, click the Add Connection hand mouse button to Change the Default Net Route Code, allowing you to select a different Net Route Code (I like Power & GND thicker than signal tracks).

b.

Adding Global Signals


After you have connected all the components, you can add the GND symbol. To do so, simply click the Add Global Signal Icon and choose (GND). You can connect the GND terminal and the junction point below C5 by placing the terminal onto the junction point, press [esc] and move the symbol into position.

c.

Adding Signal References


Icon Click the Add Connection and use the right mouse button to change the Route Code to Signal. While drawing the connection use the right mouse button again to select Signal Ref

The dialog will show existing References within the current design (along with signal names for quick connecting). Change to list the Symbols in the Library and select [Offpage]. Enter a signal name (for example VCC).

At this stage, you can save the file

as train2.scm.

If you didn't manage to finish the design, just open training2.scm to have a look.

For more information visit www.zuken.com/cadstar

d.

Signal reference links are used to view and/or jump to another associated signal reference elsewhere in the design. The visibility and format of the link is configured via the Settings Defaults dialog under the links tab.

To specify the location of the link, zones can be used. Zones split the sheets into horizontal and/or vertical segments. Zones configuration is controlled via the Settings zones dialog Set this window as follows: Make sure units are set to mm Horizontal: Start coordinate: 448 End coordinate: 735 Number of zones: 6 Start character: 1 Vertical: Start coordinate: 235 End coordinate: 35 Number of zones: 4 Start character: A Press Apply to all sheets Check Left, Right, Top and Bottom Set reference to Horizontal-vertical Press OK .

For more information visit www.zuken.com/cadstar

Now check the signal reference VCC in the lower left corner of the PROCESSOR sheet. Depending on your settings in Defaults Link it should look like this:

You are now able to jump to the several VCC reference links in this design by double clicking on for example 1:6B or by selecting the Signal Reference then pressing the right mouse button and selecting one of the reference links.

Adding (Intelligent) Busses


You can go to the PROCESSOR sheet and add a bus. Restrict the signals connecting to the bus according to the signal names. The Item Property Window for a bus contains a signal tab where these can be defined. However if you set a bus to be non - restrictive you can connect any net. a. , select the start point and draw the bus. To To create an intelligent bus click Add Bus insert a corner click the left mouse button and finish the bus by double clicking the left mouse button or use the right mouse button command Finish. Draw the bus as shown in the example below.

Start Here
1 11 AD0 AD1 AD2 AD3 AD4 AD5 AD6 AD7 CT0 CT1 CT2 CT3 T2 57 56 55 54 53 52 51 50 16 17 18 19 20 2 3 4 5 6 7 8 9

U2-B
EN C1 1D 19 18 17 16 15 14 13 12

Finish here
1 11 A8 A9 A10 A11 A12 A13 A14 A15 2 3 4 5 6 7 8 9

U3-B
EN C1 1D

----- P0 ----

74HC573MD

74HC573MD

NTROLLER

For more information visit www.zuken.com/cadstar

1 ----

A8-15

b.

To add the bus and signal names, select the bus and click the Item Properties icon. Set the bus type to Restrictive and fill in the Bus Name AD0-7. Select the Signals tab, click on add and fill in AD[0-7] then press OK.

For more information visit www.zuken.com/cadstar

c.

You can now connect the connections to the bus. Select U3-B and move U3-B so the terminals are on top of the bus, drop U3-B by pressing the left mouse button. The next window pops up Set this window as follows: Start Signal Name: AD0 Start Pin Position: 9 End Pin Position: 2 Press OK Move U3-B back to its original position Repeat this for U1-B and U2-B

Icon, start at the To connect single connections to the bus select the Add Connection pin of the symbol to be connected, then drag the wire to the bus and connect it. You will be asked for a signal name.

Select Nets
When adding connections, it is very easy to overlook the Net Route Code while you might want to constrain the route width so the width will match the calculated impedance of the route. a. To select a net click on Edit Select Net

Select the net or multiple nets you want to select and select Add (or double click on the nets) and select OK. Now you can see that the nets are selected.

For more information visit www.zuken.com/cadstar

b.

Select the Item Properties

icon and press the Net button

Check the Net Route Code and change if necessary. The constraints will be transferred to the PCB design. Tip: You can also show your nets by Colour By Net Route Code or Colours By Nets, by going to Settings Colours Connections and select Colour By Net

For more information visit www.zuken.com/cadstar

Highlight Nets
Edit Highlight Net functions in the same manner as Select Net. When using Highlight Net the nets are not selected for editing, but displayed in (customizable) Highlight Colours By Net. The window looks the same as the Select Net window; only two colour buttons are added. The highlight colours can also be set within the Settings Colours dialog under the Net Highlights section.

Pin Names/Numbers Visibility


CADSTAR allows you to make pin names or numbers visible/invisible so you can see which pin is number 1 or 2 (useful for engineers to see). Select Tools Options Display from the menu and Enable/Disable Override Part Pin Names/Numbers Visibility.

Finding Component Pin Names/Numbers


Components and Pin Names/Numbers can be located at any point using the Find Command in the Status Bar.

This command is entered directly in the command line. To find a component, just enter F followed by a space, followed by the component name. To find a particular pin of a component, enter after the component name a . followed by the pin number or name (no spaces). The above example shows U5, pin 1 being located. The selected item will be shown centered on the display.

For more information visit www.zuken.com/cadstar

Documentation Output
a. Bill of Materials (Parts List)
In today's market it is important to deliver a B.O.M. (Bill of Materials or in CADSTAR called a Parts List) at an early stage. To create a Parts List, simply click on Tools Reports Parts List. Or if you prefer to create a Parts List in a different format (fully customizable) simply click on Tools Report Generator Manage Reports and open the file part_list.rgf, which you can find in the Reports directory and just click Run. You can customize the Parts List output and list any attribute (wattage, voltage, tolerance, manufacturer etc.) in any particular order you choose. For the more advanced users among you who have experience in Visual Basic or C++, you can create, for example, a user-defined B.O.M. in Microsoft Office Excel, by using the OLE automation in CADSTAR.

b.

Printing
To print your schematic design, simply click on File Print Icon and go through the Print and Page Setup. Alternative you can print your schematic design to a PDF file, you do not need to install a PDF writer, CADSTAR has its own native PDF writer. You can Enable Alternative text output in the print options, making text searchable when printing to a PDF file. In the Print Setup you can Enable Auto Open, which will open the PDF file after creation, or Enable Symbol Attributes which will also output the attributes in the PDF file.

For more information visit www.zuken.com/cadstar

Chapter 2 - Library
The CADSTAR Library Editor ensures that design integrity is maintained between the symbol, the footprint and the part information, and also supports multiple libraries. The library provided with CADSTAR Schematics contains all parts essential for the schematic design described in this 'Do-It-Yourself Book' and some examples of the on-line CADSTAR Exchange Library. More libraries are available on-line through CADSTAR Exchange. The ready-to-download-and-use parts contain all the information you require including manufacturers' part numbers. They are updated and expanded regularly with over 230,000 parts currently available. If the part required is not already available in these libraries, you can quickly and easily design your own parts using the supplied wizards and the Graphical Library Editor. Access to the on-line CADSTAR Exchange Library is available as part of the maintenance contract. You can set or modify the paths to your libraries by going to Tools Options Library Paths. This series of tabbed dialogs provides access to the settings for various features of CADSTAR. You are able to set single or multiple library paths. This allows you to search through multiple libraries (such as central library, customer library and project library etc), and enables you to set up your library structure to work in a way that suits you. By setting each multiple library path, designers can access and utilize the library elements from each of the libraries without having to keep switching their library path. If your local area network uses Microsoft TCP/IP protocol as part of the Network Neighborhood, the libraries can be located virtually anywhere. To change a library path, simply double click on the library path and select the Browse button. Locate the desired library folder and select OK. The default library path as used for the training in this Do-ItYourself booklet does not need to be modified.

Server 3

CADSTAR Component Database Server 2 CADSTAR Component Database Server 1

CADSTAR Component Database


3D Symbols

Parts Library
Simlib Schematic Symbols PCB Components Documentation Symbols

Concept

Schematic

Analyze

Layout

Verify

Manufacture

For more information visit www.zuken.com/cadstar

The CADSTAR System of Libraries


There are four types of libraries: Schematic Symbol - stores the graphical symbols used on Schematic designs. Symbols in this library can be edited using the Schematic Symbols option on the Libraries menu. PCB Component - stores the graphical symbols (footprints) used on PCB designs. Symbols in this library can be edited using the PCB Components option on the Libraries menu. Documentation Symbol - stores the non-electrical symbols used on Schematic and PCB designs. Symbols in this library can be edited using the Documentation Symbols option on the Libraries menu. Parts (there are several Parts libraries which are in the ASCII format) - which store the electrical information required by a part (e.g. Gate and Pin Swapping Rules, Pin Identification and Specification, Power Rating, Value). A Part entry also specifies the Schematic symbol and PCB Component used to represent the part on a design. You can create and edit parts using the Parts option on the Libraries menu. The diagram below shows the relationship between these libraries:
Parts Library (SELFTCH.PCB) Symbol Library (SYMBOL.LIB)
NAND2(ANSI2)

.SN74ALS01FN; QUAD 2 INPUT NAND GATE PLCC 20P (wave) *STM U *EQU 3=4,8=9,12=13,16=18 *SYM NAND2OC_A Gate & Pin Swap *EXT 3 4 2 information *EXT 8 9 6 *EXT 12 13 14 *EXT 16 18 19 %Bin (Z93) Attributes ~Manufacturer (TEXAS) NAND2(ANSI2) 3.1!I 4.1!I 2.0!N 8.1!I 9.1!I 6.0!N Pin Allocation 12.1!I 13.1!I 14.0!N 16.1!I 18.1!I 19.0!N /GND 10 Power Connections /VCC 20

Component library (PCB.LIB)


PLCC20P(wave)

For more information visit www.zuken.com/cadstar

Library Versioning
CADSTAR allows you to allocate a version number to a part, schematic - and documentation symbol and a PCB component. Automatic versioning can be enabled through a checkbox in the options dialog Tools Options System. When enabled, the version number will be incremented by 1 automatically whenever the part, symbol or component is saved after editing. Parts have an extra column in the library to alter the version number manually, Symbols and components have a field in their item properties dialog to modify the version number manually. There is a detailed change report on Library Reload so it's easy to see if Parts, PCB Components, Symbols and related attributes have been changed.

PCB Component / BGA Wizard


a. b. Start with going through the BGA Creation Wizard. The component to create is a 64 ball BGA. Click on the Toolbar (File New PCB Component) and choose the BGA Wizard in the box. You have to fill in the Reference Name (for example: bga64). You can also fill in the Alternate Name (for example: reflow) and in case you are creating an SMD component, usually you have to change the units from Thousandths of an Inch to Millimetres. You can fill in the component Height if you want to run a Design Rule Check on the height, which can be checked against placement areas as defined in the Design Editor, or you can run a collision check in CADSTAR 3D. As this is a new component the version will be 1. If Automatic Version Increment in Tools Options System is enabled, with every future change of the component the version increments automatically and you can easily check if the component that is used in the design is the latest version in the library.

c.

For more information visit www.zuken.com/cadstar

d.

The second step is to enter the component dimensions: Set B to: 15 mm Set D to: 10 mm Set E to: 1 mm Set F to: 1 mm Set Nx to: 8 Set Ny to: 8

Select: Next

e.

The third step is to enter a Pin One Marker detail (that will ensure the correct mounting of the device). Select in this case: Mitre, the Pin One Marker Size can be 1.0 mm and the Pin One Position should be set in the corner. The last step is to enter the assignments to be used for pads and outlines. Pads: Choose for the Pads the pre-defined pad Code bga64r. Side: When you are creating an SMD component seen from Top View you must select the Min side to place the SMD pads on component side. Origin: The component Origin should be placed for SMD components at centre. Silkscreen Outlines: The Code specifies the thickness of the line you are drawing. For Layer you should select Top silk. At this stage, you can Finish the wizard and the bga64 will be created.

f.

For more information visit www.zuken.com/cadstar

You can still modify the PCB component manually if needed. When done, save the PCB on the Toolbar Libraries PCB Components Save Comp. Component. Click If the component already exists in the library you can decide to overwrite it if you wish.

Schematic Symbol / Block Wizard


a. We shall start with going through the Schematic Block Creation Wizard twice. The symbol to create is a StrataFlash Embedded Memory device. This device is build up with 2 schematic symbols therefore we will use the multiple gate functionality. Click on the Toolbar (File New Schematic Symbol) and choose the Block Wizard in the box. Youll start first by creating the power device and then creating the logic device. You can choose a different templatefile. In addition you can also fill in the version number (1 as this is a new symbol). The second step is to enter the symbol dimensions: Set A to: 50 (Thou) Set B to: 50 (Thou) Set C to: 200 (Thou) Set D to: 200 (Thou) Set E to: 100 (Thou) Set F to: 100 (Thou)

b.

c.

d.

Select: Next

For more information visit www.zuken.com/cadstar

e.

The third step is to add Gates, Number of Pins, define the Pin locations and to fill in the Reference Name. In addition you can also fill in the Alternate Name. Select Gates Add one Gate. Fill in the Reference Name for GATE A RC48F4400P0VT00-P and Alternate Name POWER BLOCK For GATE B you can fill in the Reference Name RC48F4400P0VT00 Set the Number of Pins to 59 and select Update. Select the Pin Sequence numbers 1 until 4 and drag and drop the Pin Sequence column to Bottom of GATE A. If you need to select different multiple lines you can use the CTRL key. Now select Pin Sequence numbers 5 until 10 by using the CTRL/SHIFT key and drag and drop the Pin Sequence column to Top of GATE A. Select the Pin Sequence numbers 11 until 43 by using the CTRL/SHIFT key and drag and drop the Pin Sequence column to left of GATE B. Now select Pin Sequence numbers 44 until 59 by using the CTRL/SHIFT key and drag and drop the Pin Sequence column to right of GATE B. Select: Next

f.

The fourth step is to enter the Pin Name/Number and Pin Label Origins. The position of the Pin Name/Numbers and Pin Labels are related to the final pin position. By default the Wizard will place Pin Name/Number and Pin Label Origins intuitively, with Pin Names outside the block, and Pin Labels inside. Ensure the settings are the same as the example. Select: Next

For more information visit www.zuken.com/cadstar

g.

The next step is to enter assignments to be used for terminals and outlines.

Terminals: Set the Terminal Code to Terminal. Origin: The symbol Origin should be placed at terminal one. Outlines: The Outline Code specifies the thickness of the line drawing. You should select Symbol Outline.

At this stage, you can Finish the wizard and the symbols will be created. Select No if you are asked to set the multiple gate file, this is only needed when reading an Aldec FPGA pin list file (CSV). You can still modify the Schematic Symbol manually if needed. When done, save the Schematic Symbol. Click on the Toolbar Libraries Schematic Symbols Save Symbol. If the symbol already exists in the library you can decide to overwrite it if you wish. h. Now you can go through the Schematic Block Creation Wizard again and create another device.

Parts Library Editor


a. Now you have created the PCB component and the two schematic symbols you can generate the Part that will link the schematic symbols and PCB component together. Click on the Toolbar Libraries Library Editor. In the Library Editor Click Toolbar (File Open), browse the Library directory and open Parts.lib. on the

b.

For more information visit www.zuken.com/cadstar

c. d.

Click on the Toolbar Edit Add New Row You have to fill in the Part Name and Definition (in both fields you can type: Example). In addition you can fill in the Description if you want to run a more detailed Parts List of the used components in your design. Select the Part Name Example and click on the Toolbar Edit Edit Part Definition (or use the right mouse button).

e.

f.

Now you can click in the Component window Select and choose the PCB Component (bga64) that you created by using the BGA Wizard in the previous exercise. Set the Name Stem to: U The Name Stem specifies the alphabetic character(s) that will be common to all component names when this part is added to the design.

g. h.

Select Symbols and click on the Toolbar Edit Add two New Rows Now you can double click in the Symbol Name field or use the right mouse button. Select Symbol and select for Gate A the symbol RC48F4400P0VT00-P you created by using the Schematic Block Creation Wizard in the previous exercise. For Gate B select the Symbol RC48F4400P0VT00.

i.

Select the TAB Pins and click on the Toolbar Actions Import Pin Labels Change the Files of Type to CSV (Comma delimited).

For more information visit www.zuken.com/cadstar

Select the file name: pinlist.csv Tip: A pin list can be often downloaded from the component manufacturers website or you can extract it from the component manufacturer datasheet in spreadsheet software (for example MS Excel).

j.

The next step is to select Pin 1 8 in the Name column and click on the Toolbar Actions Name Pins (BGAs have Pin-Names instead of Pin-Numbers!).

Enter for the First Pin Name the value: A1 Repeat this action for the Pins: 9 16 starting with B1 17 24 starting with C1 25 32 starting with D1 33 40 starting with E1 41 48 starting with F1 49 56 starting with G1 57 64 starting with H1 k. When you used the Schematic Block Wizard for the creation of the first symbol (RC48F4400P0VT00-P) a total of 10 terminals were placed on the bottom and topside of the symbol and if you remember, they are always numbered from left to right. Usually the VSS is placed at the bottom of the power symbol and the VCC at the top.

Terminal Numbers

Map

Numbered form Left to Right

For more information visit www.zuken.com/cadstar

The next step is to map the symbol terminals with the accompanying Pin Numbers/Names (and Labels). In other words you will start with the pin/ball B2 (Label VSS) assigning it to Terminal A.1 Select the Terminal field belonging to Pin Name B2 (Label VSS), and click on the Toolbar Edit Assign Terminals or use the right mouse button to select Assign Terminals. You can finish the mapping for the power symbol by selecting, in the correct order, the next power pins. Look for pin/ball H2 (Label VSS) and just click in the terminal field. You will notice that automatically A.2 will be assigned. Now assign the following: - pin/ball H4 (Label VSS) assign to A.3 - pin/ball H6 (Label VSS) assign to A.4 - pin/ball A4 (Label VPP) assign to A.5 - pin/ball A6 (Label VCC) assign to A.6 - pin/ball H3 (Label VCC) assign to A.7 - pin/ball D5 (Label VCCQ) assign to A.8 - pin/ball D6 (Label VCCQ) assign to A.9 - pin/ball G4 (Label VCCQ) assign to A.10

Tip: If you made a mistake during the allocation of the terminals, dont worry just press the Escape key and restart in the correct box with the new start sequence!

Now you can continue assigning the terminals for Gate B (RC48F4400P0VT00). Just click in the terminal field of pin/ball A1 (Label A1) and you will notice that automatically B.1 (Gate B Terminal 1) will be assigned. When you used the Schematic Block Wizard for the creation of the second symbol (RC48F4400P0VT00), a total of 49 terminals were placed at the left and right side of the symbol and if you remember, they are always numbered from top to bottom. You can assign following pins/balls for Gate B: - pin/ball A1 (Label A1) assign to B.1 - pin/ball B1 (Label A2) assign to B.2 - pin/ball C1 (Label A3) assign to B.3 - pin/ball D1 (Label A4) assign to B.4 - pin/ball D2 (Label A5) assign to B.5 - pin/ball A2 (Label A6) assign to B.6 - pin/ball C2 (Label A7) assign to B.7 - pin/ball A3 (Label A8) assign to B.8 - pin/ball B3 (Label A9) assign to B.9 - pin/ball C3 (Label A10) assign to B.10 - pin/ball D3 (Label A11) assign to B.11 - pin/ball C4 (Label A12) assign to B.12 - pin/ball A5 (Label A13) assign to B.13 - pin/ball B5 (Label A14) assign to B.14 - pin/ball B4 (Label CE) assign to B.26 - pin/ball C6 (Label WP) assign to B.27 - pin/ball D4 (Label RST) assign to B.28 - pin/ball E6 (Label CLK) assign to B.29 - pin/ball F6 (Label ADV) assign to B.30 - pin/ball F7 (Label WAIT) assign to B.31 - pin/ball F8 (Label OE) assign to B.32 - pin/ball G8 (Label WE) assign to B.33 - pin/ball F2 (Label DQ0) assign to B.34 - pin/ball E2 (Label DQ1) assign to B.35 - pin/ball G3 (Label DQ2) assign to B.36 - pin/ball E4 (Label DQ3) assign to B.37 - pin/ball E5 (Label DQ4) assign to B.38 - pin/ball G5 (Label DQ5) assign to B.39

For more information visit www.zuken.com/cadstar

- pin/ball C5 (Label A15) assign to B.15 - pin/ball D7 (Label A16) assign to B.16 - pin/ball D8 (Label A17) assign to B.17 - pin/ball A7 (Label A18) assign to B.18 - pin/ball B7 (Label A19) assign to B.19 - pin/ball C7 (Label A20) assign to B.20 - pin/ball C8 (Label A21) assign to B.21 - pin/ball A8 (Label A22) assign to B.22 - pin/ball G1 (Label A23) assign to B.23 - pin/ball H8 (Label A24) assign to B.24 - pin/ball B6 (Label A25) assign to B.25
Map

- pin/ball G6 (Label DQ6) assign to B.40 - pin/ball H7 (Label DQ7) assign to B.41 - pin/ball E1 (Label DQ8) assign to B.42 - pin/ball E3 (Label DQ9) assign to B.43 - pin/ball F3 (Label DQ10) assign to B.44 - pin/ball F4 (Label DQ11) assign to B.45 - pin/ball F5 (Label DQ13) assign to B.46 - pin/ball H5 (Label DQ13) assign to B.47 - pin/ball G7 (Label DQ14) assign to B.48 - pin/ball E7 (Label DQ15) assign to B.49

T e r m i n a l N u m b e r s

T e r m i n a l N u m b e r s

l.

Select Gate and Pin Swapping and click on the External Swapping Group. Select the pins with the labels {A1} {A25} and click on the Toolbar Actions Equivalent Pins or use the right mouse button. Repeat the action for the pins with the labels DQ0 DQ15. If you do so it will help you to optimize the routing pattern in the Design Editor and/or P.R.Editor XR.

For more information visit www.zuken.com/cadstar

m.

Select Attributes and click on the text field Value. Add the value RC48F4400P0VT00. You can fill in more attributes if you like. Attribute values can be set Read Only so you cant change the value in the Design Editor. Tip: You can create user-defined attributes by clicking on the Toolbar Settings Attribute Names.

If you managed to finish adding a part you can click on the Toolbar File Save and Close the file. If you didnt manage to add the part without errors or warnings you can browse the Library Directory ..\Program Files\Zuken\CADSTAR Express 11.0\Library and delete the Parts.lib. Then rename the file Parts.bak to Parts.lib and repeat the last action in the Library Editor to click on the Toolbar Libraries Parts and select Parts Index. You should have no errors or warnings.

For more information visit www.zuken.com/cadstar

Quite interesting?
If you want to skip most steps as described above you can also use a CSV (Aldec FPGA Data) file. To learn more you can check out CADSTAR FPGA, supporting Actel, Altera, Lattice, Quicklogic and Xilinx flows from one universal project manager that controls all the design files for simulation, synthesis, place and route and pin assignment to the PCB. Pin synchronization is often far from optimal for PCB routing; this new integrated solution supports the I/O synchronization between the FPGA device and the PCB board. CADSTAR FPGA supports forward- and back-annotate pin assignment changes in order to optimize PCB routing. Note: In the movies we will use a bga363 package, but for the following exercises you need to use the bga64 package. The principal is the same! a. You can run the Schematic Symbol Block Wizard again and read this time the pinlist of the StrataFlash Embedded Memory device as exported by Active-HDL from Aldec. Choose the file format CSV (Aldec FPGA Data) and select the file Aldec_pinlist.csv. This time export as well a Multi-gate file using the Schematic Symbol Block Wizard that will help you to create the CADSTAR FPGA Part almost automatically. Create a CADSTAR FPGA Part using the Multi-gate data file (CSV) as created by the Schematic Symbol Block Wizard. The package does already exist in the PCB Component Library bga64 (reflow). Add the FPGA device into your schematics design, transfer to PCB, place the components, optimize your PCB routing by swapping pins on the fly in the Place & Route Editor and back annotate to your schematics and the FPGA device.

b.

c.

CADSTAR FPGA is a new collaborative product, combining Aldecs Active-HDL lite and Zukens CADSTAR in one universal project manager. You can find more information at: http://www.zuken.com/products/cadstar/system/fpga.aspx

For more information visit www.zuken.com/cadstar

Conclusion
After these exercises you should now be more familiar with the basics of Schematics design. In the near future you may even be designing a PCB using CADSTAR. With this booklet, you have received a free copy of CADSTAR 11 Schematics. Enjoy it! For further information on pricing or if you require any support, please contact your local CADSTAR distributor:

http://www.zuken.com/products/cadstar/where-to-buy.aspx
There are also other CADSTAR tools that help Schematic and PCB designers to create board layouts.

Check for more information on CADSTAR products: http://www.zuken.com/cadstar


I hope to see you again when we talk about some of our other, more advanced products:

See you soon!


For more information visit www.zuken.com/cadstar

You might also like