1 / 34

ETE 204 – Digital Electronics

Basic Logic Operations and Standard Logic Gates [Lecture:1] Instructor: Sajib Roy Lecturer, ETE, ULAB. ETE 204 – Digital Electronics. What is an analog signal?. Analog Signal. An analog signal is a signal that can take on a continuous range of values. Analog Signal.

Download Presentation

ETE 204 – Digital Electronics

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. Basic Logic Operations and Standard Logic Gates [Lecture:1] Instructor: Sajib Roy Lecturer, ETE, ULAB ETE 204 – Digital Electronics

  2. ETE 204 - Digital Electronics What is an analog signal?

  3. ETE 204 - Digital Electronics Analog Signal • An analog signal is a signal that can take on a continuous range of values.

  4. ETE 204 - Digital Electronics Analog Signal • Most, if not all, physical (naturally occurring) quantities are analog values. • Time • Temperature • Pressure

  5. ETE 204 - Digital Electronics What is an digital signal?

  6. ETE 204 - Digital Electronics Digital Signal • An digital signal is a signal that can take on only discrete (specific) values.

  7. ETE 204 - Digital Electronics What is an binary signal?

  8. ETE 204 - Digital Electronics Binary Signal • An binary signal is a signal that can take on only two values. • Typically represented by 0 and 1.

  9. ETE 204 - Digital Electronics Can a binary number be used to represent an analog value? What about accuracy (or is it precision)?

  10. ETE 204 - Digital Electronics Can a binary number be used to represent an digital value? How many bits are required?

  11. ETE 204 - Digital Electronics Sample and Hold ADC Binary Encoder analog sampled digital binary Processing Physical Quantities • The analog signal (representing the physical quantity) must be sampled at specific instances in time. • The sampled values must be digitized. • The digital value must be encoded in binary.

  12. ETE 204 - Digital Electronics Basic Logic Operations

  13. Definition: the output is true (1) if both inputs are true (1). ETE 204 - Digital Electronics AND logical operator F = A.B = AB = “A and B” Boolean expression F Truth table Symbol (aka. logic gate)

  14. Definition: the output is true (1) if either or both inputs are true (1). ETE 204 - Digital Electronics F F OR logical operator F = A+B = “A or B” Boolean expression Truth table Symbol

  15. Definition: the output is true (1) if the input is false (0). ETE 204 - Digital Electronics NOT logical operator F = A' = “ not A” Boolean expression Truth table A F = A' Symbol

  16. ETE 204 - Digital Electronics Order of Precedence • The order of precedence of the basic logic operations is defined as follows: • NOT • AND • OR • The order of precedence can be modified by using parenthesis.

  17. ETE 204 - Digital Electronics Functionally Complete • The AND, OR, and NOT operations comprise a functionally complete set. • All logic functions can be expressed in terms of these logic operations. • All logic circuits can be realized using the associated logic gates.

  18. Definition: the output is false (0) iff both inputs are true (1). ETE 204 - Digital Electronics NAND F = (A.B)' = “not (A and B)” Boolean expression F = (A.B)' Truth table Symbol shorthand for inversion

  19. Definition: the output is false (0) if either or both inputs are true (1). ETE 204 - Digital Electronics F F NOR F = (A+B)' = “not (A or B)” Boolean expression F = (A+B)' F Truth table Symbol shorthand for inversion

  20. Definition: the output is true (1) if either but not both inputs are true (1). ETE 204 - Digital Electronics XOR F = A xor B Boolean expression logical operator Truth table Symbol

  21. Definition: the output is false (0) if either but not both inputs are true (1). ETE 204 - Digital Electronics XNOR (aka. Equivalence) F = A xnor B Boolean expression logical operator Symbol Truth table

  22. ETE 204 - Digital Electronics Logic Circuits • Logic circuits are realized through the interconnection of logic gates. • Each logic gate represents a logical operation. • This can be done using • discrete components • Standard Logic Gates • programmable devices • Read-only Memories (ROM) • Programmable Logic Devices (PLD) • Field Programmable Gate Arrays (FPGA)

  23. ETE 204 - Digital Electronics Standard Logic Gates

  24. ETE 204 - Digital Electronics Standard Logic Gates Note: “xx” refers to the logic family

  25. ETE 204 - Digital Electronics Standard Logic Gates • Data sheets provide essential information: • Logic Function • Truth Table • Pin-out • Electrical Characteristics • Timing Characteristics • Package Description(s) • This information is necessary when building logic circuits from discrete components. • Each logic family has a unique set of characteristics.

  26. ECE 301 - Digital Electronics Standard Logic Gates: 74xx08 pin-out Truth table ETE 204 - Digital Electronics

  27. ECE 301 - Digital Electronics Standard Logic Gates: 74xx32 pin-out Truth table ETE 204 - Digital Electronics

  28. ECE 301 - Digital Electronics Standard Logic Gates: 74xx04 pin-out Truth table ETE 204 - Digital Electronics

  29. ETE 204 - Digital Electronics C B inputs output F A Building a Logic Circuit Circuit Diagram 74xx08 74xx04 74xx32 74xx08 Boolean Expression F = B'.C + A.B

  30. ETE 204 - Digital Electronics V DD 7404 7408 7432 A B C F Building a Logic Circuit Wiring Diagram components wires inputs output

  31. Draw the circuit diagram and wiring diagram for the following Boolean expression: F = A'.B + A.B' Example ETE 204 - Digital Electronics

  32. ETE 204 - Digital Electronics Example (circuit diagram)

  33. ETE 204 - Digital Electronics Example

  34. ETE 204 - Digital Electronics Questions?

More Related