Presentation is loading. Please wait.

Presentation is loading. Please wait.

Digital Logic Design Ch1-1. Digital Logic Design Ch1-2 Introduction to digital logic (logic gates, flip-flops, circuits) Definition of Digital Logic 

Similar presentations


Presentation on theme: "Digital Logic Design Ch1-1. Digital Logic Design Ch1-2 Introduction to digital logic (logic gates, flip-flops, circuits) Definition of Digital Logic "— Presentation transcript:

1 Digital Logic Design Ch1-1

2 Digital Logic Design Ch1-2 Introduction to digital logic (logic gates, flip-flops, circuits) Definition of Digital Logic  Digital logic consists of binary variables and a set of logical operations.  The variables are designated by letters of the alphabet, such as A, B, C, x, y, z, etc, with each variable having two and only two distinct possible values: 1 and 0,

3 Digital Logic Design Ch1-3 Digital systems are said to be constructed by using logic gates. These gates are divided of three types of gate: 1- Basic gates: AND gate OR gate NOT gate 2- Universal gates: NAND gate NOR gate 3- Derived gates: EXOR gate EXNOR gates.

4 Digital Logic Design Ch1-4 xyz 000 010 100 111 * AND gate z = x y = x y The AND gate is an electronic circuit that gives a high output (1) only if all its inputs are high. A dot (.) is used to show the AND operation i.e. A.B.

5 Digital Logic Design Ch1-5 xyz 000 011 101 111 * OR gate z = x + y The OR gate is an electronic circuit that gives a high output (1) if one or more of its inputs are high. A plus (+) is used to show the OR operation

6 Digital Logic Design Ch1-6 xz 01 10 * NOT gate X =Z=X The NOT gate is an electronic circuit that produces an inverted version of the input at its output. It is also known as an inverter. If the input variable is A, the inverted output is known as NOT A. This is also shown as A', or A with a bar over the top.

7 Digital Logic Design Ch1-7 Switching Circuits SW1SW2Lamp SW1 SW2 Lamp off on off on off on

8 Digital Logic Design Ch1-8 SW1 Switching Circuits SW1SW2Lamp SW2 Lamp off on off on

9 Digital Logic Design Ch1-9 Switching Circuits SWLamp SW Lamp off on off on

10 Digital Logic Design Ch1-10 Binary Logic Logic gates  Example of binary signals 0 1 2 3 Logic 1 Logic 0 Un-define Figure 1.3 Example of binary signals

11 Digital Logic Design Ch1-11 Binary Logic Logic gates  Graphic Symbols and Input-Output Signals for Logic gates: Fig. 1.4 Symbols for digital logic circuits Fig. 1.5 Input-Output signals for gates

12 Digital Logic Design Ch1-12 In PutOut Put 001 011 101 110 The NAND gate represents the complement of the AND operation. Its name is an abbreviation of NOT AND.

13 Digital Logic Design Ch1-13 In PutOut Put 001 010 100 110 The NOR gate represents the complement of the OR operation. Its name is an abbreviation of NOT OR.

14 Digital Logic Design Ch1-14 In PutOut Put 000 011 101 110 The output is high when either of inputs A or B is high, but not if both A and B are high. It is consists of a five gates (two AND, two NOT, and one OR)

15 Digital Logic Design Ch1-15 In PutOut Put 001 010 100 111 This is an X-OR gate with the output inverted. It is consists of a five gates (two AND, two NOT, and one OR)

16 Digital Logic Design Ch1-16 16 More about logic gates To implement a logic gate in hardware, you use a transistor Transistors are all enclosed in an “IC”, or integrated circuit The current Intel Pentium IV processors have 55 million transistors!

17 Digital Logic Design Ch1-17

18 Digital Logic Design Ch1-18 A digital circuit that contains flip-flops is called a Sequential Circuit A flip-flop holds a single bit of memory  The bit “flip-flops” between the two NAND gates In reality, flip-flops are a bit more complicated  Have 5 (or so) logic gates (transistors) per flip- flop

19 Digital Logic Design Ch1-19 1- R-S flip-flop 2- D flip-flop 3- J-K flip-flops R S

20 Digital Logic Design Ch1-20 20 Flip-flops R-S Flip-Flope Consider the following circuit: R S Q Q RS Function 10Reset 01Set 11Hold 001/1 holds it’s a single bit of memory.


Download ppt "Digital Logic Design Ch1-1. Digital Logic Design Ch1-2 Introduction to digital logic (logic gates, flip-flops, circuits) Definition of Digital Logic "

Similar presentations


Ads by Google