TAMS / Java / Hades / applets: contents | previous | next | ||||
Hades Applets contents visual index introduction std_logic_1164 gatelevel circuits basic gates AND gates OR gates XOR and XNOR De Morgan complex gates AND12 gate simple decoder XOR variants 4-bit parity... 8-bit parity... 2x2 bit mult... Gray-code 7400 and 7486 seven-segmen... 7449 seven-s... Ascii decoder multiplexer ... multiplexer ... 74151 multip... 74154 decode... 74154 decode... priority enc... priority enc... Hamming code barrel-shifter delay models flipflops adders and arithm... counters LFSR and selftest memories programmable logic state-machine editor misc. demos I/O and displays DCF-77 clock relays (switch-le... CMOS circuits (sw... RTLIB logic RTLIB registers Prima processor D*CORE MicroJava Pic16 cosimulation Mips R3000 cosimu... Intel MCS4 (i4004) image processing ... [Sch04] Codeumsetzer [Sch04] Addierer [Sch04] Flipflops [Sch04] Schaltwerke [Sch04] RALU, Min... [Fer05] State-Mac... [Fer05] PIC16F84/... [Fer05] Miscellan... [Fer05] Femtojava FreeTTS | AND and NAND gates
Circuit Description
A demonstration of varous AND logic gates.
Click the input switches to toggle the corresponding input value
between 0 and 1, and watch the resulting behaviour.
You can also use shift+click to toggle the input value between
the states 0, 1, Z (tri-state, not driven) and X (undefined).
The default input values of the switches are chosen
so that the first mouse-click already changes the output value
of the corresponding gate.
The left column includes the non-inverting gates ('positive logic'), namely the one-input buffer, and the AND gates with two, three, and four inputs. The right column shows the inverting gates: inverter and NAND gates with two, three, and four inputs. While the non-inverting gates seem more intuitive, most current technologies are actually based on the inverting gates. For example, in CMOS technology the non-inverting gates are actually realized by the inverting gate followed by an inverter. Naturally, it is easy to define logic gates with more than four inputs, but these are rarely used in practice due to technological restrictions. While bipolar technology might allow gates with perhaps up to about six inputs, most MOS techology libraries only include AND and NAND gates with up to four inputs. When gates with more than four inputs are required, a cascade of multiple smaller gates is used. Click here for the demonstration of a 12-input AND gate. For interactive switch-level (transistor-level) demonstrations of CMOS gates vist our CMOS technology demonstration page. Obviously, the implementation of multiple input logic gates requires a series-connection of the corresponding number of transistors. Once more than three or four transistors are connected in series, it is difficult to guarantee that the gate output voltages remain inside the voltage ranges that define the logical levels. Additionally, the capaticance of the series-connected transistors increases with each level, which reduces switching speed. Typically, only three- or four-input gates are used in CMOS technology. To explore the circuit, just click the corresponding switches, or type the following keys:
Note: As can be seen in the applet, the one-, two-, and three-input gates in Hades have connections (=ports) with the same spacing, actually 1/4th of an inch. On the other hand, the input ports of the four-input gates are positioned on coordinates that are a multiple of 1/8th inch. You will have to change the editor settings (view->magnetic->grid->1/8th) in order to use those gates in the editor. | |||
Print version | Run this demo in the Hades editor (via Java WebStart) | ||||
Usage | FAQ | About | License | Feedback | Tutorial (PDF) | Referenzkarte (PDF, in German) | ||||
Impressum | http://tams.informatik.uni-hamburg.de/applets/hades/webdemos/10-gates/00-gates/and.html |