Many Facets of Hardware Monitoring Konstantin Selyunin Stefan Jakšić Vienna University of Technology Austrian Institute of Technology Joint work with:

Slides:



Advertisements
Similar presentations
INTERVAL Next Previous 13/02/ Timed extensions to SDL Analysis requirements –Assumptions on moments and duration Semantics with controllable time.
Advertisements

The need for AMS assertions Verify the analog/digital interfaces at block and SoC levels –Check properties involving voltages and currents –Check complex.
CMSC 611: Advanced Computer Architecture
Abstraction and Modular Reasoning for the Verification of Software Corina Pasareanu NASA Ames Research Center.
GWDAW 16/12/2004 Inspiral analysis of the Virgo commissioning run 4 Leone B. Bosi VIRGO coalescing binaries group on behalf of the VIRGO collaboration.
Hybrid Systems Presented by: Arnab De Anand S. An Intuitive Introduction to Hybrid Systems Discrete program with an analog environment. What does it mean?
Programming Languages Marjan Sirjani 2 2. Language Design Issues Design to Run efficiently : early languages Easy to write correctly : new languages.
1 Architectural Complexity: Opening the Black Box Methods for Exposing Internal Functionality of Complex Single and Multiple Processor Systems EECC-756.
Presenter: PCLee – This paper outlines the MBAC tool for the generation of assertion checkers in hardware. We begin with a high-level presentation.
Neural Cross Correlation For Radio Astronomy Chipo N Ngongoni Supervisor: Professor J Tapson Department of Electrical Engineering, University of Cape Town.
Lecture 16 Spiking neural networks
The Concept of Computer Architecture
Low-Level Programming Languages
1 Design For Debug Using DAFCA system Gadi Glikberg 15/6/06.
CAD and Design Tools for On- Chip Networks Luca Benini, Mark Hummel, Olav Lysne, Li-Shiuan Peh, Li Shang, Mithuna Thottethodi,
1 Advanced Digital Design Asynchronous Design: Research Concept by A. Steininger and M. Delvai Vienna University of Technology.
PathExpander: Architectural Support for Increasing the Path Coverage of Dynamic Bug Detection S. Lu, P. Zhou, W. Liu, Y. Zhou, J. Torrellas University.
Presenter: PCLee Design Automation Conference, ASP-DAC '07. Asia and South Pacific.
November 18, 2004 Embedded System Design Flow Arkadeb Ghosal Alessandro Pinto Daniele Gasperini Alberto Sangiovanni-Vincentelli
Outline Chapter 1 Hardware, Software, Programming, Web surfing, … Chapter Goals –Describe the layers of a computer system –Describe the concept.
DIVES Alur, Lee, Kumar, Pappas: University of Pennsylvania  Charon: high-level modeling language and a design environment reflecting the current state.
George Mason University ECE 448 – FPGA and ASIC Design with VHDL Finite State Machines State Diagrams, State Tables, Algorithmic State Machine (ASM) Charts,
Laurent Itti: CS599 – Computational Architectures in Biological Vision, USC Lecture 7: Coding and Representation 1 Computational Architectures in.
1 Presenter: Chien-Chih Chen Proceedings of the 2002 workshop on Memory system performance.
Antoine Girard VAL-AMS Project Meeting April 2007 Behavioral Metrics for Simulation-based Circuit Validation.
FPGA for Underwater Communication Pradyumna (Prad) Kadambi Mentor: Cody Youngbull April 13, 2015.
Secure Embedded Processing through Hardware-assisted Run-time Monitoring Zubin Kumar.
Computer Architecture The Concept Ola Flygt V ä xj ö University
StateCAD FPGA Design Workshop. For Academic Use Only Presentation Name 2 Objectives After completing this module, you will be able to:  Describe how.
ECE 720T5 Winter 2014 Cyber-Physical Systems Rodolfo Pellizzoni.
Using Mathematica for modeling, simulation and property checking of hardware systems Ghiath AL SAMMANE VDS group : Verification & Modeling of Digital systems.
Chap. 1 Overview of Digital Design with Verilog. 2 Overview of Digital Design with Verilog HDL Evolution of computer aided digital circuit design Emergence.
ASIC/FPGA design flow. FPGA Design Flow Detailed (RTL) Design Detailed (RTL) Design Ideas (Specifications) Design Ideas (Specifications) Device Programming.
1 Automatic Refinement and Vacuity Detection for Symbolic Trajectory Evaluation Orna Grumberg Technion Haifa, Israel Joint work with Rachel Tzoref.
High Performance Embedded Computing © 2007 Elsevier Chapter 1, part 2: Embedded Computing High Performance Embedded Computing Wayne Wolf.
Date: File:PRO1_12E.1 SIMATIC S7 Siemens AG All rights reserved. Information and Training Center Knowledge for Automation Troubleshooting.
Computer Operations A computer is a programmable electronic device that can store, retrieve, and process data Data and instructions to manipulate the data.
Electrical and Computer Engineering University of Cyprus LAB 1: VHDL.
System-level power analysis and estimation September 20, 2006 Chong-Min Kyung.
Constraints Assisted Modeling and Validation Presented in CS294-5 (Spring 2007) Thomas Huining Feng Based on: [1]Constraints Assisted Modeling and Validation.
ELEE 4303 Digital II Introduction to Verilog. ELEE 4303 Digital II Learning Objectives Get familiar with background of HDLs Basic concepts of Verilog.
Software Systems Verification and Validation Laboratory Assignment 4 Model checking Assignment date: Lab 4 Delivery date: Lab 4, 5.
ECE 448 Lecture 6 Finite State Machines State Diagrams vs. Algorithmic State Machine (ASM) Charts.
CSC321: Neural Networks Lecture 1: What are neural networks? Geoffrey Hinton
Where are we? What’s left? HW 7 due on Wednesday Finish learning this week. Exam #4 next Monday Final Exam is a take-home handed out next Friday in class.
SUBJECT : DIGITAL ELECTRONICS CLASS : SEM 3(B) TOPIC : INTRODUCTION OF VHDL.
Self-Organizing Network Model (SOM) Session 11
Dynamo: A Runtime Codesign Environment
Topics Modeling with hardware description languages (HDLs).
Implementing a sequence machine using spiking neurons
Introduction Introduction to VHDL Entities Signals Data & Scalar Types
Topics Modeling with hardware description languages (HDLs).
Anne Pratoomtong ECE734, Spring2002
Digital Processing Platform
Matlab as a Development Environment for FPGA Design
Hardware Description Languages
Model Checking for an Executable Subset of UML
Computer Architecture
CSE 370 – Winter Sequential Logic - 1
Qingbo Zhu, Asim Shankar and Yuanyuan Zhou
Demonstration of STDP based Neural Networks on an FPGA
HIGH LEVEL SYNTHESIS.
Dynamic Program Analysis
Department of Electrical Engineering Joint work with Jiong Luo
H a r d w a r e M o d e l i n g O v e r v i e w
Canonical Computation without Canonical Data Structure
ECE 448 Lecture 6 Finite State Machines State Diagrams, State Tables, Algorithmic State Machine (ASM) Charts, and VHDL code ECE 448 – FPGA and ASIC Design.
Digital Designs – What does it take
Introduction to Digital IC Design
Rich Model Toolkit – An Infrastructure for Reliable Computer Systems
Presentation transcript:

Many Facets of Hardware Monitoring Konstantin Selyunin Stefan Jakšić Vienna University of Technology Austrian Institute of Technology Joint work with: D.Nickovic, R.Grosu, E.Bartocci, T.Nguyen

Motivation  Cyber Physical Systems  Physical environment controlled by digital  Why monitors for CPS in HW?  Tackling slow simulation issue  Detect property violation during CPS execution  We take three approaches:  FPGA Qualitative STL Monitors  FPGA Quantitative STL Monitors  Monitors based on Neural Networks

Qualitative STL Monitoring on FPGA 3

Bounded Stabilization – Formalization in STL  Signal must never exceed +/- 6  “Bounded stabilization property: once trigger has risen, no later than 600 TU, signal must become stable and remain stable for at least 300 TU” 4  Formalized in STL:  Specifications in Signal Temporal Logic

Overview 5 Code generato r  Challenges:  Specification refers to past, present and future  Runtime monitoring with limited computation and space resources

 From Bounded Future to Past 6  More details can be found in:  “From Signal Temporal Logic to FPGA Monitors” – MEMOCODE 2015

Reducing memory consumption 7  Low variability signals  Memory savings by buffering with counters

AMS Case Study: Stabilization 8 input < 0.5 analog_input error trigger  More details can be found in:  “From Signal Temporal Logic to FPGA Monitors” – MEMOCODE 2015

Quantitative Monitoring of STL  Qualitative monitoring: pass/fail  Replace satisfaction relation with Robustness Degree  Level of satisfaction/violation of formula  Ingredients:  Distance Metric  Algorithm for computing distance between a trace and a specification 9

Weighted Edit Distance  Distance metric sensitive to both space and time discrepancies  Skorokhod distance used for continuous signals  Time distortion penalty < pointwise cost savings  What about discrete signals?  Weighted Edit Distance  Deletion, Insertion and Substitution  Weighted substitution cost – ordered alphabets  INS + DEL penalty < SUB cost  Able to distinguish between space and time discrepancies 10

Weighted Edit Distance: time shift  WED does not accumulate cost in case of time shift  WED is aware of space differences as well 11

Computing Robustness based on WED  Positive Robustness – degree of SAT of  Negative Robustness – degree of UNSAT of  + = 12

QM Example: Acceptor 13  Let’s consider the formula:  Acceptor for language

QM Example: Weighted Edit Automaton  Model substitutions by assigning input-dependent cost  Model deletions with self-transitions  Model insertions with ε-transitions 14

Algorithm for calculating WED  Dynamic programming  Admits HW implementation 15

Neural Architectures for Monitoring  Neural models abstract important biological behaviors 16 Neurons in the mammalian cortex observed under the microscope by Ramon y Cajal (1909) TrueNorth's neurons to revolutionize system architecture (  How to build monitors based on spiking hardware architectures?  Novel hardware architectures emerge based on these principles

IBM’s TrueNorth Model  Extends Leaky Integrate and Fire model  Synaptic Integration:  Leak Integration:  Threshold, Fire, Reset: 17 [Cassidy et.al. 2013]

Configuring Neurons to Recognize MTL Operators 18  Logical Operators with TrueNorth Neurons

Configuring Neurons to Recognize MTL Operators 19  Temporal Operators:  Reset Mode 2  Saturate  Largest Negative Weight [“Monitoring MTL Specifications with IBM’s Spiking Neural Model”, DATE’16]

High Level Synthesis for Hardware Implementation  Translates a C++ subset to synthesizable HDL restriction!  Hardware specific datatypes doing things bit-precise ap_int  Pragma optimization directives #pragma ARRAY_PARTITION FULL 20  Result: IP for integration with other tools

Case Study  From a System-Level Requirement to a Neural Monitor 21 When the missile received the launch enable signal, it must see the fire enable signal followed within the next four time points. After fire en has arrived, no detonation is allowed for the next five time points."  Simulation of the Neural Circuit:

Questions? Thank you for your attention

Simplifications  Simple past operators:  Since :  Once : 23

From STL to FPGA Monitors - Challenges  STL Interpreted over discrete time  FPGA implementation of STL monitors  STL with unbounded past and bounded future  Runtime monitoring with limited resources  Speed and space  Real-valued predicates 24

Evaluation 25  Untimed past STL  Very small footprint  Past time scalability test:  Variability influence  Good scalability of “counters” algorithm

Evaluation  Bounded future STL  Naive approach vs. Counters algorithm  Future can be costly 26

Assertion Language 27