Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Let me know if you have any questions! Thanks =) Problem: A hypothetical accumulator processor is diagrammed in the figure below This processor does not

image text in transcribed

image text in transcribed

image text in transcribed

Let me know if you have any questions! Thanks =)

Problem: A hypothetical accumulator processor is diagrammed in the figure below This processor does not have any memory address register (MAR) or memory data register (MDR) and instructions can be loaded directly into the instruction register, IR by placing the next instruction address into the program counter (PC) A[0:15] B[0:15] C[0:15] D[0:15] PC[0:15] Program Memory Arithmetic IR[0:15] Logic Unit Instruction Operation Op-code CLR Register X; X[ 0:15] = 0; CHP Register x; X [ 0 : 15 ] ~X [ 0 :151 ; INC Register x; X[ 0:15] X[ 0:15]+1; DEC Register X; X[0 15X[0:151-1; SHR Register x; X[ 0:15] = X[ 0:15] >> 1; SHL Register x; X[ 0:15] X[ 0:15] 0 PCI0:15] IRI4:15] 1110 Halt-l The instruction format of this processor is shown below where the op-codes define the instructions as in the table on the first page. The register select field chooses one of the four registers, A, B. C, or D. Operand/address is a 10-bit field that is used by the LDR instruction as an operand or by one of the jump instructions as an address Op-code Register select Operand, address, or unused IR[0:3] IR[4:5] IR[6:15] (a) Describe the instruction fetch, decode and execute cycles of the control unit of this processor - Use D-flip-flops and other combinational circuits as needed - No need to show combinational circuitry for ADD, AND. IOR, or XOR (b) Show how a typical flip-flop and any exceptional flip-flop of any of register A and one of the B. C, and D registers will be loaded with the help of the control signals generated by the control unit by making sure that the clock input of your flip-flops are properly set Hint: Solving part (a) will also solve part (b) Steps 1. Fetch instructions into IR 2. Decode instructions 3. Read from register 4. Write value to register 5. Complete one-hot design 6. Restart fetch after execution Problem: A hypothetical accumulator processor is diagrammed in the figure below This processor does not have any memory address register (MAR) or memory data register (MDR) and instructions can be loaded directly into the instruction register, IR by placing the next instruction address into the program counter (PC) A[0:15] B[0:15] C[0:15] D[0:15] PC[0:15] Program Memory Arithmetic IR[0:15] Logic Unit Instruction Operation Op-code CLR Register X; X[ 0:15] = 0; CHP Register x; X [ 0 : 15 ] ~X [ 0 :151 ; INC Register x; X[ 0:15] X[ 0:15]+1; DEC Register X; X[0 15X[0:151-1; SHR Register x; X[ 0:15] = X[ 0:15] >> 1; SHL Register x; X[ 0:15] X[ 0:15] 0 PCI0:15] IRI4:15] 1110 Halt-l The instruction format of this processor is shown below where the op-codes define the instructions as in the table on the first page. The register select field chooses one of the four registers, A, B. C, or D. Operand/address is a 10-bit field that is used by the LDR instruction as an operand or by one of the jump instructions as an address Op-code Register select Operand, address, or unused IR[0:3] IR[4:5] IR[6:15] (a) Describe the instruction fetch, decode and execute cycles of the control unit of this processor - Use D-flip-flops and other combinational circuits as needed - No need to show combinational circuitry for ADD, AND. IOR, or XOR (b) Show how a typical flip-flop and any exceptional flip-flop of any of register A and one of the B. C, and D registers will be loaded with the help of the control signals generated by the control unit by making sure that the clock input of your flip-flops are properly set Hint: Solving part (a) will also solve part (b) Steps 1. Fetch instructions into IR 2. Decode instructions 3. Read from register 4. Write value to register 5. Complete one-hot design 6. Restart fetch after execution

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Systems For Advanced Applications 27th International Conference Dasfaa 2022 Virtual Event April 11 14 2022 Proceedings Part 2 Lncs 13246

Authors: Arnab Bhattacharya ,Janice Lee Mong Li ,Divyakant Agrawal ,P. Krishna Reddy ,Mukesh Mohania ,Anirban Mondal ,Vikram Goyal ,Rage Uday Kiran

1st Edition

3031001257, 978-3031001253

More Books

Students also viewed these Databases questions

Question

identify current issues relating to equal pay in organisations

Answered: 1 week ago