TAMS / Java / Hades / applets: contents | previous | next | ||||
Hades Applets contents visual index introduction welcome user-interface zoom commands popup menu glow mode tool-tips simulation c... 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... 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 | Using glow mode Circuit Description Perhaps the most important visualization aid in the Hades simulation framework is glow mode, where different colors are used to show the current values of all signals (wires) in the circuit schematic. Naturally, this technique is used by several other simulators as well. When glow-mode is enabled, the signal wires are drawn in a color corresponding to the current logical value on that signal at the given simulation time. The schematic is updated periodically during the simulation. For example, signals of type SignalStdLogic1164 use a color encoding that allows to distinguish the logical values (e.g. 0 or 1) at a glance. As 'aggressive' colors like cyan and magenta are used to indicate undefined or illegal logic values, problems in a circuit can be spotted very quickly - see the open input on the AND and OR gates. One of the next applets contains a detailed explanation of the std_logic multilevel logic system and the color encoding of the nine logic values. Similarly, signals of type SignalStdLogicVector use different colors to indicate the current numerical value of the corresponding bus. The colors can be changed via properties in the Hades configuration files. User-defined signal classes are free to define their own color encoding. On the other hand, with glow-mode off, all signal wires are drawn in the same standard color (currently, blue). As the simulator doesn't need to update the signal wires, the simulation can run faster when glow-mode is off. Also, the uniform blue color can be better when printing the schematics, especially on black and white printers. To toggle glow mode, either select the corresponding (popup) menu item in the editor or viewer, or simply press the 'control+g' bindkey (when the schematics editor has the keyboard focus). In the editor GUI, the menu item is in the 'layers' menu, while the applet (=viewer) uses the 'view' submenu of the popup-menu. The schematics will be updated on the next periodic redraw, typically within a fraction of a second. Note that very short pulses on a wire might not show up at all if they are over before the next redraw operation begins. You can try to change the default repaint frequency via the menu items in 'select repaint frequency...' submenu of the view menu. As redrawing is very compute intensive, selecting high repaint frequencies may reduce the simulation speed (it can even lead to crashes of the Java virtual machine). | |||
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/00-welcome/glowmode.html |