Hades logoHades applet banner
OR and NOR gates

applet icon

The image above shows a thumbnail of the interactive Java applet embedded into this page. Unfortunately, your browser is not Java-aware or Java is disabled in the browser preferences. To start the applet, please enable Java and reload this page. (You might have to restart the browser.)

Circuit Description

A demonstration of varous OR 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). Again, 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 OR gates with two, three, and four inputs. The right column shows the inverting gates: inverter, NOR gate, and NOR gates with two, three, and four inputs. As explained in the previous applet (AND gates), most current technologies are actually based on the inverting gates. In CMOS technology, the four non-inverting gates are 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 OR and NOR gates with up to four inputs (see the AND gate page for a detailed explanation).

To explore the circuit, just click the corresponding switches, or type the following keys:

  • a (buffer)
  • b (inverter)
  • s,d (OR2)
  • f,g (NOR2)
  • w,e,r (OR3)
  • u,i,o (NOR3)
  • 1,2,3,4 (OR4)
  • 5,6,7,8 (NOR4)
(If typing the bindkeys does not work, please use one initial mouseclick into the applet, to ensure that the simulator has the keyboard focus).

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-www.informatik.uni-hamburg.de/applets/hades/webdemos/10-gates/00-gates/or.html