Complete the design by specifying the values of the control

Assignment Help Computer Engineering
Reference no: EM133781042

Question: In the single cycle CPU design it is necessary to have two memories, one for instructions and one for data. Now, you are asked to modify the single cycle CPU so that instructions and data can share the same memory.

Since arithmetic (R-R), branch (BEQ) and jump instructions do not access data, they can still complete in one cycle (since they access the memory only once). However, loads (LW) and stores (SW) must take two cycles. In the first cycle, the instruction is fetched and decoded, and the address is computed in the ALU; in the second cycle, the memory is accessed and, in the case of load, the returned value is stored in register.

The proposed data path is shown on the last page of the exam (you can tear off for convenience). For the second cycle of loads, we must buffer the memory address and the destination register address obtained in the first cycle. For this purpose, two registers, MemData@ (32 bits) and rt_buf (5 bits) have been added. Additionally, to handle stores, we must also buffer the value to store. For this purpose, a 32-bit register MemData has been added. Since these three registers are clocked in every cycle, they do not need any control point.

The control unit must be sequential. So, in effect, we now have a multi-cycle CPU. The state diagram for the controller has three states, 1, 2, and 3 and is shown in Figure 1 below. All instructions are fetched and decoded (including fetching the registers) in State 1. R-R, JUMP or BEQ instructions are also executed in State 1. A LW instruction is executed in State 2 and a SW instruction is executed in State 3.

Please complete the design by specifying the values of the control points using 0, 1 or X (don't care) in tables 1, 2, and 3 respectively. Make sure you identify all the don't care's since they simplify the control circuit. Some examples of the notation to use are shown in the tables. Control points may depend not only on the state, but also on the opcode.

Reference no: EM133781042

Questions Cloud

Discuss difference between recreational and therapeutic user : discuss the differences between recreational and therapeutic users. Include information about the onset of use and justifications for using prescription drugs.
In what ways has personality changed during intervening year : Consider your own personality from your childhood (e.g., ages 8-10). In what ways has your personality changed during the intervening years?
Discuss how you would prioritize efforts of your cds team : Describe the benefits of using CDS and how it supports decision making. Discuss how you would prioritize the efforts of your CDS team.
How much of this cost should be allocated to each department : How would you allocate the fringe benefits cost between the two divisions? How much of this cost should be allocated to each department?
Complete the design by specifying the values of the control : Complete the design by specifying the values of the control points using 0, 1 or X (don't care) in tables 1, 2, and 3 respectively. Make sure you identify
What agencies are involved in the defense function : What agencies are involved in the Defense function? Which agency has the largest/smallest outlay (0 or higher) for 2020?
Determine the reaction type : Predict the plat ducts in each of the following nuclear reactions and Determine the reaction type (natural transmutation, Artificial transmutation, fission, fus
Analyze the various martech data measurement solutions : Analyze the various MarTech data measurement solutions and select one or two strategies that could support the overall improvement efforts.
Prepare a chart comparing the two companies : Prepare a chart comparing the two companies based on the organizational demand characteristics discussed.

Reviews

Write a Review

Computer Engineering Questions & Answers

  Mathematics in computing

Binary search tree, and postorder and preorder traversal Determine the shortest path in Graph

  Ict governance

ICT is defined as the term of Information and communication technologies, it is diverse set of technical tools and resources used by the government agencies to communicate and produce, circulate, store, and manage all information.

  Implementation of memory management

Assignment covers the following eight topics and explore the implementation of memory management, processes and threads.

  Realize business and organizational data storage

Realize business and organizational data storage and fast access times are much more important than they have ever been. Compare and contrast magnetic tapes, magnetic disks, optical discs

  What is the protocol overhead

What are the advantages of using a compiled language over an interpreted one? Under what circumstances would you select to use an interpreted language?

  Implementation of memory management

Paper describes about memory management. How memory is used in executing programs and its critical support for applications.

  Define open and closed loop control systems

Define open and closed loop cotrol systems.Explain difference between time varying and time invariant control system wth suitable example.

  Prepare a proposal to deploy windows server

Prepare a proposal to deploy Windows Server onto an existing network based on the provided scenario.

  Security policy document project

Analyze security requirements and develop a security policy

  Write a procedure that produces independent stack objects

Write a procedure (make-stack) that produces independent stack objects, using a message-passing style, e.g.

  Define a suitable functional unit

Define a suitable functional unit for a comparative study between two different types of paint.

  Calculate yield to maturity and bond prices

Calculate yield to maturity (YTM) and bond prices

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd