demux.html 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111
  1. <html>
  2. <head>
  3. <title>Demultiplexer</title>
  4. </head>
  5. <body bgcolor="FFFFFF">
  6. <h1><img align="center" src="../../../../en/icons/demultiplexer.gif" width="32" height="32">
  7. <em>Demultiplexer</em></h1>
  8. <p><table>
  9. <tr><td><strong>Library:</strong></td>
  10. <td><a href="index.html">Plexers</a></td></tr>
  11. <tr><td><strong>Introduced:</strong></td>
  12. <td>2.0 Beta 11</td></tr>
  13. <tr><td valign="top"><strong>Appearance:</strong></td>
  14. <td valign="top"><img src="../../../../en/img-libs/demux.png" width="44" height="62"></td></tr>
  15. </table></p>
  16. <h2>Behavior</h2>
  17. <p>Copies the input on the west edge onto exactly one of the outputs on
  18. the east edge; which of these outputs is specified via the
  19. current value received through the input on the south edge.
  20. I find it useful to think of a demultiplexer as analogous to a railroad
  21. switch, controlled by the select input.</p>
  22. <p>(Incidentally, some authorities spell this
  23. <em>demultiplex<strong>o</strong>r</em>,
  24. but <em>demultiplex<strong>e</strong>r</em> is the predominant
  25. spelling.)</p>
  26. <h2>Pins (assuming component faces east, select is bottom/left)</h2>
  27. <dl>
  28. <dt>West edge (input, bit width matches Data Bits attribute)</dt>
  29. <dd>The value to be routed to one of the outputs on the east edge.</dd>
  30. <dt>East edge, variable number (outputs, bit width matches Data Bits
  31. attribute)</dt>
  32. <dd>The outputs are numbered starting with 0 on the north. An output
  33. will match the west input if its number matches the value currently
  34. received through the select input on the south; otherwise, its value
  35. will be either all-zeroes or all-floating, depending on the value of
  36. the Three-State? attribute.
  37. If the select input contains any unspecified bits, then all outputs are
  38. floating.</dd>
  39. <dt>South edge, left side (input, bit width 1)</dt>
  40. <dd>Enable: When 0, all outputs consist of all floating bits,
  41. regardless of the data and select inputs.</dd>
  42. <dt>South edge, right side indicated by gray circle (input, bit width matches Select Bits attribute)</dt>
  43. <dd>Select input: The value of this input determines to which output on
  44. the east edge to route the value received on the west edge.</dd>
  45. </dl>
  46. <h2>Attributes</h2>
  47. <p>When the component is selected or being added,
  48. the digits '1' through '4' alter its <q>Select Bits</q> attribute,
  49. Alt-0 through Alt-9 alter its <q>Data Bits</q> attribute,
  50. and the arrow keys alter its <q>Facing</q> attribute.</p>
  51. <dl>
  52. <dt>Facing</dt>
  53. <dd>The direction of the component (specifying which side has the outputs).</dd>
  54. <dt>Select Location</dt>
  55. <dd>The location of the select and enable lines relative to the component.</dd>
  56. <dt>Select Bits</dt>
  57. <dd>The bit width of the component's select input on its south edge.
  58. The number of outputs for the demultiplexer will be
  59. 2<sup><var>selectBits</var></sup>.</dd>
  60. <dt>Data Bits</dt>
  61. <dd>The bit width of the data being routed through the demultiplexer.</dd>
  62. <dt>Three-state?</dt>
  63. <dd>Specifies whether the unselected outputs should be floating (Yes) or
  64. zero (No).</dd>
  65. <dt>Disabled Output</dt>
  66. <dd>Specifies what each bit of the outputs should be when the component is
  67. disabled (i.e., when the enable pin is 0). Options include zero and floating;
  68. in the latter case, the outputs are effectively disconnected from any other ports.</dd>
  69. <dt>Include Enable?</dt>
  70. <dd>The component has an enable input when this attribute is <q>yes.</q>
  71. The attribute is primarily for supporting circuits built using older versions of
  72. Logisim that did not provide an enable input.</dd>
  73. </dl>
  74. <h2>Poke Tool Behavior</h2>
  75. <p>None.</p>
  76. <h2>Text Tool Behavior</h2>
  77. <p>None.</p>
  78. <p><a href="../index.html">Back to <em>Library Reference</em></a></p>
  79. </body>
  80. </html>