Skip to content Skip to navigation

Connexions

You are here: Home » Content » Creating and Using Sub-Circuits in National Instruments Multisim

Navigation

Lenses

What is a lens?

Definition of a lens

Lenses

A lens is a custom view of the content in the repository. You can think of it as a fancy kind of list that will let you see content through the eyes of organizations and people you trust.

What is in a lens?

Lens makers point to materials (modules and collections), creating a guide that includes their own comments and descriptive tags about the content.

Who can create a lens?

Any individual member, a community, or a respected organization.

What are tags? tag icon

Tags are descriptors added by lens makers to help label content, attaching a vocabulary that is meaningful in the context of the lens.

This content is ...

Affiliated with (What does "Affiliated with" mean?)

This content is either by members of the organizations listed or about topics related to the organizations listed. Click each link to see a list of all content affiliated with the organization.
  • National Instruments display tagshide tags

    This module is included in aLens by: National InstrumentsAs a part of collection: "Introduction to Multisim Schematic Capture and SPICE Simulation"

    Comments:

    "This course introduces National Instruments Multisim through instructional modules and hands-on exercises. Multisim is an interactive, graphical schematic capture tool and SPICE simulator that […]"

    Click the "National Instruments" link to see all content affiliated with them.

    Click the tag icon tag icon to display tags associated with this content.

Also in these lenses

  • Lens for Engineering

    This module is included inLens: Lens for Engineering
    By: Sidney Burrus

    Click the "Lens for Engineering" link to see all content selected in this lens.

  • arjun-satyapal-lens display tagshide tags

    This module is included inLens: Arjun Satyapal's Lens
    By: Arjun SatyapalAs a part of collection: "Introduction to Multisim Schematic Capture and SPICE Simulation"

    Comments:

    "my first collection"

    Click the "arjun-satyapal-lens" link to see all content selected in this lens.

    Click the tag icon tag icon to display tags associated with this content.

Recently Viewed

This feature requires Javascript to be enabled.

Tags

(What is a tag?)

These tags come from the endorsement, affiliation, and other lenses that include this content.
 

Creating and Using Sub-Circuits in National Instruments Multisim

Module by: Janell Rodriguez, Erik Luther. E-mail the authors

Summary: This module provides a brief introduction to the creation and usage of sub-circuits in National Instruments Multisim. Multisim is fully featured SPICE schematic capture and simulation tool used for circuit design, simulation, and in combination with Ultiboard for layout of custom PCBs.

Sub-circuits and Hierarchical Blocks

Multisim provides the ability to handle increasingly complex designs. In addition to multi-sheet designs, users can create sub-circuits (SC), and hierarchical blocks (HB) to modularize repetitive circuits, or to abstract sophisticated designs.

Subcircuits are useful for compacting existing designs that would be best kept in a single file. Hierarchical blocks are better suited for design reuse because they are stored in separate files and can be accessed for other designs.

Hierarchical blocks and subcircuits are functionally identical; the only difference is in how their contents are stored on disk.

Hierarchical blocks and subcircuits can be created using two methods, the first method is to highlight an existing section of a circuit, and select Place/Connectors/HB/SC Connector. The second method is described below.

To place a new hierarchical block (2nd method):

  1. Select Place/New Hierarchical Block and enter a filename.
Figure 1: Hierarchical Block Properties Dialog Box
Figure 1 (Graphic1.png)

or

  1. Click on Browse, navigate to the folder where you would like to save the hierarchical block, enter a name and click Save. You are returned to the Hierarchical Block Properties dialog box.
  2. Enter the number of pins desired and click OK. A “ghost” image of the new hierarchical block appears. Click where you want the hierarchical block to appear.
  3. Double-click on the new hierarchical block and select Edit HB/SC from the Hierarchical Block/Subcircuit dialog box that displays. A circuit window that contains only the entered pins displays.
  4. Place and wire components as desired in the new hierarchical block.
  5. Wire the hierarchical block into the circuit.
  6. Save the circuit.

Note: If you move or re-name a hierarchical block relative to the main circuit, Multisim will not be able to find it. A dialog box will ask you to provide the new location for the hierarchical block.

To place an existing hierarchical block from a file, select Place/Hierarchical Block from file and follow the same procedure.

To place a new subcircuit:

  1. Select Place/New Subcircuit. The Subcircuit Name dialog box appears.
Figure 2: Subcircuit Name Dialog Box
Figure 2 (Graphic2.png)
  1. Enter the name you wish to use for the subcircuit, for example, “PowerSupply” and click OK. Your cursor changes to a “ghost” image of the subcircuit indicating that the subcircuit is ready to be placed.
  2. Click on the location in the circuit where you want the subcircuit placed (you can move it later, if necessary). The subcircuit appears in the desired location on the circuit window as an icon with the subcircuit name inside it.
  3. Double-click on the new subcircuit and select Edit HB/SC from the Hierarchical Block/Subcircuit dialog box that displays. An empty circuit window appears.
  4. Place and wire components as desired in the new hierarchical block.
  5. Select Place/Connectors/HB/SC Connector, and place and wire the connector as desired. Repeat for any other required Connectors. When you return to the main circuit, the symbol for the subcircuit will include pins for the number of connectors that you added.
  6. Wire the subcircuit into the circuit.

Replacing Components with Hierarchical Blocks or Subcircuits

Multisim allows users to easily replace existing components with a hierarchical block or subcircuit. Simply select the components which comprise the desired subcircuit or hierarchical block, and select Place/Replace by Hierarchical Blockor Place/Replace by Subcircuit.

Spreadsheet View

The Spreadsheet View provides a global perspective on object properties. It allows fast advanced viewing and editing of parameters including component details such as footprints, Reference Designators, attributes and design constraints.

The Spreadsheet View can also be used to modify groups of components at a time. The view can be sorted by any column in either ascending or descending order. You can also export the contents to Microsoft Excel® for further reports.

Content actions

Download module as:

PDF | EPUB (?)

What is an EPUB file?

EPUB is an electronic book format that can be read on a variety of mobile devices.

Downloading to a reading device

For detailed instructions on how to download this content's EPUB to your specific device, click the "(?)" link.

| More downloads ...

Add module to:

My Favorites (?)

'My Favorites' is a special kind of lens which you can use to bookmark modules and collections. 'My Favorites' can only be seen by you, and collections saved in 'My Favorites' can remember the last module you were on. You need an account to use 'My Favorites'.

| A lens I own (?)

Definition of a lens

Lenses

A lens is a custom view of the content in the repository. You can think of it as a fancy kind of list that will let you see content through the eyes of organizations and people you trust.

What is in a lens?

Lens makers point to materials (modules and collections), creating a guide that includes their own comments and descriptive tags about the content.

Who can create a lens?

Any individual member, a community, or a respected organization.

What are tags? tag icon

Tags are descriptors added by lens makers to help label content, attaching a vocabulary that is meaningful in the context of the lens.

| External bookmarks