Professional Documents
Culture Documents
A popular type of IC
DIP (Dual In-line package) SOP (Small Out-line package)
Pin diagram for Quad [Quadruple] 2-input TTL AND gate 7408
1A 1 14 VCC +5V
1B 2 13 4B
1Y 3 12 4A
2A 4 11 4Y
2B 5 10 3B
2Y 6 9 3A
0V GND 7 8 3Y
Fig. 8-2
- 1-
Wire diagram to implement the two-input AND function
1 1A V CC 14
OUTPUT
2 1B
+ A INPUTS B 3 1Y
(7408) LED
7 GND
150Ω
Fig. 8-3
DM7408N
1 2 3 4 5 6 7
Fig. 8-4
DM 74 08 N
- 2-
Marking on a Renesas Electronics digital IC
14 13 12 11 10 9 8
4 4 4 4 4
HD74LS08P
1 2 3 4 5 6 7
Fig. 8-5
HD 74 LS 08 P
Manufacturer’s
code Plastic dual-in-line
7400 series package
(commercial grade)
Function of digital IC
Low power
Schottky type
- 3-
Pin diagram for Quad [Quadruple] 2-input CMOS AND gate 4081
A 1 14 V DD positive voltage
B 2 13 H VDD = 3 8V
J 3 12 G
K 4 11 M
C 5 10 L
D 6 9 F
GND or VSS 7 8 E
negative voltage
Fig. 8-6
Wire diagram using the 4081 CMOS IC to implement the two-input AND function
150
1 A VDD 14
2 B H 13
LED
+ A INPUTS B 3 J G 12
CMOS
(4081)
5 C
10k
6 D F 9
Q1
7 V SS E 8
2N3904
Fig. 8-7
TC4081BP
1 2 3 4 5 6 7
Fig. 8-8
TC 40 81 B P
Plastic dual-in-line
Manufacturer’s package
code
4000 CMOS series Buffered version
of 4000 series
Function of digital IC - 4 -
Function of digital IC
81 AND 01 NOR
71 OR 70 XOR
11 NAND 77 XNOR
Logic Levels
Logic 0 (LOW) → 0 V Logic 1 (HIGH) → 5 V
However, LOW/HIGH input and LOW/HIGH output have the voltage range.
INPUT OUTPUT
VOLTAGE VOLTAGE
Maximum +5.5 V
+5 V +5 V
+4 V HIGH +4 V
HIGH Typical 3.5
V
+3 V +3 V
TTL
2.4 V
+2 V 2.0 V +2 V
Undefined Undefined
+1 V +1 V
0.8 V
LOW 0.4 V
Typical 0.1 LOW
GND GND
V
Fig. 8-9
- 5-
Input and output voltage levels from the 4000 and 74C00 series inverter
INPUT OUTPUT
VOLTAGE VOLTAGE
+10 V +10 V
4000 9.95 V
and
HIGH
+8 V 74C00 HIGH +8 V
series
7V
+6 V +6 V
Undefined Undefined
+4 V CMOS +4 V
3V
+2 V LOW +2 V
LOW
0.05 V
GND GND
Fig. 8-10
Input and output voltage levels from the 74HC00 series inverter
INPUT OUTPUT
VOLTAGE VOLTAGE
+5 V +5 V
4.9 V
HIGH
+4 V 74HC00 HIGH +4 V
series
3.5 V
+3 V +3 V
Undefined Undefined
+2 V CMOS +2 V
+1 V 1V LOW +1 V
LOW
0.1 V
GND GND
Fig. 8-11
- 6-
Input and output voltage levels from the 74HCT00 series inverter
INPUT OUTPUT
VOLTAGE VOLTAGE
+5 V +5 V
Typical 4.7
HIGH
V
4.3 V
+4 V 74HCT00 +4 V
series
HIGH
+3 V +3 V
Undefined
+2 V 2.0 V CMOS +2 V
Undefined
+1 V LOW +1 V
0.8 V
LOW 0.3 V
Typical 0.2
GND V GND
Fig. 8-12
Noise Margin
Noise in a digital system
=
Unwanted voltages induced in the connecting wires and printed circuit board
Noise Immunity
A circuit’s insentivity or resistance to undesired voltages or noise
Noise Margin in digital circuits
Advantages of CMOS
• Low power consumption
• Good noise immunity
- 7-
INPUT OUTPUT
TTL
VOLTAGE VOLTAGE
+5 V +5 V
+4 V +4 V
HIGH
HIGH
Undefined
+3 V +3 V
Fig. 8-13
INPUT OUTPUT
CMOS (74HC00)
VOLTAGE VOLTAGE
+5 V +5 V
+3 V 3.5 V +3 V
+2 V +2 V
1V
+1 V LOW +1 V
LOW Noise Margin (0.9 V) 0.1 V
GND GND
Fig. 8-14
Switching Threshold
• The input voltage at which the output logic level switches from HIGH-to-LOW or LOW-
to-HIGH.
• Occurs within the undefined region but varies widely because of manufacturer,
temperature, and the quality of the components.
- 8-
TTL INPUT LOGIC LEVELS
+5 V
+4 V
HIGH
+3 V
+2 V
Undefined region 1.2 V
switching
actual noise +1 V threshold
0.8 V
margin (1 V)
0.2 V LOW
0 V (GND)
Actual input voltage (LOW)
Fig. 8-15
+4 V IOH IIH +4 V
HIGH
400 µA 40 µA HIGH
+3 V +3 V
+2 V +2 V
+1 V +1 V
IOL IIL
LOW
LOW 16 mA 1.6 mA
GND GND
Fig. 8-19
- 9-
Output drive and input loading characteristics for selected TTL and CMOS logic families
Device Family Output Drive Input Loading
Standard TTL IOH = 400 µA IIH = 40 µA
IOL = 16 mA IIL = 1.6 mA
Low-Power Schottky IOH = 400 µA IIH = 20 µA
IOL = 8 mA IIL = 400 µA
Advanced Low-power Schottky IOH = 1 mA IIH = 20 µA
TTL
Fan-out
The number of “standard” input loads that can be driven by an IC
Fan-in
The number of inputs that can be handled by an IC
LS-TTL
Fig. 8-21
Voltage and current profiles for visualizing the solution to the problem
- 10 -
LS-TTL STANDARD TTL
OUTPUT INPUT
+5 V +5 V
+4 V IOH IIH +4 V
HIGH
400 µA 40 µA HIGH
+3 V +3 V
2.4 V +2 V
+2 V
2.0 V
+1 V 0.8 V +1 V
0.4 V IOL IIL
LOW
LOW 8 mA 1.6 mA
GND GND
Fig. 8-21
Propagation Delay
The slight delay between the time the input changes and the time the output changes
H
INPUT L
OUTPUT H
L
𝑡PLH ≈ 12 ns 𝑡PHL ≈ 7 ns
Fig. 8-22
30
Propagation Delay (ns)
20
10
5
0
4000
AS S ALS LS HC Standard C
series
TTL TTL TTL TTL CMOS TTL CMOS
CMOS
Fig. 8-23
- 11 -
8.5 MOS and CMOS ICs
MOS (Metal Oxide Semiconductor) ICs
Metal Oxide Semiconductor Field-Effect Transistor (MOSFET) forms MOS ICs.
MOS devices use less space on a silicon chip than bipolar ICs, because of their simplicity.
Large-scale integration (LSI) and very large-scale integration (VLSI) devices make extensive
use of MOS technology.
The VDD of the CMOS unit goes to the positive of the power supply.
The “D” in VDD stands for drain supply in MOSFET.
The VSS of the CMOS unit goes to the negative of the power supply.
The “S” in VSS stands for source supply in MOSFET.
Fig. 8-24
- 12 -
CPU Central Processing Unit
RAM Random-Access Memory
ROM Read-Only Memory
NV RAM Non-Volatile Random Access Memory
HIGH
DENSITY
EPROM
DRAM
ROM
FLASH
ELECTRICALLY
NON- EEPROM UPDATABLE
VOLATILE SRAM +
BATTERY
- 13 -
Fig. 8-25
Organized into 16 groups called words, and each word is 4 bits long.
A location in the memory, such as word 3, is referred to as address.
The address of word 3 is 00112 (310), and the data stored at this address is 0110.
- 14 -
8.8 Static RAM ICs
7489 read/write TTL RAM
16 × 4 bit RAM
Output: the complement of the actual memory contents
1 kΩ 𝐷 𝐶 𝐵 𝐴
𝐴 𝐷1 𝑄̅4
Data 𝐵 𝐷2 𝑄̅3
inputs 𝐶 𝐷3 𝑄̅2
𝐷 𝐷4 RAM 𝑄̅1
𝐷
Address 𝐶
inputs 𝐵
𝐴
Fig. 8-27
- 15 -
8.9 Using a SRAM
Conversion of Binary Number to Gray Code Number
Gray Code
Two successive values differ in only one bit.
Decimal Binary Gray Code
Number Number Number
0 0000 0000
1 0001 0001
2 0010 0011
3 0011 0010
4 0100 0110
5 0101 0111
6 0110 0101
7 0111 0100
8 1000 1100
9 1001 1101
10 1010 1111
11 1011 1110
12 1100 1010
13 1101 1011
14 1110 1001
15 1111 1000
Binary-to-Gray-Code Converter
(a) System Diagram
Fig. 8-30
- 16 -
+5 V GRAY
CODE
OUTPUT
RAM
1 kΩ 0 1 0 0
(Gray code in memory)
𝑄̅4
Memory enable 0 ̅̅̅̅̅
𝑀𝐸
Write enable 1 ̅̅̅̅̅
𝑊𝐸 𝑄̅3
(read = 1)
𝑄̅2
(7489)
BINARY
𝑄̅1
INPUT
0 1 1 1 𝐴3 𝐴2 𝐴1 𝐴0
Address
inputs
Fig. 8-31
0
1
2
DATA 1 3
Data W 1 OUTPUT
INPUTS 4
Selector
5
6
7
C B A
DATA
SELECTOR 0 1 1
INPUTS
Fig. 8-32
- 17 -
0
1
2
DATA 3
1 W
INPUTS 4 1 OUTPUT
5
6
7
Fig. 8-33
Data Transmission
Parallel data is sent over a single wire in serial form and reassembled into parallel data at
the receiving end.
Multiplexer (MUX)
Changes parallel data from one digital device into serial data.
Demultiplexer (DEMUX)
Reassembles the serial data into parallel data at the output.
Fig. 8-34
- 18 -
Rotary switches act like multiplexer and demultiplexer
Multiplxer Demultiplxer
1 1
2 2
Parallel 3 SW-1 Serial data SW-2 3 Parallel
data 4 4 data
Control
5 5
6 6
Fig. 8-35
- 19 -
Multiplxer Demultiplexer Outputs
0 0 0
1 1 1
2 2
3 3
4 4
5 5
6 6
Parallel 7 Serial 7
W G1
inputs 8 data 8
9 9
10 10
(74150) (74154)
11 11
12 12
13 13
14 14
15 15
Enable 0 Strobe 0 G2 7404s LEDs
Data selects Data selects 150 Ω
D C B A D C B A
a
Decoder a
b +5 V
b
RO(1) QD D c
Reset c
RO(2) QC C d
d
Clock Input A QB B e
e
Input B QA A f
f
(7493) g
(7447) g
150 Ω
Bit being
Transmitted
Fig. 8-36
- 20 -
8.11 Detecting Errors in Data Transmissions
Error Detection
is the process of detecting the errors that are present in the data transmitted from
Multiplexer to Demultiplexer.
Errors occurring during data transmission can be detected using parity bit.
An extra parity bit is generated and transmitted.
A B C
Parity bit
Parity bit
generator
P C B A
Error
Error
alarm
detector
Fig. 8-37
- 21 -
Error Detector
even number of 1s in parallel data (A, B and C) and Parity bit 0 No Error (0)
odd number of 1s in parallel data (A, B and C) and Parity bit 1 No Error (0)
even number of 1s in parallel data (A, B and C) and Parity bit 1 Error (1)
odd number of 1s in parallel data (A, B and C) and Parity bit 0 Error (1)
- 22 -