SlideShare ist ein Scribd-Unternehmen logo
1 von 7
Downloaden Sie, um offline zu lesen
/ 27
Download this Document for Free
2. Fundamentals of Logic gates
2.1 LOGIC GATES
We have seen that the foundation of logic design is seated in a
well definedaxiomatic system called Boolean algebra, which was shown
to be what is known asa “Huntington system”. In this axiomatic system
the definition of AND and ORoperators or functions was set forth and
these were found to be well definedoperators having certain properties
that allow us to extend their definition toHardware applications. These
AND and OR operators, sometimes referred to asconnectives, actually
suggest a function that can be emulated by some H/w logicdevice. The
logic Hardware devices just mentioned are commonly referred to
as“gates”.
Keep in mind that the usage of “gate” refers to an actual piece of
Hardwarewhere “function” or “operation” refers to a logic operator AND.
On the other hand,when we refer to a “gate” we are referring directly to a
piece of hardware called agate. The main point to remember is ‘Don’t
confuse gates with logic operators’.
2.1.1 Basic Logic Gates
Positive and Negative Logic Designation
The binary signals at the inputs or outputs of any gate can have
one of thetwo values except during transition. One signal levels
represents logic 1 and theother logic 0. Since two signal values are
assigned two to logic values, there existtwo different assignments of
signals to logic.
Logics 1 and 0 are generally represented by different voltage
levels. Considerthe two values of a binary signal as shown in Fig. 2.5.1.
One value must be higherthan the other since the two values must be
different in order to distinguishbetween them. We designate the higher
voltage level by H and lower voltage levelby L. There are two choices for
logic values assignment. Choosing the high-level (H)to represent logic 1
as shown in (a) defines a positive logic system. Choosing thelow level L
to represent logic-1 as shown in (b), defines a negative logic system.
Fig. 2.5.1
The terms positive and negative are somewhat misleading since
both signalvalues may be positive or both may be negative. Therefore, it
is not signal polaritythat determines the type of logic, but rather the
assignment of logic valuesaccording to the relative amplitudes of the
signals.
The effect of changing from one logic designation to the other
equivalent tocomplementing the logic functions because of the principle
of duality of Booleanalgebra.
Gate Definition
A ‘gate’ is defined as a multi-input (> 2) hardware device that has a two-
leveloutput. The output level (1–H/0–L) of the gate is a strict and
repeatable function ofthe two-level (1–H/0–L) combinations applied to its
inputs. Fig. 2.5.2 shows ageneral model of a gate.
Fig. 2.5.2 The general model of a gate.
The term “logic” is usually used to refer to a decision making
process. A logicgate, then, is a circuit that can decide to say yes or no at
the output based uponinputs. We apply voltage as the input to any gate,
therefore the Boolean (logic) 0and 1 do not represent actual number but
instead represent the state of a voltagevariable or what is called its logic
level. Sometimes logic 0 and logic 1 may be calledas shown in table
below:
Table 2.5.2
a. OR Gate
The OR gate is sometimes called the “any or all gate”. To show the OR
gate
we use the logical symbol in Fig. 2.5.4(a).
b.
c.Fig. 2.5.4 (a) OR gate logic symbol
. (b) Practical OR gate circuit.
d.
e.A truth-table for the ‘OR’ gate is shown below according to Fig.
2.5.4(b).The truth-table lists the switch and light conditions for the OR
gate. Theunique output from the OR gate is a LOW only when all inputs
are low. Theoutput column in Table (2.5.4) shows that only the first line
generates a 0while all others are 1.
Table 2.5.4
f.
g.Fig. 2.5.4(c) shows the ways to express that input A is ORed with input
B to
produce output Y.
h.
i.Fig. 2.5.4 (c)
j.Example. Determine the output Y from the OR gate for the given input
waveform shown in Fig. 2.5.4(d).
k.
l.Fig. 2.5.4 (d)
m.Solution. The output of an OR gate is determined by realizing that it
willbe low only when both inputs are low at the same time. For the inputs
theoutputs is low only during periodt2. In remaining time output is 1 as
shownin Fig. 2.5.4(e).

Weitere ähnliche Inhalte

Mehr von Ahmed Mohammed Alhntoshi (13)

الفصل الثاني برمجة التحكم الآلي
الفصل الثاني برمجة التحكم الآليالفصل الثاني برمجة التحكم الآلي
الفصل الثاني برمجة التحكم الآلي
 
الفصل الاول برمجة التحكم الآلي
  الفصل الاول برمجة التحكم الآلي  الفصل الاول برمجة التحكم الآلي
الفصل الاول برمجة التحكم الآلي
 
Resume 4
Resume 4Resume 4
Resume 4
 
Resume 3
Resume 3Resume 3
Resume 3
 
Resume2
Resume2Resume2
Resume2
 
Resume
ResumeResume
Resume
 
أبجدية الألكترونيات
أبجدية الألكترونياتأبجدية الألكترونيات
أبجدية الألكترونيات
 
أبجدية الألكترونيات
أبجدية الألكترونياتأبجدية الألكترونيات
أبجدية الألكترونيات
 
Electrical engineering objective type questions(www.allexamreview.com) أساأ...
Electrical engineering objective type questions(www.allexamreview.com)   أساأ...Electrical engineering objective type questions(www.allexamreview.com)   أساأ...
Electrical engineering objective type questions(www.allexamreview.com) أساأ...
 
Power diagram of im
Power diagram of imPower diagram of im
Power diagram of im
 
behavior based safety
behavior based safetybehavior based safety
behavior based safety
 
Tutorial motor-basics-lecture
Tutorial motor-basics-lectureTutorial motor-basics-lecture
Tutorial motor-basics-lecture
 
Cv copy
Cv   copyCv   copy
Cv copy
 

Kürzlich hochgeladen

data_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdfdata_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdfJiananWang21
 
Intze Overhead Water Tank Design by Working Stress - IS Method.pdf
Intze Overhead Water Tank  Design by Working Stress - IS Method.pdfIntze Overhead Water Tank  Design by Working Stress - IS Method.pdf
Intze Overhead Water Tank Design by Working Stress - IS Method.pdfSuman Jyoti
 
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...Call Girls in Nagpur High Profile
 
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...roncy bisnoi
 
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdfONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdfKamal Acharya
 
UNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its PerformanceUNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its Performancesivaprakash250
 
Generative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPTGenerative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPTbhaskargani46
 
Call for Papers - International Journal of Intelligent Systems and Applicatio...
Call for Papers - International Journal of Intelligent Systems and Applicatio...Call for Papers - International Journal of Intelligent Systems and Applicatio...
Call for Papers - International Journal of Intelligent Systems and Applicatio...Christo Ananth
 
KubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghlyKubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghlysanyuktamishra911
 
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night StandCall Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Standamitlee9823
 
Double Revolving field theory-how the rotor develops torque
Double Revolving field theory-how the rotor develops torqueDouble Revolving field theory-how the rotor develops torque
Double Revolving field theory-how the rotor develops torqueBhangaleSonal
 
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...ranjana rawat
 
Thermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - VThermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - VDineshKumar4165
 
BSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptx
BSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptxBSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptx
BSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptxfenichawla
 

Kürzlich hochgeladen (20)

data_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdfdata_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdf
 
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort ServiceCall Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
 
NFPA 5000 2024 standard .
NFPA 5000 2024 standard                                  .NFPA 5000 2024 standard                                  .
NFPA 5000 2024 standard .
 
Intze Overhead Water Tank Design by Working Stress - IS Method.pdf
Intze Overhead Water Tank  Design by Working Stress - IS Method.pdfIntze Overhead Water Tank  Design by Working Stress - IS Method.pdf
Intze Overhead Water Tank Design by Working Stress - IS Method.pdf
 
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
 
(INDIRA) Call Girl Meerut Call Now 8617697112 Meerut Escorts 24x7
(INDIRA) Call Girl Meerut Call Now 8617697112 Meerut Escorts 24x7(INDIRA) Call Girl Meerut Call Now 8617697112 Meerut Escorts 24x7
(INDIRA) Call Girl Meerut Call Now 8617697112 Meerut Escorts 24x7
 
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
 
Water Industry Process Automation & Control Monthly - April 2024
Water Industry Process Automation & Control Monthly - April 2024Water Industry Process Automation & Control Monthly - April 2024
Water Industry Process Automation & Control Monthly - April 2024
 
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdfONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
 
UNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its PerformanceUNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its Performance
 
Generative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPTGenerative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPT
 
Call for Papers - International Journal of Intelligent Systems and Applicatio...
Call for Papers - International Journal of Intelligent Systems and Applicatio...Call for Papers - International Journal of Intelligent Systems and Applicatio...
Call for Papers - International Journal of Intelligent Systems and Applicatio...
 
KubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghlyKubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghly
 
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night StandCall Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
 
Double Revolving field theory-how the rotor develops torque
Double Revolving field theory-how the rotor develops torqueDouble Revolving field theory-how the rotor develops torque
Double Revolving field theory-how the rotor develops torque
 
(INDIRA) Call Girl Bhosari Call Now 8617697112 Bhosari Escorts 24x7
(INDIRA) Call Girl Bhosari Call Now 8617697112 Bhosari Escorts 24x7(INDIRA) Call Girl Bhosari Call Now 8617697112 Bhosari Escorts 24x7
(INDIRA) Call Girl Bhosari Call Now 8617697112 Bhosari Escorts 24x7
 
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
 
Thermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - VThermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - V
 
BSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptx
BSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptxBSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptx
BSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptx
 
Roadmap to Membership of RICS - Pathways and Routes
Roadmap to Membership of RICS - Pathways and RoutesRoadmap to Membership of RICS - Pathways and Routes
Roadmap to Membership of RICS - Pathways and Routes
 

اساسيات في Logic gates for course ee 200

  • 1. / 27 Download this Document for Free 2. Fundamentals of Logic gates 2.1 LOGIC GATES We have seen that the foundation of logic design is seated in a well definedaxiomatic system called Boolean algebra, which was shown to be what is known asa “Huntington system”. In this axiomatic system the definition of AND and ORoperators or functions was set forth and these were found to be well definedoperators having certain properties that allow us to extend their definition toHardware applications. These AND and OR operators, sometimes referred to asconnectives, actually suggest a function that can be emulated by some H/w logicdevice. The logic Hardware devices just mentioned are commonly referred to as“gates”. Keep in mind that the usage of “gate” refers to an actual piece of Hardwarewhere “function” or “operation” refers to a logic operator AND. On the other hand,when we refer to a “gate” we are referring directly to a piece of hardware called agate. The main point to remember is ‘Don’t confuse gates with logic operators’. 2.1.1 Basic Logic Gates Positive and Negative Logic Designation The binary signals at the inputs or outputs of any gate can have one of thetwo values except during transition. One signal levels represents logic 1 and theother logic 0. Since two signal values are assigned two to logic values, there existtwo different assignments of signals to logic. Logics 1 and 0 are generally represented by different voltage levels. Considerthe two values of a binary signal as shown in Fig. 2.5.1. One value must be higherthan the other since the two values must be different in order to distinguishbetween them. We designate the higher voltage level by H and lower voltage levelby L. There are two choices for logic values assignment. Choosing the high-level (H)to represent logic 1 as shown in (a) defines a positive logic system. Choosing thelow level L to represent logic-1 as shown in (b), defines a negative logic system.
  • 2. Fig. 2.5.1 The terms positive and negative are somewhat misleading since both signalvalues may be positive or both may be negative. Therefore, it is not signal polaritythat determines the type of logic, but rather the assignment of logic valuesaccording to the relative amplitudes of the signals. The effect of changing from one logic designation to the other equivalent tocomplementing the logic functions because of the principle of duality of Booleanalgebra. Gate Definition A ‘gate’ is defined as a multi-input (> 2) hardware device that has a two- leveloutput. The output level (1–H/0–L) of the gate is a strict and repeatable function ofthe two-level (1–H/0–L) combinations applied to its inputs. Fig. 2.5.2 shows ageneral model of a gate. Fig. 2.5.2 The general model of a gate. The term “logic” is usually used to refer to a decision making process. A logicgate, then, is a circuit that can decide to say yes or no at the output based uponinputs. We apply voltage as the input to any gate, therefore the Boolean (logic) 0and 1 do not represent actual number but instead represent the state of a voltagevariable or what is called its logic level. Sometimes logic 0 and logic 1 may be calledas shown in table below: Table 2.5.2
  • 3. a. OR Gate The OR gate is sometimes called the “any or all gate”. To show the OR gate we use the logical symbol in Fig. 2.5.4(a). b. c.Fig. 2.5.4 (a) OR gate logic symbol . (b) Practical OR gate circuit. d. e.A truth-table for the ‘OR’ gate is shown below according to Fig. 2.5.4(b).The truth-table lists the switch and light conditions for the OR gate. Theunique output from the OR gate is a LOW only when all inputs are low. Theoutput column in Table (2.5.4) shows that only the first line generates a 0while all others are 1.
  • 5.
  • 6.
  • 7. f. g.Fig. 2.5.4(c) shows the ways to express that input A is ORed with input B to produce output Y. h. i.Fig. 2.5.4 (c) j.Example. Determine the output Y from the OR gate for the given input waveform shown in Fig. 2.5.4(d). k. l.Fig. 2.5.4 (d) m.Solution. The output of an OR gate is determined by realizing that it willbe low only when both inputs are low at the same time. For the inputs theoutputs is low only during periodt2. In remaining time output is 1 as shownin Fig. 2.5.4(e).