Design a combinational logic circuit using VHDL coding that executes the following arithmetic and logic unit...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
Design a combinational logic circuit using VHDL coding that executes the following arithmetic and logic unit (ALU) functions for the given inputs for registers A and B, which are 8 bits each: S₂ 0 0 0 0 0 0 0 0 1 1 1 1 TABLE 8-2 Function Table for ALU Operation Select S₁ 0 0 0 0 1 1 1 1 X X X X So 0 0 1 0 0 1 1 0 0 1 1 Cin 0 1 0 1 0 1 0 1 0 1 0 1 Operation G = A G = A + 1 G = A + B G = A + B + 1 G = A + B G = A + B + 1 G=A-1 G = A G=AAB G=AV B G = A + B G = A Function Transfer A Increment A Addition Add with carry input of 1 A plus 1s complement of B Subtraction Decrement A Transfer A AND OR XOR NOT (Is complement) (a) Show and explain your VHDL code (25 points). (b) Show that your VHDL code is synthesized successfully (25 points). (c) Show and describe the RTL schematics (register transfer level circuit) of your ALU (25 points). (d) Prepare a simulation code that tests each functionality. Explain the functionality using the behavioral model (25 points). Design a combinational logic circuit using VHDL coding that executes the following arithmetic and logic unit (ALU) functions for the given inputs for registers A and B, which are 8 bits each: S₂ 0 0 0 0 0 0 0 0 1 1 1 1 TABLE 8-2 Function Table for ALU Operation Select S₁ 0 0 0 0 1 1 1 1 X X X X So 0 0 1 0 0 1 1 0 0 1 1 Cin 0 1 0 1 0 1 0 1 0 1 0 1 Operation G = A G = A + 1 G = A + B G = A + B + 1 G = A + B G = A + B + 1 G=A-1 G = A G=AAB G=AV B G = A + B G = A Function Transfer A Increment A Addition Add with carry input of 1 A plus 1s complement of B Subtraction Decrement A Transfer A AND OR XOR NOT (Is complement) (a) Show and explain your VHDL code (25 points). (b) Show that your VHDL code is synthesized successfully (25 points). (c) Show and describe the RTL schematics (register transfer level circuit) of your ALU (25 points). (d) Prepare a simulation code that tests each functionality. Explain the functionality using the behavioral model (25 points).
Expert Answer:
Answer rating: 100% (QA)
a VHDL code for the combinational logic circuit library IEEE use IEEESTDLOGIC1164ALL ent... View the full answer
Related Book For
Interpreting and Analyzing Financial Statements
ISBN: 978-0132746243
6th edition
Authors: Karen P. Schoenebeck, Mark P. Holtzman
Posted Date:
Students also viewed these mathematics questions
-
R(S) 1 Consider the following block diagrams: 3 sta + 5s 10 s-b s+c Y(s) Find the system transfer function Y(s)/R(s). Simplify as much as possible and express the result as a ratio of two polynomials.
-
x(t) = cos(10nfmt) + 2cos(5nft) is applied to the Low Pass Filter's (LPF) input as shown in Fig.1. (a) Plot IX() (amplitude spectrum of x(t)) (b) Find and plot [Y()). (e) Find y(t). (d) Calculate...
-
Circle whether each of the following events/transactions will (I)ncrease, (D)ecrease, or have (No) effect on total assets. TOTAL ASSETS (Circle the answer) a. Record a cash sale to Customer Grant....
-
Describe the graphs of the equation. x 2 + y 2 3
-
The following information relates to the December 31, 2014, balance sheet for Chiapucci Incorporated. 6% convertible 10-year debentures issued at par . . . . . . . . . . . . . . . . . . . . . . ....
-
A review of the ledger of Greenberg Corporation at October 31, 2012, produces the following unadjusted data for the preparation of annual adjusting entries: 1. Prepaid Advertising, October 31...
-
Petitioner Salman was indicted for federal securities-fraud crimes for trading on inside information he received from a friend and relative-by-marriage, Michael Kara, who, in turn, had received the...
-
Gregory and Lulu Clifdens Tax Return Gregory R. and Lulu B. Clifden live with their family at the Rock Glen House Bed & Breakfast, which Gregory operates. The Bed & Breakfast (B&B) is located at...
-
10. Label and explain in details the following diagram A 12. 1 Give three functions of E. Zinc E B + C D Copper 13. Give an ideal principle of predicting a performance of a fuel cell and give an...
-
Northern Products reported the following amounts in its 2022 financial statements. The 2021 amounts are given for comparison. Requirements 1. Compute Northerns quick (acid-test) ratio at the end of...
-
Following is a hypothetical federal income tax schedule for a couple filing jointly: Taxable income Over But not over Tax rate $0 $30,000 10% $30,000 $60,000 20% $60,000 $110,000 30% $110,000 and...
-
Shi Import-Export's balance sheet shows $400 million in debt, $60 million in preferred stock, and $260 million in total common equity. Shi's tax rate is 15%, rd = 9%, rps = 8.9%, and rs = 13%. If Shi...
-
A firm has sales of $1.3 million, and 15 percent of the sales are for cash. The year-end accounts receivable balance is $150,000. What is the average collection period? (Use a 360-day year. Do not...
-
If the 1-year rate of return is 20% and the interest rates are constant, what is the 5-year holding rate of return? Q 2-11 If you invest $2,000 today and it earns 25% per year, how much will you have...
-
Village Finance Co . advanced three loans to Kamiko $ 3 , 1 0 0 on June 9 , $ 2 , 7 0 0 on August 1 4 , and $ 2 , 2 0 0 on October 1 8 . Simple interest at 7 . 7 0 % was charged on all three loans,...
-
A company has issued preferred stock with an annual dividend of $2.42 that will be paid in perpetuity. The current price of the stock is $24.6. What is the expected rate of return on the preferred...
-
How can I implement my printPathsBackToTheRoot() method to get the expected output using a queue like method 3 as stated in the description below? This method should pass the test case when...
-
The Taylor's series expansion for cosx about x = 0 is given by: where x is in radians. Write a user-defined function that determines cosx using Taylor's series expansion. For function name and...
-
Q1. For Dine Equity and Nathans Famous listed below, complete the common-size statements by dividing each item on the balance sheet by the amount of total assets. Record the resulting common-size...
-
Q1. Sales Revenue minus (operating expenses / non-operating revenues and expenses / ____________equals Gross Profit that totals ____________million. Q2. Gross profit minus (provision for income tax /...
-
Q1. How many accounts listed are Current Assets? (1 / 3 / ______) Property, Plant, and Equipment? (______ / 3 / 5) Goodwill and Intangibles? (______ / 3 / 5) Other Assets? (1 / 2 / 5) Q2. What is the...
-
What are the purposes of the international capital market?
-
A strong US dollar makes imports cheaper for American consumers, but it also makes American exports less competitive and more expensive on the global market. What are the implications of a strong and...
-
You are the senior accountant for a business that regularly imports spare parts for a range of your products from overseas suppliers. You have been instructed by the CEO to look at ways you can save...
Study smarter with the SolutionInn App