01 Logic Design
01 Logic Design
EECS
Washington State University
References
• John P. Uyemura, “Introduction to VLSI Circuits and Systems,” 2002.
– Chapter 2
• Neil H. Weste and David M. Harris, “CMOS VLSI Design: A Circuits
and Systems Perspective,” 2011.
– Chapter 1
Goal
• Design logic gates using MOSFETs (NMOS and PMOS)
Signals and Wires
• Signals
– 0 = 𝑉𝑉𝑆𝑆𝑆𝑆 = Ground = GND = Low = 0V
– 1 = 𝑉𝑉𝐷𝐷𝐷𝐷 = Power = PWR = High = 5V, 3.3V, 1.5V, 1.2V, 1.0V, etc.
𝑉𝑉𝐷𝐷𝐷𝐷
• Wires
Wire 1 a
b Wire 2 a a
a a
No connection Connection
Ideal Switches
• Switch
Control Control
𝑥𝑥 𝑦𝑦 𝑥𝑥 𝑦𝑦
Electrically open Electrically short
• Assert-high switch
𝑨𝑨 = 𝟎𝟎 𝑨𝑨 = 𝟏𝟏
𝑥𝑥 𝑦𝑦 𝑥𝑥 𝑦𝑦 = 𝑥𝑥
Open (𝑦𝑦 is undefined) Closed (𝒚𝒚 = 𝒙𝒙)
• Assert-low switch
𝑨𝑨 = 𝟎𝟎 𝑨𝑨 = 𝟏𝟏
𝑥𝑥 𝑦𝑦 = 𝑥𝑥 𝑥𝑥 𝑦𝑦
Closed (𝒚𝒚 = 𝒙𝒙) Open (𝑦𝑦 is undefined)
Series/Parallel Connections of Switches
• Series a b y
𝑎𝑎 𝑏𝑏
0 0
𝑥𝑥 𝑦𝑦 = 𝑥𝑥 ∙ 𝑎𝑎 ∙ 𝑏𝑏 = 𝑥𝑥 ∙ (𝑎𝑎 ∙ 𝑏𝑏)
𝑥𝑥 ∙ 𝑎𝑎 0 1 undefined
AND operation 1 0
(𝑦𝑦 is defined only when 𝑎𝑎 = 1 and 𝑏𝑏 = 1) 1 1 𝑥𝑥
(𝑦𝑦 is undefined if 𝑎𝑎 = 0 or 𝑏𝑏 = 0)
• Parallel
𝑎𝑎
a b y
𝑏𝑏 0 0 undefined
𝑥𝑥 𝑥𝑥 ∙ 𝑎𝑎 + 𝑥𝑥 ∙ 𝑏𝑏 = 𝑥𝑥 ∙ (𝑎𝑎 + 𝑏𝑏)
0 1
1 0 𝑥𝑥
OR operation
(𝑦𝑦 is defined only when 𝑎𝑎 = 1 or 𝑏𝑏 = 1) 1 1
(𝑦𝑦 is undefined if 𝑎𝑎 = 0 and 𝑏𝑏 = 0)
Inverter Design with Switches
• Inverter
– The output is defined both when 𝑎𝑎 = 0 and when 𝑎𝑎 = 1.
𝑎𝑎
1 ∙ 𝑎𝑎�
1
a y
0 1 𝑎𝑎 𝑦𝑦 = 1 ∙ 𝑎𝑎� + 0 ∙ 𝑎𝑎 = 𝑎𝑎�
1 0 0
0 ∙ 𝑎𝑎
Inverter Design with Switches
• Two inverter designs
𝑎𝑎
1
𝑎𝑎 𝑦𝑦
𝑎𝑎�
0
𝑎𝑎� 𝑦𝑦 Why?
1
MOSFETs as Switches
• MOSFET: Metal-Oxide-Semiconductor Field-Effect Transistor
– n-channel MOSFET = nFET = NMOS
– p-channel MOSFET = pFET = PMOS
– Complementary MOS: CMOS
• Symbols
𝑉𝑉𝐺𝐺 𝑉𝑉𝐺𝐺
Gate Gate
𝑉𝑉𝑆𝑆 𝑉𝑉𝐷𝐷 𝑉𝑉𝐷𝐷 𝑉𝑉𝑆𝑆
Source Drain Drain Source
nFET pFET
= =
𝑉𝑉𝐴𝐴
• nFET Drain
𝑉𝑉𝐷𝐷𝐷𝐷
– OFF: 𝑉𝑉𝐺𝐺𝐺𝐺𝑛𝑛 ≤ 𝑉𝑉𝑇𝑇𝑛𝑛 𝐴𝐴 = 1: Mn ON
Gate Mn
– ON: 𝑉𝑉𝐺𝐺𝐺𝐺𝑛𝑛 > 𝑉𝑉𝑇𝑇𝑛𝑛 𝑉𝑉𝐴𝐴 𝑉𝑉𝑇𝑇𝑛𝑛
Source 𝐴𝐴 = 0: Mn OFF
0
Logic translation
• pFET 𝑉𝑉𝐷𝐷𝐷𝐷 𝑉𝑉𝐴𝐴
– OFF: 𝑉𝑉𝑆𝑆𝑆𝑆𝑝𝑝 ≤ |𝑉𝑉𝑇𝑇𝑝𝑝 | Source 𝑉𝑉𝐷𝐷𝐷𝐷
𝐴𝐴 = 1: Mp OFF
𝑉𝑉𝐷𝐷𝐷𝐷 − |𝑉𝑉𝑇𝑇𝑝𝑝 |
Gate Mp
– ON: 𝑉𝑉𝑆𝑆𝐺𝐺𝑝𝑝 > |𝑉𝑉𝑇𝑇𝑝𝑝 | 𝑉𝑉𝐴𝐴 𝐴𝐴 = 0: Mp ON
Drain
0
Logic translation
MOSFETs as Switches
• Example (PTM High-Performance 45nm High-K Metal Gate)
– 𝑉𝑉𝐷𝐷𝐷𝐷 : 1.0V
– 𝑉𝑉𝑇𝑇𝑛𝑛 : 0.46893V
– 𝑉𝑉𝑇𝑇𝑝𝑝 : -0.49158V
• pFET
𝑉𝑉𝑆𝑆 = 𝑉𝑉𝑖𝑖𝑖𝑖
𝑽𝑽𝒊𝒊𝒊𝒊 ↓ 𝑽𝑽𝑺𝑺𝑺𝑺 ↓ 𝑽𝑽𝒐𝒐𝒐𝒐𝒐𝒐 ↓
𝑉𝑉𝐺𝐺 = 0 𝑉𝑉𝐷𝐷𝐷𝐷 𝑉𝑉𝐷𝐷𝐷𝐷 𝑉𝑉𝐷𝐷𝐷𝐷 Logic 1 transfer: strong logic 1
𝑉𝑉𝐷𝐷𝐷𝐷 − 𝜀𝜀 𝑉𝑉𝐷𝐷𝐷𝐷 − 𝜀𝜀 𝑉𝑉𝐷𝐷𝐷𝐷 − 𝜀𝜀
𝑉𝑉𝐷𝐷 = 𝑉𝑉𝑜𝑜𝑜𝑜𝑜𝑜 ... ... ...
|𝑉𝑉𝑇𝑇𝑝𝑝 | 𝑉𝑉𝑇𝑇𝑝𝑝 |𝑉𝑉𝑇𝑇𝑝𝑝 |
𝑉𝑉𝑖𝑖𝑖𝑖
𝑉𝑉𝐷𝐷𝐷𝐷
𝑉𝑉𝑜𝑜𝑜𝑜𝑜𝑜
Pass Characteristics
• SPICE simulation (45nm technology)
– pFET
𝑉𝑉𝑖𝑖𝑖𝑖
𝑉𝑉𝑜𝑜𝑜𝑜𝑜𝑜
Pass Characteristics
• nFET
– Strong logic 0 transfer
– Weak logic 1 transfer
• pFET
– Strong logic 1 transfer
– Weak logic 0 transfer
• CMOS
– Use pFETs to pass logic 1.
– Use nFETs to pass logic 0.
Basic Logic Gates in CMOS
• Principles
– Construct the nFET network using only nFETs and the pFET network
using only pFETs.
– If the output is 1, the pFET network connects 𝑉𝑉𝐷𝐷𝐷𝐷 to the output and the
nFET network disconnects 𝑉𝑉𝑆𝑆𝑆𝑆 and the output.
– If the output is 0, the nFET network connects 𝑉𝑉𝑆𝑆𝑆𝑆 to the output and the
pFET network disconnects 𝑉𝑉𝐷𝐷𝐷𝐷 and the output.
𝑉𝑉𝐷𝐷𝐷𝐷
pFET network
nFET network
Basic Logic Gates in CMOS
• Inverter
# TRs: 2
𝑥𝑥 𝑓𝑓 = 𝑥𝑥̅ nFET: 1
pFET: 1
off
0 𝑓𝑓 = 1 1 𝑓𝑓 = 0
off
𝑓𝑓 = 𝑥𝑥̅ ∙ 1 + 𝑥𝑥 ∙ 0 = 𝑥𝑥̅
Basic Logic Gates in CMOS
• SPICE simulation
Basic Logic Gates in CMOS
• Two-input NAND (NAND2)
𝑎𝑎 𝑓𝑓 = 𝑎𝑎 ∙ 𝑏𝑏 # TRs: 4
nFETs: 2
pFETs: 2
𝑏𝑏
0 off 1 1
𝑏𝑏
# TRs: 4
𝑎𝑎 nFETs: 2
𝑓𝑓 = 𝑎𝑎 + 𝑏𝑏 pFETs: 2
𝑎𝑎 𝑏𝑏
0 1 1 off
0 0 off 1 off
𝑓𝑓 = 1 𝑓𝑓 = 0 𝑓𝑓 = 0
0 off 0 off 0 off 1 1 1
(𝑎𝑎� + 𝑏𝑏�)
𝑎𝑎 𝑓𝑓 = 𝑎𝑎 ∙ 𝑏𝑏
(𝑎𝑎 ∙ 𝑏𝑏)
𝑏𝑏
Complex Logic Gates in CMOS
• How to design 𝑓𝑓
– Express 𝑓𝑓 = 𝐴𝐴 ∙ 1 + 𝐵𝐵 ∙ 0 = 𝐹𝐹(𝑥𝑥1 , … , 𝑥𝑥𝑛𝑛 ) ∙ 1 + 𝐹𝐹(𝑥𝑥1 , … , 𝑥𝑥𝑛𝑛 ) ∙ 0
– Design a pFET network using A = 𝐹𝐹(𝑥𝑥1 , … , 𝑥𝑥𝑛𝑛 ).
• pFETs are ON when the inputs are 0.
– Design an nFET network using B = 𝐹𝐹(𝑥𝑥1 , … , 𝑥𝑥𝑛𝑛 ).
• nFETs are ON when the inputs are 1.
• Example
𝑓𝑓 = 𝑎𝑎 ∙ (𝑏𝑏 + 𝑐𝑐)
– 𝑓𝑓 = 𝑎𝑎 ∙ (𝑏𝑏 + 𝑐𝑐) ∙ 1 + 𝑎𝑎 ∙ 𝑏𝑏 + 𝑐𝑐 ∙ 0 = (𝑎𝑎� + 𝑏𝑏� ∙ 𝑐𝑐̅) ∙ 1 + 𝑎𝑎 ∙ 𝑏𝑏 + 𝑐𝑐 ∙ 0
pFET network nFET network
𝑏𝑏 𝑎𝑎
𝑎𝑎
𝑐𝑐 𝑏𝑏 𝑐𝑐
Complex Logic Gates in CMOS
• Example
𝑓𝑓 = 𝑎𝑎 ∙ (𝑏𝑏 + 𝑐𝑐)
𝑏𝑏
𝑎𝑎
𝑐𝑐
# TRs: 6
𝑓𝑓 nFETs: 3
pFETs: 3
𝑎𝑎
𝑏𝑏 𝑐𝑐
Complex Logic Gates in CMOS
• Structured logic design
– Design a given Boolean equation using nFETs and pFETs.
𝑎𝑎
𝑏𝑏 𝑐𝑐
Complex Logic Gates in CMOS
• Design methodology 4
– When 𝑓𝑓 = 𝑆𝑆(𝑥𝑥1 , … , 𝑥𝑥𝑛𝑛 ) (𝑆𝑆 is a function of inverted variables)
• Generate inverted inputs (𝑥𝑥1 , … , 𝑥𝑥𝑛𝑛 ) from the given inputs (𝑥𝑥1 , … , 𝑥𝑥𝑛𝑛 ).
• Design 𝑆𝑆 using the inverted inputs.
– Example: 𝑓𝑓 = 𝑎𝑎� ∙ (𝑏𝑏� + 𝑐𝑐̅)
• Inverters are not shown for brevity.
𝑏𝑏�
𝑎𝑎�
𝑐𝑐̅
𝑓𝑓
𝑎𝑎�
𝑏𝑏� 𝑐𝑐̅
Complex Logic Gates in CMOS
• Design methodology 5
– When 𝑓𝑓 = 𝑆𝑆(𝑥𝑥1 , … , 𝑥𝑥𝑛𝑛 )
• 𝑓𝑓 = 𝑆𝑆(𝑥𝑥1 , … , 𝑥𝑥𝑛𝑛 ) = 𝑆𝑆(𝑥𝑥1 , … , 𝑥𝑥𝑛𝑛 )𝐷𝐷 = 𝑆𝑆(𝑥𝑥1 , … , 𝑥𝑥𝑛𝑛 )𝐷𝐷
• Design 𝑆𝑆(𝑥𝑥1 , … , 𝑥𝑥𝑛𝑛 )𝐷𝐷 using the given inputs.
• Add an inverter at the output.
– Example: 𝑓𝑓 = 𝑎𝑎� + (𝑏𝑏� ∙ 𝑐𝑐̅) 𝑏𝑏
𝑎𝑎
• 𝑓𝑓 = 𝑎𝑎 ∙ (𝑏𝑏 + 𝑐𝑐) = 𝑎𝑎 ∙ (𝑏𝑏 + 𝑐𝑐)
𝑐𝑐
𝑓𝑓
𝑎𝑎
𝑏𝑏 𝑐𝑐
Complex Logic Gates in CMOS
• Design methodology 6
– When 𝑓𝑓 = 𝑆𝑆(𝑥𝑥1 , … , 𝑥𝑥𝑛𝑛 )
• 𝑓𝑓 = 𝑆𝑆 = 𝑆𝑆̅
• Generate inverted inputs (𝑥𝑥1 , … , 𝑥𝑥𝑛𝑛 ) from the given inputs (𝑥𝑥1 , … , 𝑥𝑥𝑛𝑛 ).
• Design 𝑆𝑆̅ using the inverted inputs and add an inverter at the output.
• Design methodology 7
– When 𝑓𝑓 = 𝑆𝑆(𝑥𝑥1 , … , 𝑥𝑥𝑛𝑛 )
• 𝑓𝑓 = 𝑆𝑆(𝑥𝑥1 , … , 𝑥𝑥𝑛𝑛 ) = 𝑆𝑆(𝑥𝑥1 , … , 𝑥𝑥𝑛𝑛 )𝐷𝐷
• Design 𝑆𝑆 𝐷𝐷 using the given non-inverted inputs (𝑥𝑥1 , … , 𝑥𝑥𝑛𝑛 ).
• Design methodology 8
– When 𝑓𝑓 = 𝑆𝑆(𝑥𝑥1 , 𝑥𝑥1 , … , 𝑥𝑥𝑛𝑛 ) or 𝑆𝑆(𝑥𝑥1 , 𝑥𝑥1 , … , 𝑥𝑥𝑛𝑛 )
• Convert the given function into an appropriate form to simplify the logic.
• Design it.
Complex Logic Gates in CMOS
• Examples (assuming only non-inverted inputs are available)
– 𝑓𝑓 = 𝑎𝑎 ∙ 𝑏𝑏 (AND2)
• Design 𝑓𝑓 = 𝑎𝑎 ∙ 𝑏𝑏 and add an inverter at the output. (# TRs: 6)
• Design 𝑓𝑓 = 𝑎𝑎 ∙ 𝑏𝑏 = 𝑎𝑎� + 𝑏𝑏� with two inverters to generate 𝑎𝑎� and 𝑏𝑏�. (# TRs: 8)
– 𝑓𝑓 = 𝑎𝑎� ∙ 𝑏𝑏 + 𝑐𝑐̅ ∙ 𝑑𝑑
• Add two inverters to generate 𝑎𝑎� and 𝑐𝑐̅, then design 𝑓𝑓. (# TRs: 12)
𝑓𝑓 = 𝑎𝑎 ∙ 𝑏𝑏 ∙ 0 𝑓𝑓 = (𝑎𝑎 + 𝑏𝑏) ∙ 0
𝑎𝑎 𝑎𝑎
𝑎𝑎 𝑏𝑏 𝑎𝑎 𝑏𝑏
𝑏𝑏 𝑏𝑏
𝑎𝑎 𝑎𝑎 𝑎𝑎 𝑎𝑎
𝑏𝑏 𝑏𝑏 𝑏𝑏 𝑏𝑏
Complex Logic Gates in CMOS
• Bubble pushing (how to construct a pFET network)
– Example
𝑎𝑎 𝑎𝑎
𝑏𝑏 𝑏𝑏
=
𝑐𝑐 𝑐𝑐
𝑑𝑑 𝑓𝑓 𝑑𝑑 𝑓𝑓
𝑒𝑒 𝑒𝑒
𝑎𝑎 𝑎𝑎 𝑏𝑏
𝑏𝑏
= 𝑐𝑐 𝑑𝑑
𝑐𝑐
𝑑𝑑 𝑓𝑓
𝑒𝑒
𝑒𝑒
𝑓𝑓
Complex Logic Gates in CMOS
• XOR
– 𝑎𝑎 ⊕ 𝑏𝑏 = 𝑎𝑎 ∙ 𝑏𝑏� + 𝑎𝑎� ∙ 𝑏𝑏 = 𝑎𝑎 ∙ 𝑏𝑏 + 𝑎𝑎� ∙ 𝑏𝑏� (#TRs: 8+4(for the two inverters))
• XNOR
– 𝑎𝑎 ⊕ 𝑏𝑏 = 𝑎𝑎 ∙ 𝑏𝑏 + 𝑎𝑎� ∙ 𝑏𝑏� = 𝑎𝑎 ∙ 𝑏𝑏� + 𝑎𝑎� ∙ 𝑏𝑏 (#TRs: 8+4(for the two inverters))
𝑎𝑎 𝑏𝑏 𝑎𝑎 𝑏𝑏�
𝑏𝑏 𝑏𝑏� 𝑏𝑏� 𝑏𝑏
Complex Logic Gates in CMOS
• Structured logic analysis
– Derive a Boolean equation for a given transistor-level schematic.
• Analysis methodology 1
– Convert the nFET network into a Boolean equation (only when the pFET
network is the dual of the nFET network.)
– Notice that the nFET network passes logic 0.
• Example 𝑎𝑎 𝑏𝑏
– 𝑓𝑓 = 𝑎𝑎 ∙ 𝑏𝑏 + 𝑎𝑎� ∙ 𝑏𝑏� = 𝑎𝑎� + 𝑏𝑏� ∙ 𝑎𝑎 + 𝑏𝑏 = 𝑎𝑎 ∙ 𝑏𝑏� + 𝑎𝑎� ∙ 𝑏𝑏
𝑎𝑎� 𝑏𝑏�
𝑎𝑎 ⊕ 𝑏𝑏
𝑎𝑎 𝑎𝑎�
𝑏𝑏 𝑏𝑏�
Complex Logic Gates in CMOS
• Analysis methodology 2
– Identify all the paths from 𝑉𝑉𝑆𝑆𝑆𝑆 to the output (only when the pFET network
is the dual of the nFET network.)
– Merge them into a single Boolean equation.
– Negate the output.
• Example
𝑏𝑏
– Path 1: 𝑏𝑏 ∙ 𝑎𝑎 𝑎𝑎
– Path 2: c ∙ 𝑎𝑎
𝑐𝑐
– Merge: 𝑏𝑏 ∙ 𝑎𝑎 + 𝑐𝑐 ∙ 𝑎𝑎 = 𝑎𝑎 ∙ (𝑏𝑏 + 𝑐𝑐)
𝑓𝑓
– Negate: 𝑎𝑎 ∙ (𝑏𝑏 + 𝑐𝑐)
– 𝑓𝑓 = 𝑎𝑎 ∙ (𝑏𝑏 + 𝑐𝑐) 𝑎𝑎
path 2
path 1
𝑏𝑏 𝑐𝑐
Pass Transistors
• nFET
– 𝑔𝑔 = 0: OFF
– 𝑔𝑔 = 1: ON
𝑔𝑔
• 𝑎𝑎 = 0: 𝑏𝑏 = strong 0
• 𝑎𝑎 = 1: 𝑏𝑏 = weak 1 𝑎𝑎 𝑏𝑏
• pFET
– 𝑔𝑔 = 1: OFF
– 𝑔𝑔 = 0: ON 𝑔𝑔
• 𝑎𝑎 = 0: 𝑏𝑏 = weak 0
• 𝑎𝑎 = 1: 𝑏𝑏 = strong 1 𝑎𝑎 𝑏𝑏
Transmission Gate Circuits
• Transistor circuit
𝑠𝑠̅
𝑠𝑠̅
𝑥𝑥 𝑦𝑦 𝑦𝑦
𝑥𝑥
𝑠𝑠
𝑠𝑠
• Behaviors
– When 𝑠𝑠 = 0: Both nFET and pFET are OFF.
– When 𝑠𝑠 = 1: Both nFET and pFET are ON.
• If 𝑥𝑥 = 0, the nFET perfectly transmits it to 𝑦𝑦 (nFET is good at transferring 0.)
• If 𝑥𝑥 = 1, the pFET perfectly transmits it to 𝑦𝑦 (pFET is good at transferring 1.)
• Disadvantage
– Needs 𝑠𝑠̅ .
– Does not restore the input signals.
Transmission Gate Circuits
• Logic design using transmission gates
– MUX: 𝑓𝑓 = 𝑠𝑠̅ ∙ 𝑥𝑥0 + 𝑠𝑠 ∙ 𝑥𝑥1
𝑠𝑠
𝑥𝑥0
𝑠𝑠̅ 𝑓𝑓
𝑥𝑥1
– XNOR 𝑏𝑏�
𝑎𝑎 𝑓𝑓 = 𝑎𝑎⨁𝑏𝑏
𝑏𝑏
Pass Transistors vs. Transmission Gates
Symbols
𝐴𝐴 𝑌𝑌 𝐴𝐴 𝑌𝑌
EN Y
0 𝑍𝑍
1 𝐴𝐴̅
𝐸𝐸𝐸𝐸 𝐴𝐴
𝐴𝐴 𝑌𝑌 𝐸𝐸𝐸𝐸
𝑌𝑌
𝐸𝐸𝐸𝐸 𝐸𝐸𝐸𝐸
𝐴𝐴 𝑌𝑌
𝐴𝐴
𝐸𝐸𝐸𝐸
Tristate Buffer
• Symbol
𝐸𝐸𝐸𝐸 𝐸𝐸𝐸𝐸
𝐴𝐴 𝑌𝑌 𝐴𝐴 𝑌𝑌
𝐸𝐸𝐸𝐸
• Gate-level schematic
𝐸𝐸𝐸𝐸
𝐴𝐴 𝑌𝑌
Sequential Circuit – D Latch
• Positive-level-sensitive D latch CLK Q
0 hold
𝑪𝑪𝑪𝑪𝑪𝑪 1 𝐷𝐷
𝑉𝑉𝐷𝐷𝐷𝐷
Transparent Hold
𝑡𝑡
𝑫𝑫 Capture
𝑉𝑉𝐷𝐷𝐷𝐷
𝑡𝑡
𝑸𝑸
𝑉𝑉𝐷𝐷𝐷𝐷
𝑡𝑡
0
Sequential Circuit – D Latch
• Schematic
𝐶𝐶𝐶𝐶𝐶𝐶
𝐷𝐷 𝑄𝑄�
𝐶𝐶𝐶𝐶𝐶𝐶
𝐶𝐶𝐶𝐶𝐶𝐶
𝑄𝑄
𝐶𝐶𝐶𝐶𝐶𝐶
Sequential Circuit – D Flip-Flop
• Positive-edge-triggered D flip-flop CLK Q
0, 1 hold
𝑪𝑪𝑪𝑪𝑪𝑪
↑ catch 𝐷𝐷
𝑉𝑉𝐷𝐷𝐷𝐷
Hold
𝑡𝑡
𝑫𝑫 Capture
𝑉𝑉𝐷𝐷𝐷𝐷
𝑡𝑡
𝑸𝑸
𝑉𝑉𝐷𝐷𝐷𝐷
𝑡𝑡
0
Sequential Circuit – D Flip-Flop
• Schematic
𝐶𝐶𝐶𝐶𝐶𝐶 𝐶𝐶𝐶𝐶𝐶𝐶
𝐷𝐷 𝑄𝑄
𝐶𝐶𝐶𝐶𝐶𝐶 𝐶𝐶𝐶𝐶𝐶𝐶
𝐶𝐶𝐶𝐶𝐶𝐶 𝐶𝐶𝐶𝐶𝐶𝐶
𝑄𝑄�
𝐶𝐶𝐶𝐶𝐶𝐶 𝐶𝐶𝐶𝐶𝐶𝐶
Sequential Circuit
• Example
– Inputs: 𝐷𝐷, 𝐴𝐴𝐴𝐴𝐴𝐴, 𝐶𝐶𝐶𝐶𝐶𝐶, 𝐶𝐶𝐶𝐶𝐶𝐶
– Outputs: 𝑄𝑄, 𝑄𝑄�
𝐶𝐶𝐶𝐶𝐶𝐶 𝐶𝐶𝐶𝐶𝐶𝐶
𝐶𝐶𝐶𝐶𝐶𝐶 𝐶𝐶𝐶𝐶𝐶𝐶
𝐷𝐷
𝑄𝑄
𝐴𝐴𝐴𝐴𝐴𝐴 𝑄𝑄�