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...
-
Is the Big Five model of personality worthwhile in terms of helping explain individual differences?
-
Describe the steps recommended for good decision-making. Give an example of a decision you might have to make and write out your responses to each of the steps you have outlined.
-
Identify five activities are central to financial planning and budgeting.
-
Ford 10-K a. What are the key revenue cycle accounts for Ford? What accounts involve critical accounting estimates? b. What does Ford say in Footnote 2 about its use of accounting estimates? What...
-
a. If a South pole moves toward the loop in the plane of the page, in what direction is the induced current? (10 points) b. If a coil is expanding in a magnetic field pointing out from the page, in...
-
Ellipses Corp is a small business that operates in Herndon, VA. The company is located at10 Period Lane, Herndon, VA 20170. Its federal Employer Identification Number is 77-7777777, and its...
-
Consider a spring that is standing on end in the vertical position. You place 100 grams on the spring and it compresses a distance of 9.8 cm. Additionally attach anothe spring with same stiffness and...
-
Marlane Villa-Real, chairman and chief executive officer of Buena Mano Crafts, Inc., a manufacturer and exporter of handicraft, said that while export sales declined to stiff competition from China...
-
(a) A manufacturing company is considering its pricing policy for next year. It has already carried out some market research into the expected levels of demand for one of its products at different...
-
A retail company has a number of individual retail outlets in different towns. Each outlet has its own manager who can make decisions about the individual retail outlet, provided these decisions are...
-
Before reading the analysis of Table 9.2, calculate the contribution made by each product, work out the break-even point of each, and then explore the effect on the break-even point of: (a) changes...
-
Write down two products or services where the pricing might be based on cost plus a percentage to cover profits. Write down two products or services where the prices are determined in a highly...
-
The NCAA is making plans for distributing tickets to the upcoming regional basketball championships. Up to 10,000 available seats will be divided between the media, the competing universities, and...
-
Use the information given about the angles and to find the exact value of: (a) sin( + ) (b) cos( + ) (c) sin( - ) (d) tan ( + ) (e) sin(2) (f) cos (2) (g) sin /2 (h) cos/2 cos = 4/5, 0 < < /2; cos =...
-
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...
-
Stevenson Company's trial balance as of December 31, 2022 shows \($35,000\) for inventory; but the balance sheet shows \($33,000.\) Assuming no inventory shrinkage, what is the most likely reason for...
-
Amanda Company started business at the beginning of 2022. The company applies the lower-of-cost- or-net-realizable-value rule to its inventory as a whole. Inventory cost and market value as of the...
-
Which one of the following costs is not included in inventory for manufacturing firms? a. Raw materials used in production b. Raw materials unused and stored in the warehouse c. Salary paid to the...
Study smarter with the SolutionInn App