Docsity

Digital Electronics Assignment 2: State Equations, Table, Diagram, and Simulation by H. Ra, Assignments of Electronics

Partial preview of the text

Download Digital Electronics Assignment 2: State Equations, Table, Diagram, and Simulation by H. Ra and more Assignments Electronics in PDF only on Docsity!

NAME : harekrishna ray

ROLL NO : EC

BATCH : A

Digital Electronics

Supplementary Lab

Assignment – 2

HAREKRISHNA RAY

ASSIGNMENT QUESTIONS AND ANSWERS

1. In the sequential circuit given in Fig. 1 , if the input x is 1 and is followed by a 0, the

output y becomes 1. Simulate the circuit with different input sequences and confirm

this behaviour.

CIRCUIT DIAGRAM:

PRESENT STATE INPUT NEXT STAE OUTPUT

A(t) B(t) X(t) A(t+1) B(t+1) Y(t) 0 0 0 0 0 0 0 0 1 0 1 0 0 1 0 0 0 1 0 1 1 1 1 0 1 0 0 0 0 1 1 0 1 1 0 0 1 1 0 0 0 1 1 1 1 1 0 0

HAREKRISHNA RAY

X=

X=

 Hence, by simulating the given circuit we have verified that when the input x is

1 and is followed by a 0, the output y becomes 1.

HAREKRISHNA RAY

  1. For the given circuit in Figure , (a)Write down the state equations, (b) Write down the state table, (c)Draw the state diagram, (d) Implement the circuit in simulator, (e) Analyse the circuit behaviour such that the function of the circuit is expressed in form of a statement of a couple of lines. (Refer 1 given above as an example of such statement.) (f) Verify the function of the circuit thro’ simulation with different input sequences.

CIRCUIT DIAGRAM:

HAREKRISHNA RAY

CIRCUIT IMPLEMENTATION:

(note: for viewing outputs please zoom in)

HAREKRISHNA RAY

From the state table and state diagram of the given circuit we have got that

when the input x is 1 and is followed by other two one’s in continuity , the

output y becomes 1.

 By simulating the given circuit, we have verified the above solution.

For e.g.

X(t) : 0 0 1 0 1 1 0 1 1 1 0 1 1 1 1 0 1 0

Z(t) : 0 0 0 0 0 0 0 0 0 1 0 0 0 1 1 0 0 0