ACOE255 – Microprocessor Architecture. Some Information Instructor Details Main Book.

Post on 12-Jan-2016

218 views 0 download

transcript

ACOE255 – Microprocessor Architecture

Some Information

Title: The Intel Microprocessors: 8086,80186,80286,80386, 80486, Pentium and Pentium Pro Processors, Pentium II, Pentium III and Pentium 4: Architecture, Programming and Interfacing

Author: B. Brey Publisher: Prentice Hall Edition: Third Year 2003 ISBN: 0-13-1911651

Instructor Details

Main Book

NAME: Dr. Konstantinos Tatas OFFICE: 116, FRC (library) EMAIL: com.tk@fit.ac.ac.cy WEB PAGE http//www.fit.ac.cy/staff/com.tk

Course Information

Programme of Studies: BSc in Computer Engineering, BSc in Computer Science

Name of the Course: ACOE255 - Microprocessors I

Target group and type: Computer Engineering (Core)

Level of the unit: BSc – 4th Semester Intermediate

Entrance requirements: ACOE201

Language of instruction: English

Number of ECTS credits: 6 (Average student working time: 150 hours)

Main competences to be developed by the students:

Program Competences

BSc.CoE

BSc.CS

1 Knowledge of the operation and interfaces of Intel microprocessors.A4, C1

2 Ability to design digital circuits required for the implementation of memory and peripheral interfacing.

C2, C3, C7

3 Ability to use polling, interrupts and Direct Memory Access techniques in processor-based systems.

B7, C2, C3, C7

4 Capacity to design both hardware and software for Intel processor-based applications.

B1, B7, C3, C7

5 Skills required for the conduct of laboratory work related to monitoring the operation of a microprocessor and using a

microprocessor for I/O, control and monitoring applications

A13, B7

Furthermore, the course contributes to the development of the following program competences

A10, A11

Course Overview1. Prerequisites: ACOE201 2. Introduction to microprocessors: microprocessor technologies Pin and signal descriptions loading and timing of the 80x86 microprocessors. Bus drivers, clock and reset circuits. 2. Memory interfacing, and synchronization: Interfacing with EPROMs, Static and Dynamic RAMs. Address decoding, memory maps and memory mirroring. Static and dynamic bus contention. Memory timing analysis, synchronization3. Input/Output interfacing: Isolated and memory mapped I/O. LEDs, 7-segment displays, switches, keyboards relays and ac loads. I/O synchronization using interrupts and the polling technique. Interrupts. Use of programmable I/O devices. Direct Memory Access 3. Analog interfacing: Digital to analog and analog to digital converters4. Laboratory Work: Small group experiments performed with single board computers. Experiments include

monitor commands, reset circuits, buffering, memory interfacing and I/O interfacing.

Course Assessment

Assignment – 10% (approx. week 10) Mid-term exam – 10% (approx. week 6) Laboratory work – 20% Final – 60%

HISTORICAL PERSPECTIVE 1st generation: 1945 - 1955

– Tubes, punchcards 2nd generation: 1955 - 1965

– transistors 3rd generation: 1965 – 1980

– Integrated circuits 4th generation: 1980 –

– PCs and workstations

1st generation (1945-1955)

• Programming was done in machine language

• No operating system• Programming and maintenance done

by one group of people

ENIAC – The first electronic computer (1946)

18,000 tubes

300 Tn

170 KWatt

2nd generation (1955-1965)

Transistor-based Fairly reliable Clear distinction between designers,

manufacturers, users, programmers, and support personnel.

Only afforded by governments, universities or large companies (millions $)

2nd generation (1955-1965)

Program was first written on paper (FORTRAN) and then punched into cards

Cards were then delivered to the user.

Mostly used for scientific and technical calculations– Solving differential equations

3rd generation (1965-1980)

IC-based operation IBM develops compatible systems Tradeoffs in performance, memory,

I/O etc). Greater MHz/$

4th generation (1980-1990)

LSI-based PCs Significantly cheaper User-friendly software 2 dominant operating systems:

– MS DOS: IBM PC (8088, 80286, 80386, 80486)

– UNIX: RISC workstations

5th generation (1990-)

PC networks Network operating systems Each machine runs its own operating

system Users don’t care where their

programs are being executed

Famous quotes

“Future computers may weigh less than 1,5 tn”, (1949)

“I believe there is a world market for five computers”, T. Watson, IBM CEO (1943)

“There is no particular reason why someone would want a computer at home”, K. Oslon, president of DEC (1974)

“640Κbytes of memory should be enough for anybody”, B. Gates, president of Microsoft (1981)

Microprocessor Technologies(Orthogonal)

VLSI technology Computer Architecture Compiler technology

Moore’s Law

Intel 4004 Micro-Processor

Recent advances

The Future: 3D ICs

3D integration: One chipMemory

Processor

RF Chip

DNA Chip

MEMS

Battery

Image Sensor

Computer Architecture

RISC vs. CISC– Complex instruction set computer (CISC):

Large instruction set; Complex operations; Complex addressing modes; Complex hardware, long execution time; Minimum number of instructions needed for a given task; Easy to program, simpler compiler.

– Reduced instruction set computer (RISC): Small instruction set; Simple instructions to allow for fast execution (fewer steps); Large number of registers; Only read/write (load/store) instructions should access the main memory, one MM access per

instruction; Simple addressing modes to allow for fast address computation; Fixed-length instructions with few formats and aligned fields to allow for fast instruction decoding; increased compiler complexity and compiling time; simpler and faster hardware implementation, pipelined architecture.

RISC vs. CISC example

CISC (M68000)

– Add the content of MM location pointed to by A3 to the component of an array starting at MM address 100. The index number of the component is in A2. The content of A3 is then automatically incremented by 1.

RISC (MIPS)

Memory Architecture

Von Neumann: Common memory for data and instructions

Harvard: Separate data and instruction memories

Von Neumann Memory Architecture

memoryCPU

PC

address

data

IRADD r5,r1,r3200

200

ADD r5,r1,r3

Harvard Memory Architecture

CPU

PCdata memory

program memory

address

data

address

data

References

Weste, Harris, CMOS VLSI Design: A Circuits and Systems Perspective

Patterson, Hennessy - Computer Organization and Design; The Hardware-Software Interface, 2E (Morgan Kaufman, 1997)

Fundamentals Of Computer Organization And Architecture (2005) Wiley