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 FEMO theory (Problem 11.14) of conjugated molecules is rather crude and better results are obtained with simple Huckel theory. (a) For a linear conjugated polyene with each of N carbon atoms...
-
Alpena Corporation manufactures smartphone and tablet cases. The following is the cost of each unit. Materials $ 7.20 Labor 2.80 Variable overhead 0.80 Fixed overhead ($1,800,000 per year; 150,000...
-
A 50-lb box shaped like a 1-ft cube falls from the cargo hold of an airplane at an altitude of \(30,000 \mathrm{ft}\). If the drag coefficient of the falling box is 1.2, determine the time it takes...
-
Rolo plc manufactures two types of industrial vacuum cleaner, Gobble and Wolf-and currently applies manufacturing overhead to all units at the rate of 140 per machine hour. Selling prices, as a...
-
Find an example of a physical force from within the New Testament and discuss the example. Be sure to provide the scripture reference. Physical force means an event that occurred during biblical...
-
The Durham Insurance Company sells a five-year term insurance policy with face value of $100,000 to a 47-year-old man for a monthly premium of $63. The mortality table is given below. d. What is the...
-
The term "laissez-faire economy" is a synonym for a) command economy b) free market economy c) protectionism policy d) slavery e) none of the above . Advantages of free market system were most...
-
The original question and answers are shown below, but my question is how do we get the value:Pound0.98 when answering the part B question? Assume a forward contract on pound sterling. Suppose the...
-
# 1: Variables age = input("Enter Age: ") # 2. Variables # Using the above as a guide, complete the following line so that # "Enter Number of years as a US Citizen: " will appear when the script is...
-
Discuss? Urbanization has a significant impact on the economy, driving growth and providing numerous economic opportunities. As cities expand, they become hubs of commerce, industry, and innovation,...
-
Using the NVL() function Create a SQL query that shows the customer address1, customer address 2, customer city, customer state and customer postal code from the CUSTOMERS table. Use the NVL()...
-
1. Assume: Q(S) = 2P; Q(D) = 300 -P 1. What is the equilibrium P and Q? 2. If there is a price ceiling of $90, is it binding? Will there be a shortage or surplus, and how much? 3. What if there is...
-
Determine the shape and bond angle of these oxynitrogen ions. Linear 180 Trigonal planar 120 Tetrahedral 109.5 NO NO NO: Answer Bank NO Bent 120 Bent 109 Pyramidal 109
-
Consider the sections of two circuits illustrated above. Select True or False for all statements.After connecting a and b to a battery, the voltage across R1 always equals the voltage across R2.Rcd...
-
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...
-
Why is wage and price flexibility crucial to the idea of the invisible hand?
-
Here are some macroeconomic data for the country of Oz for the years 2014 and 2015. As the data suggest, Oz produces only potatoes, and its monetary unit is the shekel. Calculate each of the...
-
Graph the behavior of the civilian unemployment rate from 1961 until the present using monthly data. Can you see the periods of recession that occurred in 19691970, 19731975, 1980, 19811982,...
Study smarter with the SolutionInn App