LECTURE 1-2 - Synchronous Design-3
LECTURE 1-2 - Synchronous Design-3
SYSTEM DESIGN
BEng(Hons) Electrical & Electronic Engineering
By:
Sanira Lasantha
BEng ,MSc(Elec. Eng)
Module details
LESSON 1 :
SYNCHRONOUS DESIGN CONCEPTS
In Out
Combinational Combinational
In Logic Out Logic
Circuit Circuit
State
Combinational Sequential
S R Qn+1 Qn Qn+1 S R
0 0 Qn 0 0 0 X
0 1 0 0 1 1 0
1 0 1 1 0 0 1
1 1 X 1 1 X 0
S Pr
Q
ck
S
Q Q
R
ck
Q
R
Cr
BEng(Hons) Electrical & Electronic Engineering 9
D TYPE FLIP FLOP
• The output takes the value of the D input or Data input, and Delays it
by one clock count
• The D flip-flop can be interpreted as a primitive memory cell
Pr Pr
S
D Clocked Q D Q
Clocked
ck
SR FF Q ck D FF Q
R
Cr Qn+1=Dn Cr
BEng(Hons) Electrical & Electronic Engineering 10 10
JK FLIP FLOP
Pr Excitation Table
Qn Qn+1 J K
J S 0 0 0 X
Q
0 1 1 X
ck 1 0 X 1
R Q
K 1 1 X 0
Cr
2. State diagram -
Each state is shown by a circle, and
identified by a letter A to F. The arrows
show the transitions from state to state,
i.e. it is a
defined sequence. The required outputs
are also shown inside the state circle
Possible to design with any flip flop type. In general the following
considerations apply.
Example assignment :
A = 000
B = 001
C = 010
D = 011
E = 100
F = 101
LESSON 2 :
DESIGN WITH INPUTS
Q. If there are N inputs, how many arrows leave a state? If a state has no arrows leading to it, what
conclusion can you draw?