CS3421, Fall 2008

Lab Assignment 1
4-bit Multiplier

Due Monday, October 13, 2008 at 10 PM

The Problem

The file /classes/cs3421/common/lab3.jls contains a partial circuit specification for JLS.

So far two 4-bit input pins (A and B), and an 8-bit output pin (C) are defined. Your task is to implement a circuit that multiplies the two input values A and B, both of which are unsigned 4-bit integers, and output the product to C as an unsigned integer.

Your File

Copy the lab3.jls file from the common directory into your own directory, then use JLS to modify it.

Running JLS

If you download JLS to your own machine, then follow the instructions on the web page. To run JLS on a CS lab machine, type

It is easier to find the circuit file if you first cd to the directory where you put your copy of lab3.jls before you start up JLS. In fact, if you first cd to the directory where you put lab3.jls, then you can start up JLS by typing:

and the circuit will already be loaded.

Testing

Use a signal generator element to test your circuit. Make sure to allow time between input values to account for propagation delay. Test your circuit on as many inputs as you think you need to insure your circuit works.

Submitting

Be sure to change the text to show your name (and your partner's name if you have one). To submit, type:

You must submit your circuit by the due date/time in order to receive credit.

Late assignments will get a grade of 0.