Hades logoHades applet banner
Generated n-bit integer multiplier

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

This applet demonstrates an N bit integer multipler automatically created by a C++ program. That is, the Hades design file(s) for the multiplier was not entered manually via the schematics editor, but was directly written by a generator program. Run the generator code and enter N, and a new design will be created.

When started, the program first queries for the bit-width (N), calculates the required circuit structure, and then writes the corresponding Hades design file (called 'mult_Int_N_bits.hds'). The example circuit shown in this applet was created by the generator with N=5.

Click (or shift-click) the input switches to select the input values for the multiplier and watch the result values. If necessary, use the popup-menu (zoom, zoom-region) to enlarge the area (left center) with the input switches and the output display.

Note that no explicit signal wires are visible in the circuit schematics. When writing the Hades design file for the multiplier, the generator program just creates the logical connections ('signals') between the inputs, AND-gates, adders, and outputs, but it does not create extra graphical objects ('wire segments, solder dots'). Also, the generator uses a simple left-to-right placement strategy for the AND-gates (resulting in very wide schematics when N>6 or so). Naturally, the simulator internally always uses the logical connections and does not need a schematics at all.

The program generator is available on the following compressed archive (tar.gz format). This generator has been written by the computer science student Fred Paulino Ferreira from Universidade Federal de Višosa, Brazil.

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/95-dpi/multgenerator/multgenerator.html