TAMS / Java / Hades / applets: contents | previous | next | ||||
Hades Applets contents visual index introduction std_logic_1164 gatelevel circuits 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... switch-level... relays AND, NAND OR, NOR XOR polarity cha... mux and demux full adder full adder (... SR flipflop SR flipflop toggle flipflop toggle flipflop toggle flipf... 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 | relay-based XOR
Circuit Description
Two ways to realize the XOR function with relays.
Click the input switches or type the ('a','b') and ('d','e') bindkeys to control the circuit and watch the behavior. The first circuit shows the standard realization with two separate relays, each driven by one input, and the opposite coil input connected to ground. As such, the relay will activate whenever the corresponding input (A,B) is at high level. The cross-connection between the switches realizes the XOR function. Similarly, a straight-connection between the switches would be used to build the XNOR function. Again, a high-output value at the gate output is interpreted as a logical 1, while an unconnected (floating) output is interpreted as a logical 0. The lower circuit illustrates the fact that a relay will activate when a current flows through its coil, regardless of the current's polarity. In the switch-level simulation, this means that the relay will activate whenever one input of the coil is at (strong) high level and the other at (strong) low level. Note that the circuit shown here will only work if the D and E inputs are strongly driven. As several of the gates shown in the previous applets only provide a strong 1 but a weak (floating) 0, these gates can only be used with the upper XOR gate shown here. | |||
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/05-switched/20-relays/xor.html |