Overview

Once a design is completed and validated with NI Multisim, it is time to transfer to a layout and routing environment to define the prototype. At this point in the design flow it becomes important to ensure that a design is properly managed.

The design once transferred to layout exists in two different (though integrated) applications. It is important that as a design engineer, the project be managed such that both in schematic and layout form, the topology be consistent.

This can be difficult to manage as changes can now occur both in Multisim and Ultiboard.

In order to facilitate the management of such changes, the integration between Multisim and Ultiboard allows you to annotate changes from one form of the design to the other.

Definition: Annotation is the transfer of design changes from schematic to layout, or layout to schematic.

In this article the transfer and annotation of changes in NI Multisim and NI Ultiboard is documented. This article provides a how-to-guide, tips-and-tricks as well as best practices on how to use the annotation process in the National Instruments Circuit Design Suite.

Table of Contents

1. Introduction

Forward annotation is the process by which a designer transfers changes from a schematic to a PCB layout environment. Back annotation is the opposite of this procedure, when changes are made at the layout level and transferred back to the schematic.

Forwards and backwards annotation are import aspects of the design process. Changes that are made at every incarnation of a design should be appropriately merged into other design stages, so that iterative work is properly documented. This is important for both the present design process as well as future maintenance.

Many products are on the market for multiple years and elements of the design (such as components and devices) may become obsolete or require alteration during this time period. The need for incremental changes to a design means that a complete set of files which depict the design at both schematic and layout stages can avoid frustration and save time in the future.

Due to the importance of this task a designer should take great care to ensure that the schematic and layout of a design are completely in sync.

To forward and backward annotate changes in either the schematic or the PCB layout is a very simple and straight forward procedure, however to reduce the possibility of error it is important to understand how annotation works from the fundamental elements (the netlist) to the actual annotation procedure.

Accompanying this tutorial is a 7321_annotation.zip file which contains various examples to help in the tutorials in this article.

2. What is Annotation?

The forward and backwards annotation process is based upon the transfer of a netlist file. The netlist file is a text based representation of your design and as changes are made either at the schematic or layout level, it is through the netlist that this information is transferred. In this article we will investigate:

4. Transferring from Multisim to Ultiboard

Before one can begin the iterative procedure of forward and backward annotation of design changes, the file must be transferred from the NI Multisim schematic capture environment to NI Ultiboard layout.

How to transfer a schematic to layout

With the following six steps we will transfer an example Multisim schematic to Ultiboard

Open the Forward Annotate 1.ms10 example file

In Multisim select Transfer > Transfer to Ultiboard 10

Multisim instructs you to save a netlist representation of the file in a .ewnet format.

Save the file to the default location in the same folder in which the original schematic was saved.

Ultiboard automatically launches

The Default Track and Clearances dialog box appears. Accept the default setting by clicking on the OK button.

5. Important Considerations

Throughout the design process, particularly through the transfer process, there are a number of events that can occur which can potentially cause errors. In order to help effectively handle these situations, the following section will outline a possible issue encountered in the transfer process. You will learn the correct procedure to resolve this issue.

Component not found during transfer … Part 1

When Ultiboard opens a netlist file it ascertains the name of a landpattern for a particular device and searches its database for a part that corresponds to this name to place on the work space. If a landpattern has been incorrectly named in the netlist or if it has not yet been created in the Ultiboard database then you have a situation in which a landpattern for a device cannot be correctly placed into the project.

To demonstrate what occurs when a landpattern cannot be found:

Open Forward Annotate 1.ms10 in NI Multisim.

Select Transfer>>Transfer to Ultiboard 10

Multisim instructs you to save a netlist representation of the file in a .ewnet format. Save this file to the default location in the same folder in which the original schematic was saved.

Ultiboard automatically launches

The Default Track and Clearances dialog box appears. Accept the default setting by clicking on the OK button.

Ultiboard is not able to locate one or more landpatterns defined in the netlist file within its database and therefore prompts the user with the following message:

Select the OK button to continue.

Save the layout file as Forward Annotate 1.ewprj

When Ultiboard cannot find a component (as in this situation) it will map the element to a default square shape with multiple pins in order to not drop (or lose) nets and components due to an improper transfer. The default landpattern is shown below:

The red X through the landpattern indicates that the transferred landpattern name does not exist. In order to fix this situation and ensure that the change is properly reflected both at the schematic and layout level requires back and forward annotation.

We will now investigate what exactly back and forward annotation are, and will return to our above documented design error later in the article.

6. Forward Annotation

The Forward Annotation process is similar to a transfer to Ultiboard, however it transfers to a layout that already exists. This means that prior to forward annotation, a schematic has already been transferred to Ultiboard.

Forward Annotation only transfers incremental changes to the design to layout. Therefore it is not the entire design that is transferred, but only the changes in the schematic that have not yet been defined at the layout stage.

Open Forward Annotate 3.m10 in NI Multisim

Open Forward Annotate 3.ewprj with NI Ultiboard.

Previously the schematic was completed and transferred to layout. At this time we need to make additional changes to the schematic but must ensure that this change is properly represented at the layout level.

Return to Forward Annotate 3.m10 in the Multisim environment

Select LED1 and right click upon the device. Select copy from the short-cut menu.

Paste the copied LED (named LED2) to the left of LED1 without connecting it to the design.

Select R1 and right click upon the device. Select copy from the short-cut menu.

Paste the copied resistor (named R5) to the left of R1 without connecting it to the design.

Connect R5 and LED2 to the design according to the figure below.

You have now changed your original design and must annotate these changes to layout. The following is the forward annotation process.

TIP: In order to safeguard your work it is always recommended to backup your layout file prior to a forward annotation. Before continuing make a backup of the Forward Annotate 3.ewprj file, saving it as Forward_Annotate_3_backup.ewprj

Select Transfer>>Forward Annotate to Ultiboard 10 in Multisim

Save the netlist to the default path.

Click OK on the following warning message.

Click OK on the Default Track and Clearances dialog box.

Click OK on the Import Netlist Action Selection dialog

LED 2 and R5 are now merged into the Ultiboard layout and are placed outside of the board outline. These components can now be placed and configured as needed for the design.

7. Back Annotation

The Back Annotation process, like forward annotation, requires a schematic to have already been transferred to layout. After this primary step, back annotation allows an engineer to make changes at the layout stage and have these changes merge back into the schematic file.

Limitations

It is important to note that in making changes to your design, it is preferred (and advantageous) to forward annotate changes made in the schematic to Ultiboard. This is because the back annotation process does have limitations upon what changes can be effectively transferred back to the schematic.

What can you back annotate?

A changed in the Reference ID of a component

The new name for a net

A deleted footprint

A changed footprint

What can you not back annotate?

Components added to the design

A modified net connection between components

A pin and/or gate swap

It is important to note these limitations, as a faulty back annotation can create schematics out-of-sync with layout. In larger designs where a back annotation may not be glaringly obvious, this can become an issue overlooked which can cause major issues in a design.

How to Back Annotate

To demonstrate how to back annotate we will begin making some changes to our design to annotate back to the schematic.

Open Back Annotate 1.ewprj in Ultiboard.

Open Back Annotate 1.ms10 in Multisim

Changing the name of all the landpatterns (or footprints) in the design:

In Ultiboard select Tools>>Renumber Footprints.

Apply the default renumbering settings by clicking on the Apply button. All landpatterns will now be renamed in a logical order based upon the settings of the dialog box.

Deleting a device:

In the Ultiboard file locate the LED1 landpattern. Select the device and delete if from the layout.

Changing the landpattern dimensions of a device:

Locate the C2 device.

Select Tools>>Change Shape. In the NI Ultiboard database locate the CAPC0603X33N landpattern (this can be found in the Surface Mount Technology – Capacitors – SMD hierarchy).

In the database dialog and click the OK button to replace the landpattern in the work area.

There are three similar footprints in the work area you will be asked if you wish to replace them all, select Yes.

Having completed all of the changes to the layout file we are now ready to back annotate.

Select File>Save in Ultiboard.

Ultiboard creates a log of all the changes made since last saving. These changes (documented in a log file) is saved in the same folder as the Ultiboard design file.

Return to the Multisim environment in which Back Annotate 1.ms10 is already open.

Select Transfer>>Back Annotate from Ultiboard to annotate the changes from Ultiboard.

A dialog box will open in which to select the annotation log file. Navigate to the Back Annotate 1.log file and click on the Open button.

A summary of all the changes made in Ultiboard appears. Click OK to approve the changes.

A Notepad session will open to provide a summary of what was done to the Multisim schematic.

A component not found during transfer…part 2

In our first example in this article we had encountered a situation in which a landpattern that was to be transferred from Multisim to Ultiboard could not be found within the Ultiboard database, and therefore a default “landpattern missing” shape has been placed into the layout.

With a better understanding of how to forward and back annotate we can now fix this issue with these important design tools.

To fix this problem you have two options, replace the unknown landpattern/footprint in Ultiboard and back annotate the change or make the change in Multisim and forward annotate the new landpattern.

Back Annotation from Ultiboard

With the back annotation approach we must select a new footprint/landpattern from the NI Ultiboard database and merge this back into our original schematic.

Return to Forward Annotate 1.ewprj.

Click once upon the “unknown shape” to select it

Select Tools>Change Shape.

In the part selection dialog locate the SO8S landpattern from the Master database.

TIP: Under Available Parts field start typing SO8S and as you type Ultiboard filters out all footprints that do not contain the letters that was typed making component search much easier.

Highlight the SO8S and press the OK button to replace the unknown shape.

It is now time to back annotate the change to the Multisim schematic.

Select File>Save in Ultiboard.

Ultiboard creates the log file of changes to the design.

Return to the Multisim environment in which Forward Annotate 1.ms10 is already open.

Select Transfer > Back Annotate from Ultiboard to annotate the changes from Ultiboard.

A dialog box will open in which to select the annotation log file. Navigate to the Forward Annotate 1.log file and click on the Open button.

Forward Annotation from Multisim

We will now make the same change, but use the forward annotation process to have the same result.

In Forward Annotate 1.ms10, locate the U4 component in the schematic.

Double-click on U4.

Select the Edit Footprint button.

Click on the Select From Database button.

In the Select a Footprint dialog, select the Master database.

Scroll through the dialog box to locate the SO8S landpattern.

Select SO8S and click on the Select button.

DOUBLE CHECK the symbol to footprint mapping table to ensure that the symbol pins are correctly mapped to the footprint pins. If the mapping table is incorrect in here, your final product will not work.

Click on the OK button.

Select Transfer>>Forward Annotate to Ultiboard 10 in Multisim

Save the netlist to the default path.

Click OK on the following warning message.

Click OK on the Default Track and Clearances dialog box.

Click OK on the Import Netlist Action Selection dialog

The changes will now merge into the layout, and again you have successfully annotated changes.

8. Important Considerations

It is important to note that if in Ultiboard a change is made (for example a part deleted) and saved, that change is logged within the log file. If however at this point an undo is done upon the change (Edit > Undo …) and is again saved, the log file will not represent the undo. Therefore, if a back annotation procedure is done the component originally deleted in the first step will be annotated into the design.

The following exercise showcases the steps to recreate such an issue for clarification.

Open Back Annotate 2.ewprj

Locate and select the capacitor C3 on the design

Press the Delete key on your keyboard

Select File>Save. NI Ultiboard will create a Back Annotate 2.log file

Select Edit>Undo and C3 should reappear on the design.

Select Tools>RenumberFootprints and click OK

Select File>Save and NI Ultiboard will update the log file previously created

Startup NI Multisim and open Back Annotate 2.ms10

Select Transfer>Back Annotate from Ultiboard

Locate the log file and select it.

Click on Open

Review the summary report and notice that C3 was not back annotated.

When Undo was performed in step 5 above Ultiboard placed C3 back on the design but the log file was not updated. The Undo action in this case is similar to adding a new landpattern in the Ultiboard design. As mentioned earlier NI Multisim does not back annotate landpatterns added in the layout.

To avoid this situation, it is good practice to always modify changes such as landpatterns changes, schematic connections, pin names etc… in NI Multisim and then forward annotate to NI Ultiboard.