Ask Question, Ask an Expert

+61-413 786 465

info@mywordsolution.com

Ask Electrical & Electronics Expert

Problem 1. Modify the state diagram branching conditions in the diagrams below as needed to ensure the sum and exclusion rules are obeyed in each case. You can add a holding conditions or change branch codes as desired.

620_Modify the state diagram branching conditions.png

Problem 2. A vending machine should SELL an item if 30 cents is input. The machine has a coin sensor that can detect nickels, dimes, and quarters, and reject everything else. No change is given (i.e, if two quarters are input, simply assert SELL and keep the fifty cents). Sketch a state diagram to assert SELL when adequate coinage has been inserted.

 

Problem 3. Create a state diagram for a machine that can control a 4-button digital combination lock mechanism, unlocking only if the sequence B0-B3-B1 is detected.

Problem 4.  Sketch a circuit for the state machines below.

409_Modify the state diagram branching conditions1.png

Problem 5. Sketch a state diagram based on the following Verilog Code  

module fsm (

    CLK, RST, X, Y, Z, RED, BLUE);

 input CLK, RST, X, Y, Z;

output reg RED, BLUE;

 localparam S1 = 2'd0;

localparam S2 = 2'd1;

localparam S3 = 2'd2;

localparam S4 = 2'd3;

 reg [1:0] ps, ns;

 always @ (ps, x, y, z)

begin

case (ps)

    S1: begin

        RED = 1'b0;

        BLUE = 1'b0;

        if (X == 1'b0) ns = S1;

        else ns = S2;

    end

    S2: begin

        RED = 1'b0;

        BLUE = 1'b1;

        if (X == 1'b0 && Y == 1'b0 && Z == 1'b0) ns = S2;

        else if (X == 1'b1 || Y == 1'b1) ns = S1;

        else if (Z == 1'b1 && X == 1'b0 && Y == 1'b0) ns = S3;

    end

    S3: begin

        RED = Y;

        BLUE = 1'b0;

        if (Y == 1'b1 && X == 1'b0 && Z == 1'b0) ns = S4;

        else if (X == 1'b0 && Y == 1'b0 && Z == 1'b0) ns = S3;

        else if (X == 1'b1 || Z == 1'b1) ns = S1;

    end

    S4: begin

        RED = 1'b1;

        BLUE = X;

        ns = S1;

    end

    default: begin

        RED = 1'b0;

        BLUE = 1'b0;

        ns = S1;

    end

endcase

end

always @ (CLK, RST)

begin

if (RST == 1'b1) ps <= S1;

else ps <= ns;

end

 endmodule

Problem 6.  Assign state codes to the state diagrams below, using unit-distance coding and/or matching state codes to outputs

1938_Modify the state diagram branching conditions3.png

Electrical & Electronics, Engineering

  • Category:- Electrical & Electronics
  • Reference No.:- M9155559
  • Price:- $60

Priced at Now at $60, Verified Solution

Have any Question?


Related Questions in Electrical & Electronics

Nanotechnology engineering - resonance circuits questions

Nanotechnology Engineering - Resonance Circuits Questions - Q1) A series RLC network has R = 2KΩ, L = 40mH and C = 1μF. Calculate the impedance at resonance and at one-fourth, one-half, twice, and four times the resonant ...

1 a name the three major groups of contamination and

1. (a) Name the three major groups of contamination and briefly describe their physical characteristics. (b) Where do the above contamination types come from? Give one example of each. 2. Name two processes metrics which ...

Questions -problem 1 - a series rlc network has r 2 komega

Questions - Problem 1 - A series RLC network has R = 2 kΩ, L = 40 mH and C = 1μF. Calculate the impedance at resonance and at one-fourth, one-half, twice, and four times the resonant frequency. Problem 2 - Design a serie ...

Electrical engineering questions -q1 two ideal voltage

Electrical Engineering Questions - Q1. Two ideal voltage sources designated as machines 1 and 2 are connected, as shown in the figure below. Given E 1 = 65∠0 o V, E 2 = 65∠30 o V, Z = 3Ω. Determine if Machine 1 is genera ...

Question -i a star-connected three-phase synchronous

Question - (i) A star-connected, three-phase synchronous induction motor takes a current of 10 amps from a 415 volt supply at unity power factor when supplying a steady load. If the synchronous reactance is 5 ohms/phase ...

Case studythis assignment consists of a written report of

CASE STUDY This assignment consists of a written report of approximately 1000 words and any diagrams in which you are asked to critically compare different process methods used to achieve the same result and show an awar ...

1 a name the three major groups of contamination and

1. (a) Name the three major groups of contamination and briefly describe their physical characteristics. (b) Where do the above contamination types come from? Give one example of each. 2. Name two processes metrics which ...

Question 1for the ce amplifier in figure 1 given the

Question 1 For the CE amplifier in Figure (1), given the following component parameters: Parameter Value β DC , β AC 150 V BE 0 . 7 V V CC 12 V R C 820 ? R E 1 100 ? R E 2 220 ? R 1 20 k? R 2 5 . 2 k? R L 100 k? C 1 , C ...

Problems -problem 1 - find v0 in the op amp circuit of fig

Problems - Problem 1 - Find v 0 in the op amp circuit of Fig. 1. Problem 2 - Compute i 0 (t) in the op amp circuit in Fig. 2 if v s = 4 cos(10 4 t). Problem 3 - If the input impedance is defined as Z in = v s /I s , find ...

Assignment -consider a common emitter amplifiernow lets say

Assignment - Consider a common emitter amplifier: Now let's say that R B and R C do a fine job at DC biasing the BJT but they are large so they can be neglected for small signal (AC) analysis. In that case, the equivalen ...

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

Ask Now Help with Problems, Get a Best Answer

Why might a bank avoid the use of interest rate swaps even

Why might a bank avoid the use of interest rate swaps, even when the institution is exposed to significant interest rate

Describe the difference between zero coupon bonds and

Describe the difference between zero coupon bonds and coupon bonds. Under what conditions will a coupon bond sell at a p

Compute the present value of an annuity of 880 per year

Compute the present value of an annuity of $ 880 per year for 16 years, given a discount rate of 6 percent per annum. As

Compute the present value of an 1150 payment made in ten

Compute the present value of an $1,150 payment made in ten years when the discount rate is 12 percent. (Do not round int

Compute the present value of an annuity of 699 per year

Compute the present value of an annuity of $ 699 per year for 19 years, given a discount rate of 6 percent per annum. As