Previous

Managing Schematic Designs

The following subsections describe various features of the schematic design tool.

  1. To access Schematic Capture, click the Schematic Capture icon in the Design Entry box on the Project Manager Flow tab.

    figures/abcd1_2.gif

  2. The Schematic Capture window displays.

figures/sch_cap11.gif

Design Structure

You can create Foundation schematic editor designs that have the following structures:

Selecting a structure depends on the design size (number of symbols and connections), purpose (board or chip design), and company standards. The following sections describe each of these design types.

Single Sheet Schematic

Single sheet designs are typically used for small designs. The largest page size is 44” x 34” (size E). The major advantage of a single sheet schematic is that you can use physical connections for an entire design, which makes tracking of the connections easier.

The disadvantages of using large pages are:

Multi-sheet Flat Schematic

If a design is too large to print on a single sheet, you can use a multi-sheet design structure. When you create a new sheet, it is automatically added to the current project. To make connections between schematic sheets, you must make logical connections by using the same net names. For example, if you use the net CLOCK on sheet 1 and net name CLOCK on sheet 2, then both net segments are logically connected.

These connections can be confirmed by using the Query option. To activate the Query option, select Mode Query from the Schematic Capture main window and then select items on the schematic. To find out more about Query options, select Help Schematic Editor Help Contents from the Schematic Capture main window. Select the Index tab. Type Query in the search list box. Double click querying connections.

Following are the advantages of using the multi-sheet design structure.

Hierarchical Schematic

Since large number of symbols are used in FPGA and CPLD designs, handling large designs using the multi-sheet design structure can become very difficult and complex. Large designs typically require thousands of simple primitives like gates and flip-flops. To simplify schematics, designers prefer to use high-level components that have clear functionality. These high-level components are implemented using hierarchical macros. A hierarchical macro, a device in the library that looks like a standard component, is implemented as a symbol with an underlying schematic or netlist. For example, you can create an equivalent of a counter by drawing a macro schematic with only gates and flip-flops. This macro can then be saved and reused in your designs. All FPGA and CPLD libraries already contain many hierarchical macros.

Hierarchical designs are very effective with IC designs. In hierarchical macro schematics, all net names and reference names are local, which means that you can use the same signal names in different macros.

The connections between hierarchical macro symbols and the underlying schematic is made via hierarchy connectors. Use the Hierarchy Connector icon (shown below) in the Schematic Capture toolbar to place hierarchy connectors.

figures/sc_hierc.gif

These connectors are converted into hierarchical symbol pins as illustrated in the following figure.

figures/x8775.gif

After the macro symbol is placed on the schematic sheet, you can connect wires to these pins on the macro. Only the signals shown as symbol pins can be connected.

Some advantages of hierarchical designs follow:

Following are some of the disadvantages of hierarchical designs:

Adding New Sheets to the Project

To create a new empty sheet, select File New Sheet. The new sheet receives the name of the project with the sequential sheet number assigned to it automatically. You can save the sheet with a different name by selecting File Save As. Each new sheet is automatically added to the project contents in the Hierarchy Browser. All schematic sheets that have been added to the project are visible in the Files tab of the Hierarchy Browser.

To open a sheet that does not belong to the project, select File Scratchpad. To add a scratchpad sheet to the project, use the File Save As option to define the schematic name. Then select Hierarchy Add Current Sheet to Project.

Adding Existing Sheets to the Project

To add an existing schematic sheet to your project, select Hierarchy Add Sheets to Project. In the Add to Project window, select the schematic file(s) you want to add and click the Add button. The schematic editor loads each added sheet and verifies that the symbols used in these schematics are available and that there are no duplicate reference numbers. The list of project sheets is then updated.


NOTE

The schematic editor automatically adds libraries used by its schematic sheets to the current project even if they are not listed in the project libraries. The libraries are added when you open a schematic file and symbols are not found in the current project libraries.


Opening Non-project Sheets

When you select File Open, only the sheets that belong to the current project are shown. If you want to open a sheet that does not belong to the current project, use the Browse button to select a schematic file from any disk. The schematics opened with the Browse option display the Cannot Edit message in their title bar. These sheets can only be viewed. They cannot be edited.

To edit such schematics, select Hierarchy Add Current Sheet to Project. The currently selected sheet, which is then added to the current project, can then be edited. The schematic is copied to the current project directory, so the changes do not affect other projects.

Removing Sheets from the Project

To remove a sheet from the project, from the Project Manager Files tab, select the schematic sheet that you want to remove and select Document Remove. Click Yes.


NOTE

Deleting the sheet from the project does not delete the schematic file from the disk. If you want to delete unwanted files, you can use the Windows Explorer and delete *.SCH files from the project directory.


Renumbering Symbol References

The reference numbers are assigned sequentially in the order that you place symbols on different sheets. As a result, the symbol reference numbers in the multi-sheet schematics can be random. To order the symbol numbers, you may want the symbol reference numbers to correspond to different sheets. For example, symbols on the first sheet may start with U100, and symbols on the second sheet may start with U200.

To renumber project sheets and the associated symbol reference numbers, from the Schematic Capture window proceed as follows:

  1. Select Options Annotate.

  2. The Annotation dialog box appears.

    figures/annotate.gif

  3. From the Annotation window, select the Whole Project option.

  4. In the Sheets section, enter 100 in the Increment field.

  5. Press the Annotate button.

  6. Press the Close button.

Copying a Section of a Schematic to Another Sheet

If you want to move or duplicate a section of a schematic to another sheet, perform the following steps:

  1. Place the cursor at the corner of the area to be copied, depress the mouse button and drag the cursor to outline a rectangular area for selection. All items within the selected area are selected when you release the mouse button.

  2. To select additional objects on the schematic sheet without deselecting the currently selected object, use the Shift key.

  3. Use the Copy or Cut options in the Edit menu. The Copy option copies the selected objects to the clipboard. The Cut option copies the selected block to the clipboard and deletes it from the schematic. The clipboard is a temporary sheet that stores the copied objects.

  4. Go to the sheet where you want to paste the schematic objects and select the Paste option from the Edit menu. A rectangle is displayed at the cursor position. You can move it around the schematic to position the copied block to the desired location.

  5. Press the mouse button to confirm the location of the pasted block.


    NOTE

    The selected schematic block contains all wires internal to the block, that is, between symbols or labels within the selected area. All wires connected to symbols outside the area are not copied to the clipboard.


Troubleshooting Project Contents

If a netlist creation error is reported, try removing one sheet at a time from the project until the netlist can be successfully created. Then analyze the last-removed sheet for any possible errors.

Next