An overview of microprocessors and microcontrollers, including definitions, block diagrams, and key components such as the cpu, memory, and input/output devices. It covers the evolution of microprocessors, the differences between risc and cisc architectures, and factors affecting microprocessor performance. The document also includes a section on computer number systems, covering binary, hexadecimal, and bcd representations. This comprehensive coverage of microprocessor and microcontroller fundamentals would be useful for students studying computer engineering, electrical engineering, or related fields.
Download Microprocessors and Microcontroller Applications and more Study Guides, Projects, Research Power Electronics in PDF only on Docsity!
College of Engineering and
Technology
Department of Electrical and Computer
Engineering
Definitions
Microprocessor
Control only, external memory and I/O required
8086, M68000, MIPS, SPARC, intel i7…
Microcontroller
Integrated control, memory and I/O on a single chip
AVR, PIC, 8051, MSP…
Microcomputer
Complete systems – CPU, Memory, I/O, Storage, …
PC, Mac, …
Block Diagram of μComputer
Microprocessor (CPU)
The CPU controls the operation of the computer.
In a microcomputer the CPU is a microprocessor.
The CPU fetches binary-coded instructions from
memory,
It decodes the instructions into a series of simple
actions, and
It carries out these actions in a sequence of steps.
Memory
A memory has two purposes
To store the sequences of instructions you want the computer to carry out.
To store the data with which the computer is going to work.
Generally we have two types of Memory
1. Temporary (Working) Memory:
usually made of flip-flop latches (SRAM) or
transistor-capacitor combinations(DRAM)
2. Permanent (Storage) memory:
usually made of high capacity magnetic/optical discs
(hard drives) or solid state devices (EEPROM, flash…)
Block Diagram of μComputer
Block Diagram of μComputer
Address Bus
The address bus consists of 16, 20, 24, or 32 parallel
signal lines. On these lines the CPU sends out the
address of the memory location that is to be written to
or read from.
The number of memory locations that the CPU can
address is determined by the number of address lines.
If the CPU has N address lines, then it can directly
address 2N^ memory locations.
For example, A CPU with 16 address lines can address
216 or 65,536 memory location’s, and A CPU with 20
address lines can address 2^20 or 1,048,576 memory
location’s.
When the CPU reads data from or writes data to a port,
it sends the port address out on the address bus.
Data Bus
The data bus consists of 8, 16, or 32 parallel signal lines.
The data bus lines are bidirectional. This means that
the CPU can read data in from memory or from a port
or send data out to memory or to a port.
Many devices in a system will have their outputs
connected to the data bus, but only one device at a
time will have its outputs enabled.
Any device connected on the data bus must have three-
state outputs so that its outputs can be disabled when
it is not being used to put data on the bus
Block Diagram of μComputer
Summary of Microcomputer
Bus Operation
A microcomputer fetches each program instructions in sequence, decodes the instruction, and executes it.
The CPU in a microcomputer fetches instructions or reads data from memory by sending out an address on the address bus and a Memory Read signal on the control bus. The memory outputs the addressed instruction or data word to the CPU on the data bus.
The CPU writes a data word to memory by sending out an address on the address bus, sending out the data word on the data bus, and sending a Memory Write signal to memory on the control bus.
To read data from a port, the CPU send out the port address on the address bus and sends an I/O Read signal to the port device on the control bus. Data from the port comes into the CPU on the data bus.
To write data to a port, the CPU sends out the port address on the address bus, sends out the data to be written to the port on the data bus, and sends an I/O Write signal to the port device on the control bus.
Evolution of the μP
1958 The first integrated circuit, in Texas USA
(Jack kilby of TI, and Noyce from Fairchild)
Intel 4004… the first μP
1971, 4-bit
Intel 8008
1972, 8-bit
Originally designed for Datapoint Corp. as a CRT display controller
Intel 8080
1974, April - Altair 8800, 1975, MITS (256 bytes of mem, $395)
Apple II -- Steve Jobs and Steve Wozniak 1976, Apple inc.
Bill Gates and Allen Paul: BASIC, 1975 --> Microsoft corp.
History of Intel’s μP
Intel 80386
1985, 32 bits
3-5 MIPS (7 MIPS on the 25 MHz chip)
memory paging and enhanced I/O permission features
4GB programming model
Intel 80486
1,200,000 Trs.
386+387+8K data and instruction cache, paging and MMU
Intel Pentium III
1999; Pentium Pro + MMX + Internet Streaming SIMD Instructions
0.25 micron, 9.5 million Trs., 600 MHz, Superscalar arch.
32 K(16K/16K) non-blocking level 1 cache
History of Intel’s μP
Intel Core i
March 2008, Nehalem micro-architecture, 3.066GHZ
45nm CMOS process, 731 million trs., up to 8cores/chip
Integrated Memory, graphics and direct media interface controller