Design a 4-bit processor which consists of 4 data registers each of 4 bits and an...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
Design a 4-bit processor which consists of 4 data registers each of 4 bits and an instruction register (IR) of 7 bits. The first 3 bits of the instruction tells which operation is to be performed, the next 2 bits signifies the first register and the last two bits signifies the second register. Operation Code 4bit register 4-bit register operand 2 (R2) operand 1(R1) The following operations are performed by the processor. Operation Operation Description Code Performed 000 R1-A Load the contents of input A in to the register operand 1. 001 R1 = R2 Move the contents of register operand 2 in to register operand 1. Add the contents of register operand 1 and register operand 2 and load in register operand 1. 010 R1 = R1 + R2 011 R1 R1 - R2 Subtract the contents of register operand 2 from register operand 1 and load in register operand 1. Multiply the contents of register operand 1 and register operand 2 and load in register operand 1 and 2. (As the result is of 8 bits) 100 R1- RI R2 101 R1- R1/2 Divide the register contents of register operand 1 with 2 (1is an input) and load the result in register operand 1. 110 R1=RI 2 Multiply the register contents of register operand 1 with 2 (1 is an input) and load the result in register operand 1. Logical OR the contents of register operand 1 and register operand 2 and load in register operand 1. 111 R1 - R1 + R2 Inputs: Clock Pulse (CP), 7-bits Instruction, A, i Output: Contents of each register Design a 4-bit processor which consists of 4 data registers each of 4 bits and an instruction register (IR) of 7 bits. The first 3 bits of the instruction tells which operation is to be performed, the next 2 bits signifies the first register and the last two bits signifies the second register. Operation Code 4bit register 4-bit register operand 2 (R2) operand 1(R1) The following operations are performed by the processor. Operation Operation Description Code Performed 000 R1-A Load the contents of input A in to the register operand 1. 001 R1 = R2 Move the contents of register operand 2 in to register operand 1. Add the contents of register operand 1 and register operand 2 and load in register operand 1. 010 R1 = R1 + R2 011 R1 R1 - R2 Subtract the contents of register operand 2 from register operand 1 and load in register operand 1. Multiply the contents of register operand 1 and register operand 2 and load in register operand 1 and 2. (As the result is of 8 bits) 100 R1- RI R2 101 R1- R1/2 Divide the register contents of register operand 1 with 2 (1is an input) and load the result in register operand 1. 110 R1=RI 2 Multiply the register contents of register operand 1 with 2 (1 is an input) and load the result in register operand 1. Logical OR the contents of register operand 1 and register operand 2 and load in register operand 1. 111 R1 - R1 + R2 Inputs: Clock Pulse (CP), 7-bits Instruction, A, i Output: Contents of each register
Expert Answer:
Answer rating: 100% (QA)
The four bit processor is implemented using different languages a ... View the full answer
Related Book For
Posted Date:
Students also viewed these physics questions
-
A turning operation is to be performed on an NC lathe. Cutting speed = 2.5 m/s, feed = 0.2 mm/rev, and depth = 4.0 mm. Work piece diameter = 100 mm and its length = 400 mm. Determine (a) Rotational...
-
A blanking operation is to be performed on 2 mm thick cold rolled steel. The part is circular with diameter = 75 mm. Determine: a) the appropriate punch and die sizes for this operation if the...
-
A work sampling study is to be performed on an office pool consisting of 10 persons to see how much time they spend on the telephone. The duration of the study is to be 22 days, seven hours per day....
-
STEELCO manufactures two types of steel (steel 1 and steel 2) at two locations (plant 1 and plant 2). Three resources are needed to manufacture a ton of steel: iron, coal, and blast furnace time. The...
-
Selected information from the income statement and balance sheet of Fraser River Adventures Ltd. (FRA) is as follows: Sales ............................................................... $5,300,000...
-
Cortina Company accumulates the following adjustment data at December 31. Indicate (1) the type of adjustment (prepaid expense, accrued revenue, and so on) and (2) the status of the accounts before...
-
Discuss why a patients responsibilities are as important as his or her rights.
-
Mr. Fresser, age 67, owns 80% of the common shares of Fresser Ltd., a CCPC. The other 20% is owned by his daughter, Elana, who has worked in the business with Mr. Fresser for the past 22 years. When...
-
Miguel is an accounting manager for Bronx Shoes Company. In designing the coding scheme for the companys accounting system, Miguel is considering assigning numbers A10 through A99 for all asset...
-
As the bookkeeper of Petes Plowing of Fredericton, you have been asked to complete the entire accounting cycle for Pete from the following information Adjustment Data a. Snow supplies on hand, $400...
-
simplify 5 / ( 1 0 2 4 ^ ( 1 / 6 ) )
-
What are your core beliefs (values) and their origins? the best 4 for leadership and teamwork and the reasons you feel that way and how did those core beliefs influence your perspective/approach to...
-
Identify what threats can occur in a community, the likelihood and severity of specific threats, and vulnerability to various threats.
-
Technological development in industrial societies often results in highly productive machines effectively replacing animal and human workers. Think of a useful mechanical device and consider its...
-
IHRMs have unique challenges when it comes to managing an international assignment portfolio.1 Types of International Assignees and thoroughly address each of the following three items: Describe the...
-
1- WHAT DO YOU THINK OF THIS? I got two wrong; the first one was Borden's mascot, and it wasn't recognizable to me. Plus, I don't eat dairy very often. Second, the ICEE stumped me, and I didn't...
-
Congratulations! When you complete this project, you'll have completed your program is hands-on assignment is an opportunity for you to demonstrate your mastery of tax preparation by completing a...
-
Describe a group you belong or have belonged discuss the stages of group development and suggest how to improve the group effectiveness by using the group development model.
-
In the manufacture of synthetic fiber, the fiber is often ??set?? by subjecting it to high temperatures. The object is to improve the shrinkage properties of the fiber. In a test of 25 yarn...
-
Two students want to measure the acceleration a of a cart rolling down an inclined plane. The cart starts at rest and travels a distance s down the plane. The first student estimates the acceleration...
-
A quality-control apprentice is preparing a CUSUM chart. The values calculated for SL and SH are presented in the following table. Three of the values have been calculated incorrectly. Which are...
-
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