Use Logisim to implement a nibble ALU, i.e. 4-Bit ALU following the design of ALU seen...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
Use Logisim to implement a nibble ALU, i.e. 4-Bit ALU following the design of ALU seen in class. The ALU circuit has the following inputs and outputs as shown in the following figure: • Inputs: A and B (nibble sized, 4 bits each) which represent the two operands to be manipulated by the ALU circuit, 1-Bit A invert mode, 1-Bit B invert Mode, Add/Subtract command pin, and 2-bit operation mode. • Outputs: Result (nibble sized, 4 bits) and Status (3 bits). The Status output bits are updated by the result stored in result output as following: Bit 0 = sign, Bit 1 is zero, and bit 3 is overflow. Alnvert- Binvert Add/SUB Command 1-Bit Operation 2-Bit A input 4-Bit B input 4-Bit 4-Bit ALU Result 4-Bit Status output 3-Bit Instruction ADD Ainvert Binvert 1 0 0 0 an/pv 0 command SUB 0 AND 0 OR NOR 1 1 x 00 1 x Operation 2 2 0 x 1 0 • The operation of ALU should follow the table shown at the right side of the above figure. This quite similar to the one seen in class except that we kick out the "SLT" operation from the scope of this ALU circuitary. • AInvert, BInvert, Add/Subtract command pin, operation mode, A, B, Result and Status output are registers. However, you are required to create these registers from scratch using flip-flops. Do not use the Logisim Register pre-built unit. You can pick any flip-flop you want. Group and synchronize the flip-flops for one register as a single unit as seen in class. • You must build the circuit from the following components ONLY: wires, flip-flops, clock, AND, OR, NOT, pins, and XOR. You CANNOT use any prebuilt adder circuits, or any other prebuild items from Logisim. Optionally you can use: tunneling and "adding a circuit" from the project menu. • Your final circuit must use designs we covered during class. You cannot use any outside (other sourced) circuit designs. • Add a clock to control the execution of this circuit. Use Logisim to implement a nibble ALU, i.e. 4-Bit ALU following the design of ALU seen in class. The ALU circuit has the following inputs and outputs as shown in the following figure: • Inputs: A and B (nibble sized, 4 bits each) which represent the two operands to be manipulated by the ALU circuit, 1-Bit A invert mode, 1-Bit B invert Mode, Add/Subtract command pin, and 2-bit operation mode. • Outputs: Result (nibble sized, 4 bits) and Status (3 bits). The Status output bits are updated by the result stored in result output as following: Bit 0 = sign, Bit 1 is zero, and bit 3 is overflow. Alnvert- Binvert Add/SUB Command 1-Bit Operation 2-Bit A input 4-Bit B input 4-Bit 4-Bit ALU Result 4-Bit Status output 3-Bit Instruction ADD Ainvert Binvert 1 0 0 0 an/pv 0 command SUB 0 AND 0 OR NOR 1 1 x 00 1 x Operation 2 2 0 x 1 0 • The operation of ALU should follow the table shown at the right side of the above figure. This quite similar to the one seen in class except that we kick out the "SLT" operation from the scope of this ALU circuitary. • AInvert, BInvert, Add/Subtract command pin, operation mode, A, B, Result and Status output are registers. However, you are required to create these registers from scratch using flip-flops. Do not use the Logisim Register pre-built unit. You can pick any flip-flop you want. Group and synchronize the flip-flops for one register as a single unit as seen in class. • You must build the circuit from the following components ONLY: wires, flip-flops, clock, AND, OR, NOT, pins, and XOR. You CANNOT use any prebuilt adder circuits, or any other prebuild items from Logisim. Optionally you can use: tunneling and "adding a circuit" from the project menu. • Your final circuit must use designs we covered during class. You cannot use any outside (other sourced) circuit designs. • Add a clock to control the execution of this circuit.
Expert Answer:
Answer rating: 100% (QA)
Step 1 Designing the 4Bit ALU in Logisim We will walk you through each step of creating a 4bit ALU in Logisim using the specified requirements 1Input ... View the full answer
Related Book For
Computer Architecture A Quantitative Approach
ISBN: 978-8178672663
5th edition
Authors: John L. Hennessy, David A. Patterson
Posted Date:
Students also viewed these programming questions
-
1. Solve the boundary value problem y" +2=0 with boundary conditions y(0) = 0 and y'(1.5) 1 by hand using Galerkin finite elements method and isoparametric shape functions Use three elements of equal...
-
The following additional information is available for the Dr. Ivan and Irene Incisor family from Chapters 1-5. Ivan's grandfather died and left a portfolio of municipal bonds. In 2012, they pay Ivan...
-
The need to be liked and to stay on good terms with most other people is the need for? a. Affiliation b. Power c. None of the above d. Achievement
-
The magnetic field B at the center of a circular coil of wire carrying a current l (as in Fig, 20-9) is Where N is the number of loops in the coil and r is its radius. Suppose that an electromagnet...
-
The compound interest formula is below, where R is the future value of the investment, r is the annual interest rate (as a decimal), n is the number of times interest is compounded each year, t is...
-
Explain the following pairs in relation to each other: a. Method and operation b. Event and state. c. Interaction and message.
-
The Southland Corporation (Southland) owned the 7 Eleven trademark and licenses franchisees to operate convenience stores using this trademark. Each franchise is independently owned and operated. The...
-
Island Telephone Corporation issued a $240,000 face value bond on March 21, 1989, carrying a 9.25% coupon and 25 years to maturity. Global Financial Services purchased the bond on March 21, 1996, at...
-
Exhibit 5.26 presents risk ratios for Walmart for 2014 and 2013. Exhibits 1.19, 1.20, and 1.21 in Chapter 1 present the financial statements for Walmart. REQUIRED a. Compute the values of each of the...
-
Intigrated Marketing Its about local independent restaurant (mudras dosa hut) 1. Budget Allocation and KPI measures: a. Create a one-page breakdown on the specific IMC tactics and how money is being...
-
Louie E. Brown worked for the Phelps Dodge Corporation under an oral contract for approximately twenty-three years. In 2015, he was suspended from work for unauthorized possession of company...
-
Presti claims that he reached an oral agreement with Wilson by telephone in October to buy a horse for \($60,000.\) Presti asserts that he sent Wilson a bill of sale and a postdated check, which...
-
A fifteen-year-old minor was employed by Midway Toyota, Inc. On August 18, 2014, the minor, while engaged in lifting heavy objects, injured his lower back. In October 2014 he underwent surgery to...
-
A consumer has initial real wealth of 20 , current real income of 90 , and future real income of 110 . The real interest rate is \(10 \%\) per period. a. Find the consumer's PVLR. b. Write the...
-
G.A.S. married his wife, S.I.S., on January 19, 1998. He began to have mental health problems in 2011; that year, he was hospitalized at the Delaware State Hospital for eight weeks. Similar illnesses...
-
2. Two rods are joined end to end as shown; both have a cross- sectional area of 0.01 cm. Each is 1 m long. One rod of copper while the other is of iron. How much potential difference V is required...
-
a. What is the cost of borrowing if Amarjit borrows $28 500 and repays it over a four-year period? b. How many shares of each stock would he get if he used the $28 500 and invested equally in all...
-
Now assume that we can use scatter-gather loads and stores (LVI and SVI). Assume that tiPL, tiPR, clL, clR, and clP are arranged consecutively in memory. For example, if seq_length==500, the tiPR...
-
How well do you expect this code to perform on a GPU? Explain your answer. 22 21 18 19 20 12 13 14 15 16 17 10 11 2 3 4 5
-
One challenge for architects is that the design created today will require several years of implementation, verification, and testing before appearing on the market. This means that the architect...
-
Aerotron Radio Inc. has \(\$ 250,000\) available, and its engineering staff has proposed the following indivisible investments. With each, Aerotron can exit at the end of its planning horizon of 5...
-
Consider a capital budgeting formulation where the binary variables \(x_{1}\) and \(x_{2}\) are used to represent the acceptance \(\left(x_{i}=1 ight)\) or rejection \(\left(x_{i}=0 ight)\) of each...
-
True or False: If independent, indivisible investments 3 and 4 are mutually exclusive, then X 3 + X 4 < 1 is added as a constraint to the BLP formulation.
Study smarter with the SolutionInn App