COEN 311 Computer Organization Software Prof Sofine TAHAR




































- Slides: 36
COEN 311: Computer Organization & Software Prof. Sofiène TAHAR Electrical & Computer Engineering Concordia University Winter 2018
The Processor Market
n Progress in computer technology n n Makes novel applications feasible n n n Underpinned by Moore’s Law Computers in automobiles Cell phones Human genome project World Wide Web Search Engines Computers are pervasive § 1. 1 Introduction The Computer Revolution
Mobile Phone!!
Mobile Phones!!
Mobile Phones!!
Mobile Phones!!
Classes of Computers n Desktop computers n n n Server computers n n n Network based High capacity, performance, reliability Embedded computers n n n General purpose, variety of software Subject to cost/performance tradeoff Hidden as components of systems Stringent power/performance/cost constraints Supercomputers
n Application software n n Written in high-level language System software n n Compiler: translates HLL code to machine code Operating System: service code n n Handling input/output Managing memory and storage Scheduling tasks & sharing resources Hardware n Processor, Memory, I/O devices § 1. 2 Below Your Program
Levels of Program Code n High-level language n n n Assembly language n n Level of abstraction closer to problem domain Provides for productivity and portability Textual representation of instructions Hardware representation n n Binary digits (bits) Encoded instructions and data
The BIG Picture n Same components for all kinds of computer n n Desktop, server, embedded Input/output includes n User-interface devices n n Storage devices n n Display, keyboard, mouse Hard disk, CD/DVD, flash Network adapters n For communicating with other computers § 1. 3 Under the Covers Components of a Computer
Storage n Volatile main memory n n Loses instructions and data when power off Non-volatile secondary memory n n n Magnetic disk Flash memory Optical disk (CDROM, DVD)
Anatomy of a Computer Output device Network cable Input device
Opening the Box
The Processor n AMD Barcelona: 4 processor cores
Inside the Computer Peripherals Computer Central Processing Unit Computer Systems Interconnection Input Output Communication lines Main Memory
Inside the Processor (CPU) CPU Computer Arithmetic and Login Unit Registers I/O System Bus Memory CPU Internal CPU Interconnection Control Unit
Inside the Control Unit CPU Sequencing Logic ALU Internal Bus Registers Control Unit Registers and Decoders Control Memory
MC 68000 Board (Labs )
Motorola 68000 (32 -bit)
Pentium 4 (64 -bit)
Intel i 7 Quadcore
From classroom size Eniac. . .
To single chip size Intel IA-64
At The End What you should have understood after taking COEN 311
At The End The actual processor size The technology behind multicore processors
COEN 311: Last Remark n Final Exam Monday April 30, 2 -5 PM Ø 4 Problems (3 hours) Ø
COEN 311: Last Remark n Final Exam Monday April 30, 2 -5 PM Ø 4 Problems Ø One Set of Theory Questions Ø At least one Prob. on MC 68000 Assembly Programming Ø At least one Prob. on Hardware Design (Processor or Memory) Ø
COEN 311: Last Remark n Final Exam Monday April 30, 2 -5 PM Ø 4 Problems (50% Assembly Prog) Ø n Topics Ø Everything (Chapters 1 -9)
COEN 311: Last Remark n Ø Ø Ø Ø Final Exam Topics General Introduction Principal Components of a Computer Sim 68 Computer and Assembly Addressing Schemes and the MC 68000 Assembly Language Subroutines and Macros Exceptions and Interrupts
COEN 311: Last Remark n Ø Ø Ø Final Exam Hints Machine programs/assembling: Sim 68 Assembly programming in MC 68000, incl. Macros and Subroutines No programming of Exceptions Table of Sim 68 instructions encoding Table of MC 68000 instructions Sample MC 68000 programs
COEN 311: Last Remark n Final Exam Monday April 30, 2 -5 PM Ø 4 Problems (50% Assembly Prog) Ø n Topics Ø n Everything (Chapters 1 -9) Extra Office Hour Ø Wednesday April 25 @ 12 -2 PM
COEN 311: Really Last Remark Teaching Evaluation Questionnaire
COEN 311: Really Last Remark! Teaching Evaluation Questionnaire: Don’t forget to do it <<on-line>> by Monday April 16!
COEN 311: Really Last Remark! Teaching Evaluation Questionnaire Don’t forget to do it on-line ASAP! … and now it’s time to go home! Thank you & Good Luck