Write a behavioral vhdl description of the state machine

Assignment Help Electrical Engineering
Reference no: EM131368244

(a) Write a behavioral VHDL description of the state machine you designed in Problem 1.13. Assume that state changes occur on the falling edge of the clock pulse. Instead of using if-then-else statements, represent the state table and output table by arrays. Compile and simulate your code using the following test sequence:

2334_07f3faf2-0633-4555-945b-f1b308cdf7a1.png

X should change 1/4 clock period after the rising edge of the clock.

(b) Write a data flow VHDL description using the next state and output equations to describe the state machine. Indicate on your simulation output at which times S and V are to be read.

(c) Write a structural model of the state machine in VHDL that contains the interconnection of the gates and D flip-flops.

Problem 1.13

A sequential circuit has one input (X) and two outputs (S and V). X represents a 4-bit binary number N, which is input least significant bit first. S represents a 4-bit binary number equal to N + 2, which is output least significant bit first. At the time the fourth input occurs, V = 1 if N + 2 is too large to be represented by 4 bits; otherwise, V = 0. The value of S should be the proper value, not a don't care, in both cases. The circuit always resets after the fourth bit of X is received.

(a) Derive a Mealy state graph and table with a minimum number of states (six states).

(b) Try to choose a good state assignment. Realize the circuit using D flip-flops and NAND gates. Repeat using NOR gates. (Work this part by hand.)

(c) Check your answer to (b) using the LogicAid program.Also use the program to find the NAND solution for two other state assignments.

Reference no: EM131368244

Questions Cloud

Write the state table that is implemented by this code : Draw a block diagram of the circuit implemented by this code.
Earnings equal female average earnings : Test the null hypothesis that male average earnings equal female average earnings using this data. Do this both as a one tailed test (of whichever direction you prefer) and a two tailed test.
Describe some of the effects of gang violence on children : In the increasingly violent times that the U.S. is experiencing, it has been observed that children in some areas are terrorized by street violence. Gang warfare can easily turn a quiet neighborhood into a war zone, where children might become ina..
What is the price elasticity of suppy : When the price of paper increases from $100 to $104 per ton, the quantity supplied increased from 300 to 310 tons per day. What is the price elasticity of suppy?
Write a behavioral vhdl description of the state machine : Write a data flow VHDL description using the next state and output equations to describe the state machine. Indicate on your simulation output at which times S and V are to be read.
Describe the differences between hard and soft skills : Hard skills include career-specific techniques, knowledge, and experience related to the tasks you will perform on the job. For example, to become a psychologist, you would need to develop hard skills such as knowledge of counseling theories, the ..
Write about harry triguboffs organisations : Write about harry triguboffs organisations - Growth strategies adopted by the venture in 300 words Summary with 3 sentences References
Effect of international peacekeeping on violence : The Statement: What is the effect of international peacekeeping on violence within a country?
Discuss about the post given below : The purpose of this assignment is to illustrate recognition of your own cultural background and how your worldview has been shaped by your family, role models and life experiences. This autobiography will help you express an appreciation for your ..

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