RD delay from falling edge of Φ in T1Data setup time prior to falling edge of Φ MREQ delay from falling edge of Φ in T3RD delay from falling edge of Φ in T3Data hold time from negation o
Trang 1THE DIGITAL LOGIC LEVEL
1
Trang 3NAND A
Trang 47
B 2
C 3
Figure 3-3 (a) The truth table for the majority function of
three variables (b) A circuit for (a)
Trang 5A B
A
B
Figure 3-4 Construction of (a) NOT, (b) AND, and (c) OR
gates using onlyNANDgates or onlyNOR gates
Trang 6C B
Trang 7AA = A
AB = BA (AB)C = A(BC)
Trang 9B A
(d) (c)
A B
B A
Trang 10Figure 3-9 (a) Electrical characteristics of a device.
(b) Positive logic (c) Negative logic
Trang 113 2
1
Figure 3-10 An SSI chip containing four gates.
Trang 13Figure 3-12 (a) An MSI multiplexer (b) The same
multi-plexer wired to compute the majority function
Trang 14C A
Figure 3-13 A 3-to-8 decoder circuit.
Trang 16A If this fuse is
blown, B is not
an input to AND gate 1.
12 3 2 = 24 input signals
24 input lines
6 outputs
50 input lines
Figure 3-15 A 12-input, 6-output programmable logic array.
The little squares represent fuses that can be burned out todetermine the function to be computed The fuses are arranged
in two matrices: the upper one for the AND gates and the lowerone for theORgates
Trang 18A B
Trang 19A B
Carry
Carry out
Trang 20A + B
ENB
Figure 3-19 A 1-bit ALU.
Trang 21in
Carry out
A6 B6
O6
1-bit ALU
A5 B5
O5
1-bit ALU
A4 B4
O4
1-bit ALU
A3 B3
O3
1-bit ALU
A2 B2
O2
1-bit ALU
A1 B1
O1
1-bit ALU INC
A0 B0
O0
Figure 3-20 Eight 1-bit ALU slices connected to make an
8-bit ALU The enables and invert signals are not shown for
sim-plicity
Trang 22Figure 3-21 (a) A clock (b) The timing diagram for the
clock (c) Generation of an asymmetric clock
Trang 23Figure 3-22 (a) NOR latch in state 0 (b) NOR latch in state 1.(c) Truth table forNOR.
Trang 24Q
Q R
Clock
Figure 3-23 A clocked SR latch.
Trang 26∆
Figure 3-25 (a) A pulse generator (b) Timing at four points in the circuit.
Trang 27D
Q
Figure 3-26 A D flip-flop.
Trang 28Figure 3-27 D latches and flip-flops.
Trang 29D 14
Q
CK CLR
PR Q
D Q
CK CLR
PR Q
CK CLR
CK CLR
CK CLR
CK CLR
CK CLR
CK CLR
CK CLR
CK CLR
Figure 3-28 (a) Dual D flip-flop (b) Octal flip-flop.
Trang 30Data in
Write gate
I 0
I1
I 2
Q D CK
Q D CK
Q D CK
Q D CK
Q D CK
Q D CK
Q D CK
Q D CK
Q D CK
Q D CK
Q D CK
Figure 3-29 Logic diagram for a 4 × 3 memory Each row isone of the four 3-bit words A read or write operation alwaysreads or writes a complete word
Trang 31(b) (a)
Data
in
Data out
Control
(d) (c)
Figure 3-30 (a) A noninverting buffer (b) Effect of (a) when
control is high (c) Effect of (a) when control is low (d) Aninverting buffer
Trang 32WE (a)
512K 3 8 Memory chip (4 Mbit)
A0 A1 A2 A3 A4 A5 A6 A7 A8 A9 A10
RAS CAS
D
WE (b)
4096K 3 1 Memory chip (4 Mbit)
Figure 3-31 Two ways of organizing a 4-Mbit memory chip.
Trang 33Byte alterable Volatile Typical use
Trang 34Typical Micro- Processor
Symbol for electrical ground Symbol
for clock signal
Bus arbitration Addressing
Coprocessor Status
Miscellaneous Interrupts
Bus control
Power is 5volts +5v
Data
Φ
Figure 3-33 The logical pinout of a generic CPU The arrows
indicate input signals and output signals The short diagonal
lines indicate that multiple pins are used For a specific CPU, a
number will be given to tell how many
Trang 35Bus controller
Memory bus
I/O bus
Disk On-chip bus
Trang 38RD delay from falling edge of Φ in T1Data setup time prior to falling edge of Φ MREQ delay from falling edge of Φ in T3
RD delay from falling edge of Φ in T3Data hold time from negation of RD
6
5
0 (b)
11
8 8
8 8
nsec nsec nsec nsec nsec nsec nsec nsec
ADDRESS
Time (a)
Read cycle with 1 wait state
Memory address to be read
Trang 40Bus grant
Bus request
I/O devices (a)
Bus request level 1
Bus grant level 1
Bus request level 2
Bus grant level 2
Arbiter
Arbiter
Figure 3-39 (a) A centralized one-level bus arbiter using
daisy chaining (b) The same arbiter, but with two levels
Trang 41In Out In Out In Out In Out
Figure 3-40 Decentralized bus arbitration.
Trang 42Memory address to be read
Count ADDRESS
Trang 438259A Interrupt controller CPU
D0-D7 CS A0 WR
INTA RD
IR1 IR2 IR3 IR4 IR5 IR6 IR7
+5 v
Keyboard Clock
Disk Printer
Figure 3-42 Use of the 8259A interrupt controller.
Trang 44512 KB unified L2 cache
Pentium II processor
Contact
1.6 cm
16 KB level 1 data cache
To local bus
Trang 45Interrupts
Compatibity Diagnostics Initialization Power management Miscellaneous 64
3
27 Power
5 VID
TRDY#
Response
RS#
3 Misc#
5 Misc#
ADS#
33 A#
Figure 3-44 Logical pinout of the Pentium II Names in
upper case are the official Intel names for individual signals.Names in mixed case are groups of related signals or signaldescriptions
Trang 46Figure 3-45 Pipelining requests on the Pentium II’s memory bus.
Trang 47Pin 1 Index
Figure 3-46 The UltraSPARC II CPU chip.
Trang 48Bus arbitration
Memory address Address parity Address valid
Wait
Reply
Level 1 caches
to main memory
UPA interface
UltraSPARC II CPU
Tag address Tag valid
Tag data Tag parity
Level 2
cache
tags
Data address Data address valid
Data Parity
128
UDB II memory buffer
Figure 3-47 The main features of the core of an UltraSPARC II system.
Trang 49MicroJava 701 CPU
Level 1 caches PCI bus
Programmable
I/O lines
Flash PROM
Main memory Memory bus
16
I D
Figure 3-48 A microJava 701 system.
Trang 50Motherboard connectorPC bus PC bus
Contact
Plug-in board
Chips
CPU and
other
chips
New connector for PC/AT Edge connector
Figure 3-49 The PC/AT bus has two components, the original
PC part and the new part
Trang 51ISA bridge
Modem
Mouse
PCI bridge
Local bus
Sound card Printer AvailableISA slot
ISA bus
IDE disk
Available PCI slot
board
Key- itor
Mon-Graphics adaptor
Level 2
cache
PCI bus
Figure 3-50 Architecture of a typical Pentium II system The
thicker buses have more bandwidth than the thinner ones
Trang 52arbiter
PCI device
REQ# GNT#
PCI device
REQ# GNT#
PCI device
REQ# GNT#
PCI device
REQ# GNT#
Figure 3-51 The PCI bus uses a centralized bus arbiter.
Trang 53Sign Lines Master Slave Description
Trang 54Figure 3-53 Examples of 32-bit PCI bus transactions The
first three cycles are used for a read operation, then an idle cle, and then three cycles for a write operation
Trang 55cy-Time (msec) 0
From device SOF
SOF IN DATA ACK
SYN PID PAYLOAD CRC
Packets from root
3
Frame 3
SOF OUT DATA ACK
SYN PID PAYLOAD CRC
Figure 3-54 The USB root hub sends out frames every 1.00 msec.
Trang 56Port A
Port B
Port C
8255A Parallel I/O chip
Figure 3-55 An 8255A PIO chip.
Trang 57EPROM at address 0 RAM at address 8000H PIO at FFFCH