<< Chapter < Page Chapter >> Page >
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 sophisticateddesigns.

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 otherdesigns.

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

Hierarchical blocks and subcircuits can be created using two methods, the first method is to highlight anexisting 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):

  • Select Place/New Hierarchical Block and enter a filename.
Hierarchical Block Properties Dialog Box

or

  • Click on Browse, navigate to the folder where you would like to save the hierarchical block, enter a name and click Save. Youare returned to the Hierarchical Block Properties dialog box.
  • 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.
  • Double-click on the new hierarchical block and select Edit HB/SC from the Hierarchical Block/Subcircuit dialog box thatdisplays. A circuit window that contains only the entered pins displays.
  • Place and wire components as desired in the new hierarchical block.
  • Wire the hierarchical block into the circuit.
  • Save the circuit.

Note: If you move or re-name a hierarchical block relative to the main circuit, Multisim will not be able tofind 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 thesame procedure.

To place a new subcircuit:

  • Select Place/New Subcircuit. The Subcircuit Name dialog box appears.
Subcircuit Name Dialog Box
  • 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.
  • Click on the location in the circuit where you want the subcircuit placed (you can move it later, if necessary). Thesubcircuit appears in the desired location on the circuit window as an icon with the subcircuit name inside it.
  • Double-click on the new subcircuit and select Edit HB/SC from the Hierarchical Block/Subcircuit dialog box that displays. Anempty circuit window appears.
  • Place and wire components as desired in the new hierarchical block.
  • 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 youadded.
  • 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. Simplyselect the components which comprise the desired subcircuit or hierarchical block, and select Place/Replace by HierarchicalBlockor Place/Replace by Subcircuit.

Spreadsheet view

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

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

Get Jobilize Job Search Mobile App in your pocket Now!

Get it on Google Play Download on the App Store Now




Source:  OpenStax, Introduction to multisim schematic capture and spice simulation. OpenStax CNX. Sep 26, 2006 Download for free at http://cnx.org/content/col10369/1.3
Google Play and the Google Play logo are trademarks of Google Inc.

Notification Switch

Would you like to follow the 'Introduction to multisim schematic capture and spice simulation' conversation and receive update notifications?

Ask