This applet requires Java version 1.0 or higher. Because different colors are used for the "loops", it will only display correctly on a color display. For a short help about the applet see below.
All comments, hints and bug reports are welcome: Please contact Norman Hendrich.
The applet demonstrates how this works, because the current two-level logic realization of the function is plotted in a seperate window and updated whenever you combine terms. You can watch how the function schematic gets simpler (and the logic realization gets cheaper) while you minimze the function.
Two examples of an initial logiv function KV diagram, its circuit realization and the optimized versions can be found here:
The two seperate PLA windows are used to display the schematic for the current function (that is, a two level AND-OR realization for the function), and the PLA table in the standard PLA (Espresso.5) format.
The status line displays a kind of 'one line help messages' on what kind of mode the applet is in, and what you can (and should) do with the applet.
If you want to enter your own function, select a new function of the desired size (number of inputs and outputs). Afterwards use Edit Mode to enter your function.
This mode also allows you to enter a desired function bit by bit, if you want to use the KV diagram applet for actual logic minimization.
To enlarge the loop, hold down the SHIFT key on your keyboard and click on the field you want to add to the current loop. The applet will automatically calculate all fields enclosed in the current loop (or warn you, if the clicked field cannot be added to the current loop).
Loops are drawn in different colors (which repeat after 8 loops), in order to allow easy recognition of loops.
Any time a loop is drawn, the PLA schematic and table are updated. Loops and the correspondings AND-gates are drawn in the same color.
On each click, this will delete the last loop drawn. Each deleted loops is split into the corresponding minterms, and the PLA schematic and table are updated.
Also, the numerical index (0 .. 63) of the KV diagram field in displayed in the Status Line on the bottom of the applet. This makes it easy to find a certain index field in the diagram, just by clicking a few times.
(Note for Computer Science profs: The layout of the diagrams was deliberately modified somewhat from the standard layout. Using the applet for doing the homework will therefore still need some understanding...)
last update: Thu Jan 28 16:19:43 MET 1999 Norman Hendrich