TAMS / Java / Hades / applets: contents | previous | next | ||||
Hades Applets contents visual index introduction std_logic_1164 std_logic va... std_logic lo... switches basic gates hex-switch clock generator two-phase clock resolution f... wired-AND demo detectors an... 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... 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 | Hexadecimal (4 bit) switch and display
Circuit Description
This applet shows the HexSwitch and HexDisplay
simulation components.
Click into one of the '0', '1', ..., 'F' fields of the HexSwitch to generate the corresponding 4-bit value on the output ports of the switch. Click the '-' and '+' fields to decrement or increment the current output value of the HexSwitch. This simulation component is convenient to generate 4-bit inputs, and is used in many of the following applets. If a bindkey is assigned to the hex switch (e.g. 'a'), you can also type the bindkey to increment the output value, or type the shift+bindkey combination (e.g. 'shift+a') to decrement the output value. The HexDisplay converts its 4-bit input into the corresponding hexadecimal value and displays this on its seven-segment display. If any of the input values is undefined ('U', 'X', 'Z', 'W', 'D'), a cyan three-stripes pattern is displayed. For reference, the Java class names of the hex switch and display are hades.models.io.HexSwitch and hades.models.io.HexDisplay. Also note that a HexSwitch will not work properly when you try to mirror (x/y) its symbol in the Hades 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/00-intro/05-switches/hexswitch.html |