Derive the state transition function and the output function

Assignment Help Other Engineering
Reference no: EM131100649

E15: Fundamentals of Digital Systems - Fall 2015 - HOMEWORK 7

1. Draw a state diagram for this state machine:

1112_Figure.png

2. Create a Moore state machine (i.e. one whose outputs depend on the current state and not directly on the inputs) to recognize the input sequence 010. Your state machine should have a single bit of input X and a single bit of output Y, which is 1 if the last three inputs were 010, and zero otherwise. Note that the input sequence 01010 should cause the output to be 1 twice: once for the second 0 in the input and once for the third 0 in the input.

a. Draw a state diagram for this state machine. Your implementation should have two bits of state for a total of four possible states.

b. Derive the state transition function and the output function from your state diagram.

c. Draw a logic diagram implementing this circuit using two D flip-flops and any additional gates necessary (you may also use MUXes if you like).

3. Create a Verilog implementation and test bench for problem 1 by instantiating two D flip-flops along with two full adders (both contained in the starter code distribution) inside your own module

module hw7_1(clk, rst, X, S);

You may wish to look at the jk_flipflop example to see how to use the D flip-flop module. For the test bench, keep a regular clock with a 20-tick period, and the first positive edge at t = 10. The timing for the X input should be as follows:

t=

0

20

40

60

80

100

120

X=

01

01

11

10

10

00

11

Your Verilog simulation should terminate at t " 140.

4. Create a Verilog implementation and test bench for problem 2 using behavioral Verilog (i.e. non-blocking assignments inside of an always block, similar to the example shown in class) to create a module

module hw7_2(clk, rst, X, Y);

For the test bench, keep a regular clock with a 20-tick period, and the first positive edge at t = 10. The timing for the X input should be as follows:

t=

0

20

40

60

80

100

120

140

160

180

200

X=

0

0

1

0

1

0

1

1

0

1

0

Your Verilog simulation should terminate at t = 220.

Attachment:- homework7.zip

Reference no: EM131100649

Questions Cloud

What shape would the probability distribution : The probability distribution of a less risky return is more peaked than that of a riskier return. What shape would the probability distribution have for? (a) Completely certain returns and (b) Completely uncertain returns?
Supply the other two distribution centers : Reconsider Prob. 8.1-7. Now assume that distribution centers 1, 2, and 3 must receive exactly 10, 20, and 30 units per week, respectively. For administrative convenience, management has decided that each distribution center will be supplied totall..
Derive the state transition function and the output function : Draw a state diagram for this state machine. Your implementation should have two bits of state for a total of four possible states. Derive the state transition function and the output function from your state diagram
Opportunity cost of investing in the house : Dan is an entrepreneur who invests in commercial and residential real estate. He has a savings account with $100,000 that earns 1% APY. Dan wants to buy a house that will give him a monthly cash inflow of $200. What will be the opportunity cost of..
Discuss the impact of the conflict on programs effectiveness : Discuss the impact of this conflict on the program's effectiveness. Describe the steps that were taken to end the conflict. What was the end result - was it resolved? If not, what has happened to those in the program who were involved in the confli..
Starting with vogel approximation method : Starting with Vogel's approximation method, interactively apply the transportation simplex method to solve the Job Shop Co. assignment problem as formulated in Table 8.26b. (As stated in Sec. 8.3, the resulting optimal solution has

Reviews

Write a Review

Other Engineering Questions & Answers

  The theorist contributes to nursing today

1. Presentation must have references from a reliable source (i.e., .gov, .org, .edu) or text - at least 3, 2. Research information must be accurate

  Implementation of new risk factor controls issues

What type of follow-up is performed after a loss in order to quickly assess the root causes of the problem?

  Bridge rectifier-bipolar junction transistors

Determine the peak output voltage for the bridge rectifier in Figure 1 shown. Assuming the practical model, what PIV rating is required for the diodes? The transformer is specified to have a 12 Vrms secondary voltage for the standar..

  Personal narrative essay - the purpose-inspired life

"This is the true joy in life, being used for a purpose recognized by yourself as a mighty one, being thoroughly worn out before you are thrown on the scrap heap, being a force of nature instead of a feverish little clod of ailments and grievances..

  Previously untapped coal resource

Rising tensions in the Middle East and other international market pressures indicate a previously untapped coal resource in Victoria is now economically viable on world markets.

  Barker spectrum-convolution

Porblem-1. Barker Spectrum-Derive analytically the spectrum of the Barker code (11 chips)

  Doing research in tool life of solid carbide endmills

Doing research in tool life of solid carbide endmills and I was looking at your formulas.

  Introduction to process control

Choose a control system that has direct impact on your daily life. Explain how this control system affects your life. Is it analog, digital or both? Identify the main elements in the control system. For instance, what is the sensor, what is the ac..

  Different types of strategy for the international firm

This week we discussed different types of strategy for the international firm which included a discussion on various entry modes. Select any company of your choice and provide a short paper which details their strategy and what entry mode they use..

  Design a silicon semiconductor resistor

I. Design a silicon semiconductor resistor. with resistance between 6-10 kn. in the shape of a recungular bar. Assume this resistor will be used in an integrated circuit and therefore a small size is necessary as well as operation.

  What were the causes of the incident

What were the causes of the incident? What regulations were passed as a result of this incident? What is sustainability? Describe how LCA (Life Cycle Assessment) helps in developing environmental friendly products

  Estimate the final water temperature

Liquid water at 30.0°C and liquid water at 90.0°C are combined in a ratio (1 kg cold water/2 kg hot water). (a) Use a simple calculation to estimate the final water temperature. For this part, pretend you never heard of energy balances.

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