Interrupt, again! Lin Zhong ELEC424, Fall 2010.

Slides:



Advertisements
Similar presentations
Lab 2: Finite State Machines CS 3410 Spring 2015.
Advertisements

Introduction to Sequential Circuits
TOPIC : Finite State Machine(FSM) and Flow Tables UNIT 1 : Modeling Module 1.4 : Modeling Sequential circuits.
Lecture 22: Sequential Circuits Today’s topic –Clocks and sequential circuits –Finite state machines 1.
Introduction to Microprocessors (CS 45) Session Microprocessor - 2.
Processor System Architecture
Computer ArchitectureFall 2007 © October 1st, 2007 Majd F. Sakr CS-447– Computer Architecture.
Review and Overview. Review  Combinational logic circuit – Decoder, Encoder, Multiplexer, De-multiplexer, Full Adder, Multiplier  Sequential logic circuit.
Basic Register A register is a sequential component that can store multiple bits.
Give qualifications of instructors: DAP
Midterm Tuesday October 23 Covers Chapters 3 through 6 - Buses, Clocks, Timing, Edge Triggering, Level Triggering - Cache Memory Systems - Internal Memory.
State Machines Used to Design Sequential Circuits.
Computer ArchitectureFall 2008 © September 17th, 2008 Majd F. Sakr CS-447– Computer Architecture.
ECE 301 – Digital Electronics Introduction to Sequential Logic Circuits (aka. Finite State Machines) and FSM Analysis (Lecture #17)
ECE 331 – Digital Systems Design Introduction to Sequential Logic Circuits (aka. Finite State Machines) and FSM Analysis (Lecture #19)
Midterm Wednesday 11/19 Overview: 25% First Midterm material - Number/character representation and conversion, number arithmetic - DeMorgan’s Law, Combinational.
Unit 12 Registers and Counters Ku-Yaw Chang Assistant Professor, Department of Computer Science and Information Engineering Da-Yeh.
The Computer Processor
Lecture 17 General finite state machine (FSM) design
Programming & Development of Mobile & Embedded Systems Lin Zhong ELEC424, Fall 2010.
Lecture 10 Topics: Sequential circuits Basic concepts Clocks
The von Neumann Model – Chapter 4 COMP 2620 Dr. James Money COMP
Sequential Logic in Verilog
1 Catalog of useful (structural) modules and architectures In this course we will be working mostly at the BEHAVIORAL and STRUCTURAL levels. We will rely.
1 COMP541 State Machines Montek Singh Feb 8, 2012.
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.
Sequential Logic Materials taken from: Digital Design and Computer Architecture by David and Sarah Harris & The Essentials of Computer Organization and.
Module : FSM Topic : types of FSM. Two types of FSM The instant of transition from the present to the next can be completely controlled by a clock; additionally,
Review of Digital Logic Design Concepts OR: What I Need to Know from Digital Logic Design (EEL3705)
Computer Organization & Programming Chapter 5 Synchronous Components.
Lecture 5. Sequential Logic 2 Prof. Taeweon Suh Computer Science Education Korea University 2010 R&E Computer System Education & Research.
FINITE STATE MACHINES (FSMs)
Computer architecture
Registers; State Machines Analysis Section 7-1 Section 5-4.
University of Texas at Austin CS310 - Computer Organization Spring 2009 Don Fussell State Machines.
Digital System Design using VHDL
University of Texas at Austin CS310 - Computer Organization Spring 2009 Don Fussell State Machines.
Computer Architecture Lecture 4 by Engineer A. Lecturer Aymen Hasan AlAwady 17/11/2013 University of Kufa - Informatics Center for Research and Rehabilitation.
Picoblaze Overview EENG Introduction 8-bit microcontroller for Xilinx devices Soft Core – Soft Processor 5% of the resources of spartan 3 (3S200.
1 COMP541 Finite State Machines - 1 Montek Singh Sep 22, 2014.
Structure and Role of a Processor
© 2009 Pearson Education, Upper Saddle River, NJ All Rights ReservedFloyd, Digital Fundamentals, 10 th ed Digital Logic Design Dr. Oliver Faust.
MICROPROCESSOR DETAILS 1 Updated April 2011 ©Paul R. Godin prgodin gmail.com.
Introduction to Sequential Logic Design Finite State-Machine Analysis.
Computer Organization CS345 David Monismith Based upon notes by Dr. Bill Siever and notes from the Patterson and Hennessy Text.
1 Basic Processor Architecture. 2 Building Blocks of Processor Systems CPU.
Logic Design (CE1111 ) Lecture 6 (Chapter 6) Registers &Counters Prepared by Dr. Lamiaa Elshenawy 1.
COMBINATIONAL AND SEQUENTIAL CIRCUITS Guided By: Prof. P. B. Swadas Prepared By: BIRLA VISHVAKARMA MAHAVDYALAYA.
Chapter 3 Boolean Algebra and Digital Logic T103: Computer architecture, logic and information processing.
Govt. Engineering College- Gandhinagar. It is all about……  STATE MACHINE.
1 COMP541 Sequential Logic – 2: Finite State Machines Montek Singh Feb 29, 2016.
1 Lecture 13: Sequential Circuits, FSM Today’s topics:  Sequential circuits  Finite state machines  Single-cycle CPU Reminder: midterm on Tue 10/20.
Catalog of useful (structural) modules and architectures
Lecture 4. Sequential Logic #2
Introduction to Sequential Logic Design
Gunjeet Kaur Dronacharya Group of institutions
FIGURE 5.1 Block diagram of sequential circuit
Digital Design Lecture 9
Introduction of microprocessor
Simple Processor Control Unit
Jeremy R. Johnson Mon. Apr. 3, 2000
Number Representations and Basic Processor Architecture
Computer Architecture
Computer Organization and ASSEMBLY LANGUAGE
Hakim Weatherspoon CS 3410 Computer Science Cornell University
EEL 3705 / 3705L Digital Logic Design
Joseph Ravichandran, Srijan Chakraborty, Kanad Sarkar
Systems Architecture I
Lecture 20 Logistics Last lecture Today HW6 due Wednesday
Lecture 4: Finite State Machines
Presentation transcript:

Interrupt, again! Lin Zhong ELEC424, Fall 2010

IAR EWR interrupt Enable interrupt 3

IAR EWR interrupt Interrupt handler is a special subroutine 4

16-bit address for interrupt handler routine

Registers General purpose registers – R4-R15 in MSP430F169 Special purpose registers – Program counter (PC), stack pointer (SP), status (SR), … Pipeline registers ……… …….. Controller state registers

Copyright © 2007 Elsevier 3- Finite State Machine (FSM) Consists of: –State register that Store the current state and Load the next state at the clock edge –Combinational logic that Computes the next state Computes the outputs

Copyright © 2007 Elsevier 3- Finite State Machines (FSMs) Next state is determined by the current state and the inputs Two types of finite state machines differ in the output logic: –Moore FSM: outputs depend only on the current state –Mealy FSM: outputs depend on the current state and the inputs

Copyright © 2007 Elsevier 3- State Transition Diagrams Mealy FSM: arcs indicate input/output

Processor controller: a hierarchical FSM as a state can be a FSM too