SlideShare une entreprise Scribd logo
1  sur  33
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

Contenu connexe

Tendances

Sta by usha_mehta
Sta by usha_mehtaSta by usha_mehta
Sta by usha_mehtaUsha Mehta
 
Timing Analysis
Timing AnalysisTiming Analysis
Timing Analysisrchovatiya
 
Synchronous and asynchronous reset
Synchronous and asynchronous resetSynchronous and asynchronous reset
Synchronous and asynchronous resetNallapati Anindra
 
Multi mode multi corner (mmmc)
Multi mode multi corner (mmmc)Multi mode multi corner (mmmc)
Multi mode multi corner (mmmc)shaik sharief
 
11 static timing_analysis_2_combinational_design
11 static timing_analysis_2_combinational_design11 static timing_analysis_2_combinational_design
11 static timing_analysis_2_combinational_designUsha Mehta
 
Router 1X3 – RTL Design and Verification
Router 1X3 – RTL Design and VerificationRouter 1X3 – RTL Design and Verification
Router 1X3 – RTL Design and VerificationIJERD Editor
 
Physical design
Physical design Physical design
Physical design Mantra VLSI
 
Design and implementation of 4-bit binary weighted current steering DAC
Design and implementation of 4-bit binary weighted current steering DAC Design and implementation of 4-bit binary weighted current steering DAC
Design and implementation of 4-bit binary weighted current steering DAC IJECEIAES
 
Lecture 5 Synchronous Sequential Logic
Lecture 5 Synchronous Sequential LogicLecture 5 Synchronous Sequential Logic
Lecture 5 Synchronous Sequential LogicJames Evangelos
 
Design-for-Test (Testing of VLSI Design)
Design-for-Test (Testing of VLSI Design)Design-for-Test (Testing of VLSI Design)
Design-for-Test (Testing of VLSI Design)Usha Mehta
 
UART Communication
UART CommunicationUART Communication
UART Communicationdattatraya1
 
Magnitude comparator
Magnitude comparatorMagnitude comparator
Magnitude comparatorPreet_patel
 
Study of inter and intra chip variations
Study of inter and intra chip variationsStudy of inter and intra chip variations
Study of inter and intra chip variationsRajesh M
 
Static_Timing_Analysis_in_detail.pdf
Static_Timing_Analysis_in_detail.pdfStatic_Timing_Analysis_in_detail.pdf
Static_Timing_Analysis_in_detail.pdfUsha Mehta
 
Synopsys Fusion Compiler-Comprehensive RTL-to-GDSII Implementation System
Synopsys Fusion Compiler-Comprehensive RTL-to-GDSII Implementation SystemSynopsys Fusion Compiler-Comprehensive RTL-to-GDSII Implementation System
Synopsys Fusion Compiler-Comprehensive RTL-to-GDSII Implementation SystemMostafa Khamis
 

Tendances (20)

Sta by usha_mehta
Sta by usha_mehtaSta by usha_mehta
Sta by usha_mehta
 
Timing analysis
Timing analysisTiming analysis
Timing analysis
 
Timing Analysis
Timing AnalysisTiming Analysis
Timing Analysis
 
Synchronous and asynchronous reset
Synchronous and asynchronous resetSynchronous and asynchronous reset
Synchronous and asynchronous reset
 
Multi mode multi corner (mmmc)
Multi mode multi corner (mmmc)Multi mode multi corner (mmmc)
Multi mode multi corner (mmmc)
 
11 static timing_analysis_2_combinational_design
11 static timing_analysis_2_combinational_design11 static timing_analysis_2_combinational_design
11 static timing_analysis_2_combinational_design
 
Router 1X3 – RTL Design and Verification
Router 1X3 – RTL Design and VerificationRouter 1X3 – RTL Design and Verification
Router 1X3 – RTL Design and Verification
 
Physical design
Physical design Physical design
Physical design
 
Design and implementation of 4-bit binary weighted current steering DAC
Design and implementation of 4-bit binary weighted current steering DAC Design and implementation of 4-bit binary weighted current steering DAC
Design and implementation of 4-bit binary weighted current steering DAC
 
Lecture 5 Synchronous Sequential Logic
Lecture 5 Synchronous Sequential LogicLecture 5 Synchronous Sequential Logic
Lecture 5 Synchronous Sequential Logic
 
Design-for-Test (Testing of VLSI Design)
Design-for-Test (Testing of VLSI Design)Design-for-Test (Testing of VLSI Design)
Design-for-Test (Testing of VLSI Design)
 
Metastability
MetastabilityMetastability
Metastability
 
UART Communication
UART CommunicationUART Communication
UART Communication
 
Magnitude comparator
Magnitude comparatorMagnitude comparator
Magnitude comparator
 
Crosstalk.pdf
Crosstalk.pdfCrosstalk.pdf
Crosstalk.pdf
 
Study of inter and intra chip variations
Study of inter and intra chip variationsStudy of inter and intra chip variations
Study of inter and intra chip variations
 
Static_Timing_Analysis_in_detail.pdf
Static_Timing_Analysis_in_detail.pdfStatic_Timing_Analysis_in_detail.pdf
Static_Timing_Analysis_in_detail.pdf
 
Vlsi design flow
Vlsi design flowVlsi design flow
Vlsi design flow
 
I2C Protocol
I2C ProtocolI2C Protocol
I2C Protocol
 
Synopsys Fusion Compiler-Comprehensive RTL-to-GDSII Implementation System
Synopsys Fusion Compiler-Comprehensive RTL-to-GDSII Implementation SystemSynopsys Fusion Compiler-Comprehensive RTL-to-GDSII Implementation System
Synopsys Fusion Compiler-Comprehensive RTL-to-GDSII Implementation System
 

En vedette

Database mirroring setup
Database mirroring setupDatabase mirroring setup
Database mirroring setupK 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 FirmwareMalachi 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 PythonSai 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 ISP1761Premier Farnell
 
Android device driver structure introduction
Android device driver structure introductionAndroid device driver structure introduction
Android device driver structure introductionWilliam 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 driverVandana Salve
 
Sequential circuits in digital logic design
Sequential circuits in digital logic designSequential circuits in digital logic design
Sequential circuits in digital logic designNallapati Anindra
 
Device Drivers
Device DriversDevice Drivers
Device DriversSuhas 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
 

En vedette (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
 

Similaire à Intro

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]-notesOmprakash 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.pptxSaini71
 
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 TECHNIQUESIRJET Journal
 
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 designSatya P. Joshi
 
Electronica digital aplicada
Electronica digital aplicadaElectronica digital aplicada
Electronica digital aplicadaAdina Georgiana
 
Circuitrix@Pragyan 2015 NITT
Circuitrix@Pragyan 2015 NITTCircuitrix@Pragyan 2015 NITT
Circuitrix@Pragyan 2015 NITTSrivignessh 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 TECHNOLOGYIlango Jeyasubramanian
 
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.pptGauravKumarDas5
 
Clock distribution in high speed board
Clock distribution in high speed boardClock distribution in high speed board
Clock distribution in high speed boardPankaj Khodifad
 

Similaire à 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
 
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
 
Clock distribution in high speed board
Clock distribution in high speed boardClock distribution in high speed board
Clock distribution in high speed board
 
Low Power VLSI Design
Low Power VLSI DesignLow Power VLSI Design
Low Power VLSI Design
 

Dernier

The byproduct of sericulture in different industries.pptx
The byproduct of sericulture in different industries.pptxThe byproduct of sericulture in different industries.pptx
The byproduct of sericulture in different industries.pptxShobhayan Kirtania
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxheathfieldcps1
 
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionSafetyChain Software
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3JemimahLaneBuaron
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Celine George
 
APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAPM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAssociation for Project Management
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityGeoBlogs
 
mini mental status format.docx
mini    mental       status     format.docxmini    mental       status     format.docx
mini mental status format.docxPoojaSen20
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactPECB
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeThiyagu K
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfsanyamsingh5019
 
Russian Call Girls in Andheri Airport Mumbai WhatsApp 9167673311 💞 Full Nigh...
Russian Call Girls in Andheri Airport Mumbai WhatsApp  9167673311 💞 Full Nigh...Russian Call Girls in Andheri Airport Mumbai WhatsApp  9167673311 💞 Full Nigh...
Russian Call Girls in Andheri Airport Mumbai WhatsApp 9167673311 💞 Full Nigh...Pooja Nehwal
 
JAPAN: ORGANISATION OF PMDA, PHARMACEUTICAL LAWS & REGULATIONS, TYPES OF REGI...
JAPAN: ORGANISATION OF PMDA, PHARMACEUTICAL LAWS & REGULATIONS, TYPES OF REGI...JAPAN: ORGANISATION OF PMDA, PHARMACEUTICAL LAWS & REGULATIONS, TYPES OF REGI...
JAPAN: ORGANISATION OF PMDA, PHARMACEUTICAL LAWS & REGULATIONS, TYPES OF REGI...anjaliyadav012327
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformChameera Dedduwage
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Krashi Coaching
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)eniolaolutunde
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfciinovamais
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphThiyagu K
 

Dernier (20)

The byproduct of sericulture in different industries.pptx
The byproduct of sericulture in different industries.pptxThe byproduct of sericulture in different industries.pptx
The byproduct of sericulture in different industries.pptx
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
 
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory Inspection
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17
 
APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAPM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across Sectors
 
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
 
Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activity
 
mini mental status format.docx
mini    mental       status     format.docxmini    mental       status     format.docx
mini mental status format.docx
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global Impact
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and Mode
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdf
 
Russian Call Girls in Andheri Airport Mumbai WhatsApp 9167673311 💞 Full Nigh...
Russian Call Girls in Andheri Airport Mumbai WhatsApp  9167673311 💞 Full Nigh...Russian Call Girls in Andheri Airport Mumbai WhatsApp  9167673311 💞 Full Nigh...
Russian Call Girls in Andheri Airport Mumbai WhatsApp 9167673311 💞 Full Nigh...
 
JAPAN: ORGANISATION OF PMDA, PHARMACEUTICAL LAWS & REGULATIONS, TYPES OF REGI...
JAPAN: ORGANISATION OF PMDA, PHARMACEUTICAL LAWS & REGULATIONS, TYPES OF REGI...JAPAN: ORGANISATION OF PMDA, PHARMACEUTICAL LAWS & REGULATIONS, TYPES OF REGI...
JAPAN: ORGANISATION OF PMDA, PHARMACEUTICAL LAWS & REGULATIONS, TYPES OF REGI...
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy Reform
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot Graph
 

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