reachability analysis using octagons
play

Reachability Analysis Using Octagons Andrew N. Fisher and Chris J. - PowerPoint PPT Presentation

Reachability Analysis Using Octagons Andrew N. Fisher and Chris J. Myers Department of Electrical and Computer Engineering University of Utah FAC 2014 July 9, 2014 Fisher / Myers (U. of Utah) Octagons FAC 2014 / July 9, 2014 Digitally


  1. Reachability Analysis Using Octagons Andrew N. Fisher and Chris J. Myers Department of Electrical and Computer Engineering University of Utah FAC 2014 July 9, 2014 Fisher / Myers (U. of Utah) Octagons FAC 2014 / July 9, 2014

  2. Digitally Intensive Analog Circuits Digitally intensive analog circuits attempt to replace analog components with digital ones whenever possible. VCO (LC) DAC DLF out DPD TDC REFCLK Verilog Verilog (synthesizable) (non−synthesizable) Result is optimized power efficiency and performance as well as improved robustness to process variability. These circuits though further complicate the verification problem. Fisher / Myers (U. of Utah) Octagons FAC 2014 / July 9, 2014

  3. Simulation-Based Verification Digital verification typically uses switch or RTL-level simulations. AMS verification uses detailed transistor-level (SPICE) simulations. SPICE simulation of a PLL can take weeks or even months. Long simulation time makes system-level simulation difficult. Functional bugs can be missed resulting in catastrophic failures. Fisher / Myers (U. of Utah) Octagons FAC 2014 / July 9, 2014

  4. Analog Verification If the digital designers did verification the way analog designers do verification, no chip would ever tape out. (DACezine, January 2008) Sandipan Bhanot CEO of Knowlent Fisher / Myers (U. of Utah) Octagons FAC 2014 / July 9, 2014

  5. Model Checking Model checking uses non-determinism and state exploration to formally verify designs over all possible behaviors. Has had tremendous success for verifying of both digital hardware and software systems (now routinely used at Intel, IBM, Microsoft, etc.). For AMS circuits, it is a promising mechanism to validate designs in the face of noise and uncertain parameters and initial conditions. AMS verification is complicated by the need to: Construct abstract formal models of the AMS circuits. Specify formal properties that are to be verified. Represent continuous variables efficiently (voltages, currents, and time). Fisher / Myers (U. of Utah) Octagons FAC 2014 / July 9, 2014

  6. Model Checking Model checking uses non-determinism and state exploration to formally verify designs over all possible behaviors. Has had tremendous success for verifying of both digital hardware and software systems (now routinely used at Intel, IBM, Microsoft, etc.). For AMS circuits, it is a promising mechanism to validate designs in the face of noise and uncertain parameters and initial conditions. AMS verification is complicated by the need to: Construct abstract formal models of the AMS circuits. (FAC 2011) Specify formal properties that are to be verified. (FAC 2013) Represent continuous variables efficiently (voltages, currents, and time). Fisher / Myers (U. of Utah) Octagons FAC 2014 / July 9, 2014

  7. Zones Used for formal verification of timed automata and time(d) Petri nets. Simple geometric polyhedra formed by the intersection of hyper-planes representing inequalities of the form y − x ≤ c . Implies polyhedra with only 0 ◦ , 90 ◦ , and positive 45 ◦ angles. For timed systems, all variables evolve at a rate of 1, and zone evolves along a positive 45 ◦ angle. Algorithms to restrict, project, and advance time are fast and simple. Can use Floyd’s all pairs shortest-path algorithm to construct a canonical maximally tight representation. Conveniently represented using a difference bound matrix (DBM). Fisher / Myers (U. of Utah) Octagons FAC 2014 / July 9, 2014

  8. Zones y y − t 0 ≤ M y 4 x − t 0 ≤ M x 3 t 0 − x ≤ − m x 2 t 0 − y ≤ − m y y − x ≤ b 1 1 x − y ≤ − b 2 x t 0 x y 1 2 3 4 5   t 0 0 M x M y x − m x 0 b 1   y − m y − b 2 0 Fisher / Myers (U. of Utah) Octagons FAC 2014 / July 9, 2014

  9. Zones y y − t 0 ≤ 3 4 x − t 0 ≤ 3 3 t 0 − x ≤ 0 2 t 0 − y ≤ 0 y − x ≤ 1 1 x − y ≤ 1 x t 0 x y 1 2 3 4 5   t 0 0 3 3 x 0 0 1   y 0 1 0 Fisher / Myers (U. of Utah) Octagons FAC 2014 / July 9, 2014

  10. Zone Warping To verify AMS circuits, need variables that evolve at non-unity rates. Zones can be used with a variable substitution. Replace variable v with non-zero rate r with a variable v r . The new variable v r evolves at a rate of 1. Resultant polyhedra is no longer a zone. Warping creates the smallest zone that contains it. Fisher / Myers (U. of Utah) Octagons FAC 2014 / July 9, 2014

  11. Positive Zone Warping y 4 7 6 5 4 3 2 1 x 1 2 3 4 5 6 7 Fisher / Myers (U. of Utah) Octagons FAC 2014 / July 9, 2014

  12. Positive Zone Warping y 2 7 6 5 4 3 2 1 x 1 2 3 4 5 6 7 Fisher / Myers (U. of Utah) Octagons FAC 2014 / July 9, 2014

  13. Positive Zone Warping y 2 7 6 5 4 3 2 1 x 1 2 3 4 5 6 7 Fisher / Myers (U. of Utah) Octagons FAC 2014 / July 9, 2014

  14. Negative Zone Warping y 7 6 5 4 3 2 1 x 1 2 3 4 5 6 7 Fisher / Myers (U. of Utah) Octagons FAC 2014 / July 9, 2014

  15. Negative Zone Warping − y 7 6 5 4 3 2 1 x 1 2 3 4 5 6 7 Fisher / Myers (U. of Utah) Octagons FAC 2014 / July 9, 2014

  16. Negative Zone Warping − y 7 6 5 4 3 2 1 x 1 2 3 4 5 6 7 Fisher / Myers (U. of Utah) Octagons FAC 2014 / July 9, 2014

  17. Negative Zone Warping: False Negative t 0 { true } y p1 p0 [0 , 2] x = [0 , 1] 7 < y ′ := − 1 > x ′ = 1 6 y = [0 , 1] 5 y ′ = 1 t 4 t 1 4 t 3 { ( y > = 7) ∧ ( x > = 5) } { true } {∼ ( y > = 7) ∧ ( x > = 5) } 3 [0] [0 , 1] [0] 2 < y ′ := 1 > < x := 0 , y := 0 > 1 x t 2 1 2 3 4 5 6 7 { true } p2 p2 [0 , 1] Fisher / Myers (U. of Utah) Octagons FAC 2014 / July 9, 2014

  18. Negative Zone Warping: False Negative t 0 { true } y p1 p0 [0 , 2] x = [0 , 1] 7 < y ′ := − 1 > x ′ = 1 6 y = [0 , 1] 5 y ′ = 1 t 4 t 1 4 t 3 { ( y > = 7) ∧ ( x > = 5) } { true } {∼ ( y > = 7) ∧ ( x > = 5) } 3 [0] [0 , 1] [0] 2 < y ′ := 1 > < x := 0 , y := 0 > 1 x t 2 1 2 3 4 5 6 7 { true } p2 p2 [0 , 1] Fisher / Myers (U. of Utah) Octagons FAC 2014 / July 9, 2014

  19. Negative Zone Warping: False Negative t 0 { true } y p1 p0 [0 , 2] x = [0 , 1] 7 < y ′ := − 1 > x ′ = 1 6 y = [0 , 1] 5 y ′ = 1 t 4 t 1 4 t 3 { ( y > = 7) ∧ ( x > = 5) } { true } {∼ ( y > = 7) ∧ ( x > = 5) } 3 [0] [0 , 1] [0] 2 < y ′ := 1 > < x := 0 , y := 0 > 1 x t 2 1 2 3 4 5 6 7 { true } p2 p2 [0 , 1] Fisher / Myers (U. of Utah) Octagons FAC 2014 / July 9, 2014

  20. Negative Zone Warping: False Negative t 0 { true } y p1 p0 [0 , 2] x = [0 , 1] 7 < y ′ := − 1 > x ′ = 1 6 y = [0 , 1] 5 y ′ = 1 t 4 t 1 4 t 3 { ( y > = 7) ∧ ( x > = 5) } { true } {∼ ( y > = 7) ∧ ( x > = 5) } 3 [0] [0 , 1] [0] 2 < y ′ := 1 > < x := 0 , y := 0 > 1 x t 2 1 2 3 4 5 6 7 { true } p2 p2 [0 , 1] Fisher / Myers (U. of Utah) Octagons FAC 2014 / July 9, 2014

  21. Negative Zone Warping: False Negative t 0 { true } y p1 p0 [0 , 2] x = [0 , 1] 7 < y ′ := − 1 > x ′ = 1 6 y = [0 , 1] 5 y ′ = 1 t 4 t 1 4 t 3 { ( y > = 7) ∧ ( x > = 5) } { true } {∼ ( y > = 7) ∧ ( x > = 5) } 3 [0] [0 , 1] [0] 2 < y ′ := 1 > < x := 0 , y := 0 > 1 x t 2 1 2 3 4 5 6 7 { true } p2 p2 [0 , 1] Fisher / Myers (U. of Utah) Octagons FAC 2014 / July 9, 2014

  22. Negative Zone Warping: False Negative t 0 { true } y p1 p0 [0 , 2] x = [0 , 1] 7 < y ′ := − 1 > x ′ = 1 6 y = [0 , 1] 5 y ′ = 1 t 4 t 1 4 t 3 { ( y > = 7) ∧ ( x > = 5) } { true } {∼ ( y > = 7) ∧ ( x > = 5) } 3 [0] [0 , 1] [0] 2 < y ′ := 1 > < x := 0 , y := 0 > 1 x t 2 1 2 3 4 5 6 7 { true } p2 p2 [0 , 1] Fisher / Myers (U. of Utah) Octagons FAC 2014 / July 9, 2014

  23. Negative Zone Warping: False Negative t 0 { true } y p1 p0 [0 , 2] x = [0 , 1] 7 < y ′ := − 1 > x ′ = 1 6 y = [0 , 1] 5 y ′ = 1 t 4 t 1 4 t 3 { ( y > = 7) ∧ ( x > = 5) } { true } {∼ ( y > = 7) ∧ ( x > = 5) } 3 [0] [0 , 1] [0] 2 < y ′ := 1 > < x := 0 , y := 0 > 1 x t 2 1 2 3 4 5 6 7 { true } p2 p2 [0 , 1] Fisher / Myers (U. of Utah) Octagons FAC 2014 / July 9, 2014

  24. Negative Zone Warping: False Negative t 0 { true } y p1 p0 [0 , 2] x = [0 , 1] 7 < y ′ := − 1 > x ′ = 1 6 y = [0 , 1] 5 y ′ = 1 t 4 t 1 4 t 3 { ( y > = 7) ∧ ( x > = 5) } { true } {∼ ( y > = 7) ∧ ( x > = 5) } 3 [0] [0 , 1] [0] 2 < y ′ := 1 > < x := 0 , y := 0 > 1 x t 2 1 2 3 4 5 6 7 { true } p2 p2 [0 , 1] Fisher / Myers (U. of Utah) Octagons FAC 2014 / July 9, 2014

  25. Negative Zone Warping: False Negative t 0 { true } y p1 p0 [0 , 2] x = [0 , 1] 7 < y ′ := − 1 > x ′ = 1 6 y = [0 , 1] 5 y ′ = 1 t 4 t 1 4 t 3 { ( y > = 7) ∧ ( x > = 5) } { true } {∼ ( y > = 7) ∧ ( x > = 5) } 3 [0] [0 , 1] [0] 2 < y ′ := 1 > < x := 0 , y := 0 > 1 x t 2 1 2 3 4 5 6 7 { true } p2 p2 [0 , 1] Fisher / Myers (U. of Utah) Octagons FAC 2014 / July 9, 2014

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend