Double Sequence Detector: Project Report
Double Sequence Detector: Project Report
Double Sequence Detector: Project Report
ON
November 2007
Contents:
Symbols used
Project Description
State Diagram
State Table
Karnaugh Map
Design Issues
Design Strategy
Design Goals
Design Approach
Area Estimation
Floor Plan
Specifications
References
Symbols Used: -
Symbol Description
GND Ground
X Input sequence
Y Output
I D Drain current .
tr Rise time
tf Fall time
Project Description
ste p D o w n X -m e r
ste p u p X -m e r
T
555
A m p. U
T im e r
B
E
D .C . B a tte r y
V o lta g e c o n t r o lle r o r
P e r io d ic a lly c h a r g e r
0 0 0 1 0 1 0 0
0 0 1 0 0 0 1 0
0 0 1 1 0 1 1 0
0 1 0 0 1 0 0 0
0 1 0 1 0 1 0 0
0 1 1 0 1 0 0 0
0 1 1 1 1 0 1 1
1 0 0 0 0 0 1 0
1 0 0 1 1 1 0 1
1 0 1 0 1 0 0 0
1 0 1 1 0 1 0 0
1 1 0 0 1 0 0 0
1 1 0 1 1 0 1 0
1 1 1 0 x x x x
1 1 1 1 x x x x
C X C X
00 01 11 10 00 01 11 10
AB AB
00 00 1 1
01 1 1 1 01 1
11 1 1 x x 11 x x
10 1 1 10 1 1
C X C X
00 01 11 10 00 01 11 10
AB AB
00 1 1 1 00
01 1 01 1
11 1 x x 11 x x
1 10 1
10
Design Strategy
Standard Cell based design
Inverter based design for standard cells with equivalent Inverter ratio of 2:1 (minimum
average delay)
NAND based Combinational logic blocks (Minimum Logical effort)
We opted for Static Logic because NAND implementation is easier in case of this logic
style; besides this our application required low power consumption, low noise sensitivity
and negligible power dissipation.
We preferred Static Logic because it detects both low and high logic strongly.
Static Logic also supports large fan in which is a major requirement while using multiple
input NAND gates.
Design Goals
Compact and simple layout
Power considerations
Design approach
We used the following standard cells:
Inverter
NAND-2
NAND-3
NAND-4
B
X
C
B
X'
X'
A
D Q
C
A CLK Q
C'
X
A' y
C' D Q
X
+
B' 1 0 0 0 fF
X CLK Q
B' D Q
C' 1 fF
CLK Q
A'
B'
C
A'
C CLK
X
A
B
X
A'
C'
X
1 fF x
Y = X B ' + A 'C 'X
+
B' y 1 0 0 0 fF
X
P = 3 + 2 = 5
G = 5 /3 x 4 /3 = 2 0 /9
B = 1
h = 1000
F = G x B x H = 2 0 0 0 0 /9
f = (2 0 0 0 0 /9 ) ^ (1 /2 ) = 4 7 .1 5
d = N x f + P = 2 x 4 7 .1 4 + 5
= 9 9 .2 8 0 9
x - t e r S iz in g y = 1 0 0 0 x ( 4 / 3 ) / 4 7 . 1 4
= 2 8 .2 8
x = 2 8 .2 8 x (5 /3 )/4 7 .1 4 = 1
A
B'
C'
X
1 fF x Y = X B C + A 'B 'C 'X
+
B y
C 1 0 0 0 fF
X
P = 4 + 2 = 6
G = 6 /3 x 4 /3 = 8 /3
B = 1
h = 1000
F = G x B x H = 8 0 0 0 /3
f = (8 0 0 0 /3 ) ^ (1 /2 ) = 5 1 .6 3 9 7 8
d = N x f + P = 2 x 5 1 .6 3 9 8 + 6
= 1 0 9 .2 7 9 5 6
x - t e r S iz in g y = 1 0 0 0 x ( 4 / 3 ) / 5 1 . 6 3
= 2 5 .8 1 9 8 9
x = 2 5 .8 1 9 8 9 x (5 /3 )/5 1 .6 3 = 1
Figure 8: Logical effort for double sequence detector
B'
x
C'
A'
+
B'
C
1 0 0 0 fF
z
A'
C
X
A
B
X
P = 1+ 3 + 4 = 8
G = 1 x 5 /3 x 2 = 1 0 /3
B = 1
H = 1000
F = G x B x H = 1 0 0 0 0 /3
f = (1 0 0 0 0 /3 ) ^ (1 /3 ) = 1 4 .9 3 8 0 2
d = N x f + P = 3 x 1 4 .9 3 8 0 2 + 8
= 5 2 .8 1 4 0 5
x - t e r S iz in g z = 1 0 0 0 x ( 6 / 3 ) / 1 4 . 9 3 8 0 2
= 1 3 3 .8 8 6 5 5
y = 1 3 3 .8 8 6 5 5 x (5 /3 )/1 4 .9 3 8 0 2 = 1 4 .9 3 8 0 9
x = 1 4 .9 3 8 0 9 x 1 /1 4 .9 3 8 0 2 = 1
B
C
1 fF
x
B Y = C B + A C X ' + B X ' + A C 'X
X y'
+
X' z 1 0 0 0 fF
y
A
C x
w A
C'
X
P = 2 + 1 + 2 + 3 = 8
G = 4 /3 x 1 x 4 /3 x 5 /3 = 8 0 /2 7
B = 1
h = 1000
F = G x B x H = 8 0 0 0 0 /2 7
f = (8 0 0 0 0 /2 7 ) ^ (1 /4 ) = 7 .3 7 7
d = N x f + P = 4 x 7 .3 7 7 + 8
= 3 7 .5 1 1
x -te r S iz in g z = 1 0 0 0 x (5 /3 )/7 .3 7 7
= 2 2 5 .9 2 7
y = 2 2 5 .9 2 7 x (4 /3 )/7 .3 7 7 = 4 0 .8 3 4 5 6
x = 4 0 .8 3 4 5 6 x 1 /7 .3 7 7 = 5 .5 3 5 3 9
w = 5 .5 3 5 3 9 x (4 /3 )/7 .3 7 7 = 1
Figure 10: Logical effort for double sequence detector
V D D
V D D 2 0 .4 2 2 0 .4 2
X' B
V D D 2 0 .4 2 2 0 .4 2
A
3 .6 9
X'
2 0 .4 2
A 2 0 .4 2
1 .8 4
B 2 0 .4 2
2 0 .4 2
X'
7 5 .3 1
7 5 .3 1 V D D
V D D 7 5 .3 1
V D D 7 5 .3 1
0 .5 0 .5
C 3 .6 9
To D A
A
1 5 0 .6 1 1 0 0 0 fF
1 .8 4
A 0 .5
1 5 0 .6 1
1 5 0 .6 1
C 0 .5
X
1 5 0 .6 1
V D D
V D D
A '
2 0 .4 2 2 0 .4 2
1 6 .3 4 1 6 .3 4 1 6 .3 4
B C A
C ' X
B A
2 0 .4 2 2 4 .5 0
2 0 .4 2 C ' 2 4 .5 0
C
X 2 4 .5 0
Figure 11: X-ter sizing and Logical area calculation
V D D
0 .5 0 .5
X
B ' V D D
1 4 .1 4
0 .5
X 1 4 .1 4
To D B
0 .5
B ' 1 0 0 0 fF
1 4 .1 4
V DD
1 4 .1 4
0 .4 0 .4 0 .4
X A ' C '
0 .6
X
A ' 0 .6
C ' 0 .6
V D D 5 .9 8 5 .9 8 5 .9 8
X B ' C '
V D D 5 .9 8
5 .9 8 5 .9 8
A B
X ' 8 .9 6
A 8 .9 6
B ' 8 .9 6
B 8 .9 6
C ' 8 .9 6
X'
8 .9 6 4 4 .6 3
4 4 .6 3 V D D
4 4 .6 3
4 4 .6
V D D 3
5 .9 8 5 .9 8 5 .9 8
A ' T o D c
C X
8 9 .2 5 1 0 0 0 fF
A ' 8 .9 6 8 9 .2 5
8 9 .2 5
C 8 .9 6
8 9 .2 5
X 8 .9 6
V D D
5 .9 8 5 .9 8 5 .9 8
A '
C
B '
A ' 8 .9 6
B ' 8 .9 6
C 8 .9 6
0 .3 0 .3 0 .3 0 .3
X A B ' C '
1 2 .9 1 V DD
A 0 .6
1 2 .9 1
T o O /P Y
B ' 0 .6
1 0 0 0 fF
1 2 .9 1
C ' 0 .6
X 0 .6 1 2 .9 1
V DD
0 .4 0 .4 0 .4
X B C
X
0 .6
B 0 .6
C 0 .6
= 1298.50233 λ2
= 765.89767 λ2
Total Area:
P-Channel area + N-Channel area = 765.89767 λ2+ 1298.50233 λ2
=2064.4 λ2
= 722.54 µm2
where λ = 0.35µm
D-Flip flop:
Single edge Triggered (SET flip flop)
Master Slave configuration
CLK CLK
CLK QM
D Q
CLK CLK CLK CLK
CLK
Latch
Latch
QM
D Q
CLK CLK
Floor Plan:
I /P f r o m b a t t e r y
S te p U p
R e c t if ie r a nd
P o w e r A m p lif ie r
C ir c u it S te p D ow n
C ir c u it
Tran s fo rm e r
Figure 16: Overall floor Plan of Design.
Specifications
No of transistor in combinational circuit = 100
No of transistor in D-flipflop= 48
Total Transistor count = 148
Total Estimated logical area = 2064.4 λ2 (722.54 µm2)
Operating Voltage Vdd = 3-5Volts
Operating frequency range = 10MHz-100MHz
Spice simulation results:
Supply
Y (psec)
DA (psec)
Input Delay 0.53 0.63 0.75 0.86 1.0
DB (psec)
Input Delay 0.28 0.33 0.40 0.46 0.53
DC (psec)
Rise time 1 1.5 2 2.5 3
Tr (nsec)
Tf (nsec)
Etienne Sicard , Sonia Delmas Bendhia “Basics of CMOS Cell Design”,Tata McGraw-
Hill Publications,2005 Edition
Sung-Mo Kang ,Yusuf Leblebici “CMOS Digital Integrated Circuits”, Tata McGraw-
Hill Publications, Third Edition 2003.