| Library: | Analog |
| Introduced: | 2.7.0 (moved to Analog in 4.0.2 HC) |
| Appearance: |
A transistor has two inputs, called gate and source, and one output, called drain. When diagrammed, the source input and drain output are drawn connected by a plate; Logisim draws an arrowhead to indicate the direction of data flow from input to output. The gate input is drawn connected to a plate that is parallel to the plate connecting source to drain. Logisim supports two types of transistors, with slightly different behaviors described below; the P-type transistor is indicated by a circle connecting the gate input to its plate, while the N-type transistor has no such circle. Note: these components roughly approximate the behavior of actual FET transistors, but several simplifications are made.
Depending on the value found at gate, the value at source may be transmitted to drain; or there may be no connection from source, so drain is left floating (shown as 'X'). The determination of transmitting or disconnecting depends on the type of transistor: A P-type transistor (indicated by a circle on the gate line) transmits when gate is 0, while an N-type transistor (which has no such circle) transmits when gate is 1. For a P-type transistor, a high source input will propagate to the drain output, while for an N-type transistor, a low source input will propagate to the drain output. Other source values will leave drain floating (shown as 'X'). Error values (shown as 'E') cause the transistor to output errors or, in some cases, floating ('X') values.
|
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Or in summarized form:
|
| |||||||||||||||||||||||||||||||||||||||
* Note: If source is X, drain is X; otherwise drain is E.
Note: Transistors in logisim only transmit values in one direction, from source to drain, as indicated by the small arrow. This is not realistic for many types of transistor logic, which can be symmetric devices allowing current to flow in either direction depending on how the inputs are wired.
If the Data Bits property is more than 1, the gate input is still a single bit, but its value is applied simultaneously to each of the source input's bits.
An N-type transistor behaves very similarly to a
Tri-State Buffer, but it only transmits low source values.
A P-type transistor behaves very similarly to a
Tri-State Buffer as well, but it only transmits high source values. A pair of N-type and
P-type transistors connected together in parallel will function similarly to a
single
Controlled Buffer, passing both ones and zeros when enabled, and with a floating output when
disabled.
When the component is selected or being added,
Alt-0 through Alt-9 alter its Data Bits
property
and the arrow keys alter its Facing
property.
None.
None. FPGA devices generally do not support tri-state devices.