Professional Documents
Culture Documents
A P P N O T E S SM
Table of Contents
Abstract .......................................................................................................................... 4
Chapter 1: Setting up the Design Data ........................................................................ 5
Exercise 1: Overview............................................................................................................... 5
Prerequisites ............................................................................................................................................................................. 5
Design Data Overview............................................................................................................................................................... 6
Checking For Pre-Existing DxWDIR Folder ............................................................................................................................... 6
Backup Pre-existing DxWDIR Folder ......................................................................................................................................... 7
Copy DxWDIR Tutorial Data to Local Location .......................................................................................................................... 7
Get Design Data from SupportNet ............................................................................................................................................. 7
Exercise 2: Zooming.............................................................................................................. 26
Exercise 3: Help System ....................................................................................................... 27
Exercise 4: Window Tabs Feature ......................................................................................... 27
Exercise 5: Thumbnail Viewer ............................................................................................... 31
Exercise 6: Find/Replace Function ........................................................................................ 35
Exercise 7: Properties Pane and ICT Viewer ......................................................................... 40
Chapter 3: DxDesigner - Selecting and Verifying Parts with DxDataBook ............. 52
Exercise 1: Configure DxDataBook ...................................................................................... 52
Exercise 2: DxDataBook Libraries ........................................................................................ 56
Exercise 3: Component Selection with DxDataBook.............................................................. 57
Chapter 4: DxDesigner – Schematic Manipulation ................................................... 71
Exercise 1: Creating a New Schematic ................................................................................. 71
Exercise 2: Adding a Sheet Border........................................................................................ 73
Exercise 3: Adding Components ........................................................................................... 74
Exercise 4: Adding Power and Ground Connections. ............................................................ 79
Exercise 5: Moving Components ........................................................................................... 81
Exercise 6: Connecting the Components with Nets ............................................................... 82
Connecting by Abutment ......................................................................................................................................................... 82
Abstract
This AppNote is a tutorial for the EE 7.9.4 release of DxDesigner. The primary focus is on
schematic capture with DxDesigner, including DxDataBook. CES, Expedition PCB, and
supporting utilities are also briefly covered by this tutorial. The goal of the tutorial is to
introduce new users to fundamental concepts and techniques to successfully create
schematics using DxDesigner. You should allow for approximately 12 hours to complete
this tutorial.
A video showing updates to the user interface for EE 7.9.4 release can be seen here:
Video: DxDesigner EE7.9.4 Release Highlights (10 min).
For instructor-led training on DxDesigner and other Mentor Graphics products, please
consider attending Mentor Graphics training classes from Mentor Graphics Education
Services department.
Over the course of this tutorial, you will learn the following:
Navigating in a DxDesigner schematic
Selecting and verifying parts using DxDataBook
Creating schematics with DxDesigner
Creating hierarchical schematics with DxDesigner
Using CES to add constraints to your board
Forward annotating your schematic for Expedition PCB
Using utilities to document your DxDesigner schematic
As a primer for this tutorial, the following short video will follow the creation of a simple
design in DxDesigner: Video: Small Amplifier Design Lab (13 min). This video is part of a
larger video series that contains content that is beyond this scope of this tutorial. Also this
video series was made for the DxDesigner 7.9.2 release, but is still applicable for the 7.9.4
release. The full series of videos can be found here: DxDesigner for University Video
Series (1hr 15min) .
Exercise 1: Overview
The tutorial assumes no prior knowledge of the tools, just a familiarity with schematic
capture and layout environments. The tutorial is organized in the same way that you would
create a real design. You begin by setting up the DxDesigner environment, you proceed to
draw a schematic, run reports, run a simulation and pass the design to Expedition PCB for
layout. The design you create in the early topics will continue to be used as you perform
more advanced tasks.
Prerequisites
Your Operating system is Windows. This tutorial is currently not supported on UNIX or
Linux.
Installed DxDesigner (version EE 7.9.4)
Installed DxDataBook
Installed CES
Note: Instructions on how to download the files and where to extract them can be found on
page 7-8.
\DxWDIR
\templates
\DxTUTORIAL
A brief overview of the tutorial and tutorial data located in the DxWDIR folder is as follows:
DxTUTORIAL - Contains data for this tutorial covering a real-world design example
DxTUT_Sample - Contains DxTUTORIAL design data in various stages of completion
DxConfig - Contains ancillary files used in some topics
DxTUT_Lib - Contains a Central Library
templates - Template files are located in templates\dxdesigner\expedition
DxTUT_template.prj
designs expect your WDIR variable to be set to the DxWDIR folder provided with this
tutorial, after you copy it into to your file system.
Note: If your WDIR is currently set to your working environment location, you should note
the current WDIR setting so you can later restore it to the original value.
1. From your Windows XP system Start menu, choose Control Panel > System >
Advanced (tab) > Environment Variables (button) to access the Environment
Variables dialog.
a. Note: The Windows 7 path is similar at: Start menu > Control Panel > System
(link) > Advanced system settings (link) > Advanced (tab) > Environment
Variables (button).
2. In the System variables section, locate the WDIR item and click the Edit button. The
Edit System Variable dialog appears.
a. If the WDIR variable points to a folder called DxWDIR in the same location where
you want to copy this tutorial DxWDIR folder, you should back up your original
DxWDIR folder as described in the topic “Backup Pre-existing DxWDIR Folder”.
b. Otherwise you can skip to the “Copy DxWDIR Tutorial Data to Local Location”
topic.
3. Cancel the Environment Variables and System Properties dialogs.
1. Before running the tutorial, create a backup of your existing configuration by saving
your local DxWDIR folder to a different location.
2. When you have completed the tutorial, replace the tutorial DxWDIR folder with the
backed-up version of your own DWDIR folder if it makes sense to do so.
This section assumes that you are getting the DxWDIR folder from DxWDIR_EE7.9.4.zip
from SupportNet.
1. Change the WDIR environment variable to point to the DxWDIR folder as follows:
a. From your Windows system Start menu, choose Settings > Control Panel >
System > Advanced (tab) > Environment Variables (button) to access the
Environment Variables dialog.
Note: The Windows 7 path is similar at: Start menu > Control Panel >
System (link) > Advanced system settings (link) > Advanced (tab) >
Environment Variables (button)
b. In the System variables section, locate the WDIR item and click the Edit button.
The Edit System Variable dialog appears.
c. Set the WDIR path so {your_path}\DxWDIR is at the front of the path, similar to
that shown below and click OK:
NOTE: This is a good opportunity to make sure that the WDIR variable points to
the correct software installation tree!
c. Click OK.
d. In the Environment Variables dialog, click OK.
e. In the System Properties dialog, click OK.
4. Select the User DSN tab and click the Add… button to add a new User DSN.
5. In the Create New Data Source dialog box, choose the Microsoft Access Driver
(*.mdb) driver and click Finish. The ODBC Microsoft Access Setup dialog appears.
6. In the Data Source Name field, enter SampleLib.
Note: The Data Source Name is case-sensitive, so make sure you follow the text case
as shown above.
7. In the Description field, enter: DxDataBook for Tutorial.
8. In the Database section, click the Select button.
10. Click OK in the open dialog boxes. DxDataBook is now configured for your machine.
Projects can be opened using the Dashboard application (Start > All Programs > Mentor
Graphics SDD > Dashboard) or by selecting the project file (.prj) in Windows Explorer. In
the steps below you will use Windows Explorer to open the tutorial project.
2. Right-click DxTutorial.prj and choose Open With > DxDesigner Application. This
will open the tutorial project in DxDesigner.
Note: If DxDesigner is not set as the default application for a .prj file, you can right-
click on the .prj file and choose Properties to specify DxDesigner as the application
that will open .prj files. If you do this, you will be able to simply double-click the project
file to launch DxDesigner.
The project file is located in the root directory of the project (in this tutorial,
The DxDesigner.xml file can reside in any, some, or all of the directories referenced by the
WDIR environment variable. If a setting appears in two or more of the DxDesigner.xml
files, the setting in the highest level – the leftmost directory as it is displayed by the WDIR
environment variable – will take precedence.
Project Settings
This section provides an overview of the Project settings. No additional project settings are
changed in this section.
The project settings will typically apply to all of the projects and generally should not be
changed by users. Key Project Settings can be set in a pre-defined template that is
selected when the user creates new projects. Templates are also a good way to ensure
that DxDesigner’s settings are consistent among users in a design group.
The Settings dialog page that you open through the Setup > Settings menu in DxDesigner
makes it very easy to understand what belongs to the project settings or to the user
settings as shown below.
In the sections that follow, DO NOT CHANGE settings randomly. Only change the settings
detailed in the instructions below. Changing settings that are not covered in the tutorial
instructions could cause DxDesigner to behave differently and lead to deviations in the
results that you produce.
Special Components: Defines the path to the speccomps.ini file containing predefined
symbol names for hierarchical ports based on the pin type (Input, output, bidirectional,
tri-state, open collector, open emitter, analog, power and ground), for on/off-sheet
connectors and for power/ground.
Bus Contents: Defines the path to the busconts.ini file containing predefined bus
names (typically standard buses or in-house buses) which are available to the users in
the editors.
Borders and Zones: Defines the path to the border.ini file containing predefined
symbol names for various border sheet sizes (A0…A4, A…E sheet sizes). Borders can
be automatically inserted while creating a new sheet. These settings are stored in the
borders.ini file. Also defined here are zone settings. For more information, see the
following documents:
Cross Reference: Defines how the link annotations appear on the schematic. This
method was introduced in EE 7.9.1 and will eventually replace the Tools > Cross
Reference method of creating cross references on links (such as off-sheet and on-
sheet references).
Net Name Delimiter: Useful to manage bus range values such as ADDR(7:0). None,
curly brackets “( )” or square brackets “[ ]” are supported.
Export HDL: You specify the VHDL or Verilog parameters of a design. This tutorial
does not cover this topic.
You can enter project settings by way of the graphical user interface if needed. In general,
they are pre-defined in a Template accessible from the project Creation dialog page. More
information can be found in the “Creating a Template File” topic in the DxDesigner
Administrator’s Guide. Template files and project files share the same syntax which makes
it easy to create a Template project.
SECTION DesignInfo
KEY BorderSymbols "${DxTUTORIAL}\DxConfig\borders.ini"
KEY Bus_Contents "${DxTUTORIAL}\DxConfig\busconts.ini"
KEY CentralLibrary "${DxTUTORIAL}\DxTUT_Lib\Master.lmc"
KEY DBCFile "${DxTUTORIAL}\DxTUT_Lib\SampleLib.dbc"
KEY DxD_Version "7.9.2"
KEY FrontEndSnapshot "DxD"
KEY HdlUtilsConfigFile "hdlutils.ini"
KEY NetNameDelimiter "()"
KEY PinComponents "${DxTUTORIAL}\DxConfig\speccomp.ini"
KEY SheetsEditMode "1"
ENDSECTION
You can click on the different items of the Project Settings dialog page to see what the user
interface looks like. You will change a few of these settings in the following sections of this
chapter.
User Settings
User settings are defined from the DxDesigner Setup > Settings menu. User settings are
divided into the following major categories, some of which are further divided into
subcategories. We will only change a few of them in the next sections.
Schematic Editor: The Schematic editor section includes options such as Units, Grid,
and the New Sheets definitions.
Graphical Rules Checker: Options for the setting reporting of graphical rule violations.
Interconnectivity Table: Options for the ICT Viewer and the InterConnectivity Editor
(ICE). ICE is not covered in this tutorial. The ICT Viewer will be described in
Chapter 2.
Navigator: The Project Navigator section controls the format of items displayed in the
Navigator Window.
Display: Controls the color various objects and fonts for the Graphic area of
DxDesigner.
DxDesigner Diagnostics: Controls whether Tools -> DxDesigner Diagnostics is run
when exiting DxDesigner.
Cross Probing: Controls cross probing options between DxDesigner and the chosen
layout system.
Sheet/ICT Backup: Controls behavior of automatic sheet/ICT backups.
Project Backup: Controls project's backups and backup settings.
HDL/FPGA Integration: Control HDL simulation parameters.
Run on Startup: Specify Forms or Scripts that will run when DxDesigner is started.
DxDataBook Data Source: Allows the user to enter a user name and password for a
DxDataBook data source.
Licensing: Controls which licenses you check out.
Advanced: Contains various optional settings for DxDesigner.
In the User Settings section of the tutorial you change a few settings:
Units
DxDesigner Navigator
Default Sheet Size
Rules for Copying
We will continue to use this dialog in the next section. Clicking OK closes the dialog.
If your settings are different than the defaults, clicking the Apply (or OK) button writes
those settings in <WDIR>\DxDesigner.xml. Only settings that differ from the default settings
are stored in that file.
From now on, all the dimensions in all the dialogs are expressed in inches.
1. From the Setup > Settings dialog, select Navigator > Symbols.
2. In the Symbols section of the Settings dialog, click the icon on the right side of
the “Info Tip format” option and select Property: Ref Designator.
4. Test the Info Tips displayed in the Navigator by hovering your cursor over a symbol.
The screen shot below shows how Info Tips are displayed.
1. From the Setup > Settings dialog, select Schematic Editor > New Sheets.
2. Set the Default Sheet Size to D.
3. Confirm that the Sheet Orientation is set to Landscape.
4. Enable the “Automatically add border to new schematic sheets” option.
The “Horizontal Zones” and “Vertical Zones” options are for DxDesigner’s cross referencing
via Link symbols. We will leave these alone for now.
There are times when one behavior is more preferred than another, so it is helpful to be
familiar with the “Unique Names on Copy” option.
End of Chapter 1
For design data completed up to this chapter, please go here: Chapter 2 Design Data.
Note: You must first complete Chapter 1, and then copy this design data over the previous
design data, for this design data to work properly.
The advantage of this window is the ability to view all of the design files and to jump to
various pages or nets quickly and easily.
1. If DxDesigner is not running, open the DxTutorial project by double clicking the
${DxTutorial}\DxTUT_PROJ\DxTutorial.prj file.
2. If a previous project was open then select the Yes button to allow the software to
close the previous documents.
4. Double click the LMB over the name systemdesign and notice the main window
displays the sheet systemdesign.1.
7. Note: The schematic sheet tabs located at the bottom display both systemdesign.1
and ARRANDALE_CPU.4.
8. Notice that there are 2 categories that appear in the dialog for each schematic sheet:
Symbols and Nets.
9. Select the item again to expand the Symbols section of the dialog.
Exercise 2: Zooming
DxDesigner offers numerous methods for zooming in on areas of your schematic. Below
you will experiment with some methods. Your mouse can be configured in a way that the
zooming commands associated with the mouse wheel are consistent between both
DxDesigner and Expedition PCB. The steps below will show you a few methods that you
can use to zoom in and out.
1. Using the LMB click on any open area in the working area pane.
2. Press F7 and F8 on your keyboard or use the mouse wheel, if available, to zoom in or
out in DxDesigner. Practice zooming in and out while using these methods.
Note: As you zoom in, you may notice that the capacitors have a red box around
them. The red box indicates that the symbol has been updated in the Central Library
since it was added to the schematic. In Chapter 4 you will resolve the discrepancy
between the schematic and the library, so disregard the red box for now.
3. Click in the schematic editor and press Home key on your keyboard (Zoom to the
Full) to restore the view to the entire Schematic.
Note: The keyboard hot-keys (like Home or the function keys) are sensitive only when
the schematic editor pane is active. If a hot-key does not appear to work, it may be
that another pane (like the Navigator) is active. All you need to do is click in the
schematic editor pane and then execute the hot-key.
4. Press F9 and click and drag the LMB to define the area you wish to zoom in on.
Press the Home key to return to the full view of the schematic sheet.
Note: This same procedure can be done by pressing the z key, then dragging a box
around the area you wish to zoom in on.
1. Notice the Help menu at the top of DxDesigner. From here you can access
documentation, support, SupportNet and tips. Take a moment to view the resources
available from this menu.
2. View all available shortcuts and system strokes by selecting Help > Show Bindings
and Help > Show Strokes. Close the Bindings window and disable the Show Strokes
mode after you have reviewed them.
Note: Navigational controls can also be configured in Setup > Settings > Schematic
Editor > Strokes, Pan and Zoom.
One such benefit available within DxDesigner is the ability to configure several panes in a
tabbed arrangement. This allows you to enable the required dialog simply by selecting the
tab representing the window pane you wish to view.
Note: You should now have 5 different panes opened up in DxDesigner along with the
schematic.
2. To make things more manageable we are going to combine the DxDataBook, ICT
Viewer, and Output panes into a single pane which will be located at the bottom of the
window.
Note: A blue tint appears on the target pane when the panes are ready to be
combined.
6. Repeat the operation with the ICT Viewer table. The results should look similar to the
Output Pane shown below.
7. Disable the icons , , , and to set the Lab 2 window panes back to the way
it originally was.
3. The Thumbnails pane is opened and it will display a graphical thumbnail of the
systemdesign.1 schematic sheet. The Thumbnails pane will display all schematic
sheets associated with the currently active hierarchical level. Since the systemdesign
hierarchical level is comprised of one sheet, only one sheet is displayed in the
Thumbnails pane.
5. The Thumbnails pane now displays thumbnails for each of the seven schematic
sheets that comprise the ARRANDALE_CPU.
7. Close the Thumbnails pane by clicking the small “x” in the top right corner of the
Thumbnails pane.
7. Notice that a tab on top of the design area for the sheet containing C2 has been
opened.
8. In the Output window, a hyperlink appears that can be used to quickly jump to the
capacitor with reference designator C2.
Note: You will find capacitor C2 on the left side of the schematic sheet.
9. In the “Find and Replace Text” dialog change the “Find what” field to 22uF and click
the Find All button to find all 22uF capacitors across the systemdesign Board.
11. Select Window > Close All to close all of the schematic pages. Alternatively, you
could click the small x to close individual sheets.
13. Now enter the net name HOST*GOOD in the “Find and Replace Text” dialog to
search across the systemdesign schematic.
14. Select the Find All button to search the entire schematic.
Note: There are six instances of HOST_VTTPWRGOOD across three schematic
sheets.
15. When selecting an instance of the net in the Output dialog, the associated schematic
sheet is opened and that portion of the HOST_VTTPWRGOOD net is selected. This
functionality allows you to check connectivity throughout your design very efficiently.
16. If you look closely at the search results, you will see that DxDesigner found pins, nets,
and components named HOST_VTTPWRGOOD. In the “Look in” section, deselect
everything but Nets and then click Find All.
17. Review the search results and you will see two hyperlinks for the two instances of net
HOST_VTTPWRGOOD on two respective sheets.
18. Close the “Find and Replace Text” dialog.
19. Select Window > Close All to close all open schematic sheets.
2. Select the Properties icon or type CTRL-ALT-A as a hotkey executed from the
keyboard.
4. For this exercise you can close all panes except the Navigator, the schematic editor,
ICT Viewer and Properties panes.
Note: The scope of the ICT Viewer is controlled by the Navigator. So make sure that
you have selected the systemdesign schematic in the Navigator. Otherwise, you will
not be viewing all of the parts in the design.
5. In the ICT Viewer pane, select the Symbol Properties tab on the bottom of the
window.
Note: You can resize the width of any of the columns in the ICT Viewer by positioning
the mouse cursor over the boundary between columns and click and dragging the left
or right when you see the cursor icon appear as a double-ended arrow.
8. In the ICT Viewer, select one of the resistors with a Part Number of “3301-0028 by
selecting the resistor’s ID ($xxxx) from the leftmost column.
10. Values can be changed by clicking the cell in the Properties window and typing a new
value. Change the resistor’s “Rating” property from 125mW to 250mW in the Value
column of the Properties window.
11. After entering the new value click into another cell to apply the change.
12. Select Edit > Undo or press the u key on your keyboard to restore the original value
of 125mW to the resistor.
17. Inspect one of the resistors in the schematic to confirm that the Package_Type value
is now visible.
18. In the ICT Viewer select all of the 10K resistors and disable the visibility of the
Package_Type value.
19. In the Navigator, select systemdesign.
Note: When you push into the ARRANDALE_CPU schematic, numerous “Port
creation failed” messages will appear in the Output pane. These occur because there
are no symbols currently defined as hierarchical ports. You will resolve these issues
in Chapter 5. Presently, you can ignore the messages.
21. Press the PageDn key on the keyboard until you get to Sheet 3 of the
ARRANDALE_CPU schematic. The active sheet name will show at the bottom edge of
DxDesigner.
23. Note: The ARRANDALE_CPU part is a very large part which makes it impractical to
capture as a single symbol. Therefore, the librarian has “fractured” this part into
multiple symbols. Two of those symbols appear on sheet 3 of the ARRANDALE_CPU
schematic.
Note: Once a symbol is selected, its properties will appear in the Properties editor.
25. Close the Properties window by selecting the in the upper right hand corner of this
pane.
Note: At no time have you had to save your work in DxDesigner. DxDesigner is
constantly saving your data. As you complete an action – like moving a part – DxDesigner
immediately writes that change into the schematic database.
End of Chapter 2
DxDataBook connects to any ODBC compliant database and makes the necessary content
available to aid in the part selection process. When the part is added to the schematic, the
property data is also added so the part is complete when it is released onto the schematic.
DxDataBook also provides component verification checks which ensure the property data
attached to the symbol in the schematic matches the respective property values in the
Centralized ODBC compliant database. This prevents incomplete or inaccurate data from
being passed into the PCB design phase.
For design data completed up to this chapter, please go here: Chapter 3 Design Data.
Note: You must first complete Chapter 1, and then copy this design data over the previous
design data, for this design data to work properly.
1. If DxDesigner is not running, open the DxTutorial project by double clicking the
${DxTutorial}\DxTUT_PROJ\DxTutorial.prj file.
4. If the Output pane is open select the Output pane icon to close it.
5. Make sure that DxDataBook is connected to the SampleLib.dbc configuration file.
You can verify this by looking at the bottom left corner of DxDataBook.
DxDataBook relies on some settings stored in your Windows Registry. In the steps below
we’ll inspect the settings of your Windows Registry to ensure that DxDataBook will display
and annotate component properties in a way that is consistent with the instructions in this
tutorial.
9. Confirm that the Display option is set as “DxDesigner Property Names.” Set that
option if it is not already configured on your machine.
10. Enable the “Display numeric values with magnitude” and the “Enable DxDataBook
Window Column Tooltip” options. Click OK to close the DxDataBook Properties
dialog.
Note: The system now searches the database and lists all the components in this
library.
Note: “Matches” in the lower right side of the DxDataBook grid indicates how many
parts meet the current filter criteria.
3. With the Query Builder dialog open, click the Condition button.
Note: This will place the search criterion into the dialog as shown, so it can be
applied.
5. Select the OK button to activate the search based on the criterion. Note: The
resulting data is based on Packge_Type equaling 0402.
7. Click the Condition button to enable the drop-down menus in the Query Builder.
8. Select the drop-down arrows in each setting in the dialog so it matches the example
below (Value =; 10K).
10. Select the OK button to apply the additional search based on the new criterion.
Note: The list of available parts has been reduced to a single part.
11. Using the LMB select the Part 1001-0002. Notice the entire line is highlighted and the
symbol appears in the symbol preview on the right of the DxDataBook pane.
12. Using the LMB, click and drag the symbol in the preview window and place it on the
schematic.
Note: You made a unique change to a part so the part number no longer matches the
resistor’s value. This condition could lead to a very expensive problem due to the way
parts are ordered through a company’s purchasing department. Part numbers that do
not match corresponding properties generally lead to overstocks and delays in
schedule. Both are costly and can be avoided if a DxDataBook configuration is in
place. Over the following steps you will look at how DxDataBook can find these
inconsistencies and allow you to resolve them quickly.
15. Drag another resistor from DxDataBook (Part Number = 1001-0002) onto the
schematic sheet so there are two new ones displayed.
16. Change the Libraries: setting from Resistors to Capacitor.
17.
20. In DxDataBook, use the drop-down menu below the symbol preview to select the
capacitor.2 symbol.
Note: The librarian has created symbols for both vertical and horizontal orientation. It
is good practice to select the properly oriented symbol when you add a part. Doing so
will save you the effort of rotating parts manually. Additionally, the text on your
symbols will be oriented to make it easy to read the schematic.
21. Select any capacitor listed in DxDataBook and click on the “Add new component with
common Properties” icon to add a generic component to the schematic. With the
new part active on your cursor, move both the cursor and the symbol over the working
area and select the LMB to complete the part placement.
22. Right-click after the capacitor has been added to the schematic to return the cursor to
the “Select” mode.
24. DxDataBook has the ability to run verification on a group of selected items, a single
page, or an entire design. For this exercise you will do a verification of the parts we
just placed.
25. Select the Filter icon located on the toolbar. Enable only the “Symbol” check box.
26. Do not close the Selection Filter dialog. It will help to remind you that you need to
restore the ability to select the other object types.
27. While using the LMB drag a select box around the three symbols we just added via
DxDataBook.
28. Restore the Selection Filter to the default settings by enabling the All checkbox and
disabling the Pin checkbox. The selection filter should appear as shown below.
29. Close the Selection Filter by clicking the “x” in the upper right corner of the dialog.
Indicates the properties on the schematic match the database and only
one part matches.
32. First, you will fix the problem with the capacitor which is not correctly specified. Using
the LMB, double-click on the Yellow Circle.
33. On the right hand side a search window opens up with the common properties
automatically applied as filters.
35. Using the LMB select the Annotate Component with all Properties to add the
missing part information. Notice the circle changes from yellow to green and the
Properties Editor now shows the capacitor as a completely defined component.
36. Double-click the row that has the red circle. DxDataBook has detected that the
resistor’s value of “107K” does not exist in DxDataBook’s database.
Note: You may have to adjust the column widths to make read the property values on
the part.
38. Using the LMB, scroll to the Value property name, click the RMB and select Remove
Condition.
41. Using the LMB, select the Annotate component with All Properties icon to
change to the new part.
42. We have now corrected the problem of the mismatched properties on the resistor. In
Live Verification mode, DxDataBook automatically re-verifies the parts and will show
that all three parts match the database.
43. Select all three parts you placed using the CTRL + LMB keys.
44. Press the Delete key to delete the three parts you added during this exercise.
45. If you are going to continue on to Chapter 4, you can leave the systemdesign
schematic open. Otherwise, close DxDesigner.
End of Chapter 3
For design data completed up to this chapter, please go here: Chapter 4 Design Data.
Note: You must first complete Chapter 1, and then copy this design data over the previous
design data, for this design data to work properly.
1. If DxDesigner is not running, open the DxTutorial project by double clicking the
${DxTutorial}\DxTUT_PROJ\DxTutorial.prj file.
2. In DxDesigner, click the New icon , or click the down arrow and then Schematic.
3. The schematic will initially be named Schematic1. Right click on the Schematic and
select Rename. Type d2a_converter over the Schematic1 name.
Note: The d2a_converter is now a schematic in the DxTutorial project, but it is not yet
integrated into the systemdesign board. In this lab you will create the d2a_converter
schematic and in Chapter 5 you will integrate this schematic into the systemdesign
board design.
1. Activate the Properties dialog for the schematic sheet by double-clicking the LMB in
any blank area of the schematic.
2. Change the Drawing Size to “C” by selecting the drop-down in the Properties window.
3. RMB and pick Insert Border from the pop-up menu. The pre-defined C sheet border
will replace the D sheet border.
Note: When adding a border using this method, DxDesigner will insert the symbol for
the current sheet size as defined in Setup > Settings > Project > Borders and
Zones. This menu also stores the definitions for automatic border insertion whose
mapping(s) should be embedded in your company’s template project.
4. If needed, press F8 a few times to Zoom Out or hit the Home button to change the
view so it centers on the format.
3. In the Value column of DxDataBook, type the value of 6.8pF and press Enter.
The hot-key Z is a helpful command that will zoom in on whatever objects are selected
in the schematic pane. Make sure that you are aware of the state of Caps Lock
because some commands are case-sensitive.
Note: There is red box outlining the capacitor. This is how DxDesigner alerts you that
symbols have been changed in the library. If you saw this in one of your designs it
would be wise to contact your librarian to find out how the symbol was changed. In this
case, default values for some symbol properties have been added to the symbol. This
has no impact on the integrity of the schematic, but DxDesigner will flag any change to
a symbol file with a red box. In the following steps you will execute a command that
will accept the symbol changes and clear the red box.
8. With the capacitor.1 checkbox selected, click OK in the “Component definition update”
dialog to update the symbol. When the update process concludes, the red box will
disappear.
9. In DxDataBook, right-click and choose Remove All Conditions to clear the current
query.
10. In DxDataBook, search the Capacitor library for a capacitor with a Value of 100nF and
a Tolerance of 20%. Add it to the schematic.
11. Switch the DxDataBook library to the AD_DA library. Here you will find only one part,
the da_8bit.1 symbol.
August 15, 2012 Page 77 of 207
Copyright © 2012 Mentor Graphics Corporation
Trademarks that appear in Mentor Graphics product publications that are not owned by Mentor Graphics are trademarks
of their respective owners.
DxDesigner Tutorial for the Expedition Enterprise Flow
12. Before you add the da_8bit.1 symbol to the schematic, select the pin numbers for the
part from the “Slot” drop-down menu.
Note: If you add a part from DxDataBook without selecting a slot, it will have no pin
numbers. This is not necessarily a problem because the Packager will add any pin
numbers that are missing prior to opening the design in Expedition PCB. However,
most schematic designers want to have the pin numbers on their parts when they are
added to the schematic, so it is good practice to select the Slot option when you are
adding symbols to your schematic.
13. Drag and drop the da_8bit.1 symbol onto the schematic.
14. Arrange the three components as shown in the screenshot below.
3. The “Power Symbol” dialog will open and allow you to browse the libraries for a power
symbol. Select the pwr.1 symbol from the builtin library. Click OK.
4. Follow the same process but this time select Ground in the Special Components
dialog. Then, from the builtin library select gnd.1 and select OK.
Note: Now, in your toolbar for DxDesigner the Special Components icon will
display the pwr.1 and gnd.1 symbols.
6. Click on the Special Components icon and select the builtin:pwr.1.
7. A power pin will be attached to your cursor. Select the LMB to place the power symbol
in the working area. When you have placed it click RMB to exit the power pin mode.
Note: When you add a pin using this method, DxDesigner enters a mode where a pin
is added each time you click the LMB. You can exit that mode by clicking the RMB or
by pressing the Esc key.
8. Follow the same steps to add a Ground symbol to the schematic.
Note: You can select multiple components simultaneously by holding down the CTRL
key while selecting all desired parts with the LMB.
When you have selected all of the intended parts release both the CTRL key and the
LMB.
Click any of the selected parts with the LMB and drag the parts to a new location.
Release the LMB to place the parts.
2. Use the method described above to move all of the parts to the center of the sheet.
3. When you have moved the components, click in vacant area of the schematic to
deselect all of the components.
Connecting by Abutment
1. Click the Zoom Area icon and draw a frame around the symbols you added. This
will cause DxDesigner to zoom in around those parts.
2. Select the power pin (pwr.1).
3. Select and hold the LMB and drag the first power pin to the point where the power pin
touches the end of pin 13 on the da_8bit.1 symbol. A purple star will appear letting
you know that a connection is going to be made when the power pin is placed at that
location.
Note: It is important that the ends of the two pins share the same grid location. If the
pins overlap each other, they will not be joined.
Note: If your connection does not look like the screenshot above, repeat steps 3
through 5 above.
6. Use the Abutment method to connect the ground pin to pin 6 of the IC component.
1. Position the mouse cursor above pin 16 of the IC, but make sure that the cursor is not
touching or on top of the pin.
2. Click the RMB and move the cursor. A net will be connected between the mouse
cursor and pin 16.
Note: If the Strokes feature is enabled, you may end up issuing a stroke command
instead of drawing a net. The key to ensuring that you draw a net (rather than issue a
stroke command) is to make sure that:
a. The mouse cursor is not on the pin, but near the end of the pin.
b. The mouse cursor is stationary when you click the RMB.
3. Move the mouse cursor upward three or four grid points. The net will follow the
mouse without your having to hold a mouse button.
4. Click the RMB and move the cursor to the left. This will allow you to create a bend in
the net.
Note: You could have simply moved the cursor to the left and the net would turn to the
left. Clicking the RMB to turn the net has the advantage of precisely determining
where the net bend occurs.
5. Position the cursor on the net between pin 13 and the power pin and click the LMB to
complete the connection. The net should appear as shown below.
6. Click the RMB to exit the net mode. Alternatively, you can press the ESC key on the
keyboard or select the Select icon to exit net mode.
3. In the schematic editor, select only the name (A) and move it away from the net and
release LMB. Notice that a dashed line indicates the net to which the Name belongs.
1. Move the net name back to its original position on top of the net.
2. Select the net and move it. Note that the net name moves along with the net.
3. Return the net to its original position. You can do this either manually or by selecting
Edit > Undo or by pressing CTRL + Z.
4. In the Properties dialog click the checkbox next to the Name value. This will disable
the visibility of the Name.
Note: The “Id” of your net may differ from that shown in the screenshot above.
6. Select the net connected to pin 15 and name it A.
8. In the Properties dialog disable the visibility for this net name.
Note: Remember that the net IDs in your schematic may differ from those shown in
the screenshots. Such differences are not a problem.
3. In the Navigator, position the cursor over the net’s ID in the Navigator and use the
RMB menu to select Rename. Rename the net CLK and click Enter. DxDesigner will
display the text case that you use. Use uppercase letters for your net names in this
tutorial.
4. Select the net in the schematic pane and use the Properties dialog to disable the
visibility of CLK.
5. Use the method described above in steps 1 through 3 to add the name V_REF to the
net connected to pin 1 of the IC.
6. Disable the visibility of V_REF.
Property Visibility
1. If not already open, activate the Properties editor by selecting the Properties icon
or by entering the modeless command CTRL-ALT-A.
2. Using the LMB, select the IC.
Note: The Properties for that component are displayed in the Property editor
3. To make a property type visible you can check the box next to the desired property.
Check the box next to Package_Type. Notice Package_Type is now shown below
the symbol.
Note: The “Global Signal Name” property will propagate its value to be the name of
any net that connects to this pin. The ground pin symbol also has a “Global Signal
Name” property; however, it will not be edited here because it has the desired value,
“GND”, already.
Tip: Be sure to extend the vertical bus segment so that it is aligned with pin 7 down to
pin 12 of the IC.
August 15, 2012 Page 94 of 207
Copyright © 2012 Mentor Graphics Corporation
Trademarks that appear in Mentor Graphics product publications that are not owned by Mentor Graphics are trademarks
of their respective owners.
DxDesigner Tutorial for the Expedition Enterprise Flow
7. Select the bus name in the schematic. This will cause the bus segment to become
deselected and the Properties dialog will display the properties associated with the
bus name (rather than the bus object).
8. Set the Size property to 0.25. DxDesigner will fill in the units automatically.
9. Reposition the bus name so it sits above the horizontal bus segment.
11. Click OK in the Rip Nets dialog and move the resultant nets so they connect to the
pins on the left side of the IC.
12. Click the LMB to complete the connection to the IC pins.
13. If the Net names are too close to the IC or overlap with the IC, select the vertical bus
segment and move it to the left. The net names will follow the bus segment.
August 15, 2012 Page 96 of 207
Copyright © 2012 Mentor Graphics Corporation
Trademarks that appear in Mentor Graphics product publications that are not owned by Mentor Graphics are trademarks
of their respective owners.
DxDesigner Tutorial for the Expedition Enterprise Flow
1. Hold the CTRL key down and select the power and ground pin symbols. This causes
the two symbols to be selected as a group.
2. Press CTRL+C on the keyboard. Alternatively, you could position your cursor over
one of the selected symbols and click the RMB and choose Copy.
3. Press CTRL+V on the keyboard or click the RMB and choose Paste.
Note: Nothing happens! Unlike a text editor, DxDesigner does not have an active
insertion point. Therefore, you need to click the LMB to complete the Paste
command.
4. Click and hold the LMB and move your cursor toward the capacitor symbols.
5. Release the LMB to place the copied power and ground pins.
6. Position the power and ground pins as shown in the screenshot below.
8. Zoom out to see the entire schematic. You can do this by clicking the Fit All icon,
Now, assume it has been decided that the design will have two channels. Therefore,
you will copy this circuit and rename the nets and bus to account for the second
channel.
9. To give you more room on this page, change the sheet size back to a D sheet.
Double-click a blank area of the schematic to view the schematic properties in the
Properties dialog.
10. Change the Drawing Size to D. Notice that the C size sheet border remains.
11. Click the RMB and choose Insert Border. As seen earlier, this will replace the
current border with the pre-defined border for the now D size sheet.
12. Select the entire circuitry and then click and drag the circuitry upward to make room
for the second channel circuit.
13. With all circuitry still selected, press and hold the CTRL key then position the cursor
on the IC and press and hold the LMB (while you are still holding the CTRL key).
14. Move the mouse cursor downward and a duplicate copy will appear attached to your
cursor. Position the new circuit below the original circuit.
2. In the Properties dialog, rename the bus B_CHANNEL[7:0]. Notice that the net
names that attach to the bus are automatically changed.
3. Use the same method to change the names of A and ~A to B and ~B, respectively.
The remaining net names do not need to be changed.
1. Open the ddr2_interface schematic by double-clicking its yellow icon in the Blocks
tree of the DxDesigner Navigator.
The N icon will cause net stubs to appear on each pin of any part added from
DxDataBook. If you subsequently click the L icon, net names will automatically appear
on the net stubs. In this case, you only need to have the net stubs, not the names, so
you will not use the L icon at this time.
7. Click and drag the capacitor from the preview pane onto the schematic. Note that net
stubs are added to the capacitor.
8. Position the capacitor toward the top right portion of the schematic sheet.
9. Add horizontal net segments to the top and bottom net segments attached to the
capacitor. Make sure that the two segments are of equal length.
10. Select the capacitor and all of the net segments that are attached to it.
12. Fill in the dialog as seen below: Rows = 4, Columns = 4. Click OK.
14. When you have the capacitors in the desired position, click the LMB to place them.
16. Add a power pin symbol and a ground pin symbol to the schematic.
17. Double-click the power pin symbol and set the Global Signal Name to 3V3.
End of Chapter 4
For design data completed up to this chapter, please go here: Chapter 5 Design Data.
Note: You must first complete Chapter 1, and then copy this design data over the previous
design data, for this design data to work properly.
In this exercise you will configure your project to use input, output, and bi-directional
hierarchical ports. Normally, the pointers to hierarchical port symbols should be pre-
configured by your tools administrator or librarian and stored in the speccomps.ini file.
However, for the purpose of this exercise, you will manually define these settings for your
project.
1. If DxDesigner is not running, open the DxTutorial project by double clicking the
${DxTutorial}\DxTUT_PROJ\DxTutorial.prj file.
2. In the DxDesigner Navigator, double-click the d2a_converter block that you created
in Chapter 4.
5. In the Port IN dialog, unfold the builtin library and select the hier_in.1 symbol.
6. Click Apply to add the hier_in.1 port symbol to the Special Components list.
7. Change the port type to Port OUT and follow the same process to add hier_out.1 to
the Port OUT category.
8. Change the port type to Port BI and follow the same process to add hier_bi.1 to the
Port BI category. Click OK to exit the Settings dialog.
In this exercise you will return to the d2a_converter schematic to build it into a hierarchical
structure. Simply put, the process of creating a bottom-up hierarchy involves the following
steps:
a. Create a schematic
b. Add port symbols to nets/ busses that traverse to the higher level
c. Generate the hierarchical symbol
In Chapter 4 you created the d2a_converter schematic, so in this exercise you will continue
the effort by adding hierarchical ports to the schematic’s nets and busses.
Note: The net and bus names are added to the hierarchical port.
3. Select the output nets A, ~A, B, and ~B.
4. Use the Special Components icon and select the IN: builtin:hier_out.1 symbol from
the list.
5. Select the V_REF net.
11. Click OK in the Generate Symbol dialog. The Symbol Editor will be launched to allow
you to inspect and, if needed, change the symbol. Notice that the nets that had
hierarchical ports are all represented on the symbol.
Note: The exact positioning of the pins on your symbol may differ from the screenshot
above. In the steps below, you will modify the position of the symbol pins.
12. Use the Pins dialog to set the V_REF pin’s side to “Top”.
14. Rotate the “V_REF” name so it can be read horizontally by selecting the pin name and
clicking the Rotate 90 icon .
15. The symbol should appear as shown below. Make modifications as needed to match
the symbol below.
Note: If you move a pin, the pin’s name will follow it.
16. Update the symbol outline by choosing Symbol > Update Symbol Outline.
17. When you have completed the symbol edits, choose File > Save All and exit the
Symbol Editor.
1. Launch DxDataBook.
2. In the Navigator, double-click the systemdesign schematic under the Boards tree.
4. If needed, expand the width of the Symbol column so you can read the names of the
symbols.
6. Drag and drop the symbol from the preview pane into the systemdesign schematic,
placing it in the location shown below.
7. Connect all of the nets and busses in that part of the schematic to the d2a_converter
symbol.
8. In the schematic, click the RMB on the new symbol and choose Push from the menu.
This will open the underlying d2a_converter schematic that you created.
9. Click the systemdesign tab at the top of the schematic editor to return to the top level
August 15, 2012 Page 118 of 207
Copyright © 2012 Mentor Graphics Corporation
Trademarks that appear in Mentor Graphics product publications that are not owned by Mentor Graphics are trademarks
of their respective owners.
DxDesigner Tutorial for the Expedition Enterprise Flow
of the design.
10. Double-click the d2a_converter symbol to invoke the Properties dialog.
11. In the Name property, enter D2A_CONVERTER in the value.
Note: Now that you have added the d2a_converter block to the systemdesign board,
the DxDesigner Navigator displays d2a_converter as a branch under the
systemdesign board. If you look in the Blocks tree in the Navigator you will also see
the d2a_converter there. These two schematics are the same. A change in one will
be reflected in both. The primary difference between a schematic in the Block tree
versus the Boards tree is that the Boards schematic is treated as a schematic that will
be sent to Expedition PCB. Blocks, on the other hand, are treated like an element in a
library. In essence, the Blocks tree can be thought of as a local library for the project.
One practical difference between Blocks and Boards is that there are several
commands in the Tools menu that can only be run on Boards. For example, Packager
and Cross Reference operate only on Boards, not Blocks.
The Block feature creates a symbol that resides within the project. Such symbols are
called “local symbols.” Blocks are initially concentric rectangles where the outer boundary is
sensitive to nets and busses. When a net or bus terminates at the boundary of a block, a
pin is automatically added to the block. The block pins adopt the name of the nets and
busses. When a block is completely defined and there is no need to add further pins it
should be “frozen” in order to suspend the dynamic behavior where pins are automatically
added. If there is a need to add pins at a later time a block can be unfrozen.
The instructions below demonstrate the process of creating a hierarchical block using top-
down hierarchical design.
3. The Add Block dialog appears. Enter DDR3_SDRAM as the “Block name” and click
OK to close the dialog.
4. Select all of the nets and busses that are between the ARRANDALE_CPU and
DDR3_SDRAM blocks.
Note: You could use Setup > Settings > Advanced to enable the “Area Select by
Overlap” option. This would allow you to select the nets by drawing a box that
overlaps the nets rather than completely encompassing them.
The DDR3_SDRAM symbol is now complete. The steps that follow will finalize the
symbol and begin the creation of the underlying schematic.
6. Click and drag the right side of the DDR3_SDRAM symbol to adjust the width of the
symbol. Make sure that the net names fit within the symbol boundary.
Note: If the block symbol is too short or too long you can also adjust the height by
clicking and dragging the top or bottom boundary.
August 15, 2012 Page 122 of 207
Copyright © 2012 Mentor Graphics Corporation
Trademarks that appear in Mentor Graphics product publications that are not owned by Mentor Graphics are trademarks
of their respective owners.
7. Right-click on the DDR3_SDRAM symbol and choose Freeze.
Note: When a block is in the “freeze” state, the symbol will not automatically create
pins and the symbol will not be resizable. If new pins need to be added, the symbol
can be unfrozen by right-clicking it and choosing Unfreeze.
Note: When a block symbol is not in the “freeze” state you should avoid copying it.
Otherwise you run the risk of renaming the block’s pin names.
8. Right-click on the DDR3_SDRAM block symbol and choose Edit Local Symbol.
Note: The outer rectangle serves to indicate where you can connect nets and busses
while the block is in the unfrozen state. Now that the block has been frozen, you can
delete the outer rectangle so the block will appear like an ordinary symbol.
10. File > Save All and exit the Symbol Editor.
Note: When you return to the systemdesign schematic you will see that the outer box
has been removed.
At this point you would build the detailed circuitry for the DDR3_SDRAM section of the
systemdesign board. However, we stop here and move on to other features of
DxDesigner.
12. In DxDesigner, select Window > Close All.
13. If you do not intend to continue on to Chapter 6, close DxDesigner.
End of Chapter 5
August 15, 2012 Page 125 of 207
Copyright © 2012 Mentor Graphics Corporation
Trademarks that appear in Mentor Graphics product publications that are not owned by Mentor Graphics are trademarks
of their respective owners.
DxDesigner Tutorial for the Expedition Enterprise Flow
CES and DxDesigner cross probe between each other. Constraint passing is immediate
since CES, DxDesigner, and Expedition PCB all share a common database.
For design data completed up to this chapter, please go here: Chapter 6 Design Data.
Note: You must first complete Chapter 1, and then copy this design data over the previous
design data, for this design data to work properly.
3. Launch CES by selecting Tools > Constraint Editing System or by clicking the CES
icon .
4. Take a moment to read the CES Tip of the Day and then close it.
Note: CES arranges design data into multiple spreadsheet tabs which include Trace &
Via Properties, Clearances, Nets, and Parts. Other spreadsheets can be manually
created or will appear as you interact with CES.
5. Click on each of the spreadsheet tabs and take a few moments to explore the contents
of each tab. Use the scrollbars to navigate horizontally and vertically within the
spreadsheet.
Scrollbars
Spreadsheet
Tabs
Since CES allows you to define a broad set of constraints it is sometimes helpful to
use Display Groups to filter the spreadsheet columns to the subset which you intend
to edit.
Below you will learn how to use display groups.
In particular, the Nets spreadsheet has over 70 columns, so display groups can
7. Use the horizontal scrollbar and notice that there are less than 25 columns associated
with the Net Properties display group.
8. Set the Display Group to Delays and Lengths.
9. Use the horizontal scrollbar and notice that there are less than 20 columns associated
with the Net Properties display group.
10. Set the Display Group back to All.
Since DxDesigner and CES are accessing the same database, DxDesigner can cross
probe to CES. Thus, if you select a net or component in DxDesigner, that object will
also be selected in CES.
11. In CES, enable cross probing by clicking the icon. When cross probing is
enabled the Output window will report “Cross probing server started (Port: 1).”
13. Look at the CES window to see that the A_A_CHANNEL nets are selected.
By default, all nets belong to the (All) collection. Since this design is a work-in-
progress, several Constraint Classes have already been defined. A Constraint Class
is a collection of nets that will share a common set of constraints. CES supports a
variety of constructs that allow you to organize and manage these constraints. The
constructs are:
Scheme – A “rule area”. This is an area on the PCB where a set of clearances and other
physical rules will be applied. In CES you set up the rules, but the actual area where
the rules are applied is defined in Expedition PCB.
Net Class -- A collection of nets that will have the same physical constraints, such as
trace width, impedance, and clearance rules.
Constraint Class – A collection of nets that will have the same electrical constraints such
as time of flight, overshoot, and net topology.
Notice that there are five other constraint classes under DDR3. This allows you to
create hierarchies of constraints. Thus, a constraint that is assigned to the DDR3
level would apply to all nets assigned to DDR3 and the five underlying constraint
classes. However another constraint could have different values in
DDR3\DDR3_Addr versus DDR3\DDR3_Clk. If you assign a constraint at two or
more levels, CES will prompt you to choose how you want the constraints to
propagate to the nets.
Below you will experiment with the way constraint values can be assigned and
managed in CES.
Note: The “Actual” column under # Vias is reserved to report the actual number of vias
that are found in the routed Expedition PCB design. When these nets are routed, you
will be able to select Data > Actuals > Import > Import Layout Actuals to compare
the constraint limit to the actual number of vias found in the design.
2. In the DDR3 row of the Nets spreadsheet, enter 2 as the Max value for # Vias and
press the Enter key. Notice that the value propagates down to all of the underlying
constraint classes.
4. Go to Setup > Settings > Display > General, and change the ‘Change Impact Dialog’
radio button to Always prompt user for all values. Now change the top level (DDR3) #
Vias constraint to 3 and press the Enter key.
5. The Multi-Level Propagate dialog will appear allowing you to determine how to
handle the propagation of this new value to the lower level constraint classes. In the
dialog, read the description of each of the options. Choose Keep Overrides.
6. Experiment with this feature by assigning another value at the top level (DDR3) and
choosing different propagation options.
7. When you have tried each of the propagation options, Type 3 in # Vias of the DDR3
constraint class and Discard Overrides.
2. A default name based on your computer’s login name is given to the new constraint
class. Type in a new name of AA_BB_Channel.
3. Click the RMB on the AA_BB_Channel constraint class and choose New. This creates
a constraint class under AA_BB_Channel, again with a default name.
4. Type A_A_Channel as the name for this new constraint class.
5. Repeat steps 3 and 4 to create two more constraint classes under AA_BB_Channel.
Name them A_B_Channel and Clk. The constraint classes should appear as shown
below.
12. Repeat the procedure once more to add the A_B_Channel nets to the A_B_Channel
constraint class.
13. In the CES Navigator, select the AA_BB_Channel constraint class and review the
Nets spreadsheet to ensure that you have the nets associated with the proper
constraint classes.
14. Click any “-“ icons under the A_A_Channel Constraint Class to show only the electrical
nets in the CES spreadsheet.
16. In AA_BB_Channel row of the Nets spreadsheet, set the # Vias Max to 3. Remember
that you will need to press the Enter key to assign the constraint value.
18. In the Clk row change the External and Internal Max Restricted Layer Length to 100.
Notice that the Multi-Level Propagate dialog did not appear. This is because the Clk
constraint class is the lowest level, so there are no additional levels for constraint
value propagation. In other words, constraint values do not propagate upward in a
hierarchy.
19. In the Nets spreadsheet scroll over to the right until you see the Type constraint under
the Length or TOF Delay heading.
Note: If you can’t find the spreadsheet columns that you need to edit, first check to
make sure you have the proper spreadsheet tab active. If you still don’t see the
columns you need, make sure that the Display Group is set to All.
With the Type set to “Length” all of the other constraints under the Length or TOF
Delay heading will be interpreted as physical lengths (0.001 in., since we are using
August 15, 2012 Page 138 of 207
Copyright © 2012 Mentor Graphics Corporation
Trademarks that appear in Mentor Graphics product publications that are not owned by Mentor Graphics are trademarks
of their respective owners.
DxDesigner Tutorial for the Expedition Enterprise Flow
The Match constraint requires that all members of a given match group have a length
within the specified tolerance as defined by the Tol constraint. In the steps below you
will set values for the match group tolerance.
23. Set the Tol constraint for any of the A_A_Channel nets to 50. Notice that the
tolerance is applied to all other nets that are part of the match group.
2. Select the All_Channels net class and inspect the associated constraints in the Trace
& Via Properties spreadsheet.
Notice that the trace widths and differential spacing has been set for the All_Channels
net class for each routing scheme. As mentioned earlier, a scheme is a physical area
on the PCB where a set of rules (constraints) and clearances apply. The PCB
designer will define a polygon and assign it to one of the defined routing schemes.
The default scheme is called “Master” and the rules associated with “Master” are
applied to all parts of the board not otherwise associated with a defined scheme.
3. In the Trace & Via Properties spreadsheet, expand the All_Channels tree under the
Master scheme.
Note: Further detail is revealed allowing you define constraints for each layer of the
board stackup. A check mark in the Route column indicates that the layer allows
unrestricted routing. Layers without a check mark are subject to the Max Restricted
Layer Length constraint that we defined in the “Nets” spreadsheet earlier in this
chapter.
Note: The top-level trace width (th) is 10 thousandths, yet this value has been
overridden on most of the layers where the constraint is actually 4 thousandths. One
would think that under a BGA, the trace width rules would be equal or smaller than the
default settings, so the value of 10 th seems a bit odd. For now, we’ll trust that there
is a reason for these settings, but if you found such a rule in an actual design, it would
be a good idea to visit the author of the constraint to verify that it is accurate.
So, what do all of these rules mean? Consider an example involving the nets that
belong to the All_Channels Net Class. Anywhere on the board that is not governed by
a defined scheme, the trace widths for the “Master” scheme apply. Thus,
All_Channels nets will have a typical trace width of 4 th. If an All_Channels net enters
a region where the scheme BGA exists, the trace width will depend on the board layer.
If the net is on layer “SIGNAL_1” the typical trace width would also be 4 th. However,
if the net traveled through the BGA area on layer “SIGNAL_10”, the typical trace width
would be 10 th. Once the trace exits the BGA scheme region, the trace width rules
would revert to the constraints defined by “Master” (presuming the trace did not enter
a region controlled by a different scheme).
Now that you have inspected the All_Channels Net Class, you will assign the
A_A_Channel and A_B_Channel nets to it.
6. Scroll the view to the left until you view the Net Class column.
8. The “Multi-Level Propagate” dialog will appear. Click Discard Overrides to propagate
the net class to all of the nets under A_A_Channel.
10. For now leave the Clk constraint class in the Default net class. Close CES.
End of Chapter 6
First you will run the DxDesigner Diagnostics to ensure the integrity of the schematic
database.
The two primary methods for verifying a design are DxDataBook and Tools > Verify. You
will use DxDataBook’s Hierarchical Verification feature to confirm that every part in the
schematic has all of the required properties. Then, Tools > Verify will perform both syntax
and design rule checks.
Finally, you will run the Packager to prepare the schematic data for placement and routing
in Expedition PCB. The Packager will check to confirm that the all symbols have a
corresponding part definition in the Central Library and that all parts have pin numbers and
a unique reference designator. If the schematic fails any of the checks performed by
Packager, errors will be recorded in Partpkg.log in the Logfiles directory of the open project.
The design will not open in Expedition PCB until Packager is able to be run without errors.
For design data completed up to this chapter, please go here: Chapter 7 Design Data.
Note: You must first complete Chapter 1, and then copy this design data over the previous
design data, for this design data to work properly.
1. If DxDesigner is not running, open the DxTutorial project by double clicking the
${DxTutorial}\DxTUT_PROJ\DxTutorial.prj file.
2. In the DxDesigner Navigator, double-click on the systemdesign board to open the
top-level schematic.
4. In the Output pane, review the results of your diagnostics. If you had any errors, scroll
upward to see what diagnostics failed.
If a diagnostic failed, the Output pane would report which diagnostic failed along with
the location of the failure. $1N184
When the diagnostic fixes are applied, the Output pane will report the results of the
corrections.
Note: If you had to fix any errors, it is a good practice to run the diagnostics a final
time to ensure that all diagnostics have passed. In the DxDesigner Diagnostics tab of
the Output pane, click the RMB and choose Clear to flush your previous diagnostic
reports.
If you want to have DxDesigner Diagnostics run each time you switch projects or close
DxDesigner you can configure DxDesigner to do just that. The steps below will show
you how to configure this feature.
7. In DxDesigner select Setup > Settings > DxDesigner Diagnostics.
3. Invoke DxDataBook .
5. In DxDataBook, click the green exclamation mark to execute the verification on the
systemdesign schematic.
8. Click the RMB on the yellow-coded capacitor and choose Visit by name and select
any of the names from the list that appears.
10. In the DxDataBook pane, double-click the part tagged with the yellow – “Missing
Properties” – code.
11. In the middle pane of DxDataBook you should see only one match in the search list.
Select that row and click the Add Part to Pending List icon.
13. Sort the Status column and confirm that all parts now have either “OK” or “Cannot
Find Library” as the status.
Note: You should now have three types of resistors that are failing the verification by
DxDataBook. These failing resistors are the ones on which you changed the
Tolerance during Chapter 2.
14. Double-click the row that corresponds to resistor R44.
15. In the middle pane of DxDataBook, right-click on the Tolerance column and choose
Remove Condition.
17. In the middle pane, select the row corresponding to Part Number 3301-0028 and click
the “Add Part to Pending List” icon.
18. Follow the same process outlined in steps 15 through 17 to add the other two resistor
types to the Pending List.
19. When all three resistor types have the “OK After Update” status, click the Update
Design icon.
20. If you have any other parts tagged with the yellow or red indicator, use the methods
you’ve learned to correct those parts now.
21. Close the DxDataBook pane.
1. In the DxDesigner Navigator, select the systemdesign board to set the focus of
DxDesigner to the top level of the board.
2. In DxDesigner select Tools > Verify.
3. Note that the banner of the DRC dialog confirms that the scope of the verification is
the systemdesign schematic. Make sure the “Check” option is set to Board.
6. Scroll down through the list of tests to familiarize yourself with the tests.
The tests that Verify performs are organized into nine groups:
Migration: syntax checks, legal characters, name and property lengths
Connectivity: hierarchical and flat connectivity checks
Electrical: checks for pull-ups/pull-downs, polarity checks
Hierarchy: checks to ensure hierarchical connectivity
Integrity: missing properties, pin number checks
Power&Ground: floating supply pins, legal global signals, implicit /explicit power
Device Specific: ICs, bus transceivers, op amp checks
HDL Checks: Verilog and VHDL keywords, VHDL data type and model availability
Links: tests integrity of link objects in the schematic
Design rule checks can be enabled either as entire groups or as individual checks.
Checkboxes in the Rules tab are used to enable a specific group or test.
The Rules tab also allows you to configure settings/limits for each test along with the
severity of the associated error message.
7. In the Rules tab, enable the Migration group. This enables each of the individual
tests under Migration Group.
8. Deselect drc-004.
Note: You will see that 26 drc-002 errors occurred and two drc-006 errors occurred.
The drc-002 errors are caused by net name characters that Verify considers illegal.
The drc-006 errors are caused by two symbols having a property named RB Layer
Map which exceeds the 80 character limit on property values.
You will first focus on correcting the drc-002 errors. If you look at the net names that
failed drc-002 you might guess that this check is failing on the “$” and “~” characters.
If you add these characters to the parameters for drc-002 you should be able to clear
this error.
Note: Editing parameters for Verify really should be the job of a tools administrator
and/or a librarian. Schematic designers ought to avoid making changes to the rules
for Verify. If a test failed and you felt that it may be an erroneous result, you should
discuss it with your tools administrator.
11. In the DRC tab of the Output pane, right-click and choose Clear.
12. Select Tools > Verify to launch the DRC dialog and activate the “Rules” tab.
13. Inspect the “Values” cell associated with drc-002.
16. In the DRC tab of the Output pane, RMB > Clear.
17. Open the DRC dialog (Tools > Verify).
18. Change the value for drc-006 to 255.
19. Click OK to execute the tests with the new settings. The tests should complete with 0
errors.
Exercise 4: Packager
The Packager will prepare the schematic database for the place and route phases that will
be completed in Expedition PCB. Packager will assign reference designators and pin
numbers where needed. For each part in the design, Packager will make a local part
database. This process ensures that each part in the schematic is properly represented in
the Central Library. If there are duplicate reference designators or parts missing in the
Central Library, Packager will issue error messages. If you receive any error messages,
they must be resolved prior to your being able to open the design in Expedition PCB.
3. Packager messages will be recorded in the Packager tab of the Output pane. If the
packaging was successful, the Output pane will report the message shown below.
For normal operation, the options shown here should be sufficient for packaging your
designs. The Packaging Options can be configured such that the Packager will
remove all pre-existing reference designators and assign new ones. This is an
operation that you must be careful to use only when it is appropriate.
Similarly, the PDB Extraction Options can be configured to control the operation where
part data is fetched from the Central Library and stored locally in the project. If your
Central Library has changed, you may need to use one of the options that would
delete and rebuild the local library.
Note: Caution must be used when selecting “Repackage All Symbols” from the
Operation drop-down in the Packaging Options section of the Packaging Dialog as this
option will remove all pre-existing reference designators and assign new ones.
More details on these options are provided in the DxDesigner documentation as well
as in Mentor Graphics’ DxDesigner courses.
In Chapter 4 you added the “Cluster” property to the components in the d2a_converter
schematic. The “Cluster” property enables the PCB designer to identify and tightly group
components sharing this property in Expedition. This exercise will demonstrate the
advantage of using the “Cluster” Property.
1. In DxDesigner, select Tools > Expedition PCB or click the Expedition PCB icon .
Where this is the first time schematic data is being passed forward to Expedition
layout you need to select a layout Template using the Select Template drop-down in
the “DxDesigner To Expedition PCB” dialog to choose the desired Template as shown
below.
PCB templates can be thought of as “seed” boards. They can be as simple as a bare
board outline or they can be boards that are partially placed and routed. The “test”
template, as you will see, is partially placed and routed.
Note: The “PCB directory” setting may differ from the screenshot if you installed the
tutorial data in a location other than “c:\”.
2. Use the “Select template” drop-down menu to select the systemdesign template.
3. Accept the default PCB directory setting and click OK. Note: The DX2EXP dialog will
inform you that the PCB directory does not exist.
4. Click OK to the warning about the target design having 12 metallic layers.
7. Forward Annotating to Expedition PCB reads the schematic data and imports any
changes that were made to the schematic since the last time you forward annotated
data to Expedition.
8. When Expedition PCB invokes, click Yes to Forward Annotate the design.
9. The template board will appear along with the Project Integration dialog. The Project
Integration dialog allows you to control how unused parts and traces are handled if
symbols and nets have been removed from the schematic. Additionally, Forward
Annotation will cause new symbols and nets to be added to the PCB database.
10. Set the “Library extraction options” to “Delete local data; then rebuild all local library
data”. This will ensure that all part details are up to date with the Central Library.
12. When the Forward Annotation is complete, notice that the pending schematic CES
changes were also updated in the PCB database and all status indicators are now
green.
16. In the “Place Parts and Cells” dialog, make sure the “Unplaced” and “Placed” options
are checked and the other “Include” options are unchecked.
20. Use the Action drop-down menu to select Place and ensure that “Method” is set to
“Sequence”.
Note: When you click Apply, the parts in this cluster attach to your cursor in sequence
for placement in Expedition.
22. Use the “Active angle” drop-down menu to change the option to 90 degrees.
IC1
Note: When you placed IC1, the list of Active parts displays a “P” – meaning “placed”
– next to the RefDes column.
IC2
27. In the “Place Parts and Cells” dialog, change the “Active Layer” setting to Bottom.
28. Select C52 and click Apply and place it underneath IC1.
29. Select C54 and click Apply and place it also below IC1.
30. Use the same process to place C53 and C55 beneath IC2.
31. The DA_Converter parts should appear as shown below.
34. In the “Process list”, assign IC1 a new Ref Des of IC100.
35. Assign IC2 a new Ref Des of IC200.
Note: The Project Integration dialog now indicates that back annotation is required. At
this time, the new “Ref Designator” values in Expedition have not yet been updated in
DxDesigner.
40. In the Project Integration dialog click the “Additional Options” button.
41. Enable all of the check boxes in the Additional Options dialog.
Note: The “Create eExp View during Back Annotation” option will create the files
necessary for viewing the PCB layout while you are working in DxDesigner.
42. Click the amber button labeled “Back Annotation Required”.
43. When the Back Annotation indicator becomes green, close the Project Integration
dialog.
44. Close Expedition PCB.
45. In DxDesigner, select the d2a_converter in the schematic and push into it.
46. Inspect the “Ref Designator” properties on the ICs to ensure they are now IC100 and
IC200.
CAMCAD CC / CCZ files are the ASCII XML intelligent hierarchical files becoming a
standard in the EDA realm. The CC file structure allows for archiving and neutralizing data
from all industry popular Vector Graphics formats, Intelligent PCB Layout formats, and
EDIF Schematic 200 & 300 formats, giving engineers unprecedented access to all the
information in a single ASCII XML format. CCZ files are compressed CC files, using
standard PKZip/Winzip compression.
The advantage of using DxDesigner’s eExp View is that a schematic designer does not
have to consume an Expedition PCB license to view the PCB layout.
Note: The CCZ file is a snapshot of the Expedition PCB layout. Therefore, if a change is
made in Expedition PCB, the changes to the layout will not be seen by eExp View until
back annotation has been performed.
Note: The eExp View pane will appear at the bottom of the DxDesigner window.
2. In the eExp View pane, roll the mouse wheel forward to zoom in on the DA_Converter
parts that you placed on the board.
Note: Selections made in the eExp View pane cross probe to the schematic editor.
Note: Selections made in the schematic editor will cross probe to the eExp View pane.
5. In the eExp View pane, right-click and choose Show/Hide Toolbar.
6. Take some time to experiment and become familiar with the toolbar icons in eExp
View.
7. In DxDesigner, select Window > Close All.
8. If you do not intend to continue on to Chapter 8, close DxDesigner.
End of Chapter 7
In this chapter you will learn how to use each of the above utilities and you will become
familiar with their optional configurations.
For design data completed up to this chapter, please go here: Chapter 2 Design Data.
Note: You must first complete Chapter 1, and then copy this design data over the previous
design data, for this design data to work properly.
In this exercise you will annotate the systemdesign schematic with cross reference
information. Nets that have Link symbols will be cross referenced. Additionally,
hierarchical blocks will be annotated with a SHEET property that report which schematic
sheets reside below the block.
schematic. Therefore, Cross Reference has to ensure that no changes occur in the
schematic between the record and place phases.
All settings for Cross Reference are contained in scout.ini file. The scout.ini file is an ASCII
text file that is copied into the project directory when Cross Reference is run or the settings
are modified. In the steps below, you will modify the settings for Cross Reference using a
dialog, but it is worthwhile to understand that these settings could also be configured using
a text editor.
1. If DxDesigner is not running, open the DxTutorial project by double clicking the
${DxTutorial}\DxTUT_PROJ\DxTutorial.prj file.
2. If any schematics are open, close all schematic sheets by selecting Window > Close
All.
3. Select Tools > Cross Reference to launch the Cross Reference dialog.
Note: The “Top Level Block” is set to systemdesign. Cross Reference is one of the
utilities that only operate on Boards and not the Blocks section. If you selected the
drop-down menu, you would only see the Boards that are associated with this project.
Note: If you had already run Cross Reference on your schematic, it would be
important to FIRST use the “Remove Cross References Using Existing Settings”
option before you make any changes to your Cross Reference settings. If you failed
to remove pre-existing cross references, you may find that you have old cross
references cluttering your schematic.
5. Click Next again to display the “Cross References Options” page.
“record”
command
“place”
comman
8. In the new row, configure a “record” command by entering the following options:
a. Block: Any
b. Selection Type: Symbol Name
c. Selection Qualifier: hier_in.1
d. Right click in the Options area again and choose New Row.
e. In the new row, configure a “place” command by entering the following options:
i. Block: Any
ii. Selection Type: Symbol Name
iii. Selection Qualifier: hier_in.1
iv. Annotation Point X: -0.30
v. Annotation Point Y: -0.10
vi. Text Origin: Middle Right
Note: The Block Type allows you to specify that Scout must find a symbol that
matches both the name in the scout.ini file and the specified block type (where the
Block Type can be Composite, Module, Primitive, Annotate or Pin). The Any option
eliminates this added level of filtering, making it easier for Scout to annotate the
symbols that you intend to be annotated.
Note: The Direct Reference Options page configures cross reference properties that
can be added to hierarchical components. In this case, “directref0” is configured to put
a property named SHEET onto any hierarchical (composite) symbol. The format of
the SHEET property will be the range of page numbers that are below the hierarchical
block.
11. Click Next to advance to the Sheet Options dialog.
Note: The settings for the sheet are being configured globally. Thus, any sheet border
in your library would use these settings. The librarian who creates the sheet borders
should be consistent in the way the zones are named.
Note: The D-size sheet border you are using is divided into 8 horizontal zones and 4
vertical zones. Therefore, the vertical and horizontal distances between zones need
to be adjusted.
Note: In the scout.ini file the pipe ( | ) character is a comment character. All text to the
right of the pipe character is ignored by Scout.
17. Select Tools > Cross Reference again.
Note: Remember that all schematic sheets need to be closed when you run Scout.
18. Select the “Generate Cross References Using Existing Settings” option and click
Finish to execute the cross referencing operation.
Note: When Cross Reference has completed, the Output pane will report: “Finished
scout.exe”.
19. Open the systemdesign schematic.
Note: Here again, the sheet numbers may differ from the examples shown in the
screenshots. The key point is that the cross referencing is correct regardless of the
sheet numbers that Scout assigned.
23. Return to the systemdesign schematic and click on the CHANNEL_OUT block. Notice
that the SHEET property on this block matches the XREF you saw on the CLK signal.
24. Push into the CHANNEL_OUT block and find the CLK signal pin.
Note: XREF properties can be moved manually, but the best approach would be to
configure both your pin symbols and the scout.ini file such that the XREF property is
created in a location that makes it easy to read.
25. Zoom out to confirm that the zone coordinates that you saw in the d2a_converter
schematic are accurate.
Note: The zone coordinates are based on the position of the pin to which the XREF is
attached. So the zones referenced in your schematic may differ from the screenshots
shown above.
26. If you find the Output pane reporting any “Duplicate IDs” errors (Error 1296), run
Tools > DxDesigner Diagnostics and click the “Fix all errors” link.
Exercise 2: DxPDF
The DxPDF utility allows you to communicate effectively through an advanced PDF
document which can be opened and viewed using the free Adobe Reader. By generating
an intelligent PDF file, you can send a single file to anyone, anywhere in the world, and
provide them with the ability to perform a complete design review using Adobe Reader.
The PDF file created by DxPDF not only contains the graphical data of the main schematic,
but it also contains hierarchical data.
The PDF file can also include net and part information with symbol names and a complete
list of property names and values assigned to those symbols. This functionality allows you
to easily locate nets or parts using advanced search features. These advanced features
include net name hyperlinks that allow you to easily trace a net throughout the schematic.
Attributes can be reviewed by placing the cursor over a part, clicking the left mouse button
and selecting the pop-up with the list of attributes for the part.
2. In the Range section of the DxPDF dialog, select Block and choose systemdesign
from the drop-down list.
Note: The Project range option will export all boards and all blocks to the PDF file. If
you choose this option, the PDF file will have duplicate sheets because some sheets
appear under both the Project tree and the Blocks tree. Typically, you will want to
choose the Block option so you can export only the board to the PDF file.
4. Click OK to execute the PDF file generation. The PDF file will open and appear as
shown below.
The PDF file is stored in the project directory (the same location where you find the
.prj file).
The Bookmarks pane on the left lists each of the sheets in the schematic. The
bookmarks are arranged in a tree according to the hierarchical structure of the
schematic.
5. In the Bookmarks pane, click on the ARRANDALE_CPU Sheet 1 bookmark. Notice
the viewing pane displays the sheet that you selected.
6. Click in the graphical pane of the PDF document.
7. Use the Page Down key to move to the other sheets in the ARRANDALE_CPU
schematic.
Note: Clicking in the graphical pane of the PDF file puts the focus of the Page
Up/Page Down keys on the individual sheets.
8. Close the PDF file.
9. In DxDesigner, Launch DxPDF again by choosing File > Export > PDF.
10. Again, select the systemdesign block.
11. Enable the “Add popup menu on components” and “Visible Component/Net
Hyperlinks” options.
13. In the viewing pane of the PDF file, click on the ARRANDALE_CPU block and select
Push Schematic.
14. In sheet 1 of the ARRANDALE_CPU, click some of the components and choose
Properties.
Note: A popup window appears which displays the properties of the selected part. In
this way, the DxPDF output behaves like a view-only version of DxDesigner.
15. In Adobe Reader, select Edit > Find and enter 6.8pF in the search field. Press Enter
to execute the search. Adobe Reader will navigate to the first 6.8pF capacitor that if
finds.
Exercise 3: Partlister
The Partlister generates reports that tabulate symbol properties. This is typically used for
Bill of Materials (BOM) reports, but depending on the properties on your symbols, you can
use Partlister to generate a wide range of helpful reports.
The “Configuration file” listed in this dialog is where all of the part list settings will be
stored. Your design environment could have several different .ipl files to allow you to
produce a variety of reports: BOMs, cost reports, component height reports, etc. The
partlister is limited only to the properties on the instantiated components on your
schematic.
2. Confirm that the Scope is set to Board and that the “Output format” is set to “Text
File.”
The Columns tab lists the columns that will appear in the part list. Additionally, this tab
provides controls for configuring the format of each of the columns. Below you will add
a new column to the report.
7. Click OK to generate the part list. Below is an excerpt of the report that will be
generated.
Some designers prefer not to have the reference designators compressed as shown
above. Thus, where you see “R76-R78” on line 20, it may be preferable to see
“R76,R77,R78”. Below you will re-configure the Ref Designator column to list each
reference designator.
8. Close the part list file.
9. Open the Partlister (Tools > Partlister) and activate the Columns tab.
11. Click OK to generate a new part list. You will now see that row 4 has many reference
designators listed explicitly.
Note: The zip file name contains a time stamp, so the exact name of your zipped
archive will differ from the one shown in the screenshot above.
8. Close DxDesigner.
End of Chapter 8
August 15, 2012 Page 206 of 207
Copyright © 2012 Mentor Graphics Corporation
Trademarks that appear in Mentor Graphics product publications that are not owned by Mentor Graphics are trademarks
of their respective owners.
DxDesigner Tutorial for the Expedition Enterprise Flow