SlideShare ist ein Scribd-Unternehmen logo
1 von 13
Downloaden Sie, um offline zu lesen
Integrating Formal Into Main-Stream Verification: The IBM
                        Experience

            Jason Baumgartner, Viresh Paruthi
                       IBM Corporation


            Thanks to: Hari Mony, Wolfgang Roesner



                       March 21, 2007



        http://www.research.ibm.com/sixthsense



                                                           1
Overview

¯   Simulation vs. Formal Verification (FV)

¯   Bringing FV to the Masses
    –   Fit FV within Existing Design Methodology
    –   Enable Non-Experts to Leverage FV
    –   Scale FV to Large Testbenches
    –   Increase Return on Investment through Testbench Reuse

¯   Reusing Sim Testbenches in FV




                                                                2
Simulation
¯   Validates the design against specific sequences of input stimuli
        Scalable, though non-exhaustive: suffers the coverage problem

¯   Sim specs can be written using a variety of languages
    + Synthesizable languages: PSL, SVA, HDL-based
        Non-synthesizable languages: C / C++ variants
            These languages cannot readily be reused in formal, emulation


                                                             Unexplored
                                                             State Space
                                                             Random Sim

                                                             Bug



                                                                           3
Formal Verification
+ Exhaustive (unlike sim): finds corner-case bugs, yields proofs

+ Automated: easy to use, for smaller problems (block-level)
        Substantial expertise, manual effort required for larger designs
            More difficult to cover (micro-)architectural properties
                A different type of coverage problem

    Requires synthesizable languages: PSL, SVA, HDL-based

                                                                  Completed
                                                                  Exhaustive
                                                                  Search
                                                                  Unexplored
                                                                  State Space

                                                                  Bug


                                                                                4
Simulation vs. FV

¯   Sim retains predominant industrial framework due to
    1. Scalability: useful for tasks too large for FV
      – May refer to as ease of use
    2. Risk that formal spec may not pay off; merely choke FV tool
    3. Legacy: tools, skills, methodology using sim are well-established
    4. Reuse of verif IP: cost to rewrite sim specs in a formal language

¯   Though sim has its own drawbacks
    – Misses bugs!
    – Methodologies for high coverage are time-consuming


                                                                           5
How can we close the Sim               FV Gap?

¯   Full FV of complex designs requires expensive, risky paradigm shift
    – A good goal, but needs to be eased into...




                                                                          6
How can we ease into Wider-Spread FV? (1)

¯   Do not require a radical change in design paradigm to enable FV
    – Design methodology change has associated cost, risk in itself
    – Need for reuse of IP, skills, tools, methodologies is a high barrier

¯   While such a change may have many long-term benefits...
    – There are many bugs to be found in today’s design paradigm!




                                                                             7
How can we ease into Wider-Spread FV? (2)

¯   Enable non-experts to leverage FV
    – Cannot expect verif+design team to all have PhDs in FV!
      £   Goal: make FV as easy to use as sim
      £   Ease of use requires scalability and automation

    – Costly to always throw learning curve of new design at FV gurus
      £   More cost effective for designer / local verif team to write specs?

    – Leverage easy-to-use sequential equiv checking paradigms




                                                                            8
How do we achieve Scalability and Automation?

1. Tune system for importing and manipulating LARGE designs

2. Integrate falsification as well as proof threads
   ¯   Semi-formal falsification improves ROI of formal spec

3. Integrate a variety of algorithms
   ¯   Every problem is different
   ¯   Different proof algorithms have different strengths / weaknesses
   ¯   Technological advances continue to push the capacity of FV




                                                                          9
Semi-Formal Verification
¯   Uses resource-bounded formal search to amplify simulation
    – Leverages simulation to reach deep states
    – Formal search triggered from deep states

¯   Much more scalable than pure formal; lessens formal spec risk
    – Very useful for quickly flushing out complex design bugs
    – Enabling technology for wider-spread formal
                                                                Completed
                                                                Exhaustive
                                                                Search
                                                                Unexplored
                                                                State Space
                                                                Random Sim

                                                                Bug

                                                                       10
How can we ease into Wider-Spread FV? (3)

¯   Offer tangible return on investment (ROI) and resource savings
    – Scalability reduces negative ROI risk of formal spec development
    – Leverage FV without substantial head-count increase
      £   Cannot afford disjoint sim + FV team for every design component
          ¡   Goal: reuse specs across formal + sim
          ¡   Need to disperse FV spec and deployment from team of gurus




                                                                       11
Testbench Reuse
¯   Requires scaling FV to unit-level testbenches
    + More meaningful than block-level testbenches
      + Better-documented interfaces to drive
      + More encompassing properties to check
    + Verify functionality vs. verify blocks
      + More cost-effective: fewer testbenches to cover design


    Big, ugly testbenches may need tweaking for optimal formal results
    – Reserve FV gurus for this purpose
    – (and for emergencies)


                                                                     12
Conclusion

¯   IBM SixthSense philosophy: non-intrusive FV
    – Scale FV to sim-sized testbenches
      £   Integrate semi-formal, and variety of synergistic algos
    – Ensure high automation, ease of use

¯   Push for reusable testbenches across sim + FV
    – Greater ROI of specification investment
    – Disperse formal spec effort; retain FV gurus for critical tasks

¯   Result: substantially wider-spread use of FV



                                                                        13

Weitere ähnliche Inhalte

Ähnlich wie Baumgartner march07

Integrating Formal Into Main-Stream Verification: The IBM Experience
Integrating Formal Into Main-Stream Verification: The IBM ExperienceIntegrating Formal Into Main-Stream Verification: The IBM Experience
Integrating Formal Into Main-Stream Verification: The IBM ExperienceDVClub
 
ModifiedInternPresentation
ModifiedInternPresentationModifiedInternPresentation
ModifiedInternPresentationDan Petrisko
 
Managing Deployment of SVA in Your Project
Managing Deployment of SVA in Your ProjectManaging Deployment of SVA in Your Project
Managing Deployment of SVA in Your ProjectDVClub
 
The Lean Tech Stack
The Lean Tech StackThe Lean Tech Stack
The Lean Tech StackBill Scott
 
Enterprise IPv6 Deployment
Enterprise IPv6 Deployment Enterprise IPv6 Deployment
Enterprise IPv6 Deployment Cisco Canada
 
Cisco Base Environment Overview
Cisco Base Environment OverviewCisco Base Environment Overview
Cisco Base Environment OverviewDVClub
 
A tutorial on EMF-IncQuery
A tutorial on EMF-IncQueryA tutorial on EMF-IncQuery
A tutorial on EMF-IncQueryIstvan Rath
 
Voxeo Summit 2010: VoiceObjects Spotlight
Voxeo Summit 2010: VoiceObjects SpotlightVoxeo Summit 2010: VoiceObjects Spotlight
Voxeo Summit 2010: VoiceObjects SpotlightVoxeo Corp
 
Wind River Simics
Wind River SimicsWind River Simics
Wind River Simicskylefacchin
 
I Never Thought I Would Grow Up to be This Formal
I Never Thought I Would Grow Up to be This FormalI Never Thought I Would Grow Up to be This Formal
I Never Thought I Would Grow Up to be This FormalDVClub
 
Managing High Availability with Low Cost
Managing High Availability with Low CostManaging High Availability with Low Cost
Managing High Availability with Low CostDataLeader.io
 
Curiosity software Ireland and Perfecto present: achieving in-sprint regressi...
Curiosity software Ireland and Perfecto present: achieving in-sprint regressi...Curiosity software Ireland and Perfecto present: achieving in-sprint regressi...
Curiosity software Ireland and Perfecto present: achieving in-sprint regressi...Curiosity Software Ireland
 
Get your mobile app in production in 3 months: Native and Reactive Mobile Apps
Get your mobile app in production in 3 months: Native and Reactive Mobile AppsGet your mobile app in production in 3 months: Native and Reactive Mobile Apps
Get your mobile app in production in 3 months: Native and Reactive Mobile AppsAckee
 
Dv con us-2018-formal-fpu-verif-xilinx-onespin
Dv con us-2018-formal-fpu-verif-xilinx-onespinDv con us-2018-formal-fpu-verif-xilinx-onespin
Dv con us-2018-formal-fpu-verif-xilinx-onespinSergio Marchese
 
Consolidation Planning: Getting the Most from Your Virtualization Initiative
Consolidation Planning: Getting the Most from Your Virtualization InitiativeConsolidation Planning: Getting the Most from Your Virtualization Initiative
Consolidation Planning: Getting the Most from Your Virtualization InitiativeNovell
 
How to Design Frameworks
How to Design FrameworksHow to Design Frameworks
How to Design Frameworkselliando dias
 
Iss Capabilities Summary
Iss Capabilities SummaryIss Capabilities Summary
Iss Capabilities SummaryMookx
 

Ähnlich wie Baumgartner march07 (20)

Integrating Formal Into Main-Stream Verification: The IBM Experience
Integrating Formal Into Main-Stream Verification: The IBM ExperienceIntegrating Formal Into Main-Stream Verification: The IBM Experience
Integrating Formal Into Main-Stream Verification: The IBM Experience
 
ModifiedInternPresentation
ModifiedInternPresentationModifiedInternPresentation
ModifiedInternPresentation
 
Managing Deployment of SVA in Your Project
Managing Deployment of SVA in Your ProjectManaging Deployment of SVA in Your Project
Managing Deployment of SVA in Your Project
 
Dayal rtp q2_07
Dayal rtp q2_07Dayal rtp q2_07
Dayal rtp q2_07
 
The Lean Tech Stack
The Lean Tech StackThe Lean Tech Stack
The Lean Tech Stack
 
Enterprise IPv6 Deployment
Enterprise IPv6 Deployment Enterprise IPv6 Deployment
Enterprise IPv6 Deployment
 
Cisco Base Environment Overview
Cisco Base Environment OverviewCisco Base Environment Overview
Cisco Base Environment Overview
 
Zhang rtp q307
Zhang rtp q307Zhang rtp q307
Zhang rtp q307
 
A tutorial on EMF-IncQuery
A tutorial on EMF-IncQueryA tutorial on EMF-IncQuery
A tutorial on EMF-IncQuery
 
Voxeo Summit 2010: VoiceObjects Spotlight
Voxeo Summit 2010: VoiceObjects SpotlightVoxeo Summit 2010: VoiceObjects Spotlight
Voxeo Summit 2010: VoiceObjects Spotlight
 
Wind River Simics
Wind River SimicsWind River Simics
Wind River Simics
 
I Never Thought I Would Grow Up to be This Formal
I Never Thought I Would Grow Up to be This FormalI Never Thought I Would Grow Up to be This Formal
I Never Thought I Would Grow Up to be This Formal
 
Managing High Availability with Low Cost
Managing High Availability with Low CostManaging High Availability with Low Cost
Managing High Availability with Low Cost
 
Curiosity software Ireland and Perfecto present: achieving in-sprint regressi...
Curiosity software Ireland and Perfecto present: achieving in-sprint regressi...Curiosity software Ireland and Perfecto present: achieving in-sprint regressi...
Curiosity software Ireland and Perfecto present: achieving in-sprint regressi...
 
Get your mobile app in production in 3 months: Native and Reactive Mobile Apps
Get your mobile app in production in 3 months: Native and Reactive Mobile AppsGet your mobile app in production in 3 months: Native and Reactive Mobile Apps
Get your mobile app in production in 3 months: Native and Reactive Mobile Apps
 
Dv con us-2018-formal-fpu-verif-xilinx-onespin
Dv con us-2018-formal-fpu-verif-xilinx-onespinDv con us-2018-formal-fpu-verif-xilinx-onespin
Dv con us-2018-formal-fpu-verif-xilinx-onespin
 
Consolidation Planning: Getting the Most from Your Virtualization Initiative
Consolidation Planning: Getting the Most from Your Virtualization InitiativeConsolidation Planning: Getting the Most from Your Virtualization Initiative
Consolidation Planning: Getting the Most from Your Virtualization Initiative
 
How to Design Frameworks
How to Design FrameworksHow to Design Frameworks
How to Design Frameworks
 
Host Simulation
Host SimulationHost Simulation
Host Simulation
 
Iss Capabilities Summary
Iss Capabilities SummaryIss Capabilities Summary
Iss Capabilities Summary
 

Mehr von Obsidian Software (20)

Zehr dv club_12052006
Zehr dv club_12052006Zehr dv club_12052006
Zehr dv club_12052006
 
Yang greenstein part_2
Yang greenstein part_2Yang greenstein part_2
Yang greenstein part_2
 
Yang greenstein part_1
Yang greenstein part_1Yang greenstein part_1
Yang greenstein part_1
 
Williamson arm validation metrics
Williamson arm validation metricsWilliamson arm validation metrics
Williamson arm validation metrics
 
Whipp q3 2008_sv
Whipp q3 2008_svWhipp q3 2008_sv
Whipp q3 2008_sv
 
Vishakantaiah validating
Vishakantaiah validatingVishakantaiah validating
Vishakantaiah validating
 
Validation and-design-in-a-small-team-environment
Validation and-design-in-a-small-team-environmentValidation and-design-in-a-small-team-environment
Validation and-design-in-a-small-team-environment
 
Tierney bq207
Tierney bq207Tierney bq207
Tierney bq207
 
The validation attitude
The validation attitudeThe validation attitude
The validation attitude
 
Thaker q3 2008
Thaker q3 2008Thaker q3 2008
Thaker q3 2008
 
Thaker q3 2008
Thaker q3 2008Thaker q3 2008
Thaker q3 2008
 
Strickland dvclub
Strickland dvclubStrickland dvclub
Strickland dvclub
 
Stinson post si and verification
Stinson post si and verificationStinson post si and verification
Stinson post si and verification
 
Shultz dallas q108
Shultz dallas q108Shultz dallas q108
Shultz dallas q108
 
Shreeve dv club_ams
Shreeve dv club_amsShreeve dv club_ams
Shreeve dv club_ams
 
Sharam salamian
Sharam salamianSharam salamian
Sharam salamian
 
Schulz dallas q1_2008
Schulz dallas q1_2008Schulz dallas q1_2008
Schulz dallas q1_2008
 
Salamian dv club_foils_intel_austin
Salamian dv club_foils_intel_austinSalamian dv club_foils_intel_austin
Salamian dv club_foils_intel_austin
 
Sakar jain
Sakar jainSakar jain
Sakar jain
 
Roy omap validation_dvc_lub_092106
Roy omap validation_dvc_lub_092106Roy omap validation_dvc_lub_092106
Roy omap validation_dvc_lub_092106
 

Baumgartner march07

  • 1. Integrating Formal Into Main-Stream Verification: The IBM Experience Jason Baumgartner, Viresh Paruthi IBM Corporation Thanks to: Hari Mony, Wolfgang Roesner March 21, 2007 http://www.research.ibm.com/sixthsense 1
  • 2. Overview ¯ Simulation vs. Formal Verification (FV) ¯ Bringing FV to the Masses – Fit FV within Existing Design Methodology – Enable Non-Experts to Leverage FV – Scale FV to Large Testbenches – Increase Return on Investment through Testbench Reuse ¯ Reusing Sim Testbenches in FV 2
  • 3. Simulation ¯ Validates the design against specific sequences of input stimuli   Scalable, though non-exhaustive: suffers the coverage problem ¯ Sim specs can be written using a variety of languages + Synthesizable languages: PSL, SVA, HDL-based   Non-synthesizable languages: C / C++ variants   These languages cannot readily be reused in formal, emulation Unexplored State Space Random Sim Bug 3
  • 4. Formal Verification + Exhaustive (unlike sim): finds corner-case bugs, yields proofs + Automated: easy to use, for smaller problems (block-level)   Substantial expertise, manual effort required for larger designs   More difficult to cover (micro-)architectural properties   A different type of coverage problem   Requires synthesizable languages: PSL, SVA, HDL-based Completed Exhaustive Search Unexplored State Space Bug 4
  • 5. Simulation vs. FV ¯ Sim retains predominant industrial framework due to 1. Scalability: useful for tasks too large for FV – May refer to as ease of use 2. Risk that formal spec may not pay off; merely choke FV tool 3. Legacy: tools, skills, methodology using sim are well-established 4. Reuse of verif IP: cost to rewrite sim specs in a formal language ¯ Though sim has its own drawbacks – Misses bugs! – Methodologies for high coverage are time-consuming 5
  • 6. How can we close the Sim FV Gap? ¯ Full FV of complex designs requires expensive, risky paradigm shift – A good goal, but needs to be eased into... 6
  • 7. How can we ease into Wider-Spread FV? (1) ¯ Do not require a radical change in design paradigm to enable FV – Design methodology change has associated cost, risk in itself – Need for reuse of IP, skills, tools, methodologies is a high barrier ¯ While such a change may have many long-term benefits... – There are many bugs to be found in today’s design paradigm! 7
  • 8. How can we ease into Wider-Spread FV? (2) ¯ Enable non-experts to leverage FV – Cannot expect verif+design team to all have PhDs in FV! £ Goal: make FV as easy to use as sim £ Ease of use requires scalability and automation – Costly to always throw learning curve of new design at FV gurus £ More cost effective for designer / local verif team to write specs? – Leverage easy-to-use sequential equiv checking paradigms 8
  • 9. How do we achieve Scalability and Automation? 1. Tune system for importing and manipulating LARGE designs 2. Integrate falsification as well as proof threads ¯ Semi-formal falsification improves ROI of formal spec 3. Integrate a variety of algorithms ¯ Every problem is different ¯ Different proof algorithms have different strengths / weaknesses ¯ Technological advances continue to push the capacity of FV 9
  • 10. Semi-Formal Verification ¯ Uses resource-bounded formal search to amplify simulation – Leverages simulation to reach deep states – Formal search triggered from deep states ¯ Much more scalable than pure formal; lessens formal spec risk – Very useful for quickly flushing out complex design bugs – Enabling technology for wider-spread formal Completed Exhaustive Search Unexplored State Space Random Sim Bug 10
  • 11. How can we ease into Wider-Spread FV? (3) ¯ Offer tangible return on investment (ROI) and resource savings – Scalability reduces negative ROI risk of formal spec development – Leverage FV without substantial head-count increase £ Cannot afford disjoint sim + FV team for every design component ¡ Goal: reuse specs across formal + sim ¡ Need to disperse FV spec and deployment from team of gurus 11
  • 12. Testbench Reuse ¯ Requires scaling FV to unit-level testbenches + More meaningful than block-level testbenches + Better-documented interfaces to drive + More encompassing properties to check + Verify functionality vs. verify blocks + More cost-effective: fewer testbenches to cover design   Big, ugly testbenches may need tweaking for optimal formal results – Reserve FV gurus for this purpose – (and for emergencies) 12
  • 13. Conclusion ¯ IBM SixthSense philosophy: non-intrusive FV – Scale FV to sim-sized testbenches £ Integrate semi-formal, and variety of synergistic algos – Ensure high automation, ease of use ¯ Push for reusable testbenches across sim + FV – Greater ROI of specification investment – Disperse formal spec effort; retain FV gurus for critical tasks ¯ Result: substantially wider-spread use of FV 13