Combinational Circuits Are Defined As The Time Independent Circuits Which Do Not
Combinational Circuits Are Defined As The Time Independent Circuits Which Do Not
Question 1
a. Distinguish between combinational logic and sequential logic. [2]
Combinational circuits are defined as the time independent circuits which do not
depends upon previous inputs to generate any output are termed as combinational
circuits. Combinational circuits don’t have capability to store any state and so speed is
fast. Examples of combinational logic are Encoder, Decoder, Multiplexer, De-multiplexer.
Block diagram of combinational circuit:
While Sequential circuits are those which are dependent on clock cycles and depends
on present as well as past inputs to generate any output. Sequential circuits have
capability to store any state or to retain earlier state and so speed is slow. Examples –of
sequential logic circuits are Flip-flops, Counters
Block diagram of Sequential circuit:
e. State the shift register which offers the longest period of data storage. [1]
FIFO Shift register
f. Design a 4 – stage shift register required in (e) above. [6]
g. A clock pulse connected to a 4 - stage SISO shift register has a period of 15 x 10-3
seconds. Calculate the total temporary storage time that can be achieved with this
shift register.[4]
Question 2
a. Briefly describe the function of a decoder and give one of its practical applications.
[4]
The decoder is an electronic device that is used to convert digital signal to an analogue
signal. It allows single input line and produces multiple output lines. The decoders are
used in many communication projects that are used to communicate between two
devices. The decoder allows N- inputs and generates 2 power N-numbers of outputs.
For example, if we give 3 inputs that will produce 4 outputs by using 4 by 2 decoder.
ii. Determine the corresponding Boolean function for each of the outputs in you
truth table [3]
- Y2 = D4 + D5 + D6 + D7
- Y1 = D2 + D3 + D6 + D7
- Y0 = D1 + D3 + D5 + D7
Question 3
a. Distinguish between digital and analogue signals. [2]
Analog Digital
An analog signal is a continuous signal Digital signals are time separated signals which
that represents physical measurements. are generated using digital modulation.
Temperature sensors, FM radio signals, Computers, CDs, DVDs are some examples of
Photocells, Light sensor, Resistive Digital signal.
touch screen are examples of Analog
signals.
0 time 0 time
= [5]
RHS
LHS
A B C A B C ( A+ B )C A (B+C ) C ( A+ B )+ A (B+C )
0 0 0 1 1 1 1 1 1
0 0 1 1 1 0 0 1 1
0 1 0 1 0 1 1 1 1
0 1 1 1 0 0 0 0 0
1 0 0 0 1 1 1 0 1
1 0 1 0 1 0 0 0 0
1 1 0 0 0 1 0 0 0
1 1 1 0 0 0 0 0 0
LHS ¿ RHS
c. Design a combinational logic circuit of an encoder that can encode all even numbers
between 7 and 19 to their binary form. [13]
No INPUTS OUTPUTS
D7 D6 D5 D4 D3 D2 D1 Y3 Y2 Y1
8 0 0 0 0 0 0 1 0 0 1
10 0 0 0 0 0 1 0 0 1 0
12 0 0 0 0 1 0 0 0 1 1
14 0 0 0 1 0 0 0 1 0 0
16 0 0 1 0 0 0 0 1 0 1
18 0 1 0 0 0 0 0 1 1 0
Question 4
a. Convert the following:
i. 3B7D16 to decimal form. [3]
163 * 3 + 162 * B +161 *7 + 160 * D
12288 + 2816 +122 +13
= 15229
= 1001111102
ii. Hence determine a simplified Boolean expression for this circuit. [6]
(A⊕B) + c
Or
((A⊕B).c ) + ((A⊕B) + c)
A
B
Q
C
Question 5
a. Which clocked flip flops would you use to design a shift register? Explain your
choice.[3]
The JK Flip-flop
The JK flip-flop is the most used of all the flip-flop designs because it avoids the combinations
with the input sequence of S = R = 1 as it is able to modify to achieve different switching
functions. In other words the JK flip-flop is often considered to be a universal device.
The beauty of the JK flip-flop is that when both “J” and “K” are HIGH at logic “1”, the flip-flop
toggles, that is changes from “0” to “1” or from “1” to “0” producing its own complement state.
From the above JK Flip-flop Circuit, If the J and K inputs are both HIGH, logic “1” then
the Q output will change state (Toggle) for as long as the clock input, (CLK) is HIGH. Thus the
output will be unstable creating a race-around problem with this basic JK circuit. This problem is
avoided by ensuring that the clock input is at logic “1” only for a very short time.
CLK
INPUT OUTPUT
State
R
Clock S’ Q Q’
’
LOW x x 0 1
HIGH 0 0 0 1
HIGH 1 0 1 0
HIGH 0 1 0 1
HIGH 1 1 1 0
Like the NOR Gate S-R flip flop, this one also has four states. They are