reproducibility tool for digital systems
play

Reproducibility Tool for Digital Systems Joint work with Lennon - PowerPoint PPT Presentation

21st ACM International Conference on Hybrid Systems: Computation and Control (HSCC18) DSValidator: An Automated Counterexample Reproducibility Tool for Digital Systems Joint work with Lennon Chaves, Iury Bessa, and Daniel Kroening Lucas Cordeiro


  1. 21st ACM International Conference on Hybrid Systems: Computation and Control (HSCC’18) DSValidator: An Automated Counterexample Reproducibility Tool for Digital Systems Joint work with Lennon Chaves, Iury Bessa, and Daniel Kroening Lucas Cordeiro University of Oxford lucas.cordeiro@cs.ox.ac.uk

  2. Establish Trust in Verification Results Specification CE Irreproducible CE Reproducible Implementation Digital Controller and Filter 2

  3. Establish Trust in Verification Results Specification CE Irreproducible Digital System Verifiers CE Reproducible Implementation Digital Controller and Filter 2

  4. Establish Trust in Verification Results Specification Verification CE Irreproducible Successful Digital System Verifiers CE Reproducible Implementation Digital Controller and Filter 2

  5. Establish Trust in Verification Results Specification Verification CE Irreproducible Successful Digital System DSValidator Verifiers Counter- example CE Reproducible Implementation Fix the implementation Digital Controller and Filter 2

  6. Establish Trust in Verification Results Specification Verification CE Irreproducible Successful Incorrect result Digital System DSValidator Verifiers Counter- example CE Reproducible Implementation Fix the implementation Digital Controller and Filter 2

  7. Verification & Validation Methodology Verification Steps Step 1: Step 2: Step 3: Step 4: Step 5: Digital System Define Define Configure Verifier/ Design Representation Realization Form Verification Solver Verification Result ( Exchangeable Format ) Fix the YES Step 6: implementation Property DSValidator Violation? Counterexample NO SUCCESS Validation Steps 3

  8. Verification & Validation Methodology Verification Steps Step 1: Step 2: Step 3: Step 4: Step 5: Digital System Define Define Configure Verifier/ Design Representation Realization Form Verification Solver Verification Result ( Exchangeable Format ) Fix the YES Step 6: implementation Property DSValidator Violation? Counterexample NO SUCCESS Validation Steps 3

  9. Verification & Validation Methodology Verification Steps Step 1: Step 2: Step 3: Step 4: Step 5: Digital System Define Define Configure Verifier/ Design Representation Realization Form Verification Solver Verification Result ( Exchangeable Format ) Fix the YES Step 6: implementation Property DSValidator Violation? Counterexample NO SUCCESS Validation Steps 3

  10. Verification & Validation Methodology Verification Steps Step 1: Step 2: Step 3: Step 4: Step 5: Digital System Define Define Configure Verifier/ Design Representation Realization Form Verification Solver Verification Result ( Exchangeable Format ) Fix the YES Step 6: implementation Property DSValidator Violation? Counterexample NO SUCCESS Validation Steps 3

  11. Verification & Validation Methodology Verification Steps Step 1: Step 2: Step 3: Step 4: Step 5: Digital System Define Define Configure Verifier/ Design Representation Realization Form Verification Solver Verification Result ( Exchangeable Format ) Fix the YES Step 6: implementation Property DSValidator Violation? Counterexample NO SUCCESS Validation Steps 3

  12. Verification & Validation Methodology Verification Steps Step 1: Step 2: Step 3: Step 4: Step 5: Digital System Define Define Configure Verifier/ Design Representation Realization Form Verification Solver Verification Result ( Exchangeable Format ) Fix the YES Step 6: implementation Property DSValidator Violation? Counterexample NO SUCCESS Validation Steps 3

  13. Verification & Validation Methodology Verification Steps Step 1: Step 2: Step 3: Step 4: Step 5: Digital System Define Define Configure Verifier/ Design Representation Realization Form Verification Solver Verification Result ( Exchangeable Format ) Fix the YES Step 6: implementation Property DSValidator Violation? Counterexample NO SUCCESS Validation Steps 3

  14. Verification & Validation Methodology Verification Steps Step 1: Step 2: Step 3: Step 4: Step 5: Digital System Define Define Configure Verifier/ Design Representation Realization Form Verification Solver Verification Result ( Exchangeable Format ) Fix the YES Step 6: implementation Property DSValidator Violation? Counterexample NO SUCCESS Validation Steps 3

  15. Objectives Establish trust in verification results for digital systems 4

  16. Objectives Establish trust in verification results for digital systems ● Propose a format to represent the counterexamples that can be used by any verifier 4

  17. Objectives Establish trust in verification results for digital systems ● Propose a format to represent the counterexamples that can be used by any verifier ● Reproduce counterexamples that refute properties related to limit cycle, overflow, stability and minimum-phase 4

  18. Objectives Establish trust in verification results for digital systems ● Propose a format to represent the counterexamples that can be used by any verifier ● Reproduce counterexamples that refute properties related to limit cycle, overflow, stability and minimum-phase ● Validate a set of intricate counterexamples for digital controllers used in a real quadrotor attitude system 4

  19. DSVerifier Counterexample Format ● A counterexample is a trace that shows that a given property does not hold in the model represented by a state transition system Property = LIMIT_CYCLE Numerator = { 2002, -4000, 1998 } Denominator = { 1, 0, -1 } X_Size = 10 Sample_Time = 0.001 Implementation = <13,3> Numerator (fixed-point) = { 2002, -4000, 1998 } Denominator (fixed-point) = { 1, 0, -1 } Realization = DFI Dynamical_Range = { -1, 1 } Initial_States = { -0.875, 0, -1 } Inputs = { 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5} Outputs = { 0, -1, 0, -1, 0, -1, 0, -1, 0, -1} 5

  20. DSVerifier Counterexample Format ● A counterexample is a trace that shows that a given property does not hold in the model represented by a state transition system Property = LIMIT_CYCLE Numerator = { 2002, -4000, 1998 } Denominator = { 1, 0, -1 } X_Size = 10 Sample_Time = 0.001 Implementation = <13,3> Numerator (fixed-point) = { 2002, -4000, 1998 } Denominator (fixed-point) = { 1, 0, -1 } Realization = DFI Dynamical_Range = { -1, 1 } Initial_States = { -0.875, 0, -1 } Inputs = { 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5} Outputs = { 0, -1, 0, -1, 0, -1, 0, -1, 0, -1} 5

  21. DSVerifier Counterexample Format ● A counterexample is a trace that shows that a given property does not hold in the model represented by a state transition system Property = LIMIT_CYCLE Numerator = { 2002, -4000, 1998 } Denominator = { 1, 0, -1 } X_Size = 10 Sample_Time = 0.001 Implementation = <13,3> Numerator (fixed-point) = { 2002, -4000, 1998 } Denominator (fixed-point) = { 1, 0, -1 } Realization = DFI Dynamical_Range = { -1, 1 } Initial_States = { -0.875, 0, -1 } Inputs = { 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5} Outputs = { 0, -1, 0, -1, 0, -1, 0, -1, 0, -1} 5

  22. DSVerifier Counterexample Format ● A counterexample is a trace that shows that a given property does not hold in the model represented by a state transition system Property = LIMIT_CYCLE Numerator = { 2002, -4000, 1998 } Denominator = { 1, 0, -1 } X_Size = 10 Sample_Time = 0.001 Implementation = <13,3> Numerator (fixed-point) = { 2002, -4000, 1998 } Denominator (fixed-point) = { 1, 0, -1 } Realization = DFI Dynamical_Range = { -1, 1 } Initial_States = { -0.875, 0, -1 } Inputs = { 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5} Outputs = { 0, -1, 0, -1, 0, -1, 0, -1, 0, -1} 5

  23. DSVerifier Counterexample Format ● A counterexample is a trace that shows that a given property does not hold in the model represented by a state transition system Property = LIMIT_CYCLE Numerator = { 2002, -4000, 1998 } Denominator = { 1, 0, -1 } X_Size = 10 Sample_Time = 0.001 Implementation = <13,3> Numerator (fixed-point) = { 2002, -4000, 1998 } Denominator (fixed-point) = { 1, 0, -1 } Realization = DFI Dynamical_Range = { -1, 1 } Initial_States = { -0.875, 0, -1 } Inputs = { 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5} Outputs = { 0, -1, 0, -1, 0, -1, 0, -1, 0, -1} 5

  24. DSVerifier Counterexample Format ● A counterexample is a trace that shows that a given property does not hold in the model represented by a state transition system Property = LIMIT_CYCLE Numerator = { 2002, -4000, 1998 } Denominator = { 1, 0, -1 } X_Size = 10 Sample_Time = 0.001 Implementation = <13,3> Numerator (fixed-point) = { 2002, -4000, 1998 } Denominator (fixed-point) = { 1, 0, -1 } Realization = DFI Dynamical_Range = { -1, 1 } Initial_States = { -0.875, 0, -1 } Inputs = { 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5} Outputs = { 0, -1, 0, -1, 0, -1, 0, -1, 0, -1} 5

  25. DSVerifier Counterexample Format ● A counterexample is a trace that shows that a given property does not hold in the model represented by a state transition system Property = LIMIT_CYCLE Numerator = { 2002, -4000, 1998 } Denominator = { 1, 0, -1 } X_Size = 10 Sample_Time = 0.001 Implementation = <13,3> Numerator (fixed-point) = { 2002, -4000, 1998 } Denominator (fixed-point) = { 1, 0, -1 } Realization = DFI Dynamical_Range = { -1, 1 } Initial_States = { -0.875, 0, -1 } Inputs = { 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5} Outputs = { 0, -1, 0, -1, 0, -1, 0, -1, 0, -1} 5

Recommend


More recommend