Design logic for the control unit

Assignment Help Other Engineering
Reference no: EM13889434

The MP has a limited set of instructions, however provides enough capabilities to control a microwave oven or some other consumer appliances.MP can access 64Kx8 memory. Inputting/outputting data from the microwave keypadand displaying them at the oven's display are considered memory accesses.So, memory mapped input/output is not supported by input/output instructions, rather memory access instructions are used (similar to SRC).

The MP has only one 8-bit general purpose register, R, and Accumulator Register, AC. There is 1-bit zero flag,Z . It is set to 1, if the result of any arithmetic or logic instruction is 0. This is done automatically by hardware. Otherwise, it is set to 0.

There are some registers which are not a part of the instruction set, but architected to support temporal storage and buffers for data and address storage (see, later in this description).

Table below has a complete description of the instruction set.

698_Untitled.png

It can be seen that instruction code (opcode) is 8-bit long although there are only 16 instructions in the set. This is done for future extension of the set and for the ease of control and decoding.As the upper 4-bits are zeros for all opcodes, instructions are decoded only for low order 4 bits. Here Γ indicates a 16-bit memory address. This means that memory access instructions are 3- byte long, where Byte #1 is an opcode, Byte #2 is the low order byte of Γ and byte #3 is the high order byte of Γ. Other instructionsare 1- byte instructions.

Additional registers are:

A 16-bit Address register, AR (similar to MA of SRC) which supplies address to the memory A[15..0].

A 16-bit program counter, PC contains the address of the instruction to be fetched, or the address of the next required operand of the

instruction.

An 8-bit Instruction register, IR is dedicated to instruction opcodes only.

An 8-bit data register, DR (similar to MD of SRC) receives instructions and data from the memory and transfers data to the memory via D[7..0] which are 8 bi-directional pins.

An 8-bit temporary register TRis a buffer for temporarily storing data, addresses during the execution.

The figure below(left) shows the architecture. Although some registers are 8-bit registers, and data are 8-bit, the bus is made for 16 bits to accommodate 16-bit addresses in PC and AR.

1843_Untitled1.png

Figure:Datapath

All arithmetic operations are implemented on R and AC registers. The ALU architecture is provided below with a parallel adder (CLA, one level is affordable) and a simple logic for logic operations.

 

1995_Untitled2.png

Figure: ALU

The Control Unit (see, below) has a decoder which takes opcodes and outputs instruction types (left) and the Control step decoder(right) similar to SRC's control. From the figure, it follows that the maximum number of cycles is 8.

2067_Untitled3.png

 

Assignment

1) Write concrete RTN and control signals for all instructions in the instruction set

2) Design Logic for the control unit

3) Implement, simulate and test on actual instructions

Extra credit:

Several modifications can be made for optimizing the design (reducing number of cycles and cost). Among these modifications the following is to be considered:

4) Direct paths between certain pairs of registers

5) Use of two buses for different paths and connect buses

6) Special way of connecting registers to a single bus.

Reference no: EM13889434

Questions Cloud

What are benefits of abc that relate to financial services : What are some of the benefits of ABC that relate to the financial services industry? What are three things that the company's original costing method did not take into account?
Describe how host-based intrusion detection works : Describe how host-based intrusion detection works, briefly contrasting it with network-based intrusion detection. Explain three types of threats against which HIDS is particularly effective.
Use contemporary case tools in process and data modeling : Use contemporary CASE tools in process and data modeling
Identify a cost driver that would serve as a valid measure : For each of the activities listed in (a), identify a cost driver that would serve as a valid measure of the resources consumed by the activity.
Design logic for the control unit : Design Logic for the control unit
How an attacker who knows a tool like snort is running : If an attacker knew a network-based IDS like Snort was running in a targeted environment, how might the attacker try to evade detection? Provide at least two examples of IDS evasion techniques that might be used by an attacker, and suggest a remed..
Determine the amount of overhead that should be assigned : Another method of allocating overhead is to use direct labor dollars as an allocation basis. Then, determine the amount of overhead that should be assigned to each unit of each product line using this method.
Manage copper price risk-effective annual interest rate : ABC Corp. mines copper, with ?xed costs of $0.60/lb and variable cost of $0.30/lb. The 1-year forward price of copper is $1.10/lb. The 1-year effective annual interest rate is 6.2%. If ABC Corp. does nothing to manage copper price risk, what is its p..
West gorham high school is to be located at the population : 1.West Gorham High School is to be located at the population center of gravity of three communities:

Reviews

Write a Review

Other Engineering Questions & Answers

  Concerning the effectiveness of the medications

What conclusions can you draw concerning the effectiveness of the medications?

  Point of application on plate

The point of application on the plate of the smallest force F that is equivalent to the given system, The magnitude and direction of F.

  Aircraft structure problem question in the attached

question in the attached file. ltbrgt1.the tapered stiffened beam below is loaded by forces s1 s2 and s3 as shown. the

  Explain what advantages does mpls offer

Conduct research on traffic engineering using MPLS. List a set of goals for traffic engineering. Which of these goals can only be met with MPLS, and which are met by using existing (non-MPLS) protocols. What advantages does MPLS offer

  Determine the impulse response of an fir lattice

(a) Determine the impulse response of an FIR lattice filter with parameters K1 = 0.6, K2 = 0.3, K3 = 0.5, and K4 = 0.9. (b) Sketch the direct form and lattice all-zero and all-pole filters specified by the K - parameters given in part (a).

  Arbitrary stable complex signal without any symmetry

1.Consider the system in Figure with H0(z), H1(z), and H2(z) as the system functions of LTI systems. Assume that x[n] is an arbitrary stable complex signal without any symmetry properties.(...)

  The bivariate relationship between sibs and childs

Based on the results from the bivariate regression model, what do you conclude about the bivariate relationship between "sibs"and "childs"?

  Design a building matching the code

Assessment based on design a building matching the code that they mension

  Determine the turbine power output

Consider the ammonia Rankine-cycle power plant shown in, a plant that was designed to operate in a location where the ocean water temperature is 25°C near the surface and 5°C at some greater depth. a. Determine the turbine power output and the pum..

  Differential balance on co2 in the liquid phase

Write a differential balance on CO2 in the liquid phase and integrate it to derive the relation CA (t) = C*A [1 - exp (- kSt/V)] where S (cm2) is the effective contact area between the gas and liquid phases.

  Engineering professional seminar

This Ethics Writing Assignment is meant to encourage you, the aspiring engineer, to examine how you will deal with potential ethical conflicts you will encounter in your career. You are encouraged to be thorough in developing your answers and disc..

  Which is the preferred environmental condition

Which is the preferred environmental condition for handling electronic components that are ESD sensitive -  Higher relative humidity (RH) environment

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