電子工程導論 計算機工程 computer engineering. outlines overview course layout, objective,...

56
電電電電電電 電電電電電 Computer Engineering

Upload: nigel-henry-chambers

Post on 03-Jan-2016

227 views

Category:

Documents


4 download

TRANSCRIPT

Page 1: 電子工程導論 計算機工程 Computer Engineering. Outlines Overview Course Layout, Objective, and Relationship Computer Hardware Computer Software Computer Network Integrated

電子工程導論

計算機工程Computer Engineering

Page 2: 電子工程導論 計算機工程 Computer Engineering. Outlines Overview Course Layout, Objective, and Relationship Computer Hardware Computer Software Computer Network Integrated

Outlines

Overview Course Layout, Objective, and

Relationship Computer Hardware Computer Software Computer Network Integrated Circuit Design Conclusion and Discussion

Page 3: 電子工程導論 計算機工程 Computer Engineering. Outlines Overview Course Layout, Objective, and Relationship Computer Hardware Computer Software Computer Network Integrated

Overview

Page 4: 電子工程導論 計算機工程 Computer Engineering. Outlines Overview Course Layout, Objective, and Relationship Computer Hardware Computer Software Computer Network Integrated

Overview

Computer systemperformance

Computer systemperformance

IC design andfabrication techniques

IC design andfabrication techniques

promote

enhance

Page 5: 電子工程導論 計算機工程 Computer Engineering. Outlines Overview Course Layout, Objective, and Relationship Computer Hardware Computer Software Computer Network Integrated

Computer system engineering is a problem-solving activities

Concept

System analysis and definition

Hardware SoftwareTrade-off

Hardwareengineering

Software engineering

Overview

Page 6: 電子工程導論 計算機工程 Computer Engineering. Outlines Overview Course Layout, Objective, and Relationship Computer Hardware Computer Software Computer Network Integrated

Overview

System analysis and definition systematic refinement of information

to be processed required functions desired performance design constraints validation criteria

Page 7: 電子工程導論 計算機工程 Computer Engineering. Outlines Overview Course Layout, Objective, and Relationship Computer Hardware Computer Software Computer Network Integrated

Overview

Trade-off: A configuration is selected and

functions allocated among potential system elements

Page 8: 電子工程導論 計算機工程 Computer Engineering. Outlines Overview Course Layout, Objective, and Relationship Computer Hardware Computer Software Computer Network Integrated

Overview

Page 9: 電子工程導論 計算機工程 Computer Engineering. Outlines Overview Course Layout, Objective, and Relationship Computer Hardware Computer Software Computer Network Integrated

Overview

The computer revolution

Page 10: 電子工程導論 計算機工程 Computer Engineering. Outlines Overview Course Layout, Objective, and Relationship Computer Hardware Computer Software Computer Network Integrated

Overview

The evolution of information industry

Page 11: 電子工程導論 計算機工程 Computer Engineering. Outlines Overview Course Layout, Objective, and Relationship Computer Hardware Computer Software Computer Network Integrated

Overview

The electronic industry trend

Page 12: 電子工程導論 計算機工程 Computer Engineering. Outlines Overview Course Layout, Objective, and Relationship Computer Hardware Computer Software Computer Network Integrated

Overview

The development trend of PC

PC-generation

PostPC-generation

Page 13: 電子工程導論 計算機工程 Computer Engineering. Outlines Overview Course Layout, Objective, and Relationship Computer Hardware Computer Software Computer Network Integrated

Overview The IA (information appliance)

productions

Page 14: 電子工程導論 計算機工程 Computer Engineering. Outlines Overview Course Layout, Objective, and Relationship Computer Hardware Computer Software Computer Network Integrated

Overview

Computer System

I/O systemProcessor

CompilerOperating System(Windows XP)

Applications

Digital Design

Circuit Design

Datapath & Control

Transistors

MemoryHardware

Software Assembler Firmware

Net

wor

k Sy

stem

s

Page 15: 電子工程導論 計算機工程 Computer Engineering. Outlines Overview Course Layout, Objective, and Relationship Computer Hardware Computer Software Computer Network Integrated

Course Layout, Objective, and Relationship

Page 16: 電子工程導論 計算機工程 Computer Engineering. Outlines Overview Course Layout, Objective, and Relationship Computer Hardware Computer Software Computer Network Integrated

計算機概論

數位邏輯設計

程式設計

物件導向程式設計

組合語言

數位邏輯設計技術

資料結構 程式語言 離散數學

作業系統

計算機網路

數據通信

計算機組織

計算機架構

計算機演算法

行動計算

即時系統

嵌入式系統

平行處理

作業系統技術

無線通信網路 中央處理單元設計

編譯器設計

分散式系統

區域網路

網路程式設計微處理機

微處理機技術

多媒體應用

軟體

網路硬體

軟體工程

硬體描述語言

高等計算機架構

系統程式

資料庫管理系統

Page 17: 電子工程導論 計算機工程 Computer Engineering. Outlines Overview Course Layout, Objective, and Relationship Computer Hardware Computer Software Computer Network Integrated

Computer Hardware

Page 18: 電子工程導論 計算機工程 Computer Engineering. Outlines Overview Course Layout, Objective, and Relationship Computer Hardware Computer Software Computer Network Integrated

Design of Computer Systems Architecture level Functional level Hardware level

Architecture Control flow (Von Neumann Machine) Data flow (Data flow computer) VLSI computing structure (Neural Nets)

Computer Hardware

Page 19: 電子工程導論 計算機工程 Computer Engineering. Outlines Overview Course Layout, Objective, and Relationship Computer Hardware Computer Software Computer Network Integrated

Computer Hardware

Performance Evaluation MIPS (Millions of Instructions Per

Second), FLOPS Benchmarks: SPEC95, …

Page 20: 電子工程導論 計算機工程 Computer Engineering. Outlines Overview Course Layout, Objective, and Relationship Computer Hardware Computer Software Computer Network Integrated

Input Unit

Arithmetic/Logic Unit

Memory Unit

Control Unit

Output Unit

Control Flow

Data flow

InstructionStream

DataStream

• Control Flow (Von Neumann Machine)

Computer Hardware

Page 21: 電子工程導論 計算機工程 Computer Engineering. Outlines Overview Course Layout, Objective, and Relationship Computer Hardware Computer Software Computer Network Integrated

Computer Hardware

Four machine organizations SISD: Single Instruction Stream-Single

Data Stream SIMD: Single Instruction Stream-

Multiple Data Stream MISD: Multiple Instruction Stream-

Single Data Stream MISD: Multiple Instruction Stream-

Multiple Data Stream

Page 22: 電子工程導論 計算機工程 Computer Engineering. Outlines Overview Course Layout, Objective, and Relationship Computer Hardware Computer Software Computer Network Integrated

CU PU MU

SISD:

IS

IS DS

Computer Hardware

SIMD:

CU PU1 MU

IS

IS DS1

PU2 MUDS2

PUn MUDSn

Page 23: 電子工程導論 計算機工程 Computer Engineering. Outlines Overview Course Layout, Objective, and Relationship Computer Hardware Computer Software Computer Network Integrated

MISD:

CU1 PU MU

IS 1..n

IS1 DS

PU MU

PU MUDS

CU2

IS2

CUnISn

Computer Hardware

MIMD:

CU1 PU MU

IS 1..n

IS1

PU MU

PU MU

CU2

IS2

CUnISn

DSn

DS1

DS2

Page 24: 電子工程導論 計算機工程 Computer Engineering. Outlines Overview Course Layout, Objective, and Relationship Computer Hardware Computer Software Computer Network Integrated

Instruction sets (hardware complexity) CISC: Complex Instruction Set Computer RISC: Reduced Instruction Set Computer

a limited and simple instruction set a large number of general-purpose registers an emphasis on optimizing the instruction

pipeline

Instruction cycles fetch phase execution phase

fetch phase execution phase

instruction cycle

Computer Hardware

Page 25: 電子工程導論 計算機工程 Computer Engineering. Outlines Overview Course Layout, Objective, and Relationship Computer Hardware Computer Software Computer Network Integrated

Solutions: pipelining

prefetch instruction queue

multiple instruction flows

F1

F2F3

F4 E4

E1E2

E3

F1 F2 F3 F4E1 E2 E3 E4

Computer Hardware

Page 26: 電子工程導論 計算機工程 Computer Engineering. Outlines Overview Course Layout, Objective, and Relationship Computer Hardware Computer Software Computer Network Integrated

Well-mapped

Overlapped

Pipelined

Dyadic

M Quad processor

M

Evolution of a computer processor

Computer Hardware

Page 27: 電子工程導論 計算機工程 Computer Engineering. Outlines Overview Course Layout, Objective, and Relationship Computer Hardware Computer Software Computer Network Integrated

VLSI Computing Structures highly parallel computing (e.g.,

signal/image processing and scientific computing)

mapping parallel algorithms into processor arrays

Computer Hardware

Page 28: 電子工程導論 計算機工程 Computer Engineering. Outlines Overview Course Layout, Objective, and Relationship Computer Hardware Computer Software Computer Network Integrated

One-dimension linear array

Two-dimensional square array (Systolic Array)

Two-dimensional hexagonal array

Computer Hardware

Page 29: 電子工程導論 計算機工程 Computer Engineering. Outlines Overview Course Layout, Objective, and Relationship Computer Hardware Computer Software Computer Network Integrated

Computer Software

Page 30: 電子工程導論 計算機工程 Computer Engineering. Outlines Overview Course Layout, Objective, and Relationship Computer Hardware Computer Software Computer Network Integrated

Computer Software

Computer Software is a logical element is the sequences of instructions in one

or more programming languages that comprise a computer application to perform some dedicated functions

Page 31: 電子工程導論 計算機工程 Computer Engineering. Outlines Overview Course Layout, Objective, and Relationship Computer Hardware Computer Software Computer Network Integrated

Computer Software

Software has characteristics that considerably different from those hardware No significant manufacturing phase Does not wear out Maintenance often includes design

modification and enhancement

Page 32: 電子工程導論 計算機工程 Computer Engineering. Outlines Overview Course Layout, Objective, and Relationship Computer Hardware Computer Software Computer Network Integrated

Computer Software

Software components non-machine executable -- documents machine executable -- programs

Programming languages are artificial languages limit vocabulary explicitly define grammar well formed rules of syntax and

semantics

Page 33: 電子工程導論 計算機工程 Computer Engineering. Outlines Overview Course Layout, Objective, and Relationship Computer Hardware Computer Software Computer Network Integrated

Computer Software

Software Applications system software -- to service other

programs real-time software -- monitor, analyze,

and control real world events business software -- business

information processing (largest app. area)

Page 34: 電子工程導論 計算機工程 Computer Engineering. Outlines Overview Course Layout, Objective, and Relationship Computer Hardware Computer Software Computer Network Integrated

Computer Software engineering and scientific -- number

crunching algorithms combinatorial software -- makes use

of non-numerical algorithm to solve complex problems, AI, pattern recognition, game playing, theorem proving, ...

Page 35: 電子工程導論 計算機工程 Computer Engineering. Outlines Overview Course Layout, Objective, and Relationship Computer Hardware Computer Software Computer Network Integrated

Computer Software

The software application area demand diverse skills and approaches for problem recognition and solution

The software implementation must be approached by using a set of techniques that are application independent

Page 36: 電子工程導論 計算機工程 Computer Engineering. Outlines Overview Course Layout, Objective, and Relationship Computer Hardware Computer Software Computer Network Integrated

Computer Software

Overview of the software engineering methodologies methodologies are procedures,

techniques, and processes used to direct the activities of each phase of a software life cycle.

Page 37: 電子工程導論 計算機工程 Computer Engineering. Outlines Overview Course Layout, Objective, and Relationship Computer Hardware Computer Software Computer Network Integrated

Computer Software there are five classes of methodologies:

Process Methodology Data Methodology Object-oriented Methodology Semantic Methodology Rapidly Prototyping (None)

Page 38: 電子工程導論 計算機工程 Computer Engineering. Outlines Overview Course Layout, Objective, and Relationship Computer Hardware Computer Software Computer Network Integrated

Computer Network

Page 39: 電子工程導論 計算機工程 Computer Engineering. Outlines Overview Course Layout, Objective, and Relationship Computer Hardware Computer Software Computer Network Integrated

Computer Network

Data communication For two devices linked by a

transmission medium to exchange data, a high degree of cooperation is required

Techniques Encoding Synchronization Error detection/correction Interfacing Multiplexing

Page 40: 電子工程導論 計算機工程 Computer Engineering. Outlines Overview Course Layout, Objective, and Relationship Computer Hardware Computer Software Computer Network Integrated

Computer Network

Digital data communication serial transmission

parallel transition

Tx Rx

Tx Rx

b7b6...b0

b7

b0

Page 41: 電子工程導論 計算機工程 Computer Engineering. Outlines Overview Course Layout, Objective, and Relationship Computer Hardware Computer Software Computer Network Integrated

Computer Network

DataTerminalEquipment(DTE)

TransmissionLine InterfaceDevice

DigitalDataTransmitter/Receiver

Data CircuitTerminatingEquipment(DCE)

DataTerminalEquipment(DTE)

TransmissionLine InterfaceDevice

DigitalDataTransmitter/Receiver

Data CircuitTerminatingEquipment(DCE)

DTE: Data Source, Sink, or BothDCE: provides the signal conversion and coding between

the DTE and line

Transmission media

Page 42: 電子工程導論 計算機工程 Computer Engineering. Outlines Overview Course Layout, Objective, and Relationship Computer Hardware Computer Software Computer Network Integrated

Computer Network

Communication Network is a shared resource that address the

problems cited early the network provides for the sharing

of transmission facilities among any stations

is not concerned with the content of the data exchanged between stations

its purpose is simply to move that data from source to destination

Page 43: 電子工程導論 計算機工程 Computer Engineering. Outlines Overview Course Layout, Objective, and Relationship Computer Hardware Computer Software Computer Network Integrated

Computer Network Interconnection via a communication

network

Node

Station: single I/O port isneeded

Page 44: 電子工程導論 計算機工程 Computer Engineering. Outlines Overview Course Layout, Objective, and Relationship Computer Hardware Computer Software Computer Network Integrated

Computer Network Network topologies

A C E

A

E

B

D

B D F

A

E

B

D

A

E

B

D

C E

B D

F

A

A B C

C C C

Star Ring Dual Ring

Bus Tree Dual Bus

Page 45: 電子工程導論 計算機工程 Computer Engineering. Outlines Overview Course Layout, Objective, and Relationship Computer Hardware Computer Software Computer Network Integrated

Computer Network

A B C

A B C D

A

C E

B

DF

Dual Bus Dual Bus Mesh

A

G

B

E

D

F

C

H

Snowflake

Page 46: 電子工程導論 計算機工程 Computer Engineering. Outlines Overview Course Layout, Objective, and Relationship Computer Hardware Computer Software Computer Network Integrated

Computer Network

A

E

B

D

C F

J

G

I

H

K

O

L

N

M

橋接器

橋接器 橋接器

Bridged Ring Networks

C

A

BF

D

E

G

H

集線器 或 中樞器

...

Hub or Concentrator

Page 47: 電子工程導論 計算機工程 Computer Engineering. Outlines Overview Course Layout, Objective, and Relationship Computer Hardware Computer Software Computer Network Integrated

Computer Network

LAN (Local Area Network)

傳輸媒介 :

同軸電纜 , 雙絞線 , 光纖

工作站

工作站

工作站

工作站

工作站

Page 48: 電子工程導論 計算機工程 Computer Engineering. Outlines Overview Course Layout, Objective, and Relationship Computer Hardware Computer Software Computer Network Integrated

Computer Network OSI protocol model

應用層

表達層

會議層

傳輸層

網路層

鏈結層

實體層

應用層

表達層

會議層

傳輸層

網路層

鏈結層

實體層

應用軟體 X

鏈結層通訊協定

傳輸媒介

應用軟體 Y

網路層通訊協定

傳輸層通訊協定

會議層通訊協定

表達層通訊協定

應用層通訊協定

實體層通訊協定

系統 A 系統 B

應用層

表達層

會議層

傳輸層

網路層

鏈結層

實體層

應用層

表達層

會議層

傳輸層

網路層

鏈結層

實體層

應用軟體 X

鏈結層通訊協定

傳輸媒介

應用軟體 Y

網路層通訊協定

傳輸層通訊協定

會議層通訊協定

表達層通訊協定

應用層通訊協定

實體層通訊協定

系統 A 系統 B

Page 49: 電子工程導論 計算機工程 Computer Engineering. Outlines Overview Course Layout, Objective, and Relationship Computer Hardware Computer Software Computer Network Integrated

Computer Network

Application

Physical

Data Link

Network (IP)

Transport (TCP)

Session

Presentation

OSI ModelNetWare UNA

NetWare Applications

MS-DOS, OS/2NetWare 核心服務

NetWare 增值服務

Netware Core Protocol (NCP)(NetWare 檔案系統)

NetWare CommunicationSystem (NetBIOS)

Sequenced Packet Exchange

SPX

IPX Internetwork Packet Exchange

Open Data-Link Interface (ODI)Ethernet, Token-ring, FDDI, etc.,

10 BASE-T UTP 10 BASE -510 BASE-2 STP Fiber-optics

Page 50: 電子工程導論 計算機工程 Computer Engineering. Outlines Overview Course Layout, Objective, and Relationship Computer Hardware Computer Software Computer Network Integrated

Computer Network

TCP/IP

Physical Layer1

DLC IEEE 802.22

X.25: 分封型數據通信網路

IP: Internet Protocol

TCP: Transmission ControlProtocol

UDP: User DatagramProtocol

ICMP: Internet Control Message Protocol

ARP/RARP: AddressResolution Protocol3

4

5~7

Application services:Telnet: Virtual Terminal Protocol NFS: Network File Ftp: File Transfer Protocol SystemRPC: Remote Procedure CallSMTP: Simple Mail Transfer Protocol

Page 51: 電子工程導論 計算機工程 Computer Engineering. Outlines Overview Course Layout, Objective, and Relationship Computer Hardware Computer Software Computer Network Integrated

Computer Network

Network programming

第 N-1 層

第 N 層

服務點

第 N+1 層

通訊軟體

通訊軟體通訊軟體

通訊軟體

通訊軟體

通訊軟體 通訊軟體

第 N-1 層

第 N 層

第 N+1 層

通訊軟體

通訊軟體通訊軟體

通訊軟體

通訊軟體

通訊軟體 通訊軟體

通訊協定

通訊協定

系統 A 系統 B

第 N-1 層

第 N 層

服務點

第 N+1 層

通訊軟體

通訊軟體通訊軟體

通訊軟體

通訊軟體

通訊軟體 通訊軟體

第 N-1 層

第 N 層

第 N+1 層

通訊軟體

通訊軟體通訊軟體

通訊軟體

通訊軟體

通訊軟體 通訊軟體

通訊協定

通訊協定

系統 A 系統 B

Page 52: 電子工程導論 計算機工程 Computer Engineering. Outlines Overview Course Layout, Objective, and Relationship Computer Hardware Computer Software Computer Network Integrated

Computer Network

傳送及接收

工作站界面

訊框包裝

鏈結管理

編碼及解碼

網路控制卡

收發器電纜

收發器

鏈結層

實體層

高層通訊協定

銅軸電纜

Page 53: 電子工程導論 計算機工程 Computer Engineering. Outlines Overview Course Layout, Objective, and Relationship Computer Hardware Computer Software Computer Network Integrated

Computer Network

Multimedia transmission

<! --- comments ---><html> <head> <title> 第一個例子 </title> </head>

<body> 這是一個純文字的例子 </body></html>

Page 54: 電子工程導論 計算機工程 Computer Engineering. Outlines Overview Course Layout, Objective, and Relationship Computer Hardware Computer Software Computer Network Integrated

Computer Network

<ul><li><a href="#book"> 書籍簡介 </a></li> <ol> <li><a href="#msdos">MS-DOS</a></li> <li><a href="#windows">WINDOWS</a></li> <li><a href="#os2">OS2</a></li> <li><a href="#assembly"> 組合語言 </a></li> <li><a href="#cc">C/C++</a></li> <li><a href="#basic">BASIC</a></li> </ol></ul>

Page 55: 電子工程導論 計算機工程 Computer Engineering. Outlines Overview Course Layout, Objective, and Relationship Computer Hardware Computer Software Computer Network Integrated
Page 56: 電子工程導論 計算機工程 Computer Engineering. Outlines Overview Course Layout, Objective, and Relationship Computer Hardware Computer Software Computer Network Integrated

Thank for Your Attention