SlideShare uma empresa Scribd logo
1 de 22
Baixar para ler offline
517212: Digital Logic Design
บทที่ 2 - หนาที่และการทำงานของวงจรดิจิทัล
                                             12 พฤศจิกายน 2555
ตัวปฏิบัติการพื้นฐานทางลอจิก
 ระบบดิจิทัลนั้นสรางจากพื้นฐานทางตรรกศาสตร
 จอรจ บูล (George Boole) นักคณิตศาสตรชาวอังกฤษไดสรางพีชคณิต
 เชิงตรรก (Boolean Algebra) ขึ้นมาในชวงทศวรรษที่ 19 ซึ่งภายหลังได
 นำมาประยุกตใชในการออกแบบและสรางระบบดิจิทัล
 ตัวปฏิบัติการเชิงตรรกที่ใชเปนพื้นฐานและควรทราบนั้นมีอยูเพียง 3 แบบ
 ไดแก
   NOT
   AND
   OR
NOT
Negation
Output is the opposite of the input, that’s all.
The symbol:




Note: There is only one input and one output for this op!
AND
The output will be HIGH only when all the inputs are HIGH.
The symbol:




    Note: there may be more than two inputs.
OR
The output will be HIGH when one or more inputs are HIGH.
The symbol:
Basic Logic Functions
 Roadmap   to what we are going to learn:
 –Comparison function
 –Arithmetic functions
 –Code conversion function
 –Encoding function
 –Decoding function
 –Data selection function
 –Storage function
 –Counting function
Comparison
A basic comparator compares two quantities and
 indicates whether or not they are equal.
 –Think about conditional statement like if or things like
  that in programming.
Arithmetic
 Adder  is the key-element circuit of
 binary arithmetic.
  – You can add (of course, it’s the
    adder).
  – You can subtract using adder with
    special treatment on input number.
  – You can multiply using adder with
    the help of other circuits.
  – You can also divide with series of
    circuits in conjunction of adder.
Code Conversion

A  code converter changes one form of coded
 information into another coded form, i.e.:
 –binary-to-BCD
 –binary-to-Gray code
 –etc.
Encoding and Decoding
 Encoder converts information, such as a decimal number
 or an alphabetic character, into some coded form.
 Decoder   does the opposite.
Data Selection
 Multiplexer   (MUX)
  – Switches digital data from several input lines on a single
    output line in a special time sequence.
 Demultiplexer   (DEMUX)
  – Does the opposite.
Storage
 This function is
  required in most digital
  systems.
 Itcan memorize a bit of
  a group of bits and
  retain the information
  as long as necessary.
   – Flip-flops
   – Registers
   – etc
Counting
Counting   is one of the most important
 function in digital systems.
 –Think about the loop in programming, you
  cannot accomplish unless you have some
  sort of counter.
To count, the counter must remember the
 present numbers  it can go to the next
 proper number in sequence.
Integrated Circuits (ICs)
Fixed-Function ICs


 http://www.bbc.co.uk/schools/gcsebitesize/
          design/images/dt_chip.jpg




                                                          http://www.dolphin.fr/corporate/announcements/
                                                                 pressrelease/2002/images/dsair.jpg



      http://www.tiscali.co.uk/reference/encyclopaedia/
               hutchinson/images/c01356.jpg
Complexity Classifications for Fixed-
Function ICs
   Small-scale integration (SSI)
    – Up to 10 gate circuits

   Medium-scale integration (MSI)
    – 10-100 gate circuits

   Large-scale integration (LSI)
    – 100-10,000 gates

   Very large-scale integration (VLSI)
    – 10,000-100,000 gates

   Ultra large-scale integration (ULSI)
    – More than 100,000 gates
Programmable Logic
 PL devices can be programmed to perform specified
 logic functions using software.
  –Hardware Description Language (HDL)
A design can be implemented faster and with less cost
 (small volume).
 Just   remember the name:
  –Field Programmable Gate Array (FPGA)
  –Complex Programmable Logic Device (CPLD)
รูป title page http://4.bp.blogspot.com/_FdGFE8NBDgc/TAdzuXy9VEI/AAAAAAAAC_A/73pzDSvpgww/s1600/mains-
frequency-monitor-circuit-diagram.jpg

Mais conteúdo relacionado

Mais procurados

Scope of signals and systems
Scope of signals and systemsScope of signals and systems
Scope of signals and systemsDr.SHANTHI K.G
 
Combinational logic circuits by Tahir Yasin
Combinational logic circuits by Tahir YasinCombinational logic circuits by Tahir Yasin
Combinational logic circuits by Tahir YasinTAHIR YASIN
 
CODING OF INFORMATION : sounds, images, printable & non printable data
CODING OF INFORMATION : sounds, images, printable & non printable dataCODING OF INFORMATION : sounds, images, printable & non printable data
CODING OF INFORMATION : sounds, images, printable & non printable dataTushar singh
 
Chapter 04 computer codes 3o-p
Chapter 04 computer codes 3o-pChapter 04 computer codes 3o-p
Chapter 04 computer codes 3o-pIIUI
 

Mais procurados (6)

Scope of signals and systems
Scope of signals and systemsScope of signals and systems
Scope of signals and systems
 
Combinational logic circuits by Tahir Yasin
Combinational logic circuits by Tahir YasinCombinational logic circuits by Tahir Yasin
Combinational logic circuits by Tahir Yasin
 
CODING OF INFORMATION : sounds, images, printable & non printable data
CODING OF INFORMATION : sounds, images, printable & non printable dataCODING OF INFORMATION : sounds, images, printable & non printable data
CODING OF INFORMATION : sounds, images, printable & non printable data
 
Encoder decoder Adc LDR &7 Segment PPT
Encoder decoder Adc LDR &7 Segment  PPTEncoder decoder Adc LDR &7 Segment  PPT
Encoder decoder Adc LDR &7 Segment PPT
 
It3 4 by Zaheer Abbas Aghani
It3 4 by Zaheer Abbas AghaniIt3 4 by Zaheer Abbas Aghani
It3 4 by Zaheer Abbas Aghani
 
Chapter 04 computer codes 3o-p
Chapter 04 computer codes 3o-pChapter 04 computer codes 3o-p
Chapter 04 computer codes 3o-p
 

Destaque

AP Calculus Slides September 18, 2007
AP Calculus Slides September 18, 2007AP Calculus Slides September 18, 2007
AP Calculus Slides September 18, 2007Darren Kuropatwa
 
Operations With Functions May 25 2009
Operations With Functions May 25 2009Operations With Functions May 25 2009
Operations With Functions May 25 2009ingroy
 
2.4 operations on functions
2.4 operations on functions2.4 operations on functions
2.4 operations on functionshisema01
 
4 2 operations on functions
4 2 operations on functions4 2 operations on functions
4 2 operations on functionshisema01
 
Operations on Functions
Operations on FunctionsOperations on Functions
Operations on Functionsswartzje
 
Function Operations
Function OperationsFunction Operations
Function Operationsswartzje
 
L3 functions operations
L3 functions operationsL3 functions operations
L3 functions operationsJames Tagara
 
1 4 and 2-1 function operations
1 4 and 2-1 function operations1 4 and 2-1 function operations
1 4 and 2-1 function operationsLomasPreCalc
 
Shewhart, 6-Sigma and snowflake-men
Shewhart, 6-Sigma and snowflake-menShewhart, 6-Sigma and snowflake-men
Shewhart, 6-Sigma and snowflake-menMaxim Dorofeev
 

Destaque (11)

Slide01 digital fundamental
Slide01 digital fundamentalSlide01 digital fundamental
Slide01 digital fundamental
 
AP Calculus Slides September 18, 2007
AP Calculus Slides September 18, 2007AP Calculus Slides September 18, 2007
AP Calculus Slides September 18, 2007
 
Operations With Functions May 25 2009
Operations With Functions May 25 2009Operations With Functions May 25 2009
Operations With Functions May 25 2009
 
Business Plan
Business PlanBusiness Plan
Business Plan
 
2.4 operations on functions
2.4 operations on functions2.4 operations on functions
2.4 operations on functions
 
4 2 operations on functions
4 2 operations on functions4 2 operations on functions
4 2 operations on functions
 
Operations on Functions
Operations on FunctionsOperations on Functions
Operations on Functions
 
Function Operations
Function OperationsFunction Operations
Function Operations
 
L3 functions operations
L3 functions operationsL3 functions operations
L3 functions operations
 
1 4 and 2-1 function operations
1 4 and 2-1 function operations1 4 and 2-1 function operations
1 4 and 2-1 function operations
 
Shewhart, 6-Sigma and snowflake-men
Shewhart, 6-Sigma and snowflake-menShewhart, 6-Sigma and snowflake-men
Shewhart, 6-Sigma and snowflake-men
 

Semelhante a Slide02 digital logic operations and functions

Digital VLSI Design and FPGA Implementation
Digital VLSI Design and FPGA ImplementationDigital VLSI Design and FPGA Implementation
Digital VLSI Design and FPGA ImplementationAmber Bhaumik
 
Definition of digital circuit
Definition of digital circuit Definition of digital circuit
Definition of digital circuit JohnVule
 
Project report of 2016 Trainee_final
Project report of 2016 Trainee_finalProject report of 2016 Trainee_final
Project report of 2016 Trainee_finalAkash Chowdhury
 
Summer training vhdl
Summer training vhdlSummer training vhdl
Summer training vhdlArshit Rai
 
Fundamentals of FPGA
Fundamentals of FPGAFundamentals of FPGA
Fundamentals of FPGAvelamakuri
 
Summer training vhdl
Summer training vhdlSummer training vhdl
Summer training vhdlArshit Rai
 
Softcore processor.pptxSoftcore processor.pptxSoftcore processor.pptx
Softcore processor.pptxSoftcore processor.pptxSoftcore processor.pptxSoftcore processor.pptxSoftcore processor.pptxSoftcore processor.pptx
Softcore processor.pptxSoftcore processor.pptxSoftcore processor.pptxSnehaLatha68
 
0.FPGA for dummies: Historical introduction
0.FPGA for dummies: Historical introduction0.FPGA for dummies: Historical introduction
0.FPGA for dummies: Historical introductionMaurizio Donna
 
Degital 1
Degital 1Degital 1
Degital 1hnaita
 
VLSI Systems & Design
VLSI Systems & DesignVLSI Systems & Design
VLSI Systems & DesignAakash Mishra
 
Embedded computer system
Embedded computer systemEmbedded computer system
Embedded computer systemGovind Kaintura
 
Applications of Fuzzy Logic in Image Processing – A Brief Study
Applications of Fuzzy Logic in Image Processing – A Brief StudyApplications of Fuzzy Logic in Image Processing – A Brief Study
Applications of Fuzzy Logic in Image Processing – A Brief StudyComputer Science Journals
 
ROM PAL PLA.ppt
ROM PAL PLA.pptROM PAL PLA.ppt
ROM PAL PLA.pptwafawafa52
 
Chapter 1SyllabusCatalog Description Computer structu
Chapter 1SyllabusCatalog Description Computer structuChapter 1SyllabusCatalog Description Computer structu
Chapter 1SyllabusCatalog Description Computer structuEstelaJeffery653
 
Programmable ics
Programmable icsProgrammable ics
Programmable ics779061702
 

Semelhante a Slide02 digital logic operations and functions (20)

Digital VLSI Design and FPGA Implementation
Digital VLSI Design and FPGA ImplementationDigital VLSI Design and FPGA Implementation
Digital VLSI Design and FPGA Implementation
 
Embedded system
Embedded systemEmbedded system
Embedded system
 
Definition of digital circuit
Definition of digital circuit Definition of digital circuit
Definition of digital circuit
 
Project report of 2016 Trainee_final
Project report of 2016 Trainee_finalProject report of 2016 Trainee_final
Project report of 2016 Trainee_final
 
A STUDY OF AN ENTRENCHED SYSTEM USING INTERNET OF THINGS
A STUDY OF AN ENTRENCHED SYSTEM USING INTERNET OF THINGSA STUDY OF AN ENTRENCHED SYSTEM USING INTERNET OF THINGS
A STUDY OF AN ENTRENCHED SYSTEM USING INTERNET OF THINGS
 
Summer training vhdl
Summer training vhdlSummer training vhdl
Summer training vhdl
 
Fundamentals of FPGA
Fundamentals of FPGAFundamentals of FPGA
Fundamentals of FPGA
 
Summer training vhdl
Summer training vhdlSummer training vhdl
Summer training vhdl
 
Softcore processor.pptxSoftcore processor.pptxSoftcore processor.pptx
Softcore processor.pptxSoftcore processor.pptxSoftcore processor.pptxSoftcore processor.pptxSoftcore processor.pptxSoftcore processor.pptx
Softcore processor.pptxSoftcore processor.pptxSoftcore processor.pptx
 
Verilog
VerilogVerilog
Verilog
 
Circuit Simplifier
Circuit SimplifierCircuit Simplifier
Circuit Simplifier
 
0.FPGA for dummies: Historical introduction
0.FPGA for dummies: Historical introduction0.FPGA for dummies: Historical introduction
0.FPGA for dummies: Historical introduction
 
Degital 1
Degital 1Degital 1
Degital 1
 
EDA
EDAEDA
EDA
 
VLSI Systems & Design
VLSI Systems & DesignVLSI Systems & Design
VLSI Systems & Design
 
Embedded computer system
Embedded computer systemEmbedded computer system
Embedded computer system
 
Applications of Fuzzy Logic in Image Processing – A Brief Study
Applications of Fuzzy Logic in Image Processing – A Brief StudyApplications of Fuzzy Logic in Image Processing – A Brief Study
Applications of Fuzzy Logic in Image Processing – A Brief Study
 
ROM PAL PLA.ppt
ROM PAL PLA.pptROM PAL PLA.ppt
ROM PAL PLA.ppt
 
Chapter 1SyllabusCatalog Description Computer structu
Chapter 1SyllabusCatalog Description Computer structuChapter 1SyllabusCatalog Description Computer structu
Chapter 1SyllabusCatalog Description Computer structu
 
Programmable ics
Programmable icsProgrammable ics
Programmable ics
 

Mais de อภิเษก หงษ์วิทยากร

Mais de อภิเษก หงษ์วิทยากร (17)

Slide03 Number System and Operations Part 1
Slide03 Number System and Operations Part 1Slide03 Number System and Operations Part 1
Slide03 Number System and Operations Part 1
 
00 course intro
00 course intro00 course intro
00 course intro
 
08 multimedia delivering
08 multimedia delivering08 multimedia delivering
08 multimedia delivering
 
07 animation
07 animation07 animation
07 animation
 
06 vdo
06 vdo06 vdo
06 vdo
 
05 audio
05 audio05 audio
05 audio
 
04 image andgraphics
04 image andgraphics04 image andgraphics
04 image andgraphics
 
02 multimedia andinteractivity
02 multimedia andinteractivity02 multimedia andinteractivity
02 multimedia andinteractivity
 
01 fundamental of multimedia
01 fundamental of multimedia01 fundamental of multimedia
01 fundamental of multimedia
 
00 welcome slide
00 welcome slide00 welcome slide
00 welcome slide
 
03 digital mediafundamental
03 digital mediafundamental03 digital mediafundamental
03 digital mediafundamental
 
Slide05 Message Passing Architecture
Slide05 Message Passing ArchitectureSlide05 Message Passing Architecture
Slide05 Message Passing Architecture
 
Slide06 Networked Computing
Slide06 Networked ComputingSlide06 Networked Computing
Slide06 Networked Computing
 
03 digital mediafundamental
03 digital mediafundamental03 digital mediafundamental
03 digital mediafundamental
 
03 digital media fundamental
03 digital media fundamental03 digital media fundamental
03 digital media fundamental
 
02 multimedia andinteractivity
02 multimedia andinteractivity02 multimedia andinteractivity
02 multimedia andinteractivity
 
01 fundamental of multimedia
01 fundamental of multimedia01 fundamental of multimedia
01 fundamental of multimedia
 

Slide02 digital logic operations and functions

  • 1. 517212: Digital Logic Design บทที่ 2 - หนาที่และการทำงานของวงจรดิจิทัล 12 พฤศจิกายน 2555
  • 2. ตัวปฏิบัติการพื้นฐานทางลอจิก ระบบดิจิทัลนั้นสรางจากพื้นฐานทางตรรกศาสตร จอรจ บูล (George Boole) นักคณิตศาสตรชาวอังกฤษไดสรางพีชคณิต เชิงตรรก (Boolean Algebra) ขึ้นมาในชวงทศวรรษที่ 19 ซึ่งภายหลังได นำมาประยุกตใชในการออกแบบและสรางระบบดิจิทัล ตัวปฏิบัติการเชิงตรรกที่ใชเปนพื้นฐานและควรทราบนั้นมีอยูเพียง 3 แบบ ไดแก NOT AND OR
  • 3. NOT Negation Output is the opposite of the input, that’s all. The symbol: Note: There is only one input and one output for this op!
  • 4. AND The output will be HIGH only when all the inputs are HIGH. The symbol: Note: there may be more than two inputs.
  • 5. OR The output will be HIGH when one or more inputs are HIGH. The symbol:
  • 6. Basic Logic Functions  Roadmap to what we are going to learn: –Comparison function –Arithmetic functions –Code conversion function –Encoding function –Decoding function –Data selection function –Storage function –Counting function
  • 7. Comparison A basic comparator compares two quantities and indicates whether or not they are equal. –Think about conditional statement like if or things like that in programming.
  • 8. Arithmetic  Adder is the key-element circuit of binary arithmetic. – You can add (of course, it’s the adder). – You can subtract using adder with special treatment on input number. – You can multiply using adder with the help of other circuits. – You can also divide with series of circuits in conjunction of adder.
  • 9. Code Conversion A code converter changes one form of coded information into another coded form, i.e.: –binary-to-BCD –binary-to-Gray code –etc.
  • 10. Encoding and Decoding  Encoder converts information, such as a decimal number or an alphabetic character, into some coded form.  Decoder does the opposite.
  • 11. Data Selection  Multiplexer (MUX) – Switches digital data from several input lines on a single output line in a special time sequence.  Demultiplexer (DEMUX) – Does the opposite.
  • 12. Storage  This function is required in most digital systems.  Itcan memorize a bit of a group of bits and retain the information as long as necessary. – Flip-flops – Registers – etc
  • 13. Counting Counting is one of the most important function in digital systems. –Think about the loop in programming, you cannot accomplish unless you have some sort of counter. To count, the counter must remember the present numbers  it can go to the next proper number in sequence.
  • 14.
  • 15.
  • 16.
  • 17.
  • 19. Fixed-Function ICs http://www.bbc.co.uk/schools/gcsebitesize/ design/images/dt_chip.jpg http://www.dolphin.fr/corporate/announcements/ pressrelease/2002/images/dsair.jpg http://www.tiscali.co.uk/reference/encyclopaedia/ hutchinson/images/c01356.jpg
  • 20. Complexity Classifications for Fixed- Function ICs  Small-scale integration (SSI) – Up to 10 gate circuits  Medium-scale integration (MSI) – 10-100 gate circuits  Large-scale integration (LSI) – 100-10,000 gates  Very large-scale integration (VLSI) – 10,000-100,000 gates  Ultra large-scale integration (ULSI) – More than 100,000 gates
  • 21. Programmable Logic  PL devices can be programmed to perform specified logic functions using software. –Hardware Description Language (HDL) A design can be implemented faster and with less cost (small volume).  Just remember the name: –Field Programmable Gate Array (FPGA) –Complex Programmable Logic Device (CPLD)
  • 22. รูป title page http://4.bp.blogspot.com/_FdGFE8NBDgc/TAdzuXy9VEI/AAAAAAAAC_A/73pzDSvpgww/s1600/mains- frequency-monitor-circuit-diagram.jpg