Design a 4-bit Arithmetic Logic Unit (ALU) according to the following specification. Follow the design shown...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
Design a 4-bit Arithmetic Logic Unit (ALU) according to the following specification. Follow the design shown during the lecture. Notice that the order of operations is different here. A (0:3) S₂. So ALU B (0:3) F (0:3) Z, C and V are status flags Z = 1 if F = 0 V = Overflow C = Carry or Borrow Z V C S₂ 0 0 0 0 1 1 1 1 S₁ 0 0 1 1 0 0 1 1 So 0 1 0 1 0 1 0 1 Function (F) A+B A-B A-1 A +1 A AND B A OR B NOTA A XOR B Figure 1 Design specifications. a. Create the internal of 1-bit of the logic unit (It is recommended that you design the internal of a 4 to 1 MUX first, create a symbol for it and use it for creating the logic unit, you find the design in your MUX lecture slides) b. Create a symbol for your logic unit and use four of them to make a 4-bit logic unit c. Create the internal of 1-bit of the Arithmetic unit (It is recommended that you design the internal of a Full Adder first, create a symbol for it and use it for creating the arithmetic unit) d. Create a symbol for your arithmetic unit and use four of them to make a 4-bit arithmetic unit e. Create a 4-bit, 2-1 multiplexer (use buses). f. Create a schematic diagram for the complete 4-bit ALU g. Create a test situation for your ALU by defining A as 0001 and B as 0001. You can used GND and VCC for constant 0 and constant 1. h. Demonstrate your design using the FPGA board. Use switches for select functions. Use LEDs to show results and flags. Design a 4-bit Arithmetic Logic Unit (ALU) according to the following specification. Follow the design shown during the lecture. Notice that the order of operations is different here. A (0:3) S₂. So ALU B (0:3) F (0:3) Z, C and V are status flags Z = 1 if F = 0 V = Overflow C = Carry or Borrow Z V C S₂ 0 0 0 0 1 1 1 1 S₁ 0 0 1 1 0 0 1 1 So 0 1 0 1 0 1 0 1 Function (F) A+B A-B A-1 A +1 A AND B A OR B NOTA A XOR B Figure 1 Design specifications. a. Create the internal of 1-bit of the logic unit (It is recommended that you design the internal of a 4 to 1 MUX first, create a symbol for it and use it for creating the logic unit, you find the design in your MUX lecture slides) b. Create a symbol for your logic unit and use four of them to make a 4-bit logic unit c. Create the internal of 1-bit of the Arithmetic unit (It is recommended that you design the internal of a Full Adder first, create a symbol for it and use it for creating the arithmetic unit) d. Create a symbol for your arithmetic unit and use four of them to make a 4-bit arithmetic unit e. Create a 4-bit, 2-1 multiplexer (use buses). f. Create a schematic diagram for the complete 4-bit ALU g. Create a test situation for your ALU by defining A as 0001 and B as 0001. You can used GND and VCC for constant 0 and constant 1. h. Demonstrate your design using the FPGA board. Use switches for select functions. Use LEDs to show results and flags.
Expert Answer:
Answer rating: 100% (QA)
Your task is to design a 4bit Arithmetic Logic Unit ALU based on the specifications provided in the image The ALU should be able to perform various ar... View the full answer
Related Book For
Calculus Early Transcendentals
ISBN: 978-0321947345
2nd edition
Authors: William L. Briggs, Lyle Cochran, Bernard Gillett
Posted Date:
Students also viewed these electrical engineering questions
-
Planning is one of the most important management functions in any business. A front office managers first step in planning should involve determine the departments goals. Planning also includes...
-
The population P of a small town grows according to the function P(t) = 100 e t/50 , where t measures the number of years after 2010. How long does it take the population to double?
-
The water depth, D, in metres, in a boating marina on a particular day can be modelled by the function D(t) = 4 sin (30" x t) + 12.5, 0St < 24, where t is the elapsed time, in hours, since midnight....
-
Stock W, X and Y have expected returns of 9.0%, 16.1% and 11.3% respectively. Based on this and the attached information, what is the expected return of your portfolio? Stock W X Y Number of Shares...
-
A cat with its tail in the air stands facing converging lens. Under what circumstances (if any) would the image of the nose be virtual and the image of the tail be real? Where would the image of the...
-
If (4, 2) is a point on the graph of y = f(x), which of the following points must be on the graph of y = f(2x)? (a) (4, 1) (b) (8, 2) (c) (2, 2) (d) (4, 4)
-
UK Airways Ltd is nearing the end of its first year of operations. The company made stock purchases of 745,000 during the year, as follows: Sales for the year are 5,500 units for 1,500,000 of sales...
-
Sensitivity analysis Sensitivity analysis is an important component of any budgeting exercise. Which estimates do you think will be most crucial in developing a master budget? Why?
-
Compute the DIRECT LABOR (DL) USAGE VARIANCE, the DLRATE VARIANCE, and the TOTAL DL COST VARIANCE for the assembly technicians. ASSEMBLY TECHNICIANS Direct Labor (DL) Usage Variance: (STD DL Hours...
-
Butler, Inc., operates at capacity and makes wooden playground equipment. Although Butlers swing sets and play forts are a matching set, they are sold individually and so the sales mix is not 1:1....
-
Write a detailed paper including Thesis on Network switching
-
What are the resources for writing copy for email marketing? How to find copy and images for email content and write about the solution you provide. (Including images and the page link, which seems...
-
Discuss the role of non-linear analysis in understanding the behavior of complex structural systems. How does non-linear analysis differ from linear analysis, and in what scenarios is it critical for...
-
Discuss the concept of resilient structural design. How can structural engineers incorporate resilience to improve the robustness and recovery capabilities of infrastructure in the face of natural...
-
A square loop of mass 15 g and side 10 cm lies in a vertical plane. The upper side of the loop is fixed and the loop can rotate about it. The loop is immersed in a uniform magnetic field of 0.4 T...
-
What are the key principles of structural optimization, and how can optimization algorithms be applied to achieve efficient and cost-effective structural designs ?
-
thanks. 100% + Hawkins Corporation began construction of a motel on January 1, 2018. The project was completed on April 31, 2019. No new loans were required to fund construction. Hawkins does have...
-
Explain how the graph of each function can be obtained from the graph of y = 1/x or y = 1/x 2 . Then graph f and give the (a) Domain (b) Range. Determine the largest open intervals of the domain over...
-
Write the first four terms of a power series with coefficients c 0 , c 1 , c 2 , and c 3 centered at 3.
-
Find dy/dx for the following functions. y = sin x cos x
-
Write the terms a 1 , a 2 , a 3 , and a 4 of the following sequences. If the sequence appears to converge, make a conjecture about its limit. If the sequence diverges, explain why. a n = (-1) n /2 n...
-
Will a company that is making losses record positive economic profits or EVA?
-
What is the main drawback of accounting profitability indicators?
-
Can a company with a positive net profit show a negative economic profit?
Study smarter with the SolutionInn App