Digital Logic Circuit - Ch3
Digital Logic Circuit - Ch3
A가 참(1) 또는 B가 참(1) 또는 C가
참(1) 일 때 x가 참(1)이다.
x 는 A 또는 B 또는 C 와 같다.
3-3 OR Operation With OR Gates
• Example of the use of an OR
gate in an alarm system.
ì0, VT < VTR
TH = í
î1, VT ³ VTR
온도가 최대값을
넘거나
알람을 울려야 함
빨래건조기 또는
마이크로웨이브
동작
A' = A
Another indicator for
inversion is the
prime symbol ('). NOT Truth Table
3-5 NOT Operation
A NOT circuit—commonly called an INVERTER.
This circuit always has only a single input, and the out-put
logic level is always opposite to the logic level of this input.
3-5 NOT Operation
The INVERTER inverts (complements) the
input signal at all points on the waveform.
• Further examples…
3-6 Describing Logic Circuits
Algebraically
• Further examples…
3-7 Evaluating Logic Circuit
Outputs 출력값 구하기
• Rules for evaluating a Boolean expression:
1. Perform all inversions of single terms. (괄호를
뺀) 변수의 모든 역변환을 수행
2. Perform all operations within parenthesis.
괄호내의 연산 수행
3. Perform AND operation before an OR
operation unless parenthesis indicate otherwise.
괄호가 없다면 AND 연산 수행후 OR 연산 수행
4. If an expression has a bar over it, perform
operations inside the expression, and then invert
the result. 연산식에 바가 있으면 내부 연산 수행후
결과를 역변환 해줌
3-7 Evaluating Logic Circuit
Outputs
< Example :
A = 0, B = 1, C = 1, and D = 1
x = ABC ( A + D)
x = 0 ×1 ×1 × (0 + 1)
x = 1 ×1 ×1 × (0 + 1)
x = 1 ×1 ×1 × (1)
x = 1 ×1 ×1 × 0
x=0
3-7 Evaluating Logic Circuit
Outputs
• The best way to analyze a circuit made up
of multiple logic gates is to use a truth
table.
§ It allows you to analyze one gate or logic
combination at a time. 한번에 한 개의 게이트
또는 논리조합 분석
§ It allows you to easily double-check your work.
확인작업을 쉽게 할 수 있음
• When you are done, you have a table of
tremendous benefit in troubleshooting the logic
circuit. 논리회로 고장 점검이 쉬운 장점
3-7 Evaluating Logic Circuit
• The next step is Outputs
to fill in the values for column v.
The first step after listing all input combinations
is to create a column in the truth table for each
intermediate signal (node).
z = ( A + C ) × ( B + D)
= ( A + C ) + ( B + D)
= (A ×C) + B × D
= AC + BD
x = AB + CD
74LS00 → only 1 IC
[그림 3-32]
< How to build digital circuits easily?
- Use breadboard
Electrically connected
Breadboard + : 5V or VCC
- : 0V or GND
< WinBreadBoard
- Simulation of Digital Circuits
Where can I buy IC’s?
< Online
- Device Mart : http://www.devicemart.co.kr/
- Eleparts : http://www.eleparts.co.kr
- IC bank : http://www.icbank.co.kr
< Offline
- Yongsan
- Guro
< Datasheets :
- http://www.alldatasheet.co.kr
3-13 Alternate Logic-Gate
Representations
• To convert a standard symbol to an
alternate: 기본 논리게이트 (AND, OR,
INVERTER, NAND, NOR)를 대안논리
기호로 사용
§ Invert each input and output in
standard symbols. 모든 입력과 출력을
역변환
• Add an inversion bubble where there are
none.
• Remove bubbles where they exist.
§ 연산기호를 AND에서 OR로 또는 OR에서
AND로 변환
3-13 Alternate Logic-Gate
Representations
3-13 Alternate Logic-Gate
Representations
• Points regarding logic symbol
equivalences 논리기호의 등가:
§ The equivalences can be extended to
gates with any number of inputs.
등가성은 입력단자의 수가 많을 때도 성립
§ None of the standard symbols have
bubbles on their inputs, and all the
alternate symbols do. 표준기호는 입력에
버블이 없으나 모든 대안기호는 버블이 있음
3-13 Alternate Logic-Gate
Representations
§ Standard & alternate symbols for each gate
represent the same physical circuit. 표준기호와
대안기호는 모두 같은 회로 나타냄
§ NAND and NOR gates are inverting gates.
NAND와 NOR 게이트는 역 연산 게이트
• Both the standard and the alternate symbols
for each will have a bubble on either the
input or the output. 표준기호와 대안기호 모두
입력 또는 출력 한쪽에만 버블이 있음
§ AND and OR gates are noninverting gates.
AND와 OR는 역 연산이 없는 게이트로
• The alternate symbols for each will have
bubbles on both inputs and output.
대안기호는 입력과 출력에 모두 버블이 있음
3-13 Alternate Logic-Gate
Representations
• Active-HIGH – an input/output has no
inversion bubble. 입력 또는 출력에 버블이
붙어 있지 않을 때
모든 입력이 HIGH 일 때
출력 LOW
OR gate
OR gate
AND gate
모든 입력이 LOW 일 때
출력 LOW
3-14 Which Gate Representation
to Use
Proper use of alternate gate symbols in the circuit
diagram can make circuit operation much clearer.
Original circuit
using standard
NAND symbols.
Equivalent
representation
where output Z is
active-HIGH.
Equivalent
representation where
output Z is
active-LOW.
1. MEM is active LOW. It will go LOW only when X and Y are HIGH
2. X will be HIGH only when RD=0
3. Y will be HIGH when either W or V is HIGH
4. V will be HIGH when RAM = 0
5. W will be HIGH when either ROM-A or ROM-B = 0
6. Putting all this together → MEM will go LOW only when RD = 0 and
at least one of the three inputs ROM-A, ROM-B, or RAM is LOW
3-14 Which Gate Representation
to Use
< Asserted levels 주장하는 값:
- asserted = active
- unasserted = inactive
< Labeling active-LOW logic signals → overbar
RD, RAM 등
은 Active LOW