<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE document PUBLIC "-//CNX//DTD CNXML 0.5//EN" "http://cnx.rice.edu/technology/cnxml/schema/dtd/0.5/cnxml_plain.dtd">
<document xmlns="http://cnx.rice.edu/cnxml" xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="id11145333">
<name xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">Creating and Using Sub-Circuits in National Instruments Multisim</name>
<metadata xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">
  <md:version xmlns:bib="http://bibtexml.sf.net/">1.1</md:version>
  <md:created xmlns:bib="http://bibtexml.sf.net/">2006/07/28 13:36:32.007 GMT-5</md:created>
  <md:revised xmlns:bib="http://bibtexml.sf.net/">2006/08/03 11:31:24.156 GMT-5</md:revised>
  <md:authorlist xmlns:bib="http://bibtexml.sf.net/">
      <md:author xmlns:bib="http://bibtexml.sf.net/" id="Janell">
      <md:firstname xmlns:bib="http://bibtexml.sf.net/">Janell</md:firstname>
      
      <md:surname xmlns:bib="http://bibtexml.sf.net/">Rodriguez</md:surname>
      <md:email xmlns:bib="http://bibtexml.sf.net/">janellrodriguez@hotmail.com</md:email>
    </md:author>
      <md:author xmlns:bib="http://bibtexml.sf.net/" id="eluther">
      <md:firstname xmlns:bib="http://bibtexml.sf.net/">Erik</md:firstname>
      <md:othername xmlns:bib="http://bibtexml.sf.net/">B</md:othername>
      <md:surname xmlns:bib="http://bibtexml.sf.net/">Luther</md:surname>
      <md:email xmlns:bib="http://bibtexml.sf.net/">erik.luther@ni.com</md:email>
    </md:author>
  </md:authorlist>

  <md:maintainerlist xmlns:bib="http://bibtexml.sf.net/">
    <md:maintainer xmlns:bib="http://bibtexml.sf.net/" id="Janell">
      <md:firstname xmlns:bib="http://bibtexml.sf.net/">Janell</md:firstname>
      
      <md:surname xmlns:bib="http://bibtexml.sf.net/">Rodriguez</md:surname>
      <md:email xmlns:bib="http://bibtexml.sf.net/">janellrodriguez@hotmail.com</md:email>
    </md:maintainer>
    <md:maintainer xmlns:bib="http://bibtexml.sf.net/" id="eluther">
      <md:firstname xmlns:bib="http://bibtexml.sf.net/">Erik</md:firstname>
      <md:othername xmlns:bib="http://bibtexml.sf.net/">B</md:othername>
      <md:surname xmlns:bib="http://bibtexml.sf.net/">Luther</md:surname>
      <md:email xmlns:bib="http://bibtexml.sf.net/">erik.luther@ni.com</md:email>
    </md:maintainer>
  </md:maintainerlist>
  
  

  <md:abstract xmlns:bib="http://bibtexml.sf.net/">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.</md:abstract>
</metadata>
<content xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">
<section xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="id8107906">
<name xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">Sub-circuits and Hierarchical Blocks</name>
<para xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="id11150908">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.</para>
<para xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="id10733472">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.</para>
<para xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="id11145132">Hierarchical blocks and subcircuits are
functionally identical; the only difference is in how their
contents are stored on disk.</para>
<para xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="id10908585">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.</para>
</section>
<section xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="id9931984">
<name xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">To place a new hierarchical block (2nd method):</name>
<list xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" type="enumerated" id="id10476294">
<item xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">Select Place/New Hierarchical Block and enter a
filename.</item>
</list>
<figure xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="id10472930"><media xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" type="image/png" src="Graphic1.png"/>
<caption xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/"> Hierarchical Block Properties Dialog Box </caption></figure>

<para xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="id10834122">or</para>
<list xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" type="enumerated" id="id11160929"><item xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">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.</item>
	<item xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">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.</item>
	<item xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">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.</item>
	<item xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">Place and wire components as desired in the new hierarchical
block.</item>
	<item xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">Wire the hierarchical block into the circuit.</item>
	<item xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">Save the circuit.</item>
</list>
<para xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="id10269259">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.</para>
<para xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="id10971694">To place an existing hierarchical block from
a file, select Place/Hierarchical Block from file and follow the
same procedure.</para>
</section>
<section xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="id11164069">
<name xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">To place a new subcircuit:</name>
<list xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" type="enumerated" id="id10744045">
<item xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">Select Place/New Subcircuit. The Subcircuit Name dialog box
appears.</item>
</list>
<figure xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="id10807972"><media xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" type="image/png" src="Graphic2.png"/>
<caption xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/"> Subcircuit Name Dialog Box </caption></figure>

<list xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" type="enumerated" id="id6091283">
<item xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">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.</item>
<item xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">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.</item>
<item xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">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.</item>
<item xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">Place and wire components as desired in the new hierarchical
block.</item>
<item xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">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.</item>
<item xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">Wire the subcircuit into the circuit.</item>
</list>
</section>
<section xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="id11161335">
<name xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">Replacing Components with Hierarchical Blocks or
Subcircuits</name>
<para xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="id10346498">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.</para>
</section>
<section xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="id10400631">
<name xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">Spreadsheet View</name>
<para xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="id6666891">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.</para>
<para xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="id10808475">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.</para>
</section>
</content>
</document>
