Скачать презентацию Processing Hardware Chapter 2 Turning Data into Something Скачать презентацию Processing Hardware Chapter 2 Turning Data into Something

652076323f8810ddc60b3e9c47866a03.ppt

  • Количество слайдов: 46

Processing Hardware Chapter 2 Turning Data into Something You Can Use Ch 2 © Processing Hardware Chapter 2 Turning Data into Something You Can Use Ch 2 © The Mc. Graw-Hill Companies, Inc. , 2000

Overview • Data and program representation • Processor, main memory, registers • RAM capacity, Overview • Data and program representation • Processor, main memory, registers • RAM capacity, word size, processor speed • Microcomputer Ch 2 © The Mc. Graw-Hill Companies, Inc. , 2000 2

Computers • Programmed to learn and adapt • High costs slowed initial adoption • Computers • Programmed to learn and adapt • High costs slowed initial adoption • More than 15 billion microprocessors and microcontrollers in use at the turn of the century Ch 2 © The Mc. Graw-Hill Companies, Inc. , 2000 3

Data and Program Representation • Binary system • Two common schemes – EBCDIC – Data and Program Representation • Binary system • Two common schemes – EBCDIC – ASCII • New scheme – Unicode Ch 2 © The Mc. Graw-Hill Companies, Inc. , 2000 4

The Parity Bit • A parity bit is a check bit • It is The Parity Bit • A parity bit is a check bit • It is an extra bit attached to the end of a byte to check accuracy Ch 2 © The Mc. Graw-Hill Companies, Inc. , 2000 5

Capacity • Bit – 0 s and 1 s • Byte – 8 bits Capacity • Bit – 0 s and 1 s • Byte – 8 bits • Kilobyte – about 1000 bytes Ch 2 © The Mc. Graw-Hill Companies, Inc. , 2000 6

Larger Capacity • Megabyte – about one million bytes • Gigabyte – about one Larger Capacity • Megabyte – about one million bytes • Gigabyte – about one billion bytes • Terabyte – about a trillion bytes Ch 2 © The Mc. Graw-Hill Companies, Inc. , 2000 7

Processor • Information – manipulates data into useful information • Knowledge – results in Processor • Information – manipulates data into useful information • Knowledge – results in reasoned analysis and applications Ch 2 © The Mc. Graw-Hill Companies, Inc. , 2000 8

Processors, Main Memory, and Registers • Processor – control unit – arithmetic/logic unit (ALU) Processors, Main Memory, and Registers • Processor – control unit – arithmetic/logic unit (ALU) Ch 2 © The Mc. Graw-Hill Companies, Inc. , 2000 9

Logical Operations • Logical operations in the ALU are simple comparisons such as =, Logical Operations • Logical operations in the ALU are simple comparisons such as =, <, >, <=, or >= Ch 2 © The Mc. Graw-Hill Companies, Inc. , 2000 10

Boards and Chips • Circuit boards • Chips of silicon • Use aluminum or Boards and Chips • Circuit boards • Chips of silicon • Use aluminum or copper to conduct electronic messages • Semiconductor Ch 2 © The Mc. Graw-Hill Companies, Inc. , 2000 11

Specialized Systems • Coprocessors – math – graphics Ch 2 © The Mc. Graw-Hill Specialized Systems • Coprocessors – math – graphics Ch 2 © The Mc. Graw-Hill Companies, Inc. , 2000 12

Future • PC on a chip Ch 2 © The Mc. Graw-Hill Companies, Inc. Future • PC on a chip Ch 2 © The Mc. Graw-Hill Companies, Inc. , 2000 13

CISC, RISC, MPP • CISC (“sisk”) – complex instruction set, serially executed – most CISC, RISC, MPP • CISC (“sisk”) – complex instruction set, serially executed – most mainframes and PCs • RISC (“risk”) – reduced instruction set, serially executed – cheaper and faster – shift some work to software Ch 2 © The Mc. Graw-Hill Companies, Inc. , 2000 14

MPP • Massively parallel processing (MPP) – spreads calculations over many computers or processors MPP • Massively parallel processing (MPP) – spreads calculations over many computers or processors Ch 2 © The Mc. Graw-Hill Companies, Inc. , 2000 15

Main Memory • Primary storage – RAM (random access memory) • • Ch 2 Main Memory • Primary storage – RAM (random access memory) • • Ch 2 holds data instructions processed data for output is volatile © The Mc. Graw-Hill Companies, Inc. , 2000 16

Main Memory Facts • Contents temporary • Capacity varies according to installed amount of Main Memory Facts • Contents temporary • Capacity varies according to installed amount of memory chips Ch 2 © The Mc. Graw-Hill Companies, Inc. , 2000 17

Registers • High speed circuitry areas – store data and provide work areas – Registers • High speed circuitry areas – store data and provide work areas – dedicated by function • addition register • subtraction register • storage register Ch 2 © The Mc. Graw-Hill Companies, Inc. , 2000 18

Machine Cycle • Compares a series of operations to perform a single program instruction Machine Cycle • Compares a series of operations to perform a single program instruction • During the instruction cycles, or I-cycles, – control unit fetches instructions from main memory – decodes or interprets instruction • During execution cycle, or E-cycle, – executes and stores result Ch 2 © The Mc. Graw-Hill Companies, Inc. , 2000 19

RAM Capacity, Word Size, Processor Speed • RAM capacity – software determines capacity needed RAM Capacity, Word Size, Processor Speed • RAM capacity – software determines capacity needed – older computers may not have enough – computer’s RAM capacity is limited by the capacity of the motherboard • Measured in megabytes, gigabytes, and terabytes – PCs to servers to mainframes, based on programs and load capacity Ch 2 © The Mc. Graw-Hill Companies, Inc. , 2000 20

Word Size • Number of bits computer can hold in its registers – sent Word Size • Number of bits computer can hold in its registers – sent through local bus • 32 -bit – most 486 PCs • 64 -bit – common PCs in CISC format Ch 2 © The Mc. Graw-Hill Companies, Inc. , 2000 21

Processing Speed • System clock controls speed of operations • Speeds measured in megahertz Processing Speed • System clock controls speed of operations • Speeds measured in megahertz (MHz) are common • Gigahertz (GHz) predicted in the near future • MIPS and FLOPS not commonly used Ch 2 © The Mc. Graw-Hill Companies, Inc. , 2000 22

Focus on PC Purchasing – System unit • Hard drive • Floppy drive (except Focus on PC Purchasing – System unit • Hard drive • Floppy drive (except i. Mac) • Power supply • Motherboard • Microprocessor • Ram Ch 2 • ROM • Cache • VRAM • Ports • Expansion boards • Bus lines • PC slots • PC cards © The Mc. Graw-Hill Companies, Inc. , 2000 23

Power Supply • Power supply – protected by power surge protector or uninterrupted power Power Supply • Power supply – protected by power surge protector or uninterrupted power supply unit (UPS) – voltage capacity can affect the ability to support internal parts Ch 2 © The Mc. Graw-Hill Companies, Inc. , 2000 24

Motherboard • Also called system board • Includes CPU, memory chips (RAM, ROM), ports, Motherboard • Also called system board • Includes CPU, memory chips (RAM, ROM), ports, coprocessors if not integrated on CPU, expansion slots • Some boards have integrated sound, controller cards, and graphics Ch 2 © The Mc. Graw-Hill Companies, Inc. , 2000 25

Microprocessor • Intel (PC) – X 86 – Celeron – Pentium MMX – Pentium Microprocessor • Intel (PC) – X 86 – Celeron – Pentium MMX – Pentium II/III • AMD (PC) – K 6 -2 – K 6 -3 – Athlon Ch 2 © The Mc. Graw-Hill Companies, Inc. , 2000 26

Other Microprocessors • Motorola (Mac) – 68000 – 68020 – 68040 – Power. PC Other Microprocessors • Motorola (Mac) – 68000 – 68020 – 68040 – Power. PC 601 – Power. PC 604 – Power. PC 620 – Power. PC 750 Ch 2 © The Mc. Graw-Hill Companies, Inc. , 2000 27

Compatibility • Most software is backward compatible with new chips • The older the Compatibility • Most software is backward compatible with new chips • The older the hardware, the less the likely that it will install easily and function completely in new systems Ch 2 © The Mc. Graw-Hill Companies, Inc. , 2000 28

The Truth About RAM • Generally, more is better – must match with motherboard The Truth About RAM • Generally, more is better – must match with motherboard and CPU capabilities • Software vendors traditionally understate software (RAM) requirements for a smooth operation of their software Ch 2 © The Mc. Graw-Hill Companies, Inc. , 2000 29

A Suggestion – A computer running Microsoft Office 97 should have a minimum 32 A Suggestion – A computer running Microsoft Office 97 should have a minimum 32 MB RAM for smooth performance – Microsoft Office 2000 needs 64 to 128 MB RAM Ch 2 © The Mc. Graw-Hill Companies, Inc. , 2000 30

ROM Chips • Read-only memory (ROM) • Also known as firmware • Helps boot ROM Chips • Read-only memory (ROM) • Also known as firmware • Helps boot the system • BIOS – Basic Input Output System Ch 2 © The Mc. Graw-Hill Companies, Inc. , 2000 31

Other ROM • PROM – programmable ROM • EPROM – erasable programmable ROM • Other ROM • PROM – programmable ROM • EPROM – erasable programmable ROM • EEPROM (flash) – electronically erasable programmable ROM – can be rewritten without special equipment Ch 2 © The Mc. Graw-Hill Companies, Inc. , 2000 32

Other Forms of Memory • Cache memory (“cash”) – quick access memory, internal or Other Forms of Memory • Cache memory (“cash”) – quick access memory, internal or external to the processor – bridge between the processor and RAM – including pipeline-burst simultaneous read/write • Video memory – VRAM (“vee-ram”) – some graphic cards use other types of RAM Ch 2 © The Mc. Graw-Hill Companies, Inc. , 2000 33

Ports • External socket – front or back of system unit • Parallel – Ports • External socket – front or back of system unit • Parallel – printers, some Zip drives, some scanners • Serial port (RS-232) – modems, scanners, mice • Video adapter – digital and analog, single or dual monitor Ch 2 © The Mc. Graw-Hill Companies, Inc. , 2000 34

More Ports • SCSI: small computer system interface – fast – connected in daisy-chain More Ports • SCSI: small computer system interface – fast – connected in daisy-chain fashion – originally used in Macs – can be internal or external – hard drives, tape backups, scanners, CD Ch 2 © The Mc. Graw-Hill Companies, Inc. , 2000 35

Less Common Ports • Game ports – joystick • Infrared – often used for Less Common Ports • Game ports – joystick • Infrared – often used for keyboards, mice, and printers Ch 2 © The Mc. Graw-Hill Companies, Inc. , 2000 36

Expansion Slots • Bus slots – for expansion cards and adapter cards – memory Expansion Slots • Bus slots – for expansion cards and adapter cards – memory – video – graphics – controller – internal modem Ch 2 © The Mc. Graw-Hill Companies, Inc. , 2000 37

Bus Designs • ISA (“eye-suh”): Industry Standard Architecture – does not share common resources Bus Designs • ISA (“eye-suh”): Industry Standard Architecture – does not share common resources – 16 -bit • PCI: peripheral component interconnect – some cards do share resources, such as IRQs – 64 -bit Ch 2 © The Mc. Graw-Hill Companies, Inc. , 2000 38

More Buses • EISA (“ee-suh”) enhanced industry standard architect – 32 -bit • PCMCIA: More Buses • EISA (“ee-suh”) enhanced industry standard architect – 32 -bit • PCMCIA: Personal Computer Memory Card International Association – for PC cards on portable computers • modems, hard drives, memory, Ethernet cards Ch 2 © The Mc. Graw-Hill Companies, Inc. , 2000 39

Newer Bus • USB – Universal Serial Bus – printer, scanner, digital camera, joystick, Newer Bus • USB – Universal Serial Bus – printer, scanner, digital camera, joystick, monitor – easy connection Ch 2 © The Mc. Graw-Hill Companies, Inc. , 2000 40

Newest Bus • AGP: Advanced Graphics Port – dedicated for video use – speed Newest Bus • AGP: Advanced Graphics Port – dedicated for video use – speed and access to memory and CPU continue to increase – more than double PCI rates – standards include 2 X AGP, 4 X AGP Ch 2 © The Mc. Graw-Hill Companies, Inc. , 2000 41

Standards and Options • New boards often have ISA and PCI slots so close Standards and Options • New boards often have ISA and PCI slots so close together that both cannot be available for expansion at the same time • The PC-2000 computer standard calls for no ISA slots Ch 2 © The Mc. Graw-Hill Companies, Inc. , 2000 42

Future Processing Technologies • Gallium arsenide – better conductor, fewer circuits than silicon • Future Processing Technologies • Gallium arsenide – better conductor, fewer circuits than silicon • Superconductors – electricity flows without resistance – 100 x faster – refrigerated system units already on market Ch 2 © The Mc. Graw-Hill Companies, Inc. , 2000 43

More of the Future • Opto-electronic processing – use of light – in common More of the Future • Opto-electronic processing – use of light – in common with fiber optics • Nanotechnology – nanometer = 1 billionth of a meter – molecules used to transform data or perform tasks Ch 2 © The Mc. Graw-Hill Companies, Inc. , 2000 44

Future • Biotechnology – use of bacteria for on/off signals Ch 2 © The Future • Biotechnology – use of bacteria for on/off signals Ch 2 © The Mc. Graw-Hill Companies, Inc. , 2000 45

Ch 2 © The Mc. Graw-Hill Companies, Inc. , 2000 46 Ch 2 © The Mc. Graw-Hill Companies, Inc. , 2000 46