1 / 23

Unit 8 Combinational Circuit Design and Simulation Using Gates

Unit 8 Combinational Circuit Design and Simulation Using Gates. Ku-Yaw Chang canseco@mail.dyu.edu.tw Assistant Professor, Department of Computer Science and Information Engineering Da-Yeh University. Contents. 8.1 Review of Combinational Circuit Design

cissy
Download Presentation

Unit 8 Combinational Circuit Design and Simulation Using Gates

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Unit 8Combinational Circuit Design and Simulation Using Gates Ku-Yaw Chang canseco@mail.dyu.edu.tw Assistant Professor, Department of Computer Science and Information Engineering Da-Yeh University

  2. Contents 8.1 Review of Combinational Circuit Design 8.2 Design Circuits with Limited Gate Fan-In 8.3 Gate Delays and Timing Diagrams 8.4 Hazards in Combinational Logic 8.5 Simulation and Testing of Logic Circuits Fundamentals of Logic Design

  3. Propagation Delay In nanoseconds Fundamentals of Logic Design

  4. Timing Diagram • Frequently used in the analysis of sequential circuits Fundamentals of Logic Design

  5. Timing Diagram With Delay Fundamentals of Logic Design

  6. Contents 8.1 Review of Combinational Circuit Design 8.2 Design Circuits with Limited Gate Fan-In 8.3 Gate Delays and Timing Diagrams 8.4 Hazards in Combinational Logic 8.5 Simulation and Testing of Logic Circuits Fundamentals of Logic Design

  7. Hazards • When the input to a combinational circuit changes, unwanted switching transients may appear in the output. • Different paths • Different propagation delays Fundamentals of Logic Design

  8. Types of Hazards Fundamentals of Logic Design

  9. A Static 1-hazard • A = C = 1 • F = AB’ + BC = B + B’ = 1 • F should remain a constant 1 when B changes from 1 to 0. • Assumption • A propagation delayof 10 ns Fundamentals of Logic Design

  10. A Static 1-hazard Fundamentals of Logic Design

  11. Hazard Detection • Write down the sum-of-products expression for the circuit. • Plot each term on the map and loop it. • If any two adjacent 1’s are not covered by the same loop, a 1-hazard exists for the transition between the two 1’s. Fundamentals of Logic Design

  12. Hazard Removal • Add a loop on the Karnaugh map • Corresponding gate Fundamentals of Logic Design

  13. 0-hazards • Product of sums • F = (A+C)(A’+D’)(B’+C’+D) • Four pairs of adjacent 0’s that are not covered by a common loop • Each corresponds to a 0-hazard Fundamentals of Logic Design

  14. 0-hazards =0 =0 =1 Fundamentals of Logic Design

  15. Removing Hazards • Eliminate the 0-hazards • F=(A+C)(A’+D’)(B’+C’+D)(C+D’)(A+B’+D)(A’+B’+C’) Fundamentals of Logic Design

  16. Contents 8.1 Review of Combinational Circuit Design 8.2 Design Circuits with Limited Gate Fan-In 8.3 Gate Delays and Timing Diagrams 8.4 Hazards in Combinational Logic 8.5 Simulation and Testing of Logic Circuits Fundamentals of Logic Design

  17. Verification • Building a circuit • Simulating a circuit on a computer • Easier • Faster • More economical Fundamentals of Logic Design

  18. Simulation Steps • First, specify the circuit component and connections • Second, specify the circuit inputs • Finally, observe the circuit outputs Fundamentals of Logic Design

  19. Simulation • Two logic values, 0 and 1, are not sufficient • A gate input or output maybe unknown • Represented by X • An open circuit, or high impedance (hi-Z) • Represented by Z • Four-value logic simulator • 0, 1, X, Z Fundamentals of Logic Design

  20. Simulation Fundamentals of Logic Design

  21. Possible Causes • Simulation • Incorrect design • Gates connected wrong • Wrong input signals to the circuit • Built in lab • Defective gates • Defective connecting wires Fundamentals of Logic Design

  22. Incorrect Output • F = AB(C’D+CD’) + A’B’(C+D) • A=B=C=D=1 • The output F has the wrong value Fundamentals of Logic Design

  23. Homework #2 • 8.4 • 8.5 • 8.1 • 8.2 • 8.3 Paper Submission, due on April 1, 2004. Late submission will not be accepted. Fundamentals of Logic Design

More Related