TODO By analogy to the last circuit from Section 3 describe how the aluA aluB

# Todo by analogy to the last circuit from section 3

• Lab Report
• 6
• 33% (3) 1 out of 3 people found this document helpful

This preview shows page 4 - 6 out of 6 pages.

TODO: By analogy to the last circuit from Section 3, describe how thealuA,aluB, andfunctioninputs determine the value ofvalE– what does this value represent?TODO: By analogy to the last circuit from Section 3, describe how thealuA,aluB, andfunctioninputs determine the value ofvalO– what does this value represent? 4
5 Further Analysis The Concise Y86 ALU only has the functions to add, subtract, AND, and XOR. TODO (further analysis): By making use of the relationships between multiplication/division and addition/subtraction, how could the Y86 ALU be used in a larger circuit to multiply numbers or divide numbers? If we were to build this larger circuit, what kind of components would we need? Why? 6 End of Lab Survey TODO: To help us improve these labs both this term and for future offerings, complete the survey here . 7 Magic Box cleanup TODO: Before leaving the lab, show your Magic Box to your TA. A Marking scheme All labs are out of ten marks, with two marks for pre-labs, and eight marks for in-lab work. In more detail: Two marks - Pre-lab questions Five marks - In-lab questions. In this lab, it is one mark for the demultiplexer implementation, one mark for the mux-demux scheme, one mark for the multiplexing circuit, and two marks for the concise ALU questions. One mark - Further analysis. One mark - End of lab survey. One mark - Magic Box cleanup. TAs may at their discretion award one bonus mark, such as for completing the challenge problem. 5
B Challenge Problem Addition is a basic operation in many ALUs. Using only basic logic gates (ie. AND, OR, XOR, NAND), design a circuit in Logisim that takes a 3-bit binary number and a 1-bit binary number and produces their sum (represented with 4 bits). For instance, your circuit should output 1000 if given the inputs 111 and 1 , and it should output 0110 if given the inputs 101 and 1 . An example of the inputs and outputs: 6