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

  Design the transistor width to length ratio

Design the transistor width-to-length ratio such that vO = 0.1 V when vI = 3.3 V. - Using the results of part (a), determine the transition point for the transistor.

  Will temperature of air rise as compressed by compressor

Consider an air compressor operating steadily. How would you compare the volumetric flow rates of the air at the compressor inlet and outlet. Will the temperature of air rise as it is compressed by an adiabatic compressor.

  Find the effective value of the voltage

Find the effective value of the voltage.

  What is the decibel voltage gain of each stage

A two-stage amplifi er has these stage gains: Av1 =25.8 and Av2 =117. What is the decibel voltage gain of each stage? The total decibel voltage gain?

  Find the force on the charge due to the electric field

A point charge of 10 C moves with a uniform veloctiy of 2ax - 4az m/s in an electromagnetic field having E = ax - 3ay + 8az V/m and B= 0.3ax + 0.1ay. Find the force on the charge due to the electric field; the force on the charge due to the magnet..

  Why power transmission cables and lines are loose

Why Power Transmission Cables and Lines are Loose on Electric Poles and Transmission Towers?

  Find what is real power consumed by the impedance

Find the real power and reactive power dissipated in an impedance Z = 2 ohm at zero degree carrying a current of I = 6 + j8 A. What is real power consumed by the impedance

  What is the probability the queen is a carrier

If she is a carrier, then each prince has a 50-50 chance of having hemophilia, independently of the other princes. If the queen is not a carrier, the prince will not have the disease. Suppose the queen has had three princes, each without the disea..

  How to derive an expression for ber as a function of a

consider a binary PSK system with pilot carrier added for synchronization purposes,resulting in s1(t)=AcCos(ωct)+αAcCos(ωct+θ) 0

  Design an op amp circuit that will create an output voltage

y''(t) = %u2013 25 y, subject to the two initial conditions y(0) = 0.2 and dy(0)/dt = 0. You will need to use integrating op amps for this design. b)What function will the output voltage y(t) be

  How to store the maximum energy per unit volume

The maximum voltage that James can apply to this capacitor is limited by Vmax = Kd, where K is the breakdown strengh of the dielectric. deriven an expression for the maximum energy that can be stored in this capacitor in terms of K and the volume ..

  Determine what is the eirp in watts and dbm of system

A system has power gain of 52. Directivity is measured as 90 and the dissipated power in an antenna with a gain of 700 is 1.9 watts. what is the EIRP in watts and dBm

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