Lab5_manual

Lab5_manual - output (which comes from the SET output of...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
EEL 4747C MicroComputers II Experiment Five: 8-bit ALU Objectives: Build an 8-bit ALU based on knowledge from 1-bit ALU. Instructions: Your 8-bit ALU will have inputs A(7:0), B(7:0), CARRYIN, LESS, AINVERT, BNEGATE and OPERATION(1:0); and outputs RESULT(7:0), ZERO, SET and CARRYOUT. For A(7:0), B(7:0) and RESULT(7:0), you need to properly create the buses as you did in Lab 4, wire each input bit properly to the 1-bit ALU and name each wire of the bus. For the OPERATION (1:0) bus, there is no need to create a bus because both wires of the input bus are sent to all eight of the 1-bit ALUs. To build your 8-bit ALU, you can piece together 1-bit ALUs. However, note that the LESS input of the first 1-bit ALU and the SET output of the last 1-bit ALU are special cases. To accommodate for the correct wiring of these signals in your further design, like 32-bit ALU, your 8-bit ALU needs to have a LESS input (which is connected to the LESS input of its least significant 1-bit ALU) and a SET
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Background image of page 2
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: output (which comes from the SET output of its most significant ALU). Finally, you will need to add some zero-detection logic to your 8-bit ALU. This logic must provide an output that can be used in the zero-detection logic of the 32-bit ALU that you maybe build in the future, which must also have a ZERO output that is asserted when all bits of the RESULT are zero. When you are done with the schematic for your 8-bit ALU, convert it into a symbol and name it. * This function requires an extra condition. Please find it out. One should finish the lab in his report, and simulate all the functions with one group of value for each one. Before the simulation, calculate the results manually and record them in Control(Ainv Binv Ope(1:0)) Function 0000 0001 0010 0110* 1100 your report. After the simulation, compare the simulation and your calculation and draw a conclusion....
View Full Document

Page1 / 2

Lab5_manual - output (which comes from the SET output of...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online