SlideServe
Menu
Préférences
© SlideServe · v2026

ICS 216 Embedded Systems Validation and Test

spillers avatar
12 diapositives · 159 Views · Jan 01, 2020

ICS 216 Embedded Systems Validation and Test. Instructor: Professor Ian G. Harris Department of Computer Science University of California Irvine. No single book. Some Verilog book is useful (some are on reserve at the library) Selected papers

ICS 216 Embedded Systems Validation and Test - slide 1
01 / 12ICS 216 Embedded Systems Validation and Test
1 / 17

Télécharger la présentation

ICS 216 Embedded Systems Validation and Test
Une image / un lien ci-dessous est fourni (tel quel) pour télécharger la présentation

Politique de téléchargement : le contenu du site vous est fourni TEL QUEL pour votre information et votre usage personnel ; il ne peut être vendu, concédé sous licence ni partagé sur d’autres sites sans l’accord de son auteur.Le contenu vous est fourni TEL QUEL, pour votre information et votre usage personnel uniquement. Téléchargez la présentation en cliquant sur ce lien. Lors du téléchargement, si vous ne parvenez pas à télécharger une présentation, l’éditeur a peut-être supprimé le fichier de son serveur.Pendant le téléchargement, si vous ne parvenez pas à obtenir une présentation, le fichier a peut-être été supprimé par l’éditeur.

F I N

Plus de contenu associé

Transcription de la présentation
  1. ICS 216Embedded Systems Validation and Test Instructor: Professor Ian G. Harris Department of Computer Science University of California Irvine

  2. No single book. Some Verilog book is useful (some are on reserve at the library) Selected papers Useful book -Writing Testbenches Functional Verification of HDL Models,Janick Bergeron, Second Edition Useful book -Introduction to Formal Hardware Verification, Thomas Kropf Reading Material

  3. Three problem sets: two on simulation-based validation and one on formal verification Final Project - individual or pairs - Final Project Proposal - ~2 pages - Final Project Proposal Presentation - 20 min. - Final Document - Complete description + any code Course Structure

  4. “A computer that doesn’t look like a computer” Embedded Systems • Complex computations hidden behind a simple interface • Ex. Cell phone, digital camera, automobile, etc. • Design requirements are varied • Power, performance, cost, life- critical • Design components are varied • Digital/analog hardware • Systems/application software • Mechanical sensors/actuators

  5. Importance of Embedded System Validation Validation is a bottleneck in the design process High cost of design debug (designers, time-to-market) High cost of faulty designs (loss of life, product recall) Hardware/Software covalidation problem is more acute Hardware and software are often used together Hardware and software are designed separately Covalidation is performed late in the process, necessitating long redesign loops

  6. Validation and Test • Validation/Verification • Ensuring that the design matches the designer’s intent/specification • Detection of design errors accidentally made by the designer(s) • Usually includes the debugging task as well • (Manufacturing) Test • Detection of physical defects in the implementation • Defects appear as a result of manufacturing or of wear mechanisms • Tests the implementation, not the design

  7. Validation vs. Verification • Formal verification - Use of proof-based techniques • Model checking, equivalence checking • Time complexity is high • Confidence is high for specified properties • Simulation based validation - Use of simulation • Full-chip/full-design validation • Confidence is not well quantified • Pentium 4 bugs found by FV (492) vs. Validation (5809) [1] [1] B. Bentley, “Validating the Intel Pentium 4 Microprocessor,” DAC’01.

  8. HW Behavioral SW Procedural COTS HW/SW HW Structural Machine Code Embedded System Design Flow Designer’s Intent: Vague idea of behavior known only to designer. Intent Natural Language Specification: “Complete” behavioral description Written in English (or other). Nat. Lang. Spec. Executable Behavior: A simulatable description of the behavior. Written in a procedural language (SystemVerilog, SystemC, …) Exec. Behavior SW Design Pre-Designed HW Design Fabrication Embedded System

  9. Exec. Behavior SW Design Pre-Designed HW Design HW Behavioral SW Procedural COTS HW/SW HW Structural Machine Code Fabrication Embedded System Simulation-Based Validation • Use of simulation to compare two design representations Intent Not Simulatable Nat. Lang. Spec. Simulatable • Comparison to natural language spec (or intent) requires manual interaction • Comparison to executable behavior requires cosimulation of HW, SW, and pre-designed

  10. Exec. Behavior SW Design Pre-Designed HW Design HW Behavioral SW Procedural COTS HW/SW HW Structural Machine Code Fabrication Embedded System Formal Verification, Model Checking • Evaluating design to determine if properties always hold Intent Properties Nat. Lang. Spec. • Properties capture some aspect of the designer’s intent • - “A traffic light cannot stay RED forever” AF(color!=RED) • Strictly limited in design complexity allowable

  11. 1 1 A/0 B/1 A/0 B/1 0 0 0 C/0 1 D/1 Formal Verification, Equivalence Checking • Proving that two different structural design representations are equivalent F1 = a’ + b’ F2 = (ab)’ • Works well for combinational logic. Requires manual interaction for sequential logic. • Limited to structural hardware. Infeasible for behavioral descriptions.

  12. Test Generation Test Sequence Simulation Test Responses Response Analysis Elements of Validation • Writing a good Test Bench • Evaluating a Test Bench - Coverage Metrics • Using the simulator (vcs) • Manual evaluation using the debugger (virsim, CLI) • Viewing waveforms • Insertion of breakpoints • Automatic evaluation • Comparison with known-good results • Assertions • Self-checking code