SlideShare a Scribd company logo
1 of 26
Teknik Digital

                             Pertemuan 14 & 15




1   Zulfadli Sulthan - PTIK - UNM                12/13/2011
Desain Rangkaian
    Kombinasional




2   Zulfadli Sulthan - PTIK - UNM   12/13/2011
Task:
            Berikan suatu diskripsi dari masalah (logical statement), cari hubungan
            rangkaian digital yang menghasilkan keluaran (jawaban) dari sekumulan
            masukan (condition).

    Contoh-contoh:
       Parking lot controller
       Elevator controller
       Prime number indicator
       Adder, subtractor, …




3    Zulfadli Sulthan - PTIK - UNM                                       12/13/2011
Brute-force approach
                                                                 Row   N3 N2 N1 N0   F
         Design: given a description or truth table, find the     0    0 0 0 0       0
         corresponding Boolean expression and digital circuit.    1    0 0 0 1       1
                                                                  2    0 0 1 0       1
                                                                  3    0 0 1 1       1
         Brute-force design methodology:                          4    0 1 0 0       0
             Truth table    canonical sum                        5    0 1 0 1       1
                            SoP or sum of minterms               6    0 1 1 0       0
                            AND-OR / NAND-NAND                   7    0 1 1 1       1
                                                                  8    1 0 0 0       0
                                                                  9    1 0 0 1       0
         Example: prime number detector                          10    1 0 1 0       0
           F=             (1,2,3,5,7,11,13)                      11    0 0 1 1       1
                                                                 12    1 1 0 0       0
                                                                 13    1 1 0 1       1
                                                                 14    1 1 1 0       0
                                                                 15    1 1 1 1       0




4   Zulfadli Sulthan - PTIK - UNM                                              12/13/2011
Minterm list -> canonical sum




5   Zulfadli Sulthan - PTIK - UNM   12/13/2011
Algebraic simplification
    Lihat teorema 8 (T8) X · Y + X · Y’ = X




    Persamaan simplifikasi untuk menyederhanakan jumlah gerbang dan gerbang
    masukan.




6   Zulfadli Sulthan - PTIK - UNM                                 12/13/2011
Resulting circuit




7   Zulfadli Sulthan - PTIK - UNM   12/13/2011
Combinational circuit
    design/minimization
        Objective:
           Minimizing # logic gates
           Minimizing # inputs to the logic gates

        Note different logic gates may have different # transistors

        General idea: simplify the Boolean expression using the theorems,
        especially (T10, T10’, T13, T13’)

        Karnaugh-map (K-map)
            Graphical representation of the truth table
            Offers visualization of (T10, T10’)
            Works for functions with less than 6 variables

        Real world: use programs to minimize logic circuits
           E.g., VHDL, Verilog, ABEL, …




8   Zulfadli Sulthan - PTIK - UNM                                           12/13/2011
Karnaugh-map usage
       Plot 1s corresponding to minterms of function.

       Circle largest possible rectangular sets of 1s.
           # of 1s in set must be power of 2
           OK to cross edges

       Read off product terms, one per circled set.
          Variable is 1    include variable
          Variable is 0    include complement of variable
          Variable is both 0 and 1     variable not included

       Circled sets and corresponding product terms are called `prime implicants’

       Minimum number of gates and gate inputs




9   Zulfadli Sulthan - PTIK - UNM                                   12/13/2011
3 variable example: F =
     S(1,2,5,7)




10   Zulfadli Sulthan - PTIK - UNM   12/13/2011
4 variable K-map example




11   Zulfadli Sulthan - PTIK - UNM   12/13/2011
Prime-number detector revisited




12   Zulfadli Sulthan - PTIK - UNM   12/13/2011
Compare with the previous circuit
      When we solved algebraically, we missed one simplification- the circuit below has
      three less gate inputs.




13   Zulfadli Sulthan - PTIK - UNM                                         12/13/2011
Design example: alarm controller
          Problem statement:
              The ALARM output is 1 if PANIC is 1, or if ENABLE is 1 and the house is
                not secure.
              The house is secure if WINDOW, DOOR, GARAGE are all 1

          This can be put in logic expressions as follows:

             ALARM          = PANIC + ENABLE · SECURE’
             SECURE         = WINDOW · DOOR · GARAGE
             ALARM          = PANIC + ENABLE · (WINDOW · DOOR · GARAGE)’

             Multiply out and use (T13), we get the SoP form
             ALARM        = PANIC + ENABLE · WINDOW’ + ENABLE · DOOR’ +
                            ENABLE · GARAGE’




14   Zulfadli Sulthan - PTIK - UNM                                            12/13/2011
K-map with don’t-cares
     In some cases, the output of a combinational circuit doesn’t matter for
     certain input combinations.

     Such combinations are called don’t-cares and the output is represented in
     the truth table and K-maps as `d’.

     When using K-maps to minimize such functions:

         Allow d’s to be included when grouping sets of 1’s to make the sets as
          large as possible.
         Do not circle any set that only contains d’s.




15   Zulfadli Sulthan - PTIK - UNM                                    12/13/2011
Example with don’t-cares
      Prime number detection for BCD numbers (takes value between 0-9) –
       minterms 10-15 are treated as don’t-cares:

         F(N3,N2,N1,N0) = ΣN3,N2,N1,N0 (1,2,3,5,7) + d(10,11,12,13,14,15)




16   Zulfadli Sulthan - PTIK - UNM                                          12/13/2011
5-variable K-maps
         The K-map for a 5-variable logic function is organized as two 4-variable K-maps:
             Can be visualised as being one 4-variable map on top of another 4-
               variable map




17   Zulfadli Sulthan - PTIK - UNM                                           12/13/2011
F(V,W,X,Y,Z) = Σ V,W,X,Y,Z(4,5,6,7,9,11,13,15,25,27,29,31)




Example




18   Zulfadli Sulthan - PTIK - UNM                                                        12/13/2011
K-map product-of-sum (PoS) minimization
           Using K-map, find a minimal PoS expression for F(X,Y,Z) =   X,Y,Z   (0,3,4,7)




19   Zulfadli Sulthan - PTIK - UNM                                                         12/13/2011
Using K-map, find a minimal POS expression for
                                        F(W,X,Y,Z) = W,X,Y,Z (1,3,8,10,12,13,14,15)




Another Example




20   Zulfadli Sulthan - PTIK - UNM                                                    12/13/2011
Combinational Circuit:
     Transient vs. Steady-state Output




       Transient output: the temporary output due to the gate propagation delay(s)
           Gate propagation delay: the time it takes to pull up (or down) the output
             signals due to the change at the input – depends on the transistor level
             implementation.




21   Zulfadli Sulthan - PTIK - UNM                                         12/13/2011
Hazards in combinational circuits
        Output glitch: a momentary (transient) fluctuation in output signal due to changes
        in input signal.




        Static hazards:
            Static-0 hazard: The output should be 0 but goes momentary to 1 as a
               result of an input change – possible in AND-OR circuits
            Static-1 hazard: The output should be 1 but goes momentary to 0 as a
               result of an input change – possible in OR-AND circuits

        Dynamic hazards: The output changes more than once as a result of a single
        input change (impossible in 2-level circuits).




22   Zulfadli Sulthan - PTIK - UNM                                               12/13/2011
Example: static-1 hazard
         A static-1 hazard exists in the following AND-OR circuit when X=1, Y=1 and Z
         changes from 1 to 0 (assume all gates have propagation delay Δ)




23   Zulfadli Sulthan - PTIK - UNM                                          12/13/2011
Eliminate static-1 hazard using K-
     map
        Static-1 hazards are found using k-maps by finding adjacent 1 cells that are
        covered by different product terms.
        To eliminate static-1 hazards, additional product terms (prime implicants) are
        needed to cover such cells thus covering the transition of the variable causing the
        hazard.
        For the previous example the static-1 hazard is eliminated by including the
        additional product term X · Y




24   Zulfadli Sulthan - PTIK - UNM                                              12/13/2011
Eliminate static-0 hazard using K-
     map
       A static-0 hazard occurs in OR-AND circuits when an input variable and its
       complement are connected to two different OR gates.

       The procedure to find and eliminate static-0 hazards using K-maps is done in
       a dual way to finding static-1 hazards.

       Static-0 hazards are found using k-maps by finding adjacent 0 cells that are
       covered by different sum terms.

       To eliminate static-0 hazards, additional sum terms (prime implicates) are
       needed to cover such cells thus covering the transition of the variable causing
       the hazard.




25   Zulfadli Sulthan - PTIK - UNM                                       12/13/2011
Thank you !!!




26   Zulfadli Sulthan - PTIK - UNM   12/13/2011

More Related Content

What's hot

Neural Processes Family
Neural Processes FamilyNeural Processes Family
Neural Processes FamilyKota Matsui
 
Quantum Cost Calculation of Reversible Circuit
Quantum Cost Calculation of Reversible CircuitQuantum Cost Calculation of Reversible Circuit
Quantum Cost Calculation of Reversible CircuitSajib Mitra
 
System design using HDL - Module 5
System design using HDL - Module 5System design using HDL - Module 5
System design using HDL - Module 5Aravinda Koithyar
 
Improved deterministic algorithms for decremental transitive closure and stro...
Improved deterministic algorithms for decremental transitive closure and stro...Improved deterministic algorithms for decremental transitive closure and stro...
Improved deterministic algorithms for decremental transitive closure and stro...katzelad1
 
Neural Processes
Neural ProcessesNeural Processes
Neural ProcessesSangwoo Mo
 
Conditional neural processes
Conditional neural processesConditional neural processes
Conditional neural processesKazuki Fujikawa
 
Exact Computation of the Expectation Curves of the Bit-Flip Mutation using La...
Exact Computation of the Expectation Curves of the Bit-Flip Mutation using La...Exact Computation of the Expectation Curves of the Bit-Flip Mutation using La...
Exact Computation of the Expectation Curves of the Bit-Flip Mutation using La...jfrchicanog
 
Connection between inverse problems and uncertainty quantification problems
Connection between inverse problems and uncertainty quantification problemsConnection between inverse problems and uncertainty quantification problems
Connection between inverse problems and uncertainty quantification problemsAlexander Litvinenko
 
Multilayer Neuronal network hardware implementation
Multilayer Neuronal network hardware implementation Multilayer Neuronal network hardware implementation
Multilayer Neuronal network hardware implementation Nabil Chouba
 
MATHEON Center Days: Index determination and structural analysis using Algori...
MATHEON Center Days: Index determination and structural analysis using Algori...MATHEON Center Days: Index determination and structural analysis using Algori...
MATHEON Center Days: Index determination and structural analysis using Algori...Dagmar Monett
 

What's hot (12)

Neural Processes Family
Neural Processes FamilyNeural Processes Family
Neural Processes Family
 
Quantum Cost Calculation of Reversible Circuit
Quantum Cost Calculation of Reversible CircuitQuantum Cost Calculation of Reversible Circuit
Quantum Cost Calculation of Reversible Circuit
 
System design using HDL - Module 5
System design using HDL - Module 5System design using HDL - Module 5
System design using HDL - Module 5
 
Improved deterministic algorithms for decremental transitive closure and stro...
Improved deterministic algorithms for decremental transitive closure and stro...Improved deterministic algorithms for decremental transitive closure and stro...
Improved deterministic algorithms for decremental transitive closure and stro...
 
Neural Processes
Neural ProcessesNeural Processes
Neural Processes
 
Conditional neural processes
Conditional neural processesConditional neural processes
Conditional neural processes
 
Exact Computation of the Expectation Curves of the Bit-Flip Mutation using La...
Exact Computation of the Expectation Curves of the Bit-Flip Mutation using La...Exact Computation of the Expectation Curves of the Bit-Flip Mutation using La...
Exact Computation of the Expectation Curves of the Bit-Flip Mutation using La...
 
Connection between inverse problems and uncertainty quantification problems
Connection between inverse problems and uncertainty quantification problemsConnection between inverse problems and uncertainty quantification problems
Connection between inverse problems and uncertainty quantification problems
 
Multilayer Neuronal network hardware implementation
Multilayer Neuronal network hardware implementation Multilayer Neuronal network hardware implementation
Multilayer Neuronal network hardware implementation
 
Madrid easy
Madrid easyMadrid easy
Madrid easy
 
MATHEON Center Days: Index determination and structural analysis using Algori...
MATHEON Center Days: Index determination and structural analysis using Algori...MATHEON Center Days: Index determination and structural analysis using Algori...
MATHEON Center Days: Index determination and structural analysis using Algori...
 
Ece4510 notes08
Ece4510 notes08Ece4510 notes08
Ece4510 notes08
 

Viewers also liked

Model simulasi(2)
Model simulasi(2)Model simulasi(2)
Model simulasi(2)cofry
 
PENDAHULUAN. SISTEM, MODEL, DAN SIMULASI
PENDAHULUAN. SISTEM, MODEL, DAN SIMULASIPENDAHULUAN. SISTEM, MODEL, DAN SIMULASI
PENDAHULUAN. SISTEM, MODEL, DAN SIMULASIDimara Hakim
 
Makalah teknik simulasi dan pemodelan
Makalah teknik simulasi dan pemodelanMakalah teknik simulasi dan pemodelan
Makalah teknik simulasi dan pemodelanNayla Tsauraya
 
Contoh tugas besar pemodelan sistem
Contoh tugas besar pemodelan sistemContoh tugas besar pemodelan sistem
Contoh tugas besar pemodelan sistemyussiwi purwitasari
 

Viewers also liked (6)

Fpga 01-digital-logic-design
Fpga 01-digital-logic-designFpga 01-digital-logic-design
Fpga 01-digital-logic-design
 
Sistem komunikasi digital i
Sistem komunikasi digital iSistem komunikasi digital i
Sistem komunikasi digital i
 
Model simulasi(2)
Model simulasi(2)Model simulasi(2)
Model simulasi(2)
 
PENDAHULUAN. SISTEM, MODEL, DAN SIMULASI
PENDAHULUAN. SISTEM, MODEL, DAN SIMULASIPENDAHULUAN. SISTEM, MODEL, DAN SIMULASI
PENDAHULUAN. SISTEM, MODEL, DAN SIMULASI
 
Makalah teknik simulasi dan pemodelan
Makalah teknik simulasi dan pemodelanMakalah teknik simulasi dan pemodelan
Makalah teknik simulasi dan pemodelan
 
Contoh tugas besar pemodelan sistem
Contoh tugas besar pemodelan sistemContoh tugas besar pemodelan sistem
Contoh tugas besar pemodelan sistem
 

Similar to 14 15. teknik digital desain-rangkaian_kombinasional

Range Extended Second Order Digital Phase Locked Loop
Range Extended Second Order Digital Phase Locked LoopRange Extended Second Order Digital Phase Locked Loop
Range Extended Second Order Digital Phase Locked LoopIDES Editor
 
Lec16 Intro to Computer Engineering by Hsien-Hsin Sean Lee Georgia Tech -- Fi...
Lec16 Intro to Computer Engineering by Hsien-Hsin Sean Lee Georgia Tech -- Fi...Lec16 Intro to Computer Engineering by Hsien-Hsin Sean Lee Georgia Tech -- Fi...
Lec16 Intro to Computer Engineering by Hsien-Hsin Sean Lee Georgia Tech -- Fi...Hsien-Hsin Sean Lee, Ph.D.
 
Optimizing the Robustness of X-by-Wire using Word Combinatorics
Optimizing the Robustness of X-by-Wire using Word CombinatoricsOptimizing the Robustness of X-by-Wire using Word Combinatorics
Optimizing the Robustness of X-by-Wire using Word CombinatoricsNicolas Navet
 
Design limitations and its effect in the performance of ZC1-DPLL
Design limitations and its effect in the performance of ZC1-DPLLDesign limitations and its effect in the performance of ZC1-DPLL
Design limitations and its effect in the performance of ZC1-DPLLIDES Editor
 
Direct Design of Reversible Combinational and Sequential Circuits Using PSDRM...
Direct Design of Reversible Combinational and Sequential Circuits Using PSDRM...Direct Design of Reversible Combinational and Sequential Circuits Using PSDRM...
Direct Design of Reversible Combinational and Sequential Circuits Using PSDRM...IJRES Journal
 
IRJET- Performance Estimation of FIR Filter using Null Convention Logic
IRJET-  	  Performance Estimation of FIR Filter using Null Convention LogicIRJET-  	  Performance Estimation of FIR Filter using Null Convention Logic
IRJET- Performance Estimation of FIR Filter using Null Convention LogicIRJET Journal
 
Ch1-2, Digital Logic Circuit and Digital Components.ppt
Ch1-2, Digital Logic Circuit and Digital Components.pptCh1-2, Digital Logic Circuit and Digital Components.ppt
Ch1-2, Digital Logic Circuit and Digital Components.pptJamesRodriguez109117
 
Logic gates and boolean algebra.ppt
Logic gates and boolean algebra.pptLogic gates and boolean algebra.ppt
Logic gates and boolean algebra.pptbcanawakadalcollege
 
digital logic circuits, logic gates, boolean algebra
digital logic circuits, logic gates, boolean algebradigital logic circuits, logic gates, boolean algebra
digital logic circuits, logic gates, boolean algebradianaandino4
 
Design and Implementation of Low Ripple Low Power Digital Phase-Locked Loop
Design and Implementation of Low Ripple Low Power Digital Phase-Locked LoopDesign and Implementation of Low Ripple Low Power Digital Phase-Locked Loop
Design and Implementation of Low Ripple Low Power Digital Phase-Locked LoopCSCJournals
 
Phonons & Phonopy: Pro Tips (2014)
Phonons & Phonopy: Pro Tips (2014)Phonons & Phonopy: Pro Tips (2014)
Phonons & Phonopy: Pro Tips (2014)Jonathan Skelton
 
A study of the worst case ratio of a simple algorithm for simple assembly lin...
A study of the worst case ratio of a simple algorithm for simple assembly lin...A study of the worst case ratio of a simple algorithm for simple assembly lin...
A study of the worst case ratio of a simple algorithm for simple assembly lin...narmo
 

Similar to 14 15. teknik digital desain-rangkaian_kombinasional (20)

Range Extended Second Order Digital Phase Locked Loop
Range Extended Second Order Digital Phase Locked LoopRange Extended Second Order Digital Phase Locked Loop
Range Extended Second Order Digital Phase Locked Loop
 
combinational_ckt.pdf
combinational_ckt.pdfcombinational_ckt.pdf
combinational_ckt.pdf
 
Lec16 Intro to Computer Engineering by Hsien-Hsin Sean Lee Georgia Tech -- Fi...
Lec16 Intro to Computer Engineering by Hsien-Hsin Sean Lee Georgia Tech -- Fi...Lec16 Intro to Computer Engineering by Hsien-Hsin Sean Lee Georgia Tech -- Fi...
Lec16 Intro to Computer Engineering by Hsien-Hsin Sean Lee Georgia Tech -- Fi...
 
Optimizing the Robustness of X-by-Wire using Word Combinatorics
Optimizing the Robustness of X-by-Wire using Word CombinatoricsOptimizing the Robustness of X-by-Wire using Word Combinatorics
Optimizing the Robustness of X-by-Wire using Word Combinatorics
 
Design limitations and its effect in the performance of ZC1-DPLL
Design limitations and its effect in the performance of ZC1-DPLLDesign limitations and its effect in the performance of ZC1-DPLL
Design limitations and its effect in the performance of ZC1-DPLL
 
Direct Design of Reversible Combinational and Sequential Circuits Using PSDRM...
Direct Design of Reversible Combinational and Sequential Circuits Using PSDRM...Direct Design of Reversible Combinational and Sequential Circuits Using PSDRM...
Direct Design of Reversible Combinational and Sequential Circuits Using PSDRM...
 
Logic gates
Logic gatesLogic gates
Logic gates
 
Digital logic circuit
Digital logic circuitDigital logic circuit
Digital logic circuit
 
IRJET- Performance Estimation of FIR Filter using Null Convention Logic
IRJET-  	  Performance Estimation of FIR Filter using Null Convention LogicIRJET-  	  Performance Estimation of FIR Filter using Null Convention Logic
IRJET- Performance Estimation of FIR Filter using Null Convention Logic
 
Ch1-2, Digital Logic Circuit and Digital Components.ppt
Ch1-2, Digital Logic Circuit and Digital Components.pptCh1-2, Digital Logic Circuit and Digital Components.ppt
Ch1-2, Digital Logic Circuit and Digital Components.ppt
 
CH1_2.ppt
CH1_2.pptCH1_2.ppt
CH1_2.ppt
 
Ch1 2
Ch1 2Ch1 2
Ch1 2
 
CH1_2.ppt
CH1_2.pptCH1_2.ppt
CH1_2.ppt
 
Logic gates and boolean algebra.ppt
Logic gates and boolean algebra.pptLogic gates and boolean algebra.ppt
Logic gates and boolean algebra.ppt
 
digital logic circuits, logic gates, boolean algebra
digital logic circuits, logic gates, boolean algebradigital logic circuits, logic gates, boolean algebra
digital logic circuits, logic gates, boolean algebra
 
Design and Implementation of Low Ripple Low Power Digital Phase-Locked Loop
Design and Implementation of Low Ripple Low Power Digital Phase-Locked LoopDesign and Implementation of Low Ripple Low Power Digital Phase-Locked Loop
Design and Implementation of Low Ripple Low Power Digital Phase-Locked Loop
 
Phonons & Phonopy: Pro Tips (2014)
Phonons & Phonopy: Pro Tips (2014)Phonons & Phonopy: Pro Tips (2014)
Phonons & Phonopy: Pro Tips (2014)
 
A study of the worst case ratio of a simple algorithm for simple assembly lin...
A study of the worst case ratio of a simple algorithm for simple assembly lin...A study of the worst case ratio of a simple algorithm for simple assembly lin...
A study of the worst case ratio of a simple algorithm for simple assembly lin...
 
K - Map
  K - Map    K - Map
K - Map
 
Ch1 2 (2)
Ch1 2 (2)Ch1 2 (2)
Ch1 2 (2)
 

More from khalghy

Pertemuan 13 .dhcp
Pertemuan 13 .dhcpPertemuan 13 .dhcp
Pertemuan 13 .dhcpkhalghy
 
Pertemuan 12. arp
Pertemuan 12. arpPertemuan 12. arp
Pertemuan 12. arpkhalghy
 
Pertemuan 11 ip routing
Pertemuan 11  ip routingPertemuan 11  ip routing
Pertemuan 11 ip routingkhalghy
 
Pertemuan 15-implementasi-jaringan
Pertemuan 15-implementasi-jaringanPertemuan 15-implementasi-jaringan
Pertemuan 15-implementasi-jaringankhalghy
 
Pertemuan 10-subnetting
Pertemuan 10-subnettingPertemuan 10-subnetting
Pertemuan 10-subnettingkhalghy
 
Pertemuan 9-ip-address
Pertemuan 9-ip-addressPertemuan 9-ip-address
Pertemuan 9-ip-addresskhalghy
 
Pertemuan 7-media-transmisi-wireless
Pertemuan 7-media-transmisi-wirelessPertemuan 7-media-transmisi-wireless
Pertemuan 7-media-transmisi-wirelesskhalghy
 
Pertemuan 6-media-transmisi-wire
Pertemuan 6-media-transmisi-wirePertemuan 6-media-transmisi-wire
Pertemuan 6-media-transmisi-wirekhalghy
 
Pertemuan 4-metode-akses
Pertemuan 4-metode-aksesPertemuan 4-metode-akses
Pertemuan 4-metode-akseskhalghy
 
Pertemuan 3-referensi-model-tcp-ip
Pertemuan 3-referensi-model-tcp-ipPertemuan 3-referensi-model-tcp-ip
Pertemuan 3-referensi-model-tcp-ipkhalghy
 
Pertemuan 2-referensi-model-osi
Pertemuan 2-referensi-model-osiPertemuan 2-referensi-model-osi
Pertemuan 2-referensi-model-osikhalghy
 
Pertemuan 1-pengenalan-jaringan-komputer
Pertemuan 1-pengenalan-jaringan-komputerPertemuan 1-pengenalan-jaringan-komputer
Pertemuan 1-pengenalan-jaringan-komputerkhalghy
 
Pertemuan 14. dns
Pertemuan 14. dnsPertemuan 14. dns
Pertemuan 14. dnskhalghy
 
Pertemuan 16-koneksi-internet
Pertemuan 16-koneksi-internetPertemuan 16-koneksi-internet
Pertemuan 16-koneksi-internetkhalghy
 
07 basis data
07   basis data07   basis data
07 basis datakhalghy
 
05 representasi data
05   representasi data05   representasi data
05 representasi datakhalghy
 
04 software komputer
04   software komputer04   software komputer
04 software komputerkhalghy
 
03 hardware komputer
03   hardware komputer03   hardware komputer
03 hardware komputerkhalghy
 
02 perkembangan dan klasifikasi komputer
02   perkembangan dan klasifikasi komputer02   perkembangan dan klasifikasi komputer
02 perkembangan dan klasifikasi komputerkhalghy
 
01 pengetahuan dasar komputer
01   pengetahuan dasar komputer01   pengetahuan dasar komputer
01 pengetahuan dasar komputerkhalghy
 

More from khalghy (20)

Pertemuan 13 .dhcp
Pertemuan 13 .dhcpPertemuan 13 .dhcp
Pertemuan 13 .dhcp
 
Pertemuan 12. arp
Pertemuan 12. arpPertemuan 12. arp
Pertemuan 12. arp
 
Pertemuan 11 ip routing
Pertemuan 11  ip routingPertemuan 11  ip routing
Pertemuan 11 ip routing
 
Pertemuan 15-implementasi-jaringan
Pertemuan 15-implementasi-jaringanPertemuan 15-implementasi-jaringan
Pertemuan 15-implementasi-jaringan
 
Pertemuan 10-subnetting
Pertemuan 10-subnettingPertemuan 10-subnetting
Pertemuan 10-subnetting
 
Pertemuan 9-ip-address
Pertemuan 9-ip-addressPertemuan 9-ip-address
Pertemuan 9-ip-address
 
Pertemuan 7-media-transmisi-wireless
Pertemuan 7-media-transmisi-wirelessPertemuan 7-media-transmisi-wireless
Pertemuan 7-media-transmisi-wireless
 
Pertemuan 6-media-transmisi-wire
Pertemuan 6-media-transmisi-wirePertemuan 6-media-transmisi-wire
Pertemuan 6-media-transmisi-wire
 
Pertemuan 4-metode-akses
Pertemuan 4-metode-aksesPertemuan 4-metode-akses
Pertemuan 4-metode-akses
 
Pertemuan 3-referensi-model-tcp-ip
Pertemuan 3-referensi-model-tcp-ipPertemuan 3-referensi-model-tcp-ip
Pertemuan 3-referensi-model-tcp-ip
 
Pertemuan 2-referensi-model-osi
Pertemuan 2-referensi-model-osiPertemuan 2-referensi-model-osi
Pertemuan 2-referensi-model-osi
 
Pertemuan 1-pengenalan-jaringan-komputer
Pertemuan 1-pengenalan-jaringan-komputerPertemuan 1-pengenalan-jaringan-komputer
Pertemuan 1-pengenalan-jaringan-komputer
 
Pertemuan 14. dns
Pertemuan 14. dnsPertemuan 14. dns
Pertemuan 14. dns
 
Pertemuan 16-koneksi-internet
Pertemuan 16-koneksi-internetPertemuan 16-koneksi-internet
Pertemuan 16-koneksi-internet
 
07 basis data
07   basis data07   basis data
07 basis data
 
05 representasi data
05   representasi data05   representasi data
05 representasi data
 
04 software komputer
04   software komputer04   software komputer
04 software komputer
 
03 hardware komputer
03   hardware komputer03   hardware komputer
03 hardware komputer
 
02 perkembangan dan klasifikasi komputer
02   perkembangan dan klasifikasi komputer02   perkembangan dan klasifikasi komputer
02 perkembangan dan klasifikasi komputer
 
01 pengetahuan dasar komputer
01   pengetahuan dasar komputer01   pengetahuan dasar komputer
01 pengetahuan dasar komputer
 

Recently uploaded

A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024Results
 
Developing An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of BrazilDeveloping An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of BrazilV3cube
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Allon Mureinik
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxMalak Abu Hammad
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking MenDelhi Call girls
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Miguel Araújo
 
Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Paola De la Torre
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...apidays
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityPrincipled Technologies
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEarley Information Science
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Scriptwesley chun
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountPuma Security, LLC
 
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsTop 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsRoshan Dwivedi
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfEnterprise Knowledge
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 

Recently uploaded (20)

A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024
 
Developing An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of BrazilDeveloping An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of Brazil
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
 
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsTop 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 

14 15. teknik digital desain-rangkaian_kombinasional

  • 1. Teknik Digital Pertemuan 14 & 15 1 Zulfadli Sulthan - PTIK - UNM 12/13/2011
  • 2. Desain Rangkaian Kombinasional 2 Zulfadli Sulthan - PTIK - UNM 12/13/2011
  • 3. Task: Berikan suatu diskripsi dari masalah (logical statement), cari hubungan rangkaian digital yang menghasilkan keluaran (jawaban) dari sekumulan masukan (condition). Contoh-contoh:  Parking lot controller  Elevator controller  Prime number indicator  Adder, subtractor, … 3 Zulfadli Sulthan - PTIK - UNM 12/13/2011
  • 4. Brute-force approach Row N3 N2 N1 N0 F Design: given a description or truth table, find the 0 0 0 0 0 0 corresponding Boolean expression and digital circuit. 1 0 0 0 1 1 2 0 0 1 0 1 3 0 0 1 1 1 Brute-force design methodology: 4 0 1 0 0 0  Truth table canonical sum 5 0 1 0 1 1  SoP or sum of minterms 6 0 1 1 0 0  AND-OR / NAND-NAND 7 0 1 1 1 1 8 1 0 0 0 0 9 1 0 0 1 0 Example: prime number detector 10 1 0 1 0 0 F= (1,2,3,5,7,11,13) 11 0 0 1 1 1 12 1 1 0 0 0 13 1 1 0 1 1 14 1 1 1 0 0 15 1 1 1 1 0 4 Zulfadli Sulthan - PTIK - UNM 12/13/2011
  • 5. Minterm list -> canonical sum 5 Zulfadli Sulthan - PTIK - UNM 12/13/2011
  • 6. Algebraic simplification Lihat teorema 8 (T8) X · Y + X · Y’ = X Persamaan simplifikasi untuk menyederhanakan jumlah gerbang dan gerbang masukan. 6 Zulfadli Sulthan - PTIK - UNM 12/13/2011
  • 7. Resulting circuit 7 Zulfadli Sulthan - PTIK - UNM 12/13/2011
  • 8. Combinational circuit design/minimization Objective:  Minimizing # logic gates  Minimizing # inputs to the logic gates Note different logic gates may have different # transistors General idea: simplify the Boolean expression using the theorems, especially (T10, T10’, T13, T13’) Karnaugh-map (K-map)  Graphical representation of the truth table  Offers visualization of (T10, T10’)  Works for functions with less than 6 variables Real world: use programs to minimize logic circuits  E.g., VHDL, Verilog, ABEL, … 8 Zulfadli Sulthan - PTIK - UNM 12/13/2011
  • 9. Karnaugh-map usage Plot 1s corresponding to minterms of function. Circle largest possible rectangular sets of 1s.  # of 1s in set must be power of 2  OK to cross edges Read off product terms, one per circled set.  Variable is 1 include variable  Variable is 0 include complement of variable  Variable is both 0 and 1 variable not included Circled sets and corresponding product terms are called `prime implicants’ Minimum number of gates and gate inputs 9 Zulfadli Sulthan - PTIK - UNM 12/13/2011
  • 10. 3 variable example: F = S(1,2,5,7) 10 Zulfadli Sulthan - PTIK - UNM 12/13/2011
  • 11. 4 variable K-map example 11 Zulfadli Sulthan - PTIK - UNM 12/13/2011
  • 12. Prime-number detector revisited 12 Zulfadli Sulthan - PTIK - UNM 12/13/2011
  • 13. Compare with the previous circuit When we solved algebraically, we missed one simplification- the circuit below has three less gate inputs. 13 Zulfadli Sulthan - PTIK - UNM 12/13/2011
  • 14. Design example: alarm controller Problem statement:  The ALARM output is 1 if PANIC is 1, or if ENABLE is 1 and the house is not secure.  The house is secure if WINDOW, DOOR, GARAGE are all 1 This can be put in logic expressions as follows: ALARM = PANIC + ENABLE · SECURE’ SECURE = WINDOW · DOOR · GARAGE ALARM = PANIC + ENABLE · (WINDOW · DOOR · GARAGE)’ Multiply out and use (T13), we get the SoP form ALARM = PANIC + ENABLE · WINDOW’ + ENABLE · DOOR’ + ENABLE · GARAGE’ 14 Zulfadli Sulthan - PTIK - UNM 12/13/2011
  • 15. K-map with don’t-cares In some cases, the output of a combinational circuit doesn’t matter for certain input combinations. Such combinations are called don’t-cares and the output is represented in the truth table and K-maps as `d’. When using K-maps to minimize such functions:  Allow d’s to be included when grouping sets of 1’s to make the sets as large as possible.  Do not circle any set that only contains d’s. 15 Zulfadli Sulthan - PTIK - UNM 12/13/2011
  • 16. Example with don’t-cares  Prime number detection for BCD numbers (takes value between 0-9) – minterms 10-15 are treated as don’t-cares: F(N3,N2,N1,N0) = ΣN3,N2,N1,N0 (1,2,3,5,7) + d(10,11,12,13,14,15) 16 Zulfadli Sulthan - PTIK - UNM 12/13/2011
  • 17. 5-variable K-maps The K-map for a 5-variable logic function is organized as two 4-variable K-maps:  Can be visualised as being one 4-variable map on top of another 4- variable map 17 Zulfadli Sulthan - PTIK - UNM 12/13/2011
  • 18. F(V,W,X,Y,Z) = Σ V,W,X,Y,Z(4,5,6,7,9,11,13,15,25,27,29,31) Example 18 Zulfadli Sulthan - PTIK - UNM 12/13/2011
  • 19. K-map product-of-sum (PoS) minimization Using K-map, find a minimal PoS expression for F(X,Y,Z) = X,Y,Z (0,3,4,7) 19 Zulfadli Sulthan - PTIK - UNM 12/13/2011
  • 20. Using K-map, find a minimal POS expression for F(W,X,Y,Z) = W,X,Y,Z (1,3,8,10,12,13,14,15) Another Example 20 Zulfadli Sulthan - PTIK - UNM 12/13/2011
  • 21. Combinational Circuit: Transient vs. Steady-state Output Transient output: the temporary output due to the gate propagation delay(s)  Gate propagation delay: the time it takes to pull up (or down) the output signals due to the change at the input – depends on the transistor level implementation. 21 Zulfadli Sulthan - PTIK - UNM 12/13/2011
  • 22. Hazards in combinational circuits Output glitch: a momentary (transient) fluctuation in output signal due to changes in input signal. Static hazards:  Static-0 hazard: The output should be 0 but goes momentary to 1 as a result of an input change – possible in AND-OR circuits  Static-1 hazard: The output should be 1 but goes momentary to 0 as a result of an input change – possible in OR-AND circuits Dynamic hazards: The output changes more than once as a result of a single input change (impossible in 2-level circuits). 22 Zulfadli Sulthan - PTIK - UNM 12/13/2011
  • 23. Example: static-1 hazard A static-1 hazard exists in the following AND-OR circuit when X=1, Y=1 and Z changes from 1 to 0 (assume all gates have propagation delay Δ) 23 Zulfadli Sulthan - PTIK - UNM 12/13/2011
  • 24. Eliminate static-1 hazard using K- map Static-1 hazards are found using k-maps by finding adjacent 1 cells that are covered by different product terms. To eliminate static-1 hazards, additional product terms (prime implicants) are needed to cover such cells thus covering the transition of the variable causing the hazard. For the previous example the static-1 hazard is eliminated by including the additional product term X · Y 24 Zulfadli Sulthan - PTIK - UNM 12/13/2011
  • 25. Eliminate static-0 hazard using K- map A static-0 hazard occurs in OR-AND circuits when an input variable and its complement are connected to two different OR gates. The procedure to find and eliminate static-0 hazards using K-maps is done in a dual way to finding static-1 hazards. Static-0 hazards are found using k-maps by finding adjacent 0 cells that are covered by different sum terms. To eliminate static-0 hazards, additional sum terms (prime implicates) are needed to cover such cells thus covering the transition of the variable causing the hazard. 25 Zulfadli Sulthan - PTIK - UNM 12/13/2011
  • 26. Thank you !!! 26 Zulfadli Sulthan - PTIK - UNM 12/13/2011