6/13/2015Page 1 Software Requirements Engineering for RTS and Embedded Systems B. Ramamurthy.

Slides:



Advertisements
Similar presentations
Embedded System, A Brief Introduction
Advertisements

Software Engineering - Specifications 1 Specifications Specification document must be clear, complete and correct.
Introduction to Sequential Circuits
TOPIC : Finite State Machine(FSM) and Flow Tables UNIT 1 : Modeling Module 1.4 : Modeling Sequential circuits.
Give qualifications of instructors: DAP
OBP Research Oy for simpler creation of embedded systems.
Software Requirements Engineering
Intro to DFAs Readings: Sipser 1.1 (pages 31-44) With basic background from Sipser 0.
1 6. Constraint Automata Constraint Automaton – set of states, set of state variables, transitions between states, domain of state variables, and initial.
Developed by Reneta Barneva, SUNY Fredonia Product Metrics for Software.
8/28/2005ECEN5543 Req Elicitation1 Targets of Requirements Engineering ECEN 5543 SW Engineering of Standalone Programs University of Colorado, Boulder.
Advanced Topics in Behavior Analysis - Page L15-1 MEF-OOM&A-L15-1 Dr. M.E. Fayad Lesson 15: Advanced Topics in Behavior Analysis Object- Oriented Modeling.
6/26/2015Page 1 Software Requirements Engineering Ch.5 B. Ramamurthy.
Requirements Engineering
S R S S ystem R equirements S pecification Specifying the Specifications.
B. RAMAMURTHY UNIVERSITY AT BUFFALO 5/30/ CSE524: Realtime and Embedded Systems Amrita-UB-MSES-CSE
Introduction to Realtime Systems & Embedded Systems B. Ramamurthy CSE 321 8/17/20151.
ENGG1100 Lecture7: Introduction To Engineering Design (Digital Logic) Part 2 Kin Hong Wong ENGG1100. Ch7-Digital Logic (part 2) 16/02/15 1.
University of Toronto at Scarborough © Kersti Wain-Bantin CSCC40 system design 1 what is systems design? preparation of the system’s specifications with.
Rosen 5th ed., ch. 11 Ref: Wikipedia
Finite-State Machines with No Output
©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 10Slide 1 Chapter 10 Architectural Design.
Presented by Khaled Chebaro, Yaser Jafar, Orin Pereira KYO Engineering Consultants Inc. on 27/11/07 Automated Banking Machine for MacBank Inc. SFWR 3M04.
Black Box Testing Techniques Chapter 7. Black Box Testing Techniques Prepared by: Kris C. Calpotura, CoE, MSME, MIT  Introduction Introduction  Equivalence.
CSC 395 – Software Engineering Lecture 28: Classical Analysis -or- Do You Really Want to Do That?
Introduction to Software Engineering. Why SE? Software crisis manifested itself in several ways [1]: ◦ Project running over-time. ◦ Project running over-budget.
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,
Counters. In class excercise How to implement a “counter”, which will count as 0,3,1,4,5,7,0,3,1,…… Q2Q1Q0D2D1D
Copyright © Curt Hill Finite State Machines The Simplest and Least Capable Automaton.
1 Quality Attributes of Requirements Documents Lecture # 25.
©Ian Sommerville 2004Software Engineering, 7th edition. Chapter 4 Slide 1 Slide 1 Use Case Packets.
Designing Realtime Systems & Embedded Systems B. Ramamurthy CSE /13/20151.
GET CONNECTED Information Technology Career Cluster.
VHDL Discussion Finite State Machines
Modelling Reactive Systems 4 Professor Muffy Calder Dept. of Computing Science University of Glasgow
Software Engineering REQUIREMENT ENGINEERING. Software Engineering Phases.
1 DESIGN AND IMPLEMENTATION OF FINITE STATE MACHINE FOR RF-POWER STATION. B. P. KOSĘDA, W. CICHALEWSKI.
Digital System Design using VHDL
System Requirements Specification
Software Testing Mehwish Shafiq. Testing Testing is carried out to validate and verify the piece developed in order to give user a confidence to use reliable.
Computing Machinery Chapter 4: Finite State Machines.
Software Requirements. Objectives: l To introduce the concepts of user and system requirements l To describe functional / non-functional requirements.
CSC480 Software Engineering Lecture 7 September 16, 2002.
© 2009 Pearson Education, Upper Saddle River, NJ All Rights ReservedFloyd, Digital Fundamentals, 10 th ed Digital Logic Design Dr. Oliver Faust.
Information Technology IMS5024 Information Systems Modelling Review of topics.
Finite State Machines Logical and Artificial Intelligence in Games Lecture 3a.
Embedded System Design and Development Introduction to Embedded System.
©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 10Slide 1 Chapter 5:Architectural Design l Establishing the overall structure of a software.
The Game Development Process: Artificial Intelligence.
Theory of Computation Automata Theory Dr. Ayman Srour.
CSCI1600: Embedded and Real Time Software Lecture 10: Modeling IV: Compositions of State Machines Steven Reiss, Fall 2015.
Animation and Simulation Plus Interaction
Software Quality Assurance Software Quality Factor
Lecture2 Regular Language
AS Computer Studies Finite State Machines 2.
CSC480 Software Engineering
System Requirements Specification
Introduction to Realtime Systems (& Embedded Systems)
CSE321: Realtime and Embedded Systems
CSE321: Realtime and Embedded Systems
Software Requirements Engineering
CSE321: Realtime and Embedded Systems
Introduction to Hardware
Unit 1: Introduction to Operating System
Analysis models and design models
Software Requirements Specification (SRS) Template.
Realtime Embedded System Design
Counters.
Presentation transcript:

6/13/2015Page 1 Software Requirements Engineering for RTS and Embedded Systems B. Ramamurthy

6/13/2015Page 2 Topics Requirements engineering process State machines Event-driven programming Table-driven methods

6/13/2015Page 3 Requirements-Engineering Process Deals with determining the goals, functions, and constraints of systems, and with representation of these aspects in forms amenable to modeling and analysis.

6/13/2015Page 4 Types of requirements Standard scheme for realtime systems is defined by IEEE standard IEEE830. It defines the following kind of requirements: I.Functional II.Non-functional 1.External interfaces 2.Performance 3.Logical database 4.Design constraints (ex: standards compliance) 5.Software system attributes Reliability, availability, security, maintainability, portability

6/13/2015Page 5 Design methods: Finite state machines Finite state automaton (FSA), finite state machine (FSM) or state transition diagram (STD) is a formal method used in the specification and design of wide range of embedded and realtime systems. The system in this case would be represented by a finite number of states. Lets design the avionics for a drone aircraft.

6/13/2015Page 6 Drone aircraft avionics (simplified) TAK LAN NAA NAE NAV else MA else TD else LO else EE ED MC MA: Mission Assigned TD: Target Detected LO: Locked On EE: enemy Evaded ED: Enemy Destroyed MC: Mission Complete TAK: Take off NAV: Navigate NAE: Navigate & Evade NAA: Navigate & Attack LAN: Land

6/13/2015Page 7 Finite State Machine (FSM) M = five tuple  { S, i, T, Σ, δ } S = set of states i = initial state T = terminal state (s) Σ = events that bring about transitions δ = transitions Lets do this exercise for the avionics for fighter aircraft

6/13/2015Page 8 State Transition table MALOTDMCEEED TAKNAV NAELAN NAENAA NAENAV LAN

6/13/2015Page 9 Lets write the embedded system Use the table to code a function with case statement Or write a table-driven code Which is better and why? Try your binary game using FSM method