transist.html 6.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161
  1. <html>
  2. <head>
  3. <title>Transistor</title>
  4. </head>
  5. <body bgcolor="FFFFFF">
  6. <h1><img align="center" src="../../../../en/icons/trans0.gif" width="32" height="32">
  7. <img align="center" src="../../../../en/icons/trans1.gif" width="32" height="32">
  8. <em>Transistor</em></h1>
  9. <p><table>
  10. <tr><td><strong>Library:</strong></td>
  11. <td><a href="index.html">Wiring</a></td></tr>
  12. <tr><td><strong>Introduced:</strong></td>
  13. <td>2.7.0</td></tr>
  14. <tr><td valign="top"><strong>Appearance:</strong></td>
  15. <td valign="top"><img src="../../../../en/img-libs/trans0.png" width="44" height="23">
  16. <img src="../../../../en/img-libs/trans1.png" width="44" height="23"></td></tr>
  17. </table></p>
  18. <h2>Behavior</h2>
  19. <p>A transistor has two inputs, called <em>gate</em> and <em>source</em>,
  20. and one output, called <em>drain</em>. When diagrammed, the <em>source</em>
  21. input and <em>drain</em> output are drawn connected by a plate;
  22. Logisim draws an arrowhead to indicate the direction of flow from input to output.
  23. The <em>gate</em> input is drawn connected to a plate that is parallel to the
  24. plate connecting <em>source</em> to <em>drain</em>. Logisim supports two types of
  25. transistors, with slightly different behaviors described below; the P-type
  26. transistor is indicated by a circle connecting the <em>gate</em> input to its
  27. plate, while the N-type transistor has no such circle.</p>
  28. <p>Depending on the value found at <em>gate</em>,
  29. the value at <em>source</em> may be transmitted to
  30. <em>drain</em>; or there may be no connection from <em>source</em>,
  31. so <em>drain</em> is left floating. The determination of transmitting or disconnecting
  32. depends on the type of transistor: A P-type transistor
  33. (indicated by a circle on the <em>gate</em> line) transmits
  34. when <em>gate</em> is 0, while an N-type transistor (which has no such circle)
  35. transmits when <em>gate</em> is 1. The behavior is summarized by the
  36. following tables.</p>
  37. <center><table>
  38. <tr><td><table><thead>
  39. <tr><td></td><th colspan="4" align="center"><b>P-type</b></th></tr>
  40. <tr><td></td><td colspan="4" align="center"><img src="../../../../en/img-libs/trans0.png" width="44" height="23"></td></tr>
  41. </thead><tbody>
  42. <tr><td colspan="2"></td><th colspan="3"><em>gate</em></th></tr>
  43. <tr><td colspan="2"></td><th align="center">0</th><th align="center">1</th><th align="center">X/Z</th></tr>
  44. <tr><td></td><th align="center">0</th>
  45. <td align="center">0</td><td align="center">Z</td><td align="center">X</td></tr>
  46. <tr><th><em>source</em></th><th align="center">1</th>
  47. <td align="center">1</td><td align="center">Z</td><td align="center">X</td></tr>
  48. <tr><td></td><th align="center">Z</th>
  49. <td align="center">Z</td><td align="center">Z</td><td align="center">Z</td></tr>
  50. <tr><td></td><th align="center">X</th>
  51. <td align="center">X</td><td align="center">Z</td><td align="center">X</td></tr>
  52. </tbody></table></td><td>&nbsp;&nbsp;&nbsp;</td><td><table><thead>
  53. <tr><td></td><th colspan="4" align="center"><b>N-type</b></th></tr>
  54. <tr><td></td><td colspan="4" align="center"><img src="../../../../en/img-libs/trans1.png" width="44" height="23"></td></tr>
  55. </thead><tbody>
  56. <tr><td colspan="2"></td><th colspan="3"><em>gate</em></th></tr>
  57. <tr><td colspan="2"></td><th align="center">0</th><th align="center">1</th><th align="center">X/Z</th></tr>
  58. <tr><td></td><th align="center">0</th>
  59. <td align="center">Z</td><td align="center">0</td><td align="center">X</td></tr>
  60. <tr><th><em>source</em></th><th align="center">1</th>
  61. <td align="center">Z</td><td align="center">1</td><td align="center">X</td></tr>
  62. <tr><td></td><th align="center">Z</th>
  63. <td align="center">Z</td><td align="center">Z</td><td align="center">Z</td></tr>
  64. <tr><td></td><th align="center">X</th>
  65. <td align="center">Z</td><td align="center">X</td><td align="center">X</td></tr>
  66. </table></td></tr></table></center>
  67. <p>Or in summarized form:</p>
  68. <center><table>
  69. <tr><td><table><thead>
  70. <tr><th colspan="2" align="center"><b>P-type</b></th></tr>
  71. <tr><td colspan="2" align="center"><img src="../../../../en/img-libs/trans0.png" width="44" height="23"></td></tr>
  72. </thead><tbody>
  73. <tr><th><em>gate</em></th><th><em>drain</em></th></tr>
  74. <tr><td align="center">0</td><td align="center"><em>source</em></td></tr>
  75. <tr><td align="center">1</td><td align="center">Z</td></tr>
  76. <tr><td align="center">X/Z</td><td align="center">X*</td></tr>
  77. </tbody></table></td><td>&nbsp;&nbsp;&nbsp;</td><td><table><thead>
  78. <tr><th colspan="2" align="center"><b>N-type</b></th></tr>
  79. <tr><td colspan="2" align="center"><img src="../../../../en/img-libs/trans1.png" width="44" height="23"></td></tr>
  80. </thead><tbody>
  81. <tr><th><em>gate</em></th><th><em>drain</em></th></tr>
  82. <tr><td align="center">0</td><td align="center">Z</td></tr>
  83. <tr><td align="center">1</td><td align="center"><em>source</em></td></tr>
  84. <tr><td align="center">X/Z</td><td align="center">X*</td></tr>
  85. </table></td></tr></table>
  86. <p>* <em>If <em>source</em> is Z, <em>drain</em> is Z; otherwise <em>drain</em> is X.</p>
  87. </center>
  88. <p>If the Data Bits attribute is more than 1, the <em>gate</em> input is still
  89. a single bit, but its value is applied simultaneously to each of the
  90. <em>source</em> input's bits.</p>
  91. <p>An N-type transistor behaves very similarly to a
  92. <a href="../gates/controlled.html">Controlled Buffer</a>. The primary difference
  93. is that a transistor is meant for more basic circuit designs.</p>
  94. <h2>Pins (assuming component faces east, gate line top/left)</h2>
  95. <dl>
  96. <dt>West edge (input, bit width matches Data Bits attribute)</dt>
  97. <dd>The component's <em>source</em> input that will transmit to the output
  98. if triggered by the <em>gate</em> input.</dd>
  99. <dt>North edge (input, bit width 1)</dt>
  100. <dd>The component's <em>gate</em> input. For P-type transistors, the transistor
  101. will transmit if the <em>gate</em> value is 0; for N-type transistors,
  102. this will trigger the transistor if the <em>gate</em> value is 1.</dd>
  103. <dt>East edge (output, bit width matches Data Bits attribute)</dd>
  104. <dd>The component's output, which will match the <em>source</em> input
  105. if indicated by the <em>gate</em> input, or will be floating if the <em>gate</em>
  106. input is the negation of what indicates negation. If <em>gate</em> is floating
  107. or an error value, then the output will be an error value.</dd>
  108. </dl>
  109. <h2>Attributes</h2>
  110. <p>When the component is selected or being added,
  111. Alt-0 through Alt-9 alter its <q>Data Bits</q> attribute
  112. and the arrow keys alter its <q>Facing</q> attribute.</p>
  113. <dl>
  114. <dt>Type</dt>
  115. <dd>Determines whether the transistor is P-type or N-type.</dd>
  116. <dt>Facing</dt>
  117. <dd>The direction of the component (its output relative to its input).</dd>
  118. <dt>Gate Location</dt>
  119. <dd>The location of the gate input.</dd>
  120. <dt>Data Bits</dt>
  121. <dd>The bit width of the component's inputs and outputs.</dd>
  122. </dl>
  123. <h2>Poke Tool Behavior</h2>
  124. <p>None.</p>
  125. <h2>Text Tool Behavior</h2>
  126. <p>None.</p>
  127. <p><a href="../index.html">Back to <em>Library Reference</em></a></p>
  128. </body>
  129. </html>