SlideShare a Scribd company logo
Digital Design Crash Course
Mohamed Rayan
Overview
 General discussion.

 Digital design brief history.
 Electronic Design Automation.
 Digital design flow.
General Discussion
 Difference between Sequential and Combinational Circuits?

 Memory elements are devices capable of storing binary information.
 The binary information stored in these elements at any given time defines the

state of the sequential circuit at that time.
 Combinational Circuits?

Q = fn ( A,b,c)

 E.g: Compartors, Muxes, Decoders, Adders, subtractors,

multipliers,…
 Signed binary numbers representation
 Signed magnitude(1-bit for sign only).
 1’s Complement(Inversion).
 2’s Complement(Inversion + increment 1).

+5 (0 101)
+5 (0 101)
+5 (0 101)

-5(1 101)
-5(1 010).
-5(1 011)
 Sequential logic circuits (with storage elements)

 Synchronous logic circuits :
1- Its behavior can be defined from the knowledge of its signals at
discrete instants of time.
2- Storage elements used here will have a change at the same time
e.g registers change with clock event
 Asynchronous logic circuits

(Combinational circuits with feed back):
1- Its behavior of an asynchronous sequential circuit depends upon the
input signals at any instant of time and the order in which the inputs
change.
2- storage elements commonly used in asynchronous sequential circuits
are time-delay devices e.g gate propagation delay.
 Synchronous Sequential logic circuits
Latches and Flip-Flops
 Latches (Level triggered):
 SR latch (May go to Meta stable state?!!)
Latches and Flip-Flops
 Latches(Level triggered):
 D-latch is the most commonly used to eliminate the undesirable

condition (Occurrence of Metstability) of the indeterminate state in the
SR latch is to ensure that inputs S and R are never equal to 0 at the
same time.
Latches and Flip-Flops
 Flip-Flops(Edge triggered):

 Using Flip-flops as a storage element makes the system more
reliable and maintain system robustness.
Output changes if and only if with the edge of Clock .
Latches and Flip-Flops
 Flip-Flops(Edge triggered):
 Why we use Flip-Flops and not to use latches?

1- Latches are level triggered but Flip-Flops are edge triggered.
 Latches are just timing delays in Asynchronous sequential circuit
and hence they are used in a circuit to adjusts delays between
different paths for the required circuit functionality taking into
consideration propagation delays of every single gate that form
combinational circuit , So Designing a circuit using latches is so
difficult.
 Flip-Flops are edge triggered so all outputs are changing at the same
time with the occurrence of certain event which is the clock edge
taking into consideration the frequency of this clock and this is
function in longest path in the circuit , So Designing a circuit using
flip-flops will be more easier.
 Why we use Flip-Flops and not to use latches?
2- Using latches lead to un-relaible circuits .
 A sequential circuit has a feedback path from the outputs of storage element to the
input of the combinational circuit. Consequently, the inputs of the storage element
are derived in part from the outputs of the same and other storage element. When
latches are used for the storage elements, a serious difficulty arises. The state
transitions of the latches start as soon as the clock pulse changes to the logic-1 level.
The new state of a latch appears at the output while the pulse is still active. This
output is connected to the inputs of the latches through the combinational circuit.
If the inputs applied to the latches change while the clock pulse is still at the logic-1
level, the latches will respond to new values and a new output state may occur. The
result is an unpredictable situation, since the state of the latches may keep changing
for as long as the clock pulse stays at the active level. Because of this unreliable
operation, the output of a latch cannot be applied directly or through combinational
logic to the input of the same or another latch when all the latches are triggered by
a common clock source.
3- Simulation tools can’t track outputs of Asynchronous circuits i.e Latches
Latches and Flip-Flops
 Comparison between Latches and Flip-flops

Parameter

Latches

Flip-Flops

Area

Less

More

Glitches prone

More

Less

Output Response

Doesn’t wait to an an event i.e when input
changes output will change directly

Output change according
to an input when an an
event occurs

Simulation Tool

Not Supported

Supported

Constraints

Don’t have clock constraint but delays of
combinational circuit must be fixed to ensure
reliable operation

Having clock constraint

 From the previous table we conclude that Flip-Flops is more robust than latches so it

is commonly used .
Registers and Counters
 Register

 A register is a group of flip‐flops, each one of which shares a

common clock.

 Register with Parallel load and Shift register?
Registers and Counters
 Counter
 is essentially a register that goes through a predetermined sequence
of binary states.
The gates is combinational logic used with register to do this sequence.
are a special type of register .
Synchronous and Asynchronous
Reset
 Reset

 Is to force the system to a known state.
 Is required to initialize a hardware design.
 Simply changes the state of device/design to a user/designer
defined state.
 There are two types of reset : (Synchronous and Asynchronous reset)
We can’t expect any Sequential Circuit without reset.
Synchronous and Asynchronous
Reset
Synchronous Reset
Reset is sampled with respect to clock

Asynchronous Reset
Reset is sampled with no respect to clock

Synchronous reset requires more gates to Asynchronous reset requires less gates to
implement (see the example below)
implement (see the example below)
Synchronous reset requires clock to be
active always

Asynchronous reset does not require
clock to be always active

Synchronous reset does not have
metastability problems.

Asynchronous reset suffer from
metastability problems.

Synchronous reset is slow

Asynchronous reset is fast
Brief History
Brief History
 Digital circuit design has evolved rapidly over the last 25
years .
 Human always Seeks for Comfort and luxury and try to
develop in everything to reach for these  .
 This leads to exponential progress in Specs and
Requirements of digital systems lead increasing in area,
spead and complexity of designs.
E.g: Digital cameras, high-definition TV, wireless phone,
smart home, smart cars…
Brief History
Brief History
 Digital ICs are often categorized according to the complexity
of their circuits, as measured by the number of logic gates in a
single package.
SSI (small scale of integration) The number of gates is usually
fewer than 10 and is limited by the number of
pins available in the IC.
Brief History
MSI (medium scale of integration) have a complexity of
approximately 10 to 1,000 gates in a single package.
Brief History
LSI (Large scale of Integration) devices contain
thousands of gates in a single package. They include
digital systems such as processors and memory chips.
Brief History
VLSI (Very Large scale of Integration) devices now contain
millions of gates within a single package. Examples are large
memory arrays and complex microcomputer chips.
Electronic Design Automation (EDA)
Electronic Design Automation
As we said that we may have single chip having hundred
thousands of gates, so design processes started getting
very complicated, Automated Process is a must.
Traditional schematic-based design has no longer enough
towards these design complexities.
EDA covers all phases of the design of integrated
Circuits using computer‐aided design (CAD) tools,
which consist of software programs that support
computer‐based representations of circuits and aid in the
development of digital hardware by automating the
design process.
Electronic Design Automation
• Importance of HDLs

(Hardware Description/Modeling)

 Designs can be described at a very abstract level by use
of HDLs .
 To any abstracted level we can design?
Ans: (according too the ability of the tool).
 Difference between Writing code for modeling H/W
and S/W e.g C++ ?
 Designers can write their RTL description without
choosing a specific fabrication technology.
 Logic synthesis tools can automatically convert the
design to any fabrication technology.
 If a new technology emerges, designers do not need to
redesign their circuit.
Electronic Design Automation
• Logic Synthesis
(Hardware Compiler but not flexible as C/C++ Compiler )
Digital Design Flow
Digital Design Flow
Design Specs
Behavioral Description
RTL Description (HDL)
Functional Verification
and Testing

e.g algorithm needs to be implemented

Description for Functionality of the design and
the interface of it with the whole system
(inputs and outputs)
Design The RTL and Write the verilog code that
implement this design according
Specs and Interface
Compile Verilog files and make testbench to verify
your design and start verification
Usually 50 – 60% of cycle time

Logic Synthesis (S/W)
Place and Route
Physical Layout
Fabrication

Place the gates in the chip and make
possible and suitable routing between them
thanks

More Related Content

What's hot

Session 6 sv_randomization
Session 6 sv_randomizationSession 6 sv_randomization
Session 6 sv_randomizationNirav Desai
 
Verilog data types -For beginners
Verilog data types -For beginnersVerilog data types -For beginners
Verilog data types -For beginners
Dr.YNM
 
Coverage and Introduction to UVM
Coverage and Introduction to UVMCoverage and Introduction to UVM
Coverage and Introduction to UVM
Dr. Shivananda Koteshwar
 
Cracking Digital VLSI Verification Interview: Interview Success
Cracking Digital VLSI Verification Interview: Interview SuccessCracking Digital VLSI Verification Interview: Interview Success
Cracking Digital VLSI Verification Interview: Interview Success
Ramdas Mozhikunnath
 
Verilog HDL
Verilog HDLVerilog HDL
Verilog HDL
Mantra VLSI
 
Challenges in Using UVM at SoC Level
Challenges in Using UVM at SoC LevelChallenges in Using UVM at SoC Level
Challenges in Using UVM at SoC LevelDVClub
 
UVM Methodology Tutorial
UVM Methodology TutorialUVM Methodology Tutorial
UVM Methodology Tutorial
Arrow Devices
 
verilog
verilogverilog
System verilog verification building blocks
System verilog verification building blocksSystem verilog verification building blocks
System verilog verification building blocksNirav Desai
 
Session 9 advance_verification_features
Session 9 advance_verification_featuresSession 9 advance_verification_features
Session 9 advance_verification_featuresNirav Desai
 
VHDL- gate level modelling
VHDL- gate level modellingVHDL- gate level modelling
VHDL- gate level modelling
VandanaPagar1
 
Verilog tutorial
Verilog tutorialVerilog tutorial
Verilog tutorial
Maryala Srinivas
 
digital electronics Design of 101 sequence detector without overlapping for...
digital  electronics Design of 101 sequence detector without  overlapping for...digital  electronics Design of 101 sequence detector without  overlapping for...
digital electronics Design of 101 sequence detector without overlapping for...
sanjay kumar pediredla
 
Vlsi Synthesis
Vlsi SynthesisVlsi Synthesis
Vlsi Synthesis
SIVA NAGENDRA REDDY
 
Verilog presentation final
Verilog presentation finalVerilog presentation final
Verilog presentation final
Ankur Gupta
 
Verilog Tutorial - Verilog HDL Tutorial with Examples
Verilog Tutorial - Verilog HDL Tutorial with ExamplesVerilog Tutorial - Verilog HDL Tutorial with Examples
Verilog Tutorial - Verilog HDL Tutorial with Examples
E2MATRIX
 
DSP Processor.pptx
DSP Processor.pptxDSP Processor.pptx
DSP Processor.pptx
AswathSelvaraj
 
SystemVerilog OOP Ovm Features Summary
SystemVerilog OOP Ovm Features SummarySystemVerilog OOP Ovm Features Summary
SystemVerilog OOP Ovm Features Summary
Amal Khailtash
 
System verilog control flow
System verilog control flowSystem verilog control flow
System verilog control flow
Pushpa Yakkala
 
Verification of amba axi bus protocol implementing incr and wrap burst using ...
Verification of amba axi bus protocol implementing incr and wrap burst using ...Verification of amba axi bus protocol implementing incr and wrap burst using ...
Verification of amba axi bus protocol implementing incr and wrap burst using ...
eSAT Journals
 

What's hot (20)

Session 6 sv_randomization
Session 6 sv_randomizationSession 6 sv_randomization
Session 6 sv_randomization
 
Verilog data types -For beginners
Verilog data types -For beginnersVerilog data types -For beginners
Verilog data types -For beginners
 
Coverage and Introduction to UVM
Coverage and Introduction to UVMCoverage and Introduction to UVM
Coverage and Introduction to UVM
 
Cracking Digital VLSI Verification Interview: Interview Success
Cracking Digital VLSI Verification Interview: Interview SuccessCracking Digital VLSI Verification Interview: Interview Success
Cracking Digital VLSI Verification Interview: Interview Success
 
Verilog HDL
Verilog HDLVerilog HDL
Verilog HDL
 
Challenges in Using UVM at SoC Level
Challenges in Using UVM at SoC LevelChallenges in Using UVM at SoC Level
Challenges in Using UVM at SoC Level
 
UVM Methodology Tutorial
UVM Methodology TutorialUVM Methodology Tutorial
UVM Methodology Tutorial
 
verilog
verilogverilog
verilog
 
System verilog verification building blocks
System verilog verification building blocksSystem verilog verification building blocks
System verilog verification building blocks
 
Session 9 advance_verification_features
Session 9 advance_verification_featuresSession 9 advance_verification_features
Session 9 advance_verification_features
 
VHDL- gate level modelling
VHDL- gate level modellingVHDL- gate level modelling
VHDL- gate level modelling
 
Verilog tutorial
Verilog tutorialVerilog tutorial
Verilog tutorial
 
digital electronics Design of 101 sequence detector without overlapping for...
digital  electronics Design of 101 sequence detector without  overlapping for...digital  electronics Design of 101 sequence detector without  overlapping for...
digital electronics Design of 101 sequence detector without overlapping for...
 
Vlsi Synthesis
Vlsi SynthesisVlsi Synthesis
Vlsi Synthesis
 
Verilog presentation final
Verilog presentation finalVerilog presentation final
Verilog presentation final
 
Verilog Tutorial - Verilog HDL Tutorial with Examples
Verilog Tutorial - Verilog HDL Tutorial with ExamplesVerilog Tutorial - Verilog HDL Tutorial with Examples
Verilog Tutorial - Verilog HDL Tutorial with Examples
 
DSP Processor.pptx
DSP Processor.pptxDSP Processor.pptx
DSP Processor.pptx
 
SystemVerilog OOP Ovm Features Summary
SystemVerilog OOP Ovm Features SummarySystemVerilog OOP Ovm Features Summary
SystemVerilog OOP Ovm Features Summary
 
System verilog control flow
System verilog control flowSystem verilog control flow
System verilog control flow
 
Verification of amba axi bus protocol implementing incr and wrap burst using ...
Verification of amba axi bus protocol implementing incr and wrap burst using ...Verification of amba axi bus protocol implementing incr and wrap burst using ...
Verification of amba axi bus protocol implementing incr and wrap burst using ...
 

Viewers also liked

Usb 72213 76207
Usb 72213 76207Usb 72213 76207
Usb 72213 76207
Muruly Krishan
 
Database mirroring setup
Database mirroring setupDatabase mirroring setup
Database mirroring setup
K Singh
 
Linux Sürücü Geliştirme (Linux Device Driver Development)
Linux Sürücü Geliştirme (Linux Device Driver Development)Linux Sürücü Geliştirme (Linux Device Driver Development)
Linux Sürücü Geliştirme (Linux Device Driver Development)
kyasar
 
Automating Analysis and Exploitation of Embedded Device Firmware
Automating Analysis and Exploitation of Embedded Device FirmwareAutomating Analysis and Exploitation of Embedded Device Firmware
Automating Analysis and Exploitation of Embedded Device Firmware
Malachi Jones
 
Design Of A Usb Device Driver (Overview)
Design Of A Usb Device Driver (Overview)Design Of A Usb Device Driver (Overview)
Design Of A Usb Device Driver (Overview)
allankliu
 
BeagleBone Black Using Python
BeagleBone Black Using PythonBeagleBone Black Using Python
BeagleBone Black Using Python
Sai Viswanath
 
An Overview Study on USB OTG Device ISP1761
An Overview Study on USB OTG Device ISP1761An Overview Study on USB OTG Device ISP1761
An Overview Study on USB OTG Device ISP1761
Premier Farnell
 
Android device driver structure introduction
Android device driver structure introductionAndroid device driver structure introduction
Android device driver structure introduction
William Liang
 
Introduction to embedded linux device driver and firmware
Introduction to embedded linux device driver and firmwareIntroduction to embedded linux device driver and firmware
Introduction to embedded linux device driver and firmwaredefinecareer
 
Introduction to char device driver
Introduction to char device driverIntroduction to char device driver
Introduction to char device driver
Vandana Salve
 
Sequential circuits in digital logic design
Sequential circuits in digital logic designSequential circuits in digital logic design
Sequential circuits in digital logic design
Nallapati Anindra
 
Device Drivers
Device DriversDevice Drivers
Device Drivers
Kushal Modi
 
Embedded C
Embedded CEmbedded C
Latches and flip flops
Latches and flip flopsLatches and flip flops
Latches and flip flops
mubashir farooq
 
Linux device drivers
Linux device drivers Linux device drivers
USB Drivers
USB DriversUSB Drivers
USB Drivers
Anil Kumar Pugalia
 
Device Drivers
Device DriversDevice Drivers
Device Drivers
Suhas S R
 
Chapter 4 flip flop for students
Chapter 4 flip flop for studentsChapter 4 flip flop for students
Chapter 4 flip flop for studentsCT Sabariah Salihin
 

Viewers also liked (20)

Usb 72213 76207
Usb 72213 76207Usb 72213 76207
Usb 72213 76207
 
Database mirroring setup
Database mirroring setupDatabase mirroring setup
Database mirroring setup
 
Linux Sürücü Geliştirme (Linux Device Driver Development)
Linux Sürücü Geliştirme (Linux Device Driver Development)Linux Sürücü Geliştirme (Linux Device Driver Development)
Linux Sürücü Geliştirme (Linux Device Driver Development)
 
Automating Analysis and Exploitation of Embedded Device Firmware
Automating Analysis and Exploitation of Embedded Device FirmwareAutomating Analysis and Exploitation of Embedded Device Firmware
Automating Analysis and Exploitation of Embedded Device Firmware
 
Design Of A Usb Device Driver (Overview)
Design Of A Usb Device Driver (Overview)Design Of A Usb Device Driver (Overview)
Design Of A Usb Device Driver (Overview)
 
BeagleBone Black Using Python
BeagleBone Black Using PythonBeagleBone Black Using Python
BeagleBone Black Using Python
 
An Overview Study on USB OTG Device ISP1761
An Overview Study on USB OTG Device ISP1761An Overview Study on USB OTG Device ISP1761
An Overview Study on USB OTG Device ISP1761
 
Android device driver structure introduction
Android device driver structure introductionAndroid device driver structure introduction
Android device driver structure introduction
 
Usb Overview
Usb OverviewUsb Overview
Usb Overview
 
Introduction to embedded linux device driver and firmware
Introduction to embedded linux device driver and firmwareIntroduction to embedded linux device driver and firmware
Introduction to embedded linux device driver and firmware
 
Introduction to char device driver
Introduction to char device driverIntroduction to char device driver
Introduction to char device driver
 
Sequential circuits in digital logic design
Sequential circuits in digital logic designSequential circuits in digital logic design
Sequential circuits in digital logic design
 
Device Drivers
Device DriversDevice Drivers
Device Drivers
 
Embedded C
Embedded CEmbedded C
Embedded C
 
Latches and flip flops
Latches and flip flopsLatches and flip flops
Latches and flip flops
 
Linux device drivers
Linux device drivers Linux device drivers
Linux device drivers
 
PCI Drivers
PCI DriversPCI Drivers
PCI Drivers
 
USB Drivers
USB DriversUSB Drivers
USB Drivers
 
Device Drivers
Device DriversDevice Drivers
Device Drivers
 
Chapter 4 flip flop for students
Chapter 4 flip flop for studentsChapter 4 flip flop for students
Chapter 4 flip flop for students
 

Similar to Intro

Ch 1 overview
Ch 1 overviewCh 1 overview
Ch 1 overview
Er Ankita Kapoor
 
Cse iii-logic design [10 cs33]-notes
Cse iii-logic design [10 cs33]-notesCse iii-logic design [10 cs33]-notes
Cse iii-logic design [10 cs33]-notes
Omprakash BV
 
Introduction to flipflops basic of elctronics COA.pptx
Introduction to flipflops basic of elctronics COA.pptxIntroduction to flipflops basic of elctronics COA.pptx
Introduction to flipflops basic of elctronics COA.pptx
Saini71
 
PERFORMANCE ANALYSIS OF D-FLIP FLOP USING CMOS, GDI, DSTC TECHNIQUES
PERFORMANCE ANALYSIS OF D-FLIP FLOP USING CMOS, GDI, DSTC TECHNIQUESPERFORMANCE ANALYSIS OF D-FLIP FLOP USING CMOS, GDI, DSTC TECHNIQUES
PERFORMANCE ANALYSIS OF D-FLIP FLOP USING CMOS, GDI, DSTC TECHNIQUES
IRJET Journal
 
[IJET-V1I3P5] Authors :Dushyant Kumar Soni, Ashish Hiradhar
[IJET-V1I3P5] Authors :Dushyant Kumar Soni, Ashish Hiradhar[IJET-V1I3P5] Authors :Dushyant Kumar Soni, Ashish Hiradhar
[IJET-V1I3P5] Authors :Dushyant Kumar Soni, Ashish Hiradhar
IJET - International Journal of Engineering and Techniques
 
Coa presentation2
Coa presentation2Coa presentation2
Coa presentation2
rickypatel151
 
Design of -- Two phase non overlapping low frequency clock generator using Ca...
Design of -- Two phase non overlapping low frequency clock generator using Ca...Design of -- Two phase non overlapping low frequency clock generator using Ca...
Design of -- Two phase non overlapping low frequency clock generator using Ca...
Prashantkumar R
 
Sequential circuit design
Sequential circuit designSequential circuit design
Sequential circuit design
Satya P. Joshi
 
chapter1.pptx digital logic design for electrical engineering
chapter1.pptx digital logic design for electrical engineeringchapter1.pptx digital logic design for electrical engineering
chapter1.pptx digital logic design for electrical engineering
MidhaksaBelay
 
Electronica digital aplicada
Electronica digital aplicadaElectronica digital aplicada
Electronica digital aplicada
Adina Georgiana
 
Circuitrix@Pragyan 2015 NITT
Circuitrix@Pragyan 2015 NITTCircuitrix@Pragyan 2015 NITT
Circuitrix@Pragyan 2015 NITT
Srivignessh Pss
 
Design and implementation of synchronous 4 bit up counter using 180 nm cmos p...
Design and implementation of synchronous 4 bit up counter using 180 nm cmos p...Design and implementation of synchronous 4 bit up counter using 180 nm cmos p...
Design and implementation of synchronous 4 bit up counter using 180 nm cmos p...
eSAT Publishing House
 
ASIC DESIGN OF MINI-STEREO DIGITAL AUDIO PROCESSOR UNDER SMIC 180NM TECHNOLOGY
ASIC DESIGN OF MINI-STEREO DIGITAL AUDIO PROCESSOR UNDER SMIC 180NM TECHNOLOGYASIC DESIGN OF MINI-STEREO DIGITAL AUDIO PROCESSOR UNDER SMIC 180NM TECHNOLOGY
ASIC DESIGN OF MINI-STEREO DIGITAL AUDIO PROCESSOR UNDER SMIC 180NM TECHNOLOGY
Ilango Jeyasubramanian
 
DE Unit1-3-13 (1).pdf
DE Unit1-3-13 (1).pdfDE Unit1-3-13 (1).pdf
DE Unit1-3-13 (1).pdf
SRINIVASNECESTAFF
 
Introduction to Digital Electronics & What we will study.ppt
Introduction to Digital Electronics & What we will study.pptIntroduction to Digital Electronics & What we will study.ppt
Introduction to Digital Electronics & What we will study.ppt
GauravKumarDas5
 
Gate level-design-of-a-digital-clock
Gate level-design-of-a-digital-clockGate level-design-of-a-digital-clock
Gate level-design-of-a-digital-clock
Andrei-Valerian Iftime
 
Low Power VLSI Designs
Low Power VLSI DesignsLow Power VLSI Designs
Low Power VLSI Designs
Mahesh Dananjaya
 
VLSI Power in a Nutshell
VLSI Power in a NutshellVLSI Power in a Nutshell
VLSI Power in a Nutshell
Mahesh Dananjaya
 
Vlsi
VlsiVlsi

Similar to Intro (20)

Ch 1 overview
Ch 1 overviewCh 1 overview
Ch 1 overview
 
Cse iii-logic design [10 cs33]-notes
Cse iii-logic design [10 cs33]-notesCse iii-logic design [10 cs33]-notes
Cse iii-logic design [10 cs33]-notes
 
Introduction to flipflops basic of elctronics COA.pptx
Introduction to flipflops basic of elctronics COA.pptxIntroduction to flipflops basic of elctronics COA.pptx
Introduction to flipflops basic of elctronics COA.pptx
 
PERFORMANCE ANALYSIS OF D-FLIP FLOP USING CMOS, GDI, DSTC TECHNIQUES
PERFORMANCE ANALYSIS OF D-FLIP FLOP USING CMOS, GDI, DSTC TECHNIQUESPERFORMANCE ANALYSIS OF D-FLIP FLOP USING CMOS, GDI, DSTC TECHNIQUES
PERFORMANCE ANALYSIS OF D-FLIP FLOP USING CMOS, GDI, DSTC TECHNIQUES
 
[IJET-V1I3P5] Authors :Dushyant Kumar Soni, Ashish Hiradhar
[IJET-V1I3P5] Authors :Dushyant Kumar Soni, Ashish Hiradhar[IJET-V1I3P5] Authors :Dushyant Kumar Soni, Ashish Hiradhar
[IJET-V1I3P5] Authors :Dushyant Kumar Soni, Ashish Hiradhar
 
Coa presentation2
Coa presentation2Coa presentation2
Coa presentation2
 
Design of -- Two phase non overlapping low frequency clock generator using Ca...
Design of -- Two phase non overlapping low frequency clock generator using Ca...Design of -- Two phase non overlapping low frequency clock generator using Ca...
Design of -- Two phase non overlapping low frequency clock generator using Ca...
 
Sequential circuit design
Sequential circuit designSequential circuit design
Sequential circuit design
 
chapter1.pptx digital logic design for electrical engineering
chapter1.pptx digital logic design for electrical engineeringchapter1.pptx digital logic design for electrical engineering
chapter1.pptx digital logic design for electrical engineering
 
Electronica digital aplicada
Electronica digital aplicadaElectronica digital aplicada
Electronica digital aplicada
 
Circuitrix@Pragyan 2015 NITT
Circuitrix@Pragyan 2015 NITTCircuitrix@Pragyan 2015 NITT
Circuitrix@Pragyan 2015 NITT
 
Design and implementation of synchronous 4 bit up counter using 180 nm cmos p...
Design and implementation of synchronous 4 bit up counter using 180 nm cmos p...Design and implementation of synchronous 4 bit up counter using 180 nm cmos p...
Design and implementation of synchronous 4 bit up counter using 180 nm cmos p...
 
nikhil.pptx
nikhil.pptxnikhil.pptx
nikhil.pptx
 
ASIC DESIGN OF MINI-STEREO DIGITAL AUDIO PROCESSOR UNDER SMIC 180NM TECHNOLOGY
ASIC DESIGN OF MINI-STEREO DIGITAL AUDIO PROCESSOR UNDER SMIC 180NM TECHNOLOGYASIC DESIGN OF MINI-STEREO DIGITAL AUDIO PROCESSOR UNDER SMIC 180NM TECHNOLOGY
ASIC DESIGN OF MINI-STEREO DIGITAL AUDIO PROCESSOR UNDER SMIC 180NM TECHNOLOGY
 
DE Unit1-3-13 (1).pdf
DE Unit1-3-13 (1).pdfDE Unit1-3-13 (1).pdf
DE Unit1-3-13 (1).pdf
 
Introduction to Digital Electronics & What we will study.ppt
Introduction to Digital Electronics & What we will study.pptIntroduction to Digital Electronics & What we will study.ppt
Introduction to Digital Electronics & What we will study.ppt
 
Gate level-design-of-a-digital-clock
Gate level-design-of-a-digital-clockGate level-design-of-a-digital-clock
Gate level-design-of-a-digital-clock
 
Low Power VLSI Designs
Low Power VLSI DesignsLow Power VLSI Designs
Low Power VLSI Designs
 
VLSI Power in a Nutshell
VLSI Power in a NutshellVLSI Power in a Nutshell
VLSI Power in a Nutshell
 
Vlsi
VlsiVlsi
Vlsi
 

Recently uploaded

CACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdfCACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdf
camakaiclarkmusic
 
Language Across the Curriculm LAC B.Ed.
Language Across the  Curriculm LAC B.Ed.Language Across the  Curriculm LAC B.Ed.
Language Across the Curriculm LAC B.Ed.
Atul Kumar Singh
 
Supporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptxSupporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptx
Jisc
 
Lapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdfLapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdf
Jean Carlos Nunes Paixão
 
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
Levi Shapiro
 
1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx
JosvitaDsouza2
 
Chapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptxChapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptx
Mohd Adib Abd Muin, Senior Lecturer at Universiti Utara Malaysia
 
678020731-Sumas-y-Restas-Para-Colorear.pdf
678020731-Sumas-y-Restas-Para-Colorear.pdf678020731-Sumas-y-Restas-Para-Colorear.pdf
678020731-Sumas-y-Restas-Para-Colorear.pdf
CarlosHernanMontoyab2
 
The French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free downloadThe French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free download
Vivekanand Anglo Vedic Academy
 
Thesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.pptThesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.ppt
EverAndrsGuerraGuerr
 
Introduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp NetworkIntroduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp Network
TechSoup
 
Digital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and ResearchDigital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and Research
Vikramjit Singh
 
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdfAdversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
Po-Chuan Chen
 
Biological Screening of Herbal Drugs in detailed.
Biological Screening of Herbal Drugs in detailed.Biological Screening of Herbal Drugs in detailed.
Biological Screening of Herbal Drugs in detailed.
Ashokrao Mane college of Pharmacy Peth-Vadgaon
 
Guidance_and_Counselling.pdf B.Ed. 4th Semester
Guidance_and_Counselling.pdf B.Ed. 4th SemesterGuidance_and_Counselling.pdf B.Ed. 4th Semester
Guidance_and_Counselling.pdf B.Ed. 4th Semester
Atul Kumar Singh
 
Unit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdfUnit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdf
Thiyagu K
 
Overview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with MechanismOverview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with Mechanism
DeeptiGupta154
 
How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17
Celine George
 
Acetabularia Information For Class 9 .docx
Acetabularia Information For Class 9  .docxAcetabularia Information For Class 9  .docx
Acetabularia Information For Class 9 .docx
vaibhavrinwa19
 
Unit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdfUnit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdf
Thiyagu K
 

Recently uploaded (20)

CACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdfCACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdf
 
Language Across the Curriculm LAC B.Ed.
Language Across the  Curriculm LAC B.Ed.Language Across the  Curriculm LAC B.Ed.
Language Across the Curriculm LAC B.Ed.
 
Supporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptxSupporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptx
 
Lapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdfLapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdf
 
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
 
1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx
 
Chapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptxChapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptx
 
678020731-Sumas-y-Restas-Para-Colorear.pdf
678020731-Sumas-y-Restas-Para-Colorear.pdf678020731-Sumas-y-Restas-Para-Colorear.pdf
678020731-Sumas-y-Restas-Para-Colorear.pdf
 
The French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free downloadThe French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free download
 
Thesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.pptThesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.ppt
 
Introduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp NetworkIntroduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp Network
 
Digital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and ResearchDigital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and Research
 
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdfAdversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
 
Biological Screening of Herbal Drugs in detailed.
Biological Screening of Herbal Drugs in detailed.Biological Screening of Herbal Drugs in detailed.
Biological Screening of Herbal Drugs in detailed.
 
Guidance_and_Counselling.pdf B.Ed. 4th Semester
Guidance_and_Counselling.pdf B.Ed. 4th SemesterGuidance_and_Counselling.pdf B.Ed. 4th Semester
Guidance_and_Counselling.pdf B.Ed. 4th Semester
 
Unit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdfUnit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdf
 
Overview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with MechanismOverview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with Mechanism
 
How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17
 
Acetabularia Information For Class 9 .docx
Acetabularia Information For Class 9  .docxAcetabularia Information For Class 9  .docx
Acetabularia Information For Class 9 .docx
 
Unit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdfUnit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdf
 

Intro

  • 1. Digital Design Crash Course Mohamed Rayan
  • 2. Overview  General discussion.  Digital design brief history.  Electronic Design Automation.  Digital design flow.
  • 4.  Difference between Sequential and Combinational Circuits?  Memory elements are devices capable of storing binary information.  The binary information stored in these elements at any given time defines the state of the sequential circuit at that time.
  • 5.  Combinational Circuits? Q = fn ( A,b,c)  E.g: Compartors, Muxes, Decoders, Adders, subtractors, multipliers,…
  • 6.  Signed binary numbers representation  Signed magnitude(1-bit for sign only).  1’s Complement(Inversion).  2’s Complement(Inversion + increment 1). +5 (0 101) +5 (0 101) +5 (0 101) -5(1 101) -5(1 010). -5(1 011)
  • 7.  Sequential logic circuits (with storage elements)  Synchronous logic circuits : 1- Its behavior can be defined from the knowledge of its signals at discrete instants of time. 2- Storage elements used here will have a change at the same time e.g registers change with clock event  Asynchronous logic circuits (Combinational circuits with feed back): 1- Its behavior of an asynchronous sequential circuit depends upon the input signals at any instant of time and the order in which the inputs change. 2- storage elements commonly used in asynchronous sequential circuits are time-delay devices e.g gate propagation delay.
  • 8.  Synchronous Sequential logic circuits
  • 9. Latches and Flip-Flops  Latches (Level triggered):  SR latch (May go to Meta stable state?!!)
  • 10. Latches and Flip-Flops  Latches(Level triggered):  D-latch is the most commonly used to eliminate the undesirable condition (Occurrence of Metstability) of the indeterminate state in the SR latch is to ensure that inputs S and R are never equal to 0 at the same time.
  • 11. Latches and Flip-Flops  Flip-Flops(Edge triggered):  Using Flip-flops as a storage element makes the system more reliable and maintain system robustness. Output changes if and only if with the edge of Clock .
  • 12. Latches and Flip-Flops  Flip-Flops(Edge triggered):
  • 13.  Why we use Flip-Flops and not to use latches? 1- Latches are level triggered but Flip-Flops are edge triggered.  Latches are just timing delays in Asynchronous sequential circuit and hence they are used in a circuit to adjusts delays between different paths for the required circuit functionality taking into consideration propagation delays of every single gate that form combinational circuit , So Designing a circuit using latches is so difficult.  Flip-Flops are edge triggered so all outputs are changing at the same time with the occurrence of certain event which is the clock edge taking into consideration the frequency of this clock and this is function in longest path in the circuit , So Designing a circuit using flip-flops will be more easier.
  • 14.  Why we use Flip-Flops and not to use latches? 2- Using latches lead to un-relaible circuits .  A sequential circuit has a feedback path from the outputs of storage element to the input of the combinational circuit. Consequently, the inputs of the storage element are derived in part from the outputs of the same and other storage element. When latches are used for the storage elements, a serious difficulty arises. The state transitions of the latches start as soon as the clock pulse changes to the logic-1 level. The new state of a latch appears at the output while the pulse is still active. This output is connected to the inputs of the latches through the combinational circuit. If the inputs applied to the latches change while the clock pulse is still at the logic-1 level, the latches will respond to new values and a new output state may occur. The result is an unpredictable situation, since the state of the latches may keep changing for as long as the clock pulse stays at the active level. Because of this unreliable operation, the output of a latch cannot be applied directly or through combinational logic to the input of the same or another latch when all the latches are triggered by a common clock source. 3- Simulation tools can’t track outputs of Asynchronous circuits i.e Latches
  • 15. Latches and Flip-Flops  Comparison between Latches and Flip-flops Parameter Latches Flip-Flops Area Less More Glitches prone More Less Output Response Doesn’t wait to an an event i.e when input changes output will change directly Output change according to an input when an an event occurs Simulation Tool Not Supported Supported Constraints Don’t have clock constraint but delays of combinational circuit must be fixed to ensure reliable operation Having clock constraint  From the previous table we conclude that Flip-Flops is more robust than latches so it is commonly used .
  • 16. Registers and Counters  Register  A register is a group of flip‐flops, each one of which shares a common clock.  Register with Parallel load and Shift register?
  • 17. Registers and Counters  Counter  is essentially a register that goes through a predetermined sequence of binary states. The gates is combinational logic used with register to do this sequence. are a special type of register .
  • 18. Synchronous and Asynchronous Reset  Reset  Is to force the system to a known state.  Is required to initialize a hardware design.  Simply changes the state of device/design to a user/designer defined state.  There are two types of reset : (Synchronous and Asynchronous reset) We can’t expect any Sequential Circuit without reset.
  • 19. Synchronous and Asynchronous Reset Synchronous Reset Reset is sampled with respect to clock Asynchronous Reset Reset is sampled with no respect to clock Synchronous reset requires more gates to Asynchronous reset requires less gates to implement (see the example below) implement (see the example below) Synchronous reset requires clock to be active always Asynchronous reset does not require clock to be always active Synchronous reset does not have metastability problems. Asynchronous reset suffer from metastability problems. Synchronous reset is slow Asynchronous reset is fast
  • 21. Brief History  Digital circuit design has evolved rapidly over the last 25 years .  Human always Seeks for Comfort and luxury and try to develop in everything to reach for these  .  This leads to exponential progress in Specs and Requirements of digital systems lead increasing in area, spead and complexity of designs. E.g: Digital cameras, high-definition TV, wireless phone, smart home, smart cars…
  • 23. Brief History  Digital ICs are often categorized according to the complexity of their circuits, as measured by the number of logic gates in a single package. SSI (small scale of integration) The number of gates is usually fewer than 10 and is limited by the number of pins available in the IC.
  • 24. Brief History MSI (medium scale of integration) have a complexity of approximately 10 to 1,000 gates in a single package.
  • 25. Brief History LSI (Large scale of Integration) devices contain thousands of gates in a single package. They include digital systems such as processors and memory chips.
  • 26. Brief History VLSI (Very Large scale of Integration) devices now contain millions of gates within a single package. Examples are large memory arrays and complex microcomputer chips.
  • 28. Electronic Design Automation As we said that we may have single chip having hundred thousands of gates, so design processes started getting very complicated, Automated Process is a must. Traditional schematic-based design has no longer enough towards these design complexities. EDA covers all phases of the design of integrated Circuits using computer‐aided design (CAD) tools, which consist of software programs that support computer‐based representations of circuits and aid in the development of digital hardware by automating the design process.
  • 29. Electronic Design Automation • Importance of HDLs (Hardware Description/Modeling)  Designs can be described at a very abstract level by use of HDLs .  To any abstracted level we can design? Ans: (according too the ability of the tool).  Difference between Writing code for modeling H/W and S/W e.g C++ ?  Designers can write their RTL description without choosing a specific fabrication technology.  Logic synthesis tools can automatically convert the design to any fabrication technology.  If a new technology emerges, designers do not need to redesign their circuit.
  • 30. Electronic Design Automation • Logic Synthesis (Hardware Compiler but not flexible as C/C++ Compiler )
  • 32. Digital Design Flow Design Specs Behavioral Description RTL Description (HDL) Functional Verification and Testing e.g algorithm needs to be implemented Description for Functionality of the design and the interface of it with the whole system (inputs and outputs) Design The RTL and Write the verilog code that implement this design according Specs and Interface Compile Verilog files and make testbench to verify your design and start verification Usually 50 – 60% of cycle time Logic Synthesis (S/W) Place and Route Physical Layout Fabrication Place the gates in the chip and make possible and suitable routing between them