Cao Chap 5
Cao Chap 5
Cao Chap 5
KT14203
Computer
Architecture
and
Organization
Presented by:
Dr. Mohd Hana Ahmad Hijazi
FKI,
Slides,UMS
with minor modi cations, taken from
William StallingsthComputer Organization and
Architecture, 10 Edition
+ Chapter 5
Internal Memo – Pa 1
+ Memo Cell Operation
Semiconductor Memo Types
Figure 5.2a
Typical Memo Cell Structures
+ Static RAM
(SRAM)
Digital device that uses the same
logic elements used in the
processor
Bina values are stored using
traditional ip- op logic gate
con gurations
Will hold its data as long as power
is supplied to it
+
Static
RAM
Structure
Figure 5.2b
Typical Memo Cell Structures
SRAM versus DRAM SRAM
Both volatile
Power must be continuously supplied to the
memo to prese e the bit values
Dynamic cell
DRAM
Simpler to build, smaller
More dense (smaller cells = more cells per unit area)
Less expensive
Requires the suppo ing refresh circuit
Tend to be favored for large memo requirements
+
Disadvantages of this:
No room for error, if one bit is wrong the whole batch of ROMs
must be thrown out
256-KByte
Memo
Organization
+
+
© 2016 Pearson Education, Inc., Hoboken, NJ. All rights rese ed.
Interleaved Memo Composed of a collection of
DRAM chips
internal memo
e traditional DRAM chip is constrained both by its
internal architecture and by its inte ace to the
© 2016 Pearson Education, Inc., Hoboken, NJ. All rights rese ed.
+ SDRAM Read Timing
RDRAM Developed
Bus delivers address and
by Rambus
control information using
an asynchronous block- Adopted by Intel for its
oriented protocol Pentium and Itanium
• Gets a memo request over the processors
high-speed bus
•Request contains the desired
address, the type of operation,
and the number of bytes in the
operation
falling edge
Developed by the JEDEC Solid State Technology Association
(Electronic Industries Alliance’s semiconductor-engineering-
standardization body)
+
DDR SDRAM
Read
Timing
+ Cache DRAM (CDRAM)
Developed by Mitsubishi
Integrates a small SRAM cache onto a generic DRAM chip
SRAM on the CDRAM can be used in two ways:
It can be used as a true cache consisting of a number of 64-bit
lines
© 2016 Pearson Education, Inc., Hoboken, NJ. All rights rese ed.
© 2016 Pearson Education, Inc., Hoboken, NJ. All rights rese ed.
+ Practical 1 – What is the length of
the check
30 minutes
bits?
1. A communication system transmits a 12-bit data packet
using Hamming code for error detection and correction.
How many check bits are required to ensure single-bit error
detection and correction for the 12-bit data packet?
2. A security system transmits 26 bits of data and needs
Hamming code to correct single-bit errors. Calculate the
number of check bits required for the 26-bit data to allow
for error detection and correction.
Check Bit Calculation
+ Hamming SEC-DED Code
Requires 1
extra bit, this
shows the
correction
done was
wrong!!
+ Practical 2 – Error detection and
correction
25 minutes
A Hamming code is used to detect and correct single-bit
errors in a transmitted 7-bit data packet. e received packet
100
010
2.C1Find fetched K' 110
C2 =
= D1
D1 XOR
XOR D2
D3 XOR
XOR D4
D4 =
= 0
0 XOR
XOR 1
0 XOR
XOR 1
1 =
= 0
1
C4 = D2 XOR D3 XOR D4 = 1 XOR 0 XOR 1 = 0 4. Find Ori M
K' = 010 110 -> D3
M = 1110
+ Practical 3 - Error detection and
correction
30 minutes
A Hamming code is used to detect single-bit errors in a 5-bit
data packet. A receiver obtains the code 110110110. Check
Organization
Synchronous DRAM
DDR SDRAM
Types of ROM
Error correction
© 2016 Pearson Education, Inc., Hoboken, NJ. All rights rese ed.