0% found this document useful (0 votes)
43 views2 pages

2023 Logic Final

Uploaded by

enesfide1
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
43 views2 pages

2023 Logic Final

Uploaded by

enesfide1
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

İKÇU Mechatronics Engineering

MEE214 DIGITAL ELECTRONICS


Final Exam (13.06.2023)

Student Nr: Signature

Name and Surname:

Q1. Assume that your student number is in the following format –

Student_Number _SN= a b c d e f g h i

where each letter corresponds to a decimal number. For example, if the student number is SN=123456789,
then a=1, b=2, c=3, …..,i=9.

You are supposed to design a circuit as described below

The circuit has one input X and one output Y. There are four states, defined as f,g,h, and i.

in state f:
if the input is 1, the output is 1 and the next state is f
if the input is 0, the output is 0 and the next state is g

in state g:
if the input is 0, the output is 0 and the next state is g
if the input is 1, the output is 0 and the next state is i

in state h:
if the input is 0, the output is 1 and the next state is h
if the input is 1, the output is 1 and the next state is g

in state i:
if the input is 0, the output is 0 and the next state is i
if the input is 1, the output is 1 and the next state is g

Considering the data given above,

a-) Derive the state table


b-) Derive the state diagram
c-) If your student number is odd, design the circuit using D-type Flip Flops. Otherwise, use JK Flip flops.
d-) Sketch the circuit
e-) Redesign the circuit as follows: if you use D-type FF in the first design, convert them into JK-type FF. If
you use JK-type FF, then convert that Flip Flop into a D-type FF.
F-) Sketch the circuit again.
Q2. Assume that your student number is in the following format –

Student_Number _SN= a b c d e f g h i

where each letter corresponds to a decimal number. For example, if the student number is SN=123456789,
then a=1, b=2, c=3, …..,i=9.

Each letter is represented by a 4-bit binary number. The numbers represented by the letters are applied
to the input of a system that adds 6 to the input of the system. If the input of the system is x and the
output is y, then

𝒚𝒊 = 𝒙𝒊 + 𝟔,

where x1=i, x2=h, x3=g, x4=f, x5=e, x6=d, x7=c, x8=b and x9=a

In all irrelevant inputs, the output of the system is zero.

Construct the system according to the given specifications.

a- Derive the truth table


b- Sketch the circuit

You might also like