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 | XOR and XNOR gates
Circuit Description
A demonstration of the XOR and XNOR 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).
Alternatively, type the indicated bindkeys (a,b,s,d,f,g,w,e,r,t)
to control the switches.
Note that two different interpretations exist for the concept of a 'multiple-input' XOR gate. First, the 'either A or B or C or ...' interpretation means 'exactly one of the inputs is true'. The second interpretation constructs a multiple-input XOR gates from a cascade (chain/tree) of two-input XOR gates, which corresponds to the parity of the input values. For example: The following table shows the truth-table of the different gates for three inputs: C B A 1-of-3 even-parity odd-parity 0 0 0 0 1 0 0 0 1 1 0 1 0 1 0 1 0 1 0 1 1 0 1 0 1 0 0 1 0 1 1 0 1 0 1 0 1 1 0 0 1 0 1 1 1 0 0 1
For a demonstration of the parity interpretation,
see the parity generator applets at
and
.
| |||
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/xor.html |