1 Computers Internal and External Memory. 2 Characteristics of Computer Memory zLocation zCapacity...
-
Upload
mariela-trunnell -
Category
Documents
-
view
222 -
download
7
Transcript of 1 Computers Internal and External Memory. 2 Characteristics of Computer Memory zLocation zCapacity...
![Page 1: 1 Computers Internal and External Memory. 2 Characteristics of Computer Memory zLocation zCapacity zUnit of transfer zAccess Method zPerformance zPhysical.](https://reader030.fdocuments.in/reader030/viewer/2022032516/56649c775503460f9492bf7e/html5/thumbnails/1.jpg)
1
Computers
Internal and External Memory
![Page 2: 1 Computers Internal and External Memory. 2 Characteristics of Computer Memory zLocation zCapacity zUnit of transfer zAccess Method zPerformance zPhysical.](https://reader030.fdocuments.in/reader030/viewer/2022032516/56649c775503460f9492bf7e/html5/thumbnails/2.jpg)
2
Characteristics of Computer Memory
LocationCapacityUnit of transferAccess MethodPerformancePhysical TypeOrganization
![Page 3: 1 Computers Internal and External Memory. 2 Characteristics of Computer Memory zLocation zCapacity zUnit of transfer zAccess Method zPerformance zPhysical.](https://reader030.fdocuments.in/reader030/viewer/2022032516/56649c775503460f9492bf7e/html5/thumbnails/3.jpg)
3
UNIVAC Console and CPU
![Page 4: 1 Computers Internal and External Memory. 2 Characteristics of Computer Memory zLocation zCapacity zUnit of transfer zAccess Method zPerformance zPhysical.](https://reader030.fdocuments.in/reader030/viewer/2022032516/56649c775503460f9492bf7e/html5/thumbnails/4.jpg)
5
Memory Hierarchy
CACHE
MAIN MEMORY
MAGNETIC DISK | DISK CACHE
MAGNETIC TAPE | OPTICAL DISK
SPEEDCOST
REGISTERS
![Page 5: 1 Computers Internal and External Memory. 2 Characteristics of Computer Memory zLocation zCapacity zUnit of transfer zAccess Method zPerformance zPhysical.](https://reader030.fdocuments.in/reader030/viewer/2022032516/56649c775503460f9492bf7e/html5/thumbnails/5.jpg)
6
Capacity Units
BitByteKilobyte MegabyteGigabyteTerabyte
bB = 8 bKB = 1,000 BMB = 1,000,000 BGB = 1,000,000,000 BTB = 1,000,000,000,000
B
![Page 6: 1 Computers Internal and External Memory. 2 Characteristics of Computer Memory zLocation zCapacity zUnit of transfer zAccess Method zPerformance zPhysical.](https://reader030.fdocuments.in/reader030/viewer/2022032516/56649c775503460f9492bf7e/html5/thumbnails/6.jpg)
7
Memory Access Method
Sequential - tapeDirect - floppy or hard diskRandom - internal memory
Dynamic (DRAM) simple, small, must be refreshed Static (SRAM)no refresh needed
Associative - some cache
![Page 7: 1 Computers Internal and External Memory. 2 Characteristics of Computer Memory zLocation zCapacity zUnit of transfer zAccess Method zPerformance zPhysical.](https://reader030.fdocuments.in/reader030/viewer/2022032516/56649c775503460f9492bf7e/html5/thumbnails/7.jpg)
8
Random Access Memory
Chips and chip technology
![Page 8: 1 Computers Internal and External Memory. 2 Characteristics of Computer Memory zLocation zCapacity zUnit of transfer zAccess Method zPerformance zPhysical.](https://reader030.fdocuments.in/reader030/viewer/2022032516/56649c775503460f9492bf7e/html5/thumbnails/8.jpg)
9
Flip Flop Circuit Diagram
![Page 9: 1 Computers Internal and External Memory. 2 Characteristics of Computer Memory zLocation zCapacity zUnit of transfer zAccess Method zPerformance zPhysical.](https://reader030.fdocuments.in/reader030/viewer/2022032516/56649c775503460f9492bf7e/html5/thumbnails/9.jpg)
10
Memory Cells
0/1SELECTselect cell
CONTROLread or write
DATA IN / SENSEinput or output
SELECTselect cell
CONTROLread or write
1
![Page 10: 1 Computers Internal and External Memory. 2 Characteristics of Computer Memory zLocation zCapacity zUnit of transfer zAccess Method zPerformance zPhysical.](https://reader030.fdocuments.in/reader030/viewer/2022032516/56649c775503460f9492bf7e/html5/thumbnails/10.jpg)
11
Write to Memory
COLADDRESSBUFFER
MUX
REFRESH
ARRAY
DATAINPUT
BUFFER
DATAOUTPUTBUFFER
A0...
A10
D1..
D4
ROWADDRESSBUFFER
Read Enable
Col AddressRow AddressWrite EnableRow Address
ROWADDRESSBUFFER
COLADDRESSBUFFER
Col Address
MUX
Write Enable
DATAINPUT
BUFFER
![Page 11: 1 Computers Internal and External Memory. 2 Characteristics of Computer Memory zLocation zCapacity zUnit of transfer zAccess Method zPerformance zPhysical.](https://reader030.fdocuments.in/reader030/viewer/2022032516/56649c775503460f9492bf7e/html5/thumbnails/11.jpg)
12
Pin Assignments
A0 … A10: address location (multiplexed)D1 … D4: data in or outVcc: power supplyVss: groundRAS: row address selectCAS: column address selectWE: write enableOS: output enable
![Page 12: 1 Computers Internal and External Memory. 2 Characteristics of Computer Memory zLocation zCapacity zUnit of transfer zAccess Method zPerformance zPhysical.](https://reader030.fdocuments.in/reader030/viewer/2022032516/56649c775503460f9492bf7e/html5/thumbnails/12.jpg)
13
Cache Operation
ALU CNTL.....
BUS
MAIN MEMORY
CACHE
![Page 13: 1 Computers Internal and External Memory. 2 Characteristics of Computer Memory zLocation zCapacity zUnit of transfer zAccess Method zPerformance zPhysical.](https://reader030.fdocuments.in/reader030/viewer/2022032516/56649c775503460f9492bf7e/html5/thumbnails/13.jpg)
14
![Page 14: 1 Computers Internal and External Memory. 2 Characteristics of Computer Memory zLocation zCapacity zUnit of transfer zAccess Method zPerformance zPhysical.](https://reader030.fdocuments.in/reader030/viewer/2022032516/56649c775503460f9492bf7e/html5/thumbnails/14.jpg)
15
Cache
Main Memory
CPU
CACHE
Word
Block
![Page 15: 1 Computers Internal and External Memory. 2 Characteristics of Computer Memory zLocation zCapacity zUnit of transfer zAccess Method zPerformance zPhysical.](https://reader030.fdocuments.in/reader030/viewer/2022032516/56649c775503460f9492bf7e/html5/thumbnails/15.jpg)
16
CacheSlot
NumberTag Block
0
1
2
3
![Page 16: 1 Computers Internal and External Memory. 2 Characteristics of Computer Memory zLocation zCapacity zUnit of transfer zAccess Method zPerformance zPhysical.](https://reader030.fdocuments.in/reader030/viewer/2022032516/56649c775503460f9492bf7e/html5/thumbnails/16.jpg)
17
Random Access
Direct Access Storage Device (DASD) or disk drives Optical Magnetic
![Page 17: 1 Computers Internal and External Memory. 2 Characteristics of Computer Memory zLocation zCapacity zUnit of transfer zAccess Method zPerformance zPhysical.](https://reader030.fdocuments.in/reader030/viewer/2022032516/56649c775503460f9492bf7e/html5/thumbnails/17.jpg)
18
Optical Disks (CD’s)
![Page 18: 1 Computers Internal and External Memory. 2 Characteristics of Computer Memory zLocation zCapacity zUnit of transfer zAccess Method zPerformance zPhysical.](https://reader030.fdocuments.in/reader030/viewer/2022032516/56649c775503460f9492bf7e/html5/thumbnails/18.jpg)
19
How CD’s work
![Page 19: 1 Computers Internal and External Memory. 2 Characteristics of Computer Memory zLocation zCapacity zUnit of transfer zAccess Method zPerformance zPhysical.](https://reader030.fdocuments.in/reader030/viewer/2022032516/56649c775503460f9492bf7e/html5/thumbnails/19.jpg)
20
Cylinder/Track/Block
Block (Sector)Track
Cylinder
![Page 20: 1 Computers Internal and External Memory. 2 Characteristics of Computer Memory zLocation zCapacity zUnit of transfer zAccess Method zPerformance zPhysical.](https://reader030.fdocuments.in/reader030/viewer/2022032516/56649c775503460f9492bf7e/html5/thumbnails/20.jpg)
21
Disk Organization
![Page 21: 1 Computers Internal and External Memory. 2 Characteristics of Computer Memory zLocation zCapacity zUnit of transfer zAccess Method zPerformance zPhysical.](https://reader030.fdocuments.in/reader030/viewer/2022032516/56649c775503460f9492bf7e/html5/thumbnails/21.jpg)
22
DASD Structure
Read-Write Heads
![Page 22: 1 Computers Internal and External Memory. 2 Characteristics of Computer Memory zLocation zCapacity zUnit of transfer zAccess Method zPerformance zPhysical.](https://reader030.fdocuments.in/reader030/viewer/2022032516/56649c775503460f9492bf7e/html5/thumbnails/22.jpg)
23
Data Storage
FAT (File Access Tables), Directories and Catalogs
Update and DeleteFragmentation and reorganizationBlocks, Headers and Interblock Gaps
![Page 23: 1 Computers Internal and External Memory. 2 Characteristics of Computer Memory zLocation zCapacity zUnit of transfer zAccess Method zPerformance zPhysical.](https://reader030.fdocuments.in/reader030/viewer/2022032516/56649c775503460f9492bf7e/html5/thumbnails/23.jpg)
24
DASD Access (PC)
MAIN MEMORY
DASD
BUFFER
CONTROLLER
CPU
CACHE
![Page 24: 1 Computers Internal and External Memory. 2 Characteristics of Computer Memory zLocation zCapacity zUnit of transfer zAccess Method zPerformance zPhysical.](https://reader030.fdocuments.in/reader030/viewer/2022032516/56649c775503460f9492bf7e/html5/thumbnails/24.jpg)
25
![Page 25: 1 Computers Internal and External Memory. 2 Characteristics of Computer Memory zLocation zCapacity zUnit of transfer zAccess Method zPerformance zPhysical.](https://reader030.fdocuments.in/reader030/viewer/2022032516/56649c775503460f9492bf7e/html5/thumbnails/25.jpg)
27
DASD Access (Mainframe)
MAIN MEMORY
DASD
BUFFER
CONTROLLER
CPU
CHANNEL
![Page 26: 1 Computers Internal and External Memory. 2 Characteristics of Computer Memory zLocation zCapacity zUnit of transfer zAccess Method zPerformance zPhysical.](https://reader030.fdocuments.in/reader030/viewer/2022032516/56649c775503460f9492bf7e/html5/thumbnails/26.jpg)
28
Data Structure
HEADER DATA CRCHEADER
BLOCK
• Header written when disk is formatted• Data copied into block• Cyclical Redundancy Check calculated
![Page 27: 1 Computers Internal and External Memory. 2 Characteristics of Computer Memory zLocation zCapacity zUnit of transfer zAccess Method zPerformance zPhysical.](https://reader030.fdocuments.in/reader030/viewer/2022032516/56649c775503460f9492bf7e/html5/thumbnails/27.jpg)
29
Controller Operation(DASD retrieval)
CPU passes parameters to registers in the controller
The controller transfers data into the card buffer
The controller checks the CRC to assure the data was copied correctly
The controller (or CPU) transfers buffered data to memory one word at a time
![Page 28: 1 Computers Internal and External Memory. 2 Characteristics of Computer Memory zLocation zCapacity zUnit of transfer zAccess Method zPerformance zPhysical.](https://reader030.fdocuments.in/reader030/viewer/2022032516/56649c775503460f9492bf7e/html5/thumbnails/28.jpg)
32
Time Units
MillisecondMicrosecon
dNanosecondPicosecond
ms = 1/1000 sµs = 1/1,000,000 sns = 1/1,000,000,000 sps = 1/1,000,000,000,000
s
![Page 29: 1 Computers Internal and External Memory. 2 Characteristics of Computer Memory zLocation zCapacity zUnit of transfer zAccess Method zPerformance zPhysical.](https://reader030.fdocuments.in/reader030/viewer/2022032516/56649c775503460f9492bf7e/html5/thumbnails/29.jpg)
33
Representative Times
Network speed = megabits per second
Disk transfer = megabytes per second
Disk access = millisecondsMemory access = nanosecondsMachine cycle =
microseconds/nanoseconds
![Page 30: 1 Computers Internal and External Memory. 2 Characteristics of Computer Memory zLocation zCapacity zUnit of transfer zAccess Method zPerformance zPhysical.](https://reader030.fdocuments.in/reader030/viewer/2022032516/56649c775503460f9492bf7e/html5/thumbnails/30.jpg)
34
Error Correction and Checking
Add bits to a block to use for error discovery Detection only Detection and retransmission Detection and recovery
Check Body Header
Block
![Page 31: 1 Computers Internal and External Memory. 2 Characteristics of Computer Memory zLocation zCapacity zUnit of transfer zAccess Method zPerformance zPhysical.](https://reader030.fdocuments.in/reader030/viewer/2022032516/56649c775503460f9492bf7e/html5/thumbnails/31.jpg)
35
Error Detection Only (Asynchronous Transmission)
*******
Parity Bit
7 Data Bits
27 = 128 distinct characters
*
![Page 32: 1 Computers Internal and External Memory. 2 Characteristics of Computer Memory zLocation zCapacity zUnit of transfer zAccess Method zPerformance zPhysical.](https://reader030.fdocuments.in/reader030/viewer/2022032516/56649c775503460f9492bf7e/html5/thumbnails/32.jpg)
36
Error Detection &Correction (Hamming Code: 4 bit word)
****
3 Error Checking Bits
4 Data Bits
***
![Page 33: 1 Computers Internal and External Memory. 2 Characteristics of Computer Memory zLocation zCapacity zUnit of transfer zAccess Method zPerformance zPhysical.](https://reader030.fdocuments.in/reader030/viewer/2022032516/56649c775503460f9492bf7e/html5/thumbnails/33.jpg)
37
DATA
1
1
10
Error Detection &Correction (Hamming Code: 4 bit word)
1110
***
![Page 34: 1 Computers Internal and External Memory. 2 Characteristics of Computer Memory zLocation zCapacity zUnit of transfer zAccess Method zPerformance zPhysical.](https://reader030.fdocuments.in/reader030/viewer/2022032516/56649c775503460f9492bf7e/html5/thumbnails/34.jpg)
38
PARITY (even)
1
1
10
1 0
0
Error Detection
1110
100
![Page 35: 1 Computers Internal and External Memory. 2 Characteristics of Computer Memory zLocation zCapacity zUnit of transfer zAccess Method zPerformance zPhysical.](https://reader030.fdocuments.in/reader030/viewer/2022032516/56649c775503460f9492bf7e/html5/thumbnails/35.jpg)
39
PARITY (even)
0
1
10
1 0
0
Error Correction (4 bit word)
0110
100
![Page 36: 1 Computers Internal and External Memory. 2 Characteristics of Computer Memory zLocation zCapacity zUnit of transfer zAccess Method zPerformance zPhysical.](https://reader030.fdocuments.in/reader030/viewer/2022032516/56649c775503460f9492bf7e/html5/thumbnails/36.jpg)
40
Error Correction & Detection
Error detection takes fewer bits than error correction
Longer packets take a smaller percent for correction but have more types of errors
Hamming’s scheme detects all errors at a high overhead cost; others may correct only single bit or double bit errors with shorter check fields
![Page 37: 1 Computers Internal and External Memory. 2 Characteristics of Computer Memory zLocation zCapacity zUnit of transfer zAccess Method zPerformance zPhysical.](https://reader030.fdocuments.in/reader030/viewer/2022032516/56649c775503460f9492bf7e/html5/thumbnails/37.jpg)
41
CRC Error Checking
The transmitted messages are divided into predetermined blocks
The blocks are divided by a fixed divisor
The remainder is appended to the message
![Page 38: 1 Computers Internal and External Memory. 2 Characteristics of Computer Memory zLocation zCapacity zUnit of transfer zAccess Method zPerformance zPhysical.](https://reader030.fdocuments.in/reader030/viewer/2022032516/56649c775503460f9492bf7e/html5/thumbnails/38.jpg)
42
IBM 1107 with tape drives
![Page 39: 1 Computers Internal and External Memory. 2 Characteristics of Computer Memory zLocation zCapacity zUnit of transfer zAccess Method zPerformance zPhysical.](https://reader030.fdocuments.in/reader030/viewer/2022032516/56649c775503460f9492bf7e/html5/thumbnails/39.jpg)
43
Memory