Define the necessary number of states

Assignment Help Electrical Engineering
Reference no: EM13891620

1) Toy Processor Programming

In class we discussed 2 ways to write a program that calculates the sum of digits [0,... 9]=45. In a similar way, you are now asked to write 2 programs that load the Accumulator with 100 and then iteratively subtract these digits, so that in the end only 100-45=55 is left in the accumulator. The result should be finally stored in memory location 255. (Note: You are not allowed to first add the digits as we did in class and then subtract from 100.)

2) FSM Design

Design an FSM that recognizes an input sequence that has at least three 1's. More specifically, the FSM has one input, X, and one output, Y. Every clock cycle, a new symbol comes in through the input X. If at least 3 symbols of value "1" have been provided, then the output becomes 1 and remains 1 from then on.

(a) Define the necessary number of states and what each state represents. (Hint: You should be able to do this with 4 states)

(b) Show the state diagram of the FSM with all necessary transitions. Similar to the vending machine that we did in class, use the (condition)/(output) notation on the transition arrows to indicate the output value for each transition.

(c) Encode your 4 states and fill in the following Next State/Output Table

S0: Q1Q0=    S1: Q1Q0=    S2: Q1Q0=     S3: Q1Q0=

Current State Next State / Output
Q1 Q0 X = 0 X = 1


/ /


/ /


/ /


/ /

3) FSM Minimization

The following state diagram defines an FSM with notation x/y denoting an x input and a y output.

a) Use the Implication Table method to minimize the number of states of this FSM and list the equivalence classes of states. An empty table of appropriate size is provided for your convenience in the next page.

b) Draw the equivalent reduced state diagram containing the minimal number of states.

930_imggg.png

4) Memory Addressing Modes

The following are the contents of a Memory Array, Register File, and the specified register that is used to compute the effective address in certain addressing modes.

     
Memory Array
10 0
20 1
40 2
20 3
60 4
30 5
70 6
80 7
70 8
30 9
50 10
60 11
40 12
80 13
50 14
10 15
     
Register File
3 0
8 1
2 2
60 3
     
Specified Register
5

Identify the addressing mode(s) used for the following instruction/result pairs: (The addressing modes we discussed in the class are: Implied, Immediate, Direct, Indirect, and Relative. For some of them you need to specify whether they are Memory or Register based).

1) Load 3 → 60

2) Load 1,4 → 40

3) Load 6 → 60

4) Load 5 → 30

5) Load 0 → 50

----

Please solve any two questions with each and every necessary steps. Make sure to provide all sub-parts for choosing questions

Reference no: EM13891620

Questions Cloud

What holiday results in the maximum sales for the department : What holiday results in the maximum sales for this department? Generate linear and quadratic models for this data. What is the marginal sales for this department using each model.
Find the total momentum of all the fragments : A bom initially at rest explodes into a large number of tiny fragment. the total momentum of all the fragments are
Give the transitions for a turing machine : Give the transitions for a turing machine that accepts the language given below.L = {AnBnCn : n>=1}
Define the necessary number of states : Design an FSM that recognizes an input sequence that has at least three 1's. More specifically, the FSM has one input, X, and one output, Y. Define the necessary number of states and what each state represents
Find the least-squares regression equation : Find the least-squares regression equation of Y on X1 and X2 and interpret the results of part a.
A child''s toy arrow has a suction cup on one end : A child's toy arrow has a suction cup on one end. When the arrow moving in positive x direction hits the wall, it sticks. The radius of the suction cup is 1.0 cm. Suppose that the mass of the arrow is about 10 g and it is concentrated in the suction ..
How do you think multimedia is changing our lives : How do you think multimedia is changing our lives ,Where does it penetrates our daily living and is it a good or bad effect and What do you think will develop in the near and in the far future?
Calculate the net rate of heat transfer : Consider a car radiator at 103oC in a 55oC environment and the exchange of heat between them by radiation.A.) Calculate the net rate of heat transfer, in watts, by radiation from the car's radiator, if it has an emissivity of 0.750 and a 1.4 m2 surfa..

Reviews

Write a Review

Electrical Engineering Questions & Answers

  Lithium ion battery technology

The paper includes Lithium ion battery technology with its advantages and disadvantages. The paper discusses about the Lithium air battery in which detailed reactions of Lithium with air including nonaqueous as well as aqueous are given.

  Power transformers and tariffs

Construction of different types of power transformer, significant energy savings

  Paper on orthogonal frequency-division multiplexing

This document is shown a paper on Orthogonal frequency-division multiplexing with advantages, disadvantages and uses.

  Function of the hmi in a scada system

This assignment contains electronics engineering questions like State the commonly found components of a SCADA (Supervisory control and data acquisition) system. and decribe the function of the HMI in a SCADA system.

  Resultant waveform of the odd harmonic series

Prepare an Excel graph showing the individual components and summated resultant waveform of the odd harmonic series resulting in an approximate square wave.

  Explain scada system

Explain the function of the HMI in a SCADA system.

  Design a 2-digit 24 second shot-clock

Design a 2-digit 24 second "shot-clock" countdown timer with pushbutton controller.

  Model a discrete-time system

To understand di erent signal models To be able to model a discrete-time system and design simple signal processing algorithms.

  Draw a relay construction diagram

Draw a relay construction diagram and briefly explain the operation of a relay.

  Frequency division multiplexing

Write a short technical report on Frequency Division Multiplexing

  Impact of electron energy

Briefly discuss the impact of electron energy, electron current and target on the Bremsstrahlung generated.

  Traffic light controller

The schematic of the traffic light controller

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