Instructor: Yuzhuang Hu Final August 7, 2009 7:00pm - 10:pm HCC1700.

Slides:



Advertisements
Similar presentations
Computer Architecture
Advertisements

Parul Polytechnic Institute
Dr. Rabie A. Ramadan Al-Azhar University Lecture 3
S04: MSP430 Microarchitecture
Instructor: Yuzhuang Hu Final Exam! The final exam is scheduled on 7 th, August, Friday 7:00 pm – 10:00 pm.
MICROPROCESSORS TWO TYPES OF MODELS ARE USED :  PROGRAMMER’S MODEL :- THIS MODEL SHOWS FEATURES, SUCH AS INTERNAL REGISTERS, ADDRESS,DATA & CONTROL BUSES.
9/20/6Lecture 3 - Instruction Set - Al1 The Hardware Interface.
Introduction to Microprocessors (CS 45) Session Microprocessor - 2.
Interrupts Disclaimer: All diagrams and figures in this presentation are scanned from the book “Microprocessors and Programmed Logic” authored by Kenneth.
I/O Unit.
Processor System Architecture
Architecture of the 680XX Outline Goal Reading 680XX Family
1 Hardware and Software Architecture Chapter 2 n The Intel Processor Architecture n History of PC Memory Usage (Real Mode)
1 TK2633TK Microprocessor Architecture DR MASRI AYOB.
Chapter 7 Interupts DMA Channels Context Switching.
Midterm Tuesday October 23 Covers Chapters 3 through 6 - Buses, Clocks, Timing, Edge Triggering, Level Triggering - Cache Memory Systems - Internal Memory.
Input-Output Problems L1 Prof. Sin-Min Lee Department of Mathematics and Computer Science.
1 COMP541 Interrupts, DMA, Serial I/O Montek Singh April 24, 2007.
Microprocessor Systems Design I Instructor: Dr. Michael Geiger Spring 2012 Lecture 2: 80386DX Internal Architecture & Data Organization.
Unit-1 PREPARED BY: PROF. HARISH I RATHOD COMPUTER ENGINEERING DEPARTMENT GUJARAT POWER ENGINEERING & RESEARCH INSTITUTE Advance Processor.
Prardiva Mangilipally
Chapter 6 – MSP430 Micro-Architecture
Microcomputer & Interfacing Lecture 2
Khaled A. Al-Utaibi  Intel Peripheral Controller Chips  Basic Description of the 8255  Pin Configuration of the 8255  Block Diagram.
Micro-operations Are the functional, or atomic, operations of a processor. A single micro-operation generally involves a transfer between registers, transfer.
Basic Microcomputer Design. Inside the CPU Registers – storage locations Control Unit (CU) – coordinates the sequencing of steps involved in executing.
Instructor: Yuzhuang Hu Memory Hierarchy.
Cis303a_chapt06_exam.ppt CIS303A: System Architecture Exam - Chapter 6 Name: __________________ Date: _______________ 1. What connects the CPU with other.
1 Computer System Overview Chapter 1. 2 n An Operating System makes the computing power available to users by controlling the hardware n Let us review.
Computer System Overview Chapter 1. Operating System Exploits the hardware resources of one or more processors Provides a set of services to system users.
1 Input-Output Organization Computer Organization Computer Architectures Lab Peripheral Devices Input-Output Interface Asynchronous Data Transfer Modes.
Basic Architecture Lecture 15. In general, if the number of bits is n, then the number of different combinations of 0s and 1s that can be made is 2 n.
Stack Stack Pointer A stack is a means of storing data that works on a ‘Last in first out’ (LIFO) basis. It reverses the order that data arrives and is.
Computers Internal Communication. Basic Computer System MAIN MEMORY ALUCNTL..... BUS CONTROLLER Processor I/O moduleInterconnections BUS Memory.
Direct Memory Access (DMA) Microprocessors I -1. Topics to be discussed  Basic DMA Concept Basic DMA Concept  DMA pins and timing DMA pins and timing.
Instructor: Yuzhuang Hu Design strategy in ASM.
ECE 456 Computer Architecture Lecture #14 – CPU (III) Instruction Cycle & Pipelining Instructor: Dr. Honggang Wang Fall 2013.
Input-Output Organization
Microprocessor. Interrupts The processor has 5 interrupts. CALL instruction (3 byte instruction). The processor calls the subroutine, address of which.
Modes of transfer in computer
B. Ramamurthy.  12 stage pipeline  At peak speed, the processor can request both an instruction and a data word on every clock.  We cannot afford pipeline.
CH10 Input/Output DDDData Transfer EEEExternal Devices IIII/O Modules PPPProgrammed I/O IIIInterrupt-Driven I/O DDDDirect Memory.
Microprocessor Microprocessor (cont..) It is a 16 bit μp has a 20 bit address bus can access upto 220 memory locations ( 1 MB). It can support.
80386DX functional Block Diagram PIN Description Register set Flags Physical address space Data types.
EFLAG Register of The The only new flag bit is the AC alignment check, used to indicate that the microprocessor has accessed a word at an odd.
Computer Architecture Lecture 4 by Engineer A. Lecturer Aymen Hasan AlAwady 17/11/2013 University of Kufa - Informatics Center for Research and Rehabilitation.
MACHINE CYCLE AND T-STATE
Explanation Interrupts System Interconnections. Interrupts A computer system must provide a method for allowing mechanisms to interrupt the normal processing.
Processor Organization and Architecture Module III.
MODULE 5 INTEL TODAY WE ARE GOING TO DISCUSS ABOUT, FEATURES OF 8086 LOGICAL PIN DIAGRAM INTERNAL ARCHITECTURE REGISTERS AND FLAGS OPERATING MODES.
1 Basic Processor Architecture. 2 Building Blocks of Processor Systems CPU.
1 Computer Architecture. 2 Basic Elements Processor Main Memory –volatile –referred to as real memory or primary memory I/O modules –secondary memory.
8085 INTERNAL ARCHITECTURE.  Upon completing this topic, you should be able to: State all the register available in the 8085 microprocessor and explain.
Direct Memory Access (DMA) Department of Computer Engineering, M.S.P.V.L. Polytechnic College, Pavoorchatram. A Presentation On.
Chapter 11 System Performance Enhancement. Basic Operation of a Computer l Program is loaded into memory l Instruction is fetched from memory l Operands.
8 085Microprocessor Temp Reg (8) Accumulator (A reg) Flag flip flops(8) Instruction Register (8) Arithmetic Logic Unit ALU Instruction Decoder and Machine.
Seminar On 8085 microprocessor
Programmable System on Chip
Dr. Michael Nasief Lecture 2
8085 Microprocessor Architecture
An Introduction to Microprocessor Architecture using intel 8085 as a classic processor
Number Representations and Basic Processor Architecture
Instruction cycle Instruction: A command given to the microprocessor to perform an operation Program : A set of instructions given in a sequential.
8085 Microprocessor Architecture
Unit-I 80386DX Architecture
8085 Microprocessor Architecture
Computer System Overview
Computer Operation 6/22/2019.
Presentation transcript:

Instructor: Yuzhuang Hu

Final August 7, :00pm - 10:pm HCC1700

I/O Interface Units Peripherals are often eletro-mechanical devices whose manner of operation is different from that of the CPU and memory. The data-transfer rate of peripherals is usually different from the clock rate of the CPU. Data codes and formats in peripherals differ from the word format in the CPU. The operating modes of peripherals differ from each other.

I/O bus and interface

Modes of Transfer Data transfer under program control. Interrupt-initiated data transfer. Direct memory access transfer.

Program-Controlled Transfer

Interrupt-Initiated Transfer SP <- SP – 1Decrement stack pointer M[SP] <- PCStore return address on stack SP <- SP – 1 Decrement stack pointer M[SP] <- PSRStore processor status word on stack EI <- 0Reset enable-interrupt flip-flop INTACK <- 1Enable interrupt acknowledge PC <- IVADTransfer interrupt vector address to PC, go to fetch phase

Final August 7, :00pm - 10:pm HCC1700

Sequential Circuit Design

Design from ASM processor statuscontrol pts SEQ CTRL PTS SELECTOR External control inputs Data inData out Clock

VHDL Write some VHDL codes. Processes in VHDL.

Pipeline Execution of the instructions in each stage. Hazards. Find data and control hazards. Avoid data and control hazards. Insert NOP Change the order of the instructions Other methods

Data hazards Consider the following instructions 1.MOV R1, R5 2.ADD R2, R1, R6 3.ADD R3, R1, R2 IFDOFEXWB IFDOFEXWB IFDOFEXWB Mov R1, R5 Add R2, R1, R6 Add R3, R1, R2

Cache Memory 32 bit address, 1024 KB cache, 4 word line, two way associative cache Question: how many bits in tag and index? tag index block byte

Overall picture

THANKS!