Question: A. Design a 8 bit register file with 10 registers. B. Design an ALU with AND, OR, XOR, NOT, ADD and SUBTRUCT operations that
A. Design a 8 bit register file with 10 registers. B. Design an ALU with AND, OR, XOR, NOT, ADD and SUBTRUCT operations that can use the above register file. C. Create a single cycle data-path between register file and ALU. Save 1 digit of your NSU ID in each register of your register file before running instructions given below.E.g. for id: 1831565042, save 1 in first register, 8 in second, 3 in third and so on. Then save these instructions given below in ROM and run sequentially: a) Implement OR operation on 1 st and 3rd registers' value and save it on 2nd register. b) Implement XOR operation on 4th and 6th registers' value and save it on 5th register. c) Implement ADD operation on 2nd and 5th registers' value and save it on 1s register. d) Implement AND operation on 7th and 9th registers' value and save it on 8th register. e) Implement SUBTRUCT operation on 1st and 10th registers' value and save it on 8th register. After building the circuit, create a table (example given below) for showing the change in value of any register after running each instructions given above.For id: 1831565042: Value of Nth Register Before running instruction X Before running instruction X Value of 2nd register Before running instruction a=8 After running instruction a=3 Value of 5th register Before running instruction b-5 After running instruction a=7
Step by Step Solution
3.40 Rating (156 Votes )
There are 3 Steps involved in it
Solution b Logic Gates Building an ALU 1 Introduction The goal of this tutorial is to understand the basics of building complex circuits from simple A... View full answer
Get step-by-step solutions from verified subject matter experts
