The internal storage (we'll call it the register file from now on),
should be connected to the ALU similar to the sample schematic.
In the sample, the ALU has 2 8-bit inputs, an 8-bit output, and 3 control
signal bits. The register file has 1 8 bit input, 2 8-bit outputs, various
control signals (to get it to read and write for example). The SRCA
(Read Reg Address A) signals are the address of the first source register, the SRCB the addresses of the second source register, and DEST (Reg Write Address) the address of the destination register. The multiplexor allows me to
initialize the registers to demonstrate the operation of the circuit since
it is not wired up to program memory and can't actually execute a program (yet). You have to come up with a similar kludge to get values toggled in to
your operands and run the circuit to write output.
You will demonstrate your design in two ways. First, you must come up with a
schematic such as the one shown. Obviously yours will be different as it must implement the ISA you designed in Lab 1. You must show all the relevant internal circuits. Second, you must have a timing diagram for all of the ALU
operations supported by your design. There is an example timing diagram
included; yours will be longer to cover all of the operatrions in your ISA/ALU.
The timing diagram has to demonstrate all ALU operations with interesting
inputs (try some from your programs in Lab 1). The timing diagram
should also demonstrate and exercise the register file - causing values to be read and written. If you hav general purpose registers (that can be 1st or 2nd
operand, or source and destination) then I want to see those features
exercised.
Just like in real life, the quality of your presentation counts. The schematics and timing digrams must be complete and heavily labled and annotated so
that we can figure out what is going on! An elegant solution that is
poorly documented will not recieve full credit.
In addition to the schematics and timing, answer the following questions:
Groups of no more than 3 persons can turn in a lab report together. You can switch groups now from Lab 1 but ONLY IF YOU TELL ME.