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

  Characterization technology for nanomaterials

Calculate the reciprocal lattice of the body-centred cubic and Show that the reciprocal of the face-centred cubic (fcc) structure is itself a bcc structure.

  Calculate the gasoline savings

How much gasoline do vehicles with the following fuel efficiencies consume in one year? Calculate the gasoline savings, in gallons per year, created by the following two options. Show all your work, and draw boxes around your answers.

  Design and modelling of adsorption chromatography

Design and modelling of adsorption chromatography based on isotherm data

  Application of mechatronics engineering

Write an essay on Application of Mechatronics Engineering

  Growth chracteristics of the organism

To examine the relationship between fermenter design and operating conditions, oxygen transfer capability and microbial growth.

  Block diagram, system performance and responses

Questions based on Block Diagram, System Performance and Responses.

  Explain the difference in a technical performance measure

good understanding of Mil-Std-499 and Mil-Std-499A

  Electrode impedances

How did this procedure affect the signal observed from the electrode and the electrode impedances?

  Write a report on environmental companies

Write a report on environmental companies

  Scanning electron microscopy

Prepare a schematic diagram below of the major parts of the SEM

  Design a pumping and piping system

creating the pumping and piping system to supply cool water to the condenser

  A repulsive potential energy should be a positive one

Using the data provided on the webvista site in the file marked vdw.txt, try to develop a mathematical equation for the vdW potential we discussed in class, U(x), that best fits the data

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