























Besser lernen dank der zahlreichen Ressourcen auf Docsity
Heimse Punkte ein, indem du anderen Studierenden hilfst oder erwirb Punkte mit einem Premium-Abo
Diese Seite wird in der Vorschau nicht angezeigt
Lass dir nichts Wichtiges entgehen!
























μP = MPU = CPU on a single chip Components of CPU Data path Registers: Temporary storage locations ALU: The Arithmetic Logic unit Bus: n_bit internal path for data exchange Control unit keeps all working together in the right time sequence Based on the instructions of given program
μP = CPU on a single chip Components of CPU Register s Control Unit ALU
To perform the arithmetic and logical operations within t To synchronize and control the overall operation of the P system To decode instruction and pass the necessary control signals to CP
30 31 32 33 34 35 36 37 38 39 40 1 2 3 4 5 14 15 12 8 7 9 10 13 27 19 20 21 22 28 18 23 6 24 16 17 26 25 11 29
Z - 80 CPU
Address Bus Data Bus System Control Lines CPU Control Lines Bus Control Lines
Microprocessor Example: 8086 & 8088 U? 8086MIN MN 33 READY 22 CLK 19 RESET 21 INTR 18 HLDA 30 HOLD 31 (^17) NMI TEST 23 AD 16 AD 15 AD 14 AD 13 AD 12 AD 11 AD 10 AD 9 AD 8 AD 7 AD 6 AD11 5 AD 4 AD 3 AD 2 AD15 39 A16/S 38 A17/S 37 A18/S 36 A19/S 35 BHE/S 34 DEN 26 DT/R 27 M/IO 28 RD 32 WR 29 ALE 25 INTA 24 U? 8088MIN MN 33 READY 22 CLK 19 RESET 21 INTR 18 HLDA 30 HOLD 31 (^17) NMI TEST 23 AD 16 AD 15 AD 14 AD 13 AD 12 AD 11 AD 10 AD 9 A 8 A 7 A 6 A11 5 A 4 A 3 A 2 A15 39 A16/S 38 A17/S 37 A18/S 36 A19/S 35 SSO 34 DEN 26 DT/R 27 IO/M 28 RD 32 WR 29 ALE 25 INTA 24 16_bit Data Bus 20_bit Address 8_bit Data Bus 20_bit Address 8086 8088
Only external bus of 8088 is 8_bit
Micro-computer (μ-computer) Small computer Components of microcomputers (at least) : Microprocessor Unit (μP) Program Memory (ROM) Data Memory (RAM) Input / Output ports (IO) Bus System (External) (and Software) MPU is the brain of microcomputer
Harvard architecture Von Neumann architecture CPU Address bus Data bus Control bus Data Memory Code Memory
μP can read instructions from ROM quickly Cannot write new data to the ROM ROM remembers the data, even after power cycled When power is turned on, the microprocessor will start fetching instructions from ROM (bootstrap )
Masked ROM or just ROM PROM or programmable ROM(once only) EPROM (erasable via ultraviolet light) =UVROM re-writable about 1000 times Flash
EEPROM (electrically erasable PROM)
CE
OE falls to data valid Addr valid to data valid OE
U 2716 8 7 6 5 4 3 2 1 23 22 19 18 20 21 9 10 11 13 14 15 16 17 A A A A A A A A A A A CE OE VPP O O O O O O O O
2732
U 2764 10 9 8 7 6 5 4 3 25 24 21 23 2 11 12 13 15 16 17 18 19 22 27 1 20 A A A A A A A A A A A A A O O O O O O O O OE PGM VPP CE
PGM and VPP are used to programming
28256 10 9 8 7 6 5 4 3 25 24 21 23 2 26 1 11 12 13 15 16 17 18 19 28 20 22 27 A A A A A A A A A A A A A A A D D D D D D D D VCC CE OE WE 256 kbit 32 kbyte 2864 20 22 28 10 9 8 7 6 5 4 3 25 24 21 27 11 12 13 15 16 17 18 19 23 2 1 CE OE VCC A A A A A A A A A A A WE I/O I/O I/O I/O I/O I/O I/O I/O A A RDY/BUSY 64 kbit 8 kbyte 28010 12 11 10 9 8 7 6 5 27 26 23 25 4 28 29 3 2 13 14 15 17 18 19 20 21 32 22 24 31 A A A A A A A A A A A A A A A A A D D D D D D D D VCC CE OE WE 1026 kbit 128 kbyte 28040 12 11 10 9 8 7 6 5 27 26 23 25 4 28 29 3 2 13 14 15 17 18 19 20 21 32 30 1 22 24 31 A A A A A A A A A A A A A A A A A D D D D D D D D VCC A A CE OE WE 4096 kbit 512 kbyte 2816 18 20 24 8 7 6 5 4 3 2 1 23 22 19 21 9 10 11 13 14 15 16 17 CE OE VCC A A A A A A A A A A A WE I/O I/O I/O I/O I/O I/O I/O I/O 16 kbit 2 kbyte
μP can read the data from RAM quickly μP can write new data to RAM quickly RAM forgets its data if power is turned off Two type is available : Static RAM(SRAM): ff base, fast, expensive, low cap/vol, applied for cache , no refresh Dynamic RAM (DRAM): cap base, slow, low cost high capacity/volume , applied for main memory(pc), need refresh. NV-RAM Non-Volatile, Battery, Low-power CMOS