TAMS / Java / Hades / applets: contents | previous | next | ||||
Hades Applets contents visual index introduction std_logic_1164 gatelevel circuits delay models flipflops basic SR fli... SR flipflop ... clocked SR f... D-latch D-flipflop D-flipflop w... JK-flipflop JK-flipflop JK-flipflop ... 7476 JK-flip... flipflop demo LSSD latch 74273 D-regi... 74166 shift-... c-gate c-gate (3 in... micropipeline traffic ligh... traffic ligh... traffic ligh... traffic ligh... 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 | Traffic light controller (2/4)
Circuit Description
Another traffic light controller.
(Click the clock and nreset switches, or type the 'c' and 'r' bindkeys).
In this example, the state-encoding is chosen
so that each flipflop directly encodes one output:
flipflop z0 drives the red LED, z1 the yellow LED, and z2 the green LED.
Therefore, no additional gates are required for the 'lambda' circuit
of the Moore model.
However, one additional flipflop and a more complex 'delta' circuit
are required in comparison the realization demonstrated in the
previous applet.
Over the years, many different and elaborate algorithms have been proposed to automatically find good solutions to the state-encoding and logic-minimization problems. Note that the quality of a solution largely depends on technological constraints like implementation technology (bipolar, CMOS), architecture (full-custom, FPGA), required clock-frequency, power-consumption, etc. state encoding next state z2 z1 z0 z2* z1* z0* ---------------------------------- reset 0 0 0 0 0 1 red 0 0 1 0 1 1 red+yellow 0 1 1 1 0 0 green 1 0 0 0 1 0 yellow 0 1 0 0 0 1 | |||
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/18-fsm/10-trafficlight/ampel_42.html |