SlideShare a Scribd company logo
1 of 23
Design Options for Digital
Systems
Gookyi Dennis A. N.
SoC Design Lab.
August.05.2014
Contents
 ASIC Design Options
 FPGA
 PLDs
2
Overview
 The various design options for digital systems
3
Design options
ASIC
Full
Custom
Cell-
based
Gate-
array-
based
Field Programmable
PLDs
ROM PAL PLA
CPLDs FPGAs
Hierarchical System Design
 Digital system designers widely use a hierarchical structure
to design digital systems
 The essence is to partition the system into smaller
independent sub-structures which combine to perform the
same functionality as the original system
 The design hierarchy can be classified into four level:
System level
Register transfer level
Logic gate level
Circuit level
4
Hierarchical System Design
 Differences in the various hierarchies
5
Design
levels
Operand size Processing
time range(s)
Logic devices
System Bytes/byte blocks 10−3
𝑎𝑛𝑑 10−6
Microprocessors/
microcomputers,
memory devices,
timers
RTL Bits/bytes 10−8
𝑎𝑛𝑑 10−9
Decoders, encoders,
multiplexers,
registers, counters
Logic gate Bits 10−9
𝑎𝑛𝑑 10−11
Basic logic gates,
flip-flops, latches
circuit Bits 10−10
𝑎𝑛𝑑 10−12
MOSFETs, BJTs
SB
RB
Q
QB
S
G
D
G
S
D
register
register
Combinational
circuit
mux
CLK A CLK B
X F
𝑉𝐷𝐷
RAM
ROM
Parallel
I/O port
DMA
controller
Clock
microP
SYSTEM LEVEL
RTL LEVEL
LOGIC LEVEL
CIRCUIT LEVEL
Design Options for Digital Systems
 A variety of options are available for designing a given
digital system
 These options are used to:
Reduce hardware size
Reduce power consumption
Increase system performance
6
Design options of digital systems
ASIC
Full-custom Cell-based
Cell library
Compiled macros
(RAM/ROM/PLA)
Platform IP
Gate array
microP/DSP Field-programmable devices
PLD
ROM PAL PLA
FPGA CPLD
Design Options for Digital Systems
 Comparison of various design options in terms of time to
market and cost
7
PLDs
FPGAs, GAs
Cell-based ASICs
Full-custom
ASICs
Timetomarket,Cost
Design flexibility, Process complexity,
Density, speed, NRE cost
Design Options for Digital Systems
 Comparison of design options in terms of cost and design
flexibility
8
cost
Product volume
FPGAs
ASICs
k
GAs
FPGAs
CPLDs
Cell-based
ASICs
Full-custom
ASICs
PLDs
Designflexibility
Easy to use
Cost = NRE + Fixed + recurring
NRE +
fixed cost
k = division of product volume
ASIC Designs: Full-Custom Design
 In full custom design, each transistor and its layout is
designed carefully in order to achieve the best
performance
 Full custom offers highest performance and reduced area
9
ASIC Designs: Cell-Based Design
 Cell based design is composed of a set of predefined cells
with layouts known as standard cells
 The basic cell types of a typical cell library is as below
10
Standard cell types Variations
Inverter/buffer/tristate buffer 1X, 2X, 4X, 8X, 16X
NAND/AND gate 2 – 8 inputs
NOR/OR gate 2 – 8 inputs
XOR/XNOR gate 2 – 8 inputs
MUX/deMUX 2 – 8 inputs
Encoder/Decoder 2 – 16 inputs
Schmitt trigger circuit Inverted/non-inverted output
Latch/register/counter D/JK (sync/async clear/reset)
I/O pad circuits I/O (tristate/bidirectional)
ASIC Designs:
 Full-custom vs Cell-based
11
Full Custom Cell Based
Design from the scratch Predefined cells with layouts
Sizes are customized Size of each cell is standard
Space is reduced Requires much more space
Performance is higher Performance is lower
Productivity is reduced Improve productivity
ASIC: Gate-Array-Based
 Designer uses a library of standard cells
 The design is mapped onto an array of transistors which is
already created on a wafer
12
ASIC Designs: Comparisons
 Full-custom vs cell-based vs gate-array
13
Full-Custom Cell-Based Gate-Array
Density Highest Medium Low
Performance Highest Medium Low
Design time Long Medium Short
Chip dev.
Cost
High Medium Low
testability Difficult Less difficult Easy
Field Programmable devices: FPGA
 The basic structure of an FPGA is composed of
configurable logic blocks (CLBs) and interconnections as
well as input/output blocks
14
PLDs
 Any combination of logic can be implemented with sum of
product which is AND-OR implementation
 PLD as a black box:
15
Inputs
(logic variables)
Outputs
(logic functions)
Logic gates
and
Programmable
switches
PLDs
 General structure of PLDs:
 Functionality table
16
Device AND-array OR-array
ROM Fixed Programmable
PAL Programmable Fixed
PLA Programmable Programmable
Input buffer
and inverters
AND
Plane
OR
Plane
X1
X1 X1’ Xn Xn’
Xn
Pk
P1 F1
Fk
PLDs
 To examine the essential difference among the various
PLD devices, an implementation example is given
 Implement the table below using ROM, PLA and PAL
 Simplifying the table gives:
𝐹1 = 𝑥𝑦′
+ 𝑥′
𝑧
𝐹2 = 𝑦′
+ 𝑥′
𝑧
𝐹3 = 𝑥𝑦 + 𝑦′ 𝑧 17
x y z F1 F2 F3
0 0 0 0 1 0
0 0 1 1 1 1
0 1 0 0 0 0
0 1 1 1 1 0
1 0 0 1 1 0
1 0 1 1 1 1
1 1 0 0 0 1
0 1 1 0 0 1
PLDs: ROM
 Requirements:
18
Product
term
Inputs
x y z
Output function
F1 F2 F3
x’y’z’ P1 0 0 0 - 1 -
x’y’z P2 0 0 1 1 1 1
x’yz’ P3 0 1 0 - - -
x’yz P4 0 1 1 1 1 -
xy’z’ P5 1 0 0 1 1 -
xy’z P6 1 0 1 1 1 1
xyz’ P7 1 1 0 - - 1
xyz P8 1 1 1 - - 1
X Y Z
The AND array generates all
minterms of the inputs and hence
is fixed but the OR array is
programmable to implement the
required function
P1
P8
P7
P6
P5
P4
P3
P2
F1 F3F2Fixed AND array
Programmable OR array
PLDs: PLA
 Requirements:
19
Product term Inputs
X y z
output
xy’ P1 1 0 - F1
x’z P2 0 - 1 F1, F2
y’ P3 - 0 - F2
xy P4 1 1 - F3
y’z P5 - 0 1 F3
X Y Z
Common terms in the
outputs are combined
P1
P2
P3
P4
P5
F1 F2 F3
Programmable AND
array
Programmable OR
array
PLDs: PAL
 Requirements:
20
Product term Inputs
X y z
Output
xy’ P1
x’z P2
1 0 -
0 - 1
F1
y’ P3
x’z P4
- 0 -
0 - 1
F2
xy P5
y’z P6
1 1 -
- 0 1
F3
X Y Z
F1 F2 F3
P1
P2
P3
P4
P5
P6
Programmable AND
array
Fixed OR array
OR gates do not share
product terms
Modeling ROM
 Code and truth table for a 22
∗ 4 𝑅𝑂𝑀
21
Input
A1 A0
Output
O1 O2
0 0 0 1
0 1 1 0
1 0 0 0
1 1 1 1
Modeling ROM
 RTL schematic
22
Modeling ROM
 Waveform
23

More Related Content

What's hot

ATPG Methods and Algorithms
ATPG Methods and AlgorithmsATPG Methods and Algorithms
ATPG Methods and Algorithms
Deiptii Das
 
Placement and routing in full custom physical design
Placement and routing in full custom physical designPlacement and routing in full custom physical design
Placement and routing in full custom physical design
Deiptii Das
 
Placement in VLSI Design
Placement in VLSI DesignPlacement in VLSI Design
Placement in VLSI Design
Team-VLSI-ITMU
 

What's hot (20)

ARM CORTEX M3 PPT
ARM CORTEX M3 PPTARM CORTEX M3 PPT
ARM CORTEX M3 PPT
 
ARM Processor
ARM ProcessorARM Processor
ARM Processor
 
ASIC DESIGN FLOW
ASIC DESIGN FLOWASIC DESIGN FLOW
ASIC DESIGN FLOW
 
Switch level modeling
Switch level modelingSwitch level modeling
Switch level modeling
 
Verilog Tasks and functions
Verilog Tasks and functionsVerilog Tasks and functions
Verilog Tasks and functions
 
ARM Architecture
ARM ArchitectureARM Architecture
ARM Architecture
 
ATPG Methods and Algorithms
ATPG Methods and AlgorithmsATPG Methods and Algorithms
ATPG Methods and Algorithms
 
Verilog presentation final
Verilog presentation finalVerilog presentation final
Verilog presentation final
 
Vlsi design flow
Vlsi design flowVlsi design flow
Vlsi design flow
 
Placement and routing in full custom physical design
Placement and routing in full custom physical designPlacement and routing in full custom physical design
Placement and routing in full custom physical design
 
Study of vlsi design methodologies and limitations using cad tools for cmos t...
Study of vlsi design methodologies and limitations using cad tools for cmos t...Study of vlsi design methodologies and limitations using cad tools for cmos t...
Study of vlsi design methodologies and limitations using cad tools for cmos t...
 
Verilog
VerilogVerilog
Verilog
 
ASIC vs SOC vs FPGA
ASIC  vs SOC  vs FPGAASIC  vs SOC  vs FPGA
ASIC vs SOC vs FPGA
 
Stratix FPGA Overview
Stratix FPGA OverviewStratix FPGA Overview
Stratix FPGA Overview
 
Iteration bound
Iteration boundIteration bound
Iteration bound
 
UNIT-III-DIGITAL SYSTEM DESIGN
UNIT-III-DIGITAL SYSTEM DESIGNUNIT-III-DIGITAL SYSTEM DESIGN
UNIT-III-DIGITAL SYSTEM DESIGN
 
Placement in VLSI Design
Placement in VLSI DesignPlacement in VLSI Design
Placement in VLSI Design
 
Fpga architectures and applications
Fpga architectures and applicationsFpga architectures and applications
Fpga architectures and applications
 
gate level modeling
gate level modelinggate level modeling
gate level modeling
 
Verilog tutorial
Verilog tutorialVerilog tutorial
Verilog tutorial
 

Viewers also liked (7)

Fpga 03-cpld-and-fpga
Fpga 03-cpld-and-fpgaFpga 03-cpld-and-fpga
Fpga 03-cpld-and-fpga
 
Composants reconfigurables
Composants reconfigurablesComposants reconfigurables
Composants reconfigurables
 
DSD
DSDDSD
DSD
 
ASIC
ASICASIC
ASIC
 
PLD's
PLD'sPLD's
PLD's
 
Xilinx 4000 series
Xilinx 4000 seriesXilinx 4000 series
Xilinx 4000 series
 
PLDs
PLDsPLDs
PLDs
 

Similar to Design options for digital systems

Similar to Design options for digital systems (20)

1. FPGA architectures.pdf
1. FPGA architectures.pdf1. FPGA architectures.pdf
1. FPGA architectures.pdf
 
Asic
AsicAsic
Asic
 
Introduction to FPGA, VHDL
Introduction to FPGA, VHDL  Introduction to FPGA, VHDL
Introduction to FPGA, VHDL
 
Cyclone II FPGA Overview
Cyclone II FPGA OverviewCyclone II FPGA Overview
Cyclone II FPGA Overview
 
Embedded system Design introduction _ Karakola
Embedded system Design introduction _ KarakolaEmbedded system Design introduction _ Karakola
Embedded system Design introduction _ Karakola
 
Lec12 Computer Architecture by Hsien-Hsin Sean Lee Georgia Tech -- P6, Netbur...
Lec12 Computer Architecture by Hsien-Hsin Sean Lee Georgia Tech -- P6, Netbur...Lec12 Computer Architecture by Hsien-Hsin Sean Lee Georgia Tech -- P6, Netbur...
Lec12 Computer Architecture by Hsien-Hsin Sean Lee Georgia Tech -- P6, Netbur...
 
microcontroller 8051 17.07.2023.pdf
microcontroller 8051 17.07.2023.pdfmicrocontroller 8051 17.07.2023.pdf
microcontroller 8051 17.07.2023.pdf
 
Chap 02[1]
Chap 02[1]Chap 02[1]
Chap 02[1]
 
Nodes and Networks for HPC computing
Nodes and Networks for HPC computingNodes and Networks for HPC computing
Nodes and Networks for HPC computing
 
Lec17 Intro to Computer Engineering by Hsien-Hsin Sean Lee Georgia Tech -- Me...
Lec17 Intro to Computer Engineering by Hsien-Hsin Sean Lee Georgia Tech -- Me...Lec17 Intro to Computer Engineering by Hsien-Hsin Sean Lee Georgia Tech -- Me...
Lec17 Intro to Computer Engineering by Hsien-Hsin Sean Lee Georgia Tech -- Me...
 
PIC Introduction and explained in detailed
PIC Introduction and explained in detailedPIC Introduction and explained in detailed
PIC Introduction and explained in detailed
 
unit-2.pptx
unit-2.pptxunit-2.pptx
unit-2.pptx
 
Arm architecture
Arm architectureArm architecture
Arm architecture
 
Lec05
Lec05Lec05
Lec05
 
Interfacing memory with 8086 microprocessor
Interfacing memory with 8086 microprocessorInterfacing memory with 8086 microprocessor
Interfacing memory with 8086 microprocessor
 
FPGA
FPGAFPGA
FPGA
 
Avr report
Avr reportAvr report
Avr report
 
Lecture 2 (system overview of c8051 f020) rv01
Lecture 2 (system overview of c8051 f020) rv01Lecture 2 (system overview of c8051 f020) rv01
Lecture 2 (system overview of c8051 f020) rv01
 
EC8392 -DIGITAL ELECTRONICS -II YEAR ECE-by S.SESHA VIDHYA /ASP/ ECE/ RMKCET
EC8392 -DIGITAL ELECTRONICS -II YEAR ECE-by S.SESHA VIDHYA /ASP/ ECE/ RMKCETEC8392 -DIGITAL ELECTRONICS -II YEAR ECE-by S.SESHA VIDHYA /ASP/ ECE/ RMKCET
EC8392 -DIGITAL ELECTRONICS -II YEAR ECE-by S.SESHA VIDHYA /ASP/ ECE/ RMKCET
 
Architecture of pentium family
Architecture of pentium familyArchitecture of pentium family
Architecture of pentium family
 

More from dennis gookyi

Hierachical structural modeling
Hierachical structural modelingHierachical structural modeling
Hierachical structural modeling
dennis gookyi
 
Finite state machines
Finite state machinesFinite state machines
Finite state machines
dennis gookyi
 

More from dennis gookyi (19)

Verilog hdl design examples
Verilog hdl design examplesVerilog hdl design examples
Verilog hdl design examples
 
Wishbone tutorials
Wishbone tutorialsWishbone tutorials
Wishbone tutorials
 
Verilog HDL Verification
Verilog HDL VerificationVerilog HDL Verification
Verilog HDL Verification
 
Synthesis
SynthesisSynthesis
Synthesis
 
System design methodology
System design methodologySystem design methodology
System design methodology
 
Wishbone classic bus cycle
Wishbone classic bus cycleWishbone classic bus cycle
Wishbone classic bus cycle
 
Wishbone interface and bus cycles
Wishbone interface and bus cyclesWishbone interface and bus cycles
Wishbone interface and bus cycles
 
Encoder decoder
Encoder decoderEncoder decoder
Encoder decoder
 
Advanced modeling techniques
Advanced modeling techniquesAdvanced modeling techniques
Advanced modeling techniques
 
4 bit add sub
4 bit add sub4 bit add sub
4 bit add sub
 
Hierachical structural modeling
Hierachical structural modelingHierachical structural modeling
Hierachical structural modeling
 
Behavioral modeling
Behavioral modelingBehavioral modeling
Behavioral modeling
 
Biosensors
BiosensorsBiosensors
Biosensors
 
structural modeling, hazards
structural modeling, hazardsstructural modeling, hazards
structural modeling, hazards
 
Verilog hdl
Verilog hdlVerilog hdl
Verilog hdl
 
Finite state machines
Finite state machinesFinite state machines
Finite state machines
 
test generation
test generationtest generation
test generation
 
faults in digital systems
faults in digital systemsfaults in digital systems
faults in digital systems
 
basic concepts of reliability
basic concepts of reliabilitybasic concepts of reliability
basic concepts of reliability
 

Recently uploaded

Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Dr.Costas Sachpazis
 
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
dharasingh5698
 
AKTU Computer Networks notes --- Unit 3.pdf
AKTU Computer Networks notes ---  Unit 3.pdfAKTU Computer Networks notes ---  Unit 3.pdf
AKTU Computer Networks notes --- Unit 3.pdf
ankushspencer015
 
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Christo Ananth
 

Recently uploaded (20)

Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
 
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service Nashik
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service NashikCall Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service Nashik
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service Nashik
 
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
 
UNIT-II FMM-Flow Through Circular Conduits
UNIT-II FMM-Flow Through Circular ConduitsUNIT-II FMM-Flow Through Circular Conduits
UNIT-II FMM-Flow Through Circular Conduits
 
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
 
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
 
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
 
AKTU Computer Networks notes --- Unit 3.pdf
AKTU Computer Networks notes ---  Unit 3.pdfAKTU Computer Networks notes ---  Unit 3.pdf
AKTU Computer Networks notes --- Unit 3.pdf
 
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
 
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete RecordCCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
 
Water Industry Process Automation & Control Monthly - April 2024
Water Industry Process Automation & Control Monthly - April 2024Water Industry Process Automation & Control Monthly - April 2024
Water Industry Process Automation & Control Monthly - April 2024
 
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINEDJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
 
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLSMANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
 
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur EscortsCall Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
 
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
 
BSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptx
BSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptxBSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptx
BSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptx
 
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
 
University management System project report..pdf
University management System project report..pdfUniversity management System project report..pdf
University management System project report..pdf
 
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
 
Extrusion Processes and Their Limitations
Extrusion Processes and Their LimitationsExtrusion Processes and Their Limitations
Extrusion Processes and Their Limitations
 

Design options for digital systems

  • 1. Design Options for Digital Systems Gookyi Dennis A. N. SoC Design Lab. August.05.2014
  • 2. Contents  ASIC Design Options  FPGA  PLDs 2
  • 3. Overview  The various design options for digital systems 3 Design options ASIC Full Custom Cell- based Gate- array- based Field Programmable PLDs ROM PAL PLA CPLDs FPGAs
  • 4. Hierarchical System Design  Digital system designers widely use a hierarchical structure to design digital systems  The essence is to partition the system into smaller independent sub-structures which combine to perform the same functionality as the original system  The design hierarchy can be classified into four level: System level Register transfer level Logic gate level Circuit level 4
  • 5. Hierarchical System Design  Differences in the various hierarchies 5 Design levels Operand size Processing time range(s) Logic devices System Bytes/byte blocks 10−3 𝑎𝑛𝑑 10−6 Microprocessors/ microcomputers, memory devices, timers RTL Bits/bytes 10−8 𝑎𝑛𝑑 10−9 Decoders, encoders, multiplexers, registers, counters Logic gate Bits 10−9 𝑎𝑛𝑑 10−11 Basic logic gates, flip-flops, latches circuit Bits 10−10 𝑎𝑛𝑑 10−12 MOSFETs, BJTs SB RB Q QB S G D G S D register register Combinational circuit mux CLK A CLK B X F 𝑉𝐷𝐷 RAM ROM Parallel I/O port DMA controller Clock microP SYSTEM LEVEL RTL LEVEL LOGIC LEVEL CIRCUIT LEVEL
  • 6. Design Options for Digital Systems  A variety of options are available for designing a given digital system  These options are used to: Reduce hardware size Reduce power consumption Increase system performance 6 Design options of digital systems ASIC Full-custom Cell-based Cell library Compiled macros (RAM/ROM/PLA) Platform IP Gate array microP/DSP Field-programmable devices PLD ROM PAL PLA FPGA CPLD
  • 7. Design Options for Digital Systems  Comparison of various design options in terms of time to market and cost 7 PLDs FPGAs, GAs Cell-based ASICs Full-custom ASICs Timetomarket,Cost Design flexibility, Process complexity, Density, speed, NRE cost
  • 8. Design Options for Digital Systems  Comparison of design options in terms of cost and design flexibility 8 cost Product volume FPGAs ASICs k GAs FPGAs CPLDs Cell-based ASICs Full-custom ASICs PLDs Designflexibility Easy to use Cost = NRE + Fixed + recurring NRE + fixed cost k = division of product volume
  • 9. ASIC Designs: Full-Custom Design  In full custom design, each transistor and its layout is designed carefully in order to achieve the best performance  Full custom offers highest performance and reduced area 9
  • 10. ASIC Designs: Cell-Based Design  Cell based design is composed of a set of predefined cells with layouts known as standard cells  The basic cell types of a typical cell library is as below 10 Standard cell types Variations Inverter/buffer/tristate buffer 1X, 2X, 4X, 8X, 16X NAND/AND gate 2 – 8 inputs NOR/OR gate 2 – 8 inputs XOR/XNOR gate 2 – 8 inputs MUX/deMUX 2 – 8 inputs Encoder/Decoder 2 – 16 inputs Schmitt trigger circuit Inverted/non-inverted output Latch/register/counter D/JK (sync/async clear/reset) I/O pad circuits I/O (tristate/bidirectional)
  • 11. ASIC Designs:  Full-custom vs Cell-based 11 Full Custom Cell Based Design from the scratch Predefined cells with layouts Sizes are customized Size of each cell is standard Space is reduced Requires much more space Performance is higher Performance is lower Productivity is reduced Improve productivity
  • 12. ASIC: Gate-Array-Based  Designer uses a library of standard cells  The design is mapped onto an array of transistors which is already created on a wafer 12
  • 13. ASIC Designs: Comparisons  Full-custom vs cell-based vs gate-array 13 Full-Custom Cell-Based Gate-Array Density Highest Medium Low Performance Highest Medium Low Design time Long Medium Short Chip dev. Cost High Medium Low testability Difficult Less difficult Easy
  • 14. Field Programmable devices: FPGA  The basic structure of an FPGA is composed of configurable logic blocks (CLBs) and interconnections as well as input/output blocks 14
  • 15. PLDs  Any combination of logic can be implemented with sum of product which is AND-OR implementation  PLD as a black box: 15 Inputs (logic variables) Outputs (logic functions) Logic gates and Programmable switches
  • 16. PLDs  General structure of PLDs:  Functionality table 16 Device AND-array OR-array ROM Fixed Programmable PAL Programmable Fixed PLA Programmable Programmable Input buffer and inverters AND Plane OR Plane X1 X1 X1’ Xn Xn’ Xn Pk P1 F1 Fk
  • 17. PLDs  To examine the essential difference among the various PLD devices, an implementation example is given  Implement the table below using ROM, PLA and PAL  Simplifying the table gives: 𝐹1 = 𝑥𝑦′ + 𝑥′ 𝑧 𝐹2 = 𝑦′ + 𝑥′ 𝑧 𝐹3 = 𝑥𝑦 + 𝑦′ 𝑧 17 x y z F1 F2 F3 0 0 0 0 1 0 0 0 1 1 1 1 0 1 0 0 0 0 0 1 1 1 1 0 1 0 0 1 1 0 1 0 1 1 1 1 1 1 0 0 0 1 0 1 1 0 0 1
  • 18. PLDs: ROM  Requirements: 18 Product term Inputs x y z Output function F1 F2 F3 x’y’z’ P1 0 0 0 - 1 - x’y’z P2 0 0 1 1 1 1 x’yz’ P3 0 1 0 - - - x’yz P4 0 1 1 1 1 - xy’z’ P5 1 0 0 1 1 - xy’z P6 1 0 1 1 1 1 xyz’ P7 1 1 0 - - 1 xyz P8 1 1 1 - - 1 X Y Z The AND array generates all minterms of the inputs and hence is fixed but the OR array is programmable to implement the required function P1 P8 P7 P6 P5 P4 P3 P2 F1 F3F2Fixed AND array Programmable OR array
  • 19. PLDs: PLA  Requirements: 19 Product term Inputs X y z output xy’ P1 1 0 - F1 x’z P2 0 - 1 F1, F2 y’ P3 - 0 - F2 xy P4 1 1 - F3 y’z P5 - 0 1 F3 X Y Z Common terms in the outputs are combined P1 P2 P3 P4 P5 F1 F2 F3 Programmable AND array Programmable OR array
  • 20. PLDs: PAL  Requirements: 20 Product term Inputs X y z Output xy’ P1 x’z P2 1 0 - 0 - 1 F1 y’ P3 x’z P4 - 0 - 0 - 1 F2 xy P5 y’z P6 1 1 - - 0 1 F3 X Y Z F1 F2 F3 P1 P2 P3 P4 P5 P6 Programmable AND array Fixed OR array OR gates do not share product terms
  • 21. Modeling ROM  Code and truth table for a 22 ∗ 4 𝑅𝑂𝑀 21 Input A1 A0 Output O1 O2 0 0 0 1 0 1 1 0 1 0 0 0 1 1 1 1
  • 22. Modeling ROM  RTL schematic 22