Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Bus 1 PC MAR MDR IR SP PSW ALU Tmp Bus 2 Assume that the company that you are employed is developing a hardwired control

image text in transcribed

image text in transcribed

Bus 1 PC MAR MDR IR SP PSW ALU Tmp Bus 2 Assume that the company that you are employed is developing a hardwired control unit for a new processor. Given the above data path, synthesize the sequence of control signals to solve the following instruction set implementation problems. Assume that the cross connecting the two buses (effectively making it one large bus), is enabled with the control signal CROSS. (a) Develop the control signals to fetch instructions from memory; the instruction set architecture has two instruction formats, one is 1 byte long and the second is 2 bytes long. The leftmost bit in the instruction defines if it is 1 byte (leftmost bit=0) or 2 bytes (leftmost bit=1) long. You must ensure that the entire instruction is read into the instruction register (IR). Since you will require some type of condition testing to decide between one and two byte instructions, informally explain how this could be achieved. (b) Assume that this architecture performs effective address computations following the algorithm: EA = second byte in the IR if IR.R = 1 then EA = EA + PC if IR.I - 1 then EA = MMEA] Show the control signals for 3 separate states that perform the function of each line in the above algorithm. Draw the state machine and the corresponding transitions that would move through these states from a fetch state to an execute state. Bus 1 PC MAR MDR IR SP PSW ALU Tmp Bus 2 Assume that the company that you are employed is developing a hardwired control unit for a new processor. Given the above data path, synthesize the sequence of control signals to solve the following instruction set implementation problems. Assume that the cross connecting the two buses (effectively making it one large bus), is enabled with the control signal CROSS. (a) Develop the control signals to fetch instructions from memory; the instruction set architecture has two instruction formats, one is 1 byte long and the second is 2 bytes long. The leftmost bit in the instruction defines if it is 1 byte (leftmost bit=0) or 2 bytes (leftmost bit=1) long. You must ensure that the entire instruction is read into the instruction register (IR). Since you will require some type of condition testing to decide between one and two byte instructions, informally explain how this could be achieved. (b) Assume that this architecture performs effective address computations following the algorithm: EA = second byte in the IR if IR.R = 1 then EA = EA + PC if IR.I - 1 then EA = MMEA] Show the control signals for 3 separate states that perform the function of each line in the above algorithm. Draw the state machine and the corresponding transitions that would move through these states from a fetch state to an execute state

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

Online Market Research Cost Effective Searching Of The Internet And Online Databases

Authors: John F. Lescher

1st Edition

0201489295, 978-0201489293

More Books

Students also viewed these Databases questions

Question

Describe the sources of long term financing.

Answered: 1 week ago

Question

2. What should an employer do when facing an OSHA inspection?

Answered: 1 week ago