1 / 14

MS-SoC Best Practices – Advanced Modeling & Verification Techniques for first-pass success

MS-SoC Best Practices – Advanced Modeling & Verification Techniques for first-pass success . By Neyaz Khan Greg Glennon Dan Romaine. Mixed-Signal Verification Challenges. Traditional Mixed-Signal Verification Methodology Well defined & mature on the Digital side – MDV, UVM

annora
Download Presentation

MS-SoC Best Practices – Advanced Modeling & Verification Techniques for first-pass success

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. MS-SoC Best Practices – Advanced Modeling & Verification Techniques for first-pass success By Neyaz Khan Greg Glennon Dan Romaine

  2. Mixed-Signal Verification Challenges • Traditional Mixed-Signal Verification Methodology • Well defined & mature on the Digital side – MDV, UVM • Performance & throughput challenges on Analog side • Mixed Signal Verification has many Challenges: • Connectivity/Interconnect bug escapes • Digital/Analog interaction bug escapes • Spec vs Functionality Mismatch • Lack of clearly defined Verification Metrics

  3. Mixed-Signal Verification Approach • Adopt proven digital centric techniques from digital verification • Use Verification Plan to drive Verification effort • Collect Verification Metrics • Constrained Random Stimulus • Automated Checkers using Assertions • Structured test-benches • Analog Modeling – Real Number Models • Use Wreals • Used in top-level verification

  4. Real Number Modeling for Analog • Enable high-speed simulation of analog/mixed-signal blocks by using real (floating-point, continuous) values in discrete time • Removes the analog solver dependency from mixed signal verification • Can be written by analog designers and/or digital verification engineers • RNM languages include • Wreal (part of Verilog-AMS, runs on digital engine) • VHDL • SystemVerilog

  5. High Performance Simulation with Real Number Modeling • Simulate all possible conversions of 14-bit ADC + 14 bit DAC • Number of conversions = 2**14 = 16384 steps • Spice sim takes days; RNM takes seconds Bit 13 “Analog” Real Output “Analog” Real Input D2A A2D V(in) V(out) Bit 0

  6. MS-SoC Verification using Real Number Models Specs vPlan Specs Verification Planning Executable Verif Plan RF TX/RX RF TX/RX Bluetooth Bluetooth Video Video Audio Audio FM TX/RX Modem TV FM TX/RX Modem TV Real Number Models (wreals) PMU Comm. Processor GPU LCD Driver PMU Comm. Processor GPU LCD Driver PLL DSP Application Processor USB PLL DSP Application Processor USB EMIF Memory DDR3 EMIF Memory DDR3 Model Verification Analog Analog Design & Verification Plan Driven Advanced Verification Env. UVM with System Verilog TB; MS Assertions; Coverage; Random Stimulus; Automated Checkers; Metrics in vPlan Digital wreal Model

  7. Mixed Signal Metric Driven Verification (MS-MDV) • A way to address the functional verification gap between analog and digital environments • Unifies testbench, stimulus, and checking across A/D boundaries • Aimed at improving productivity, predictability, and quality • Takes advantage of proven verification methodologies: • UVM applied to MS  UVM-MS • Track analog functional correctness using metrics • Measure: voltage, current, frequency, gain over time • Assertion checks (expression can include electrical, real, logic) • Metrics are stored in the Coverage database • Metrics [Digital + Analog] annotated from Spec and Tracked in vPlan

  8. MS-SoC Verification Environment:Applying UVM based Verification to MS Designs: UVM-MS Virtual Sequencer Test Seq Config Config Config Config Config Config Config Config Config Config Mon Mon Mon Mon Mon Mon Mon Mon Mon Mon RF TX/RX Bluetooth Video Audio Drv Drv Drv Drv Drv Drv Drv Drv Drv Drv Seq Seq Seq Seq Seq Seq Seq Seq Seq Seq FM TX/RX Modem TV UVC UVC PMU Comm. Processor GPU LCD Driver Analog UVC Analog UVC PLL DSP Application Processor USB EMIF Memory DDR3 Scoreboard Digital Legend: wreal Reference Model Model

  9. Plan Driven Verification:Example – Verification of Analog ADC Issue: The ADC average results not using the correct number of samples. How was this found? It starts by planning the coverage for this feature In vPlan Features in the spec are highlighted and mapped to planned coverage

  10. Next the coverage is defined in the environment and mapped back to the planned element in the vPlan Plan Driven Verification:Example – Verification of Analog ADC Coverage is created within the test environment. These results are then pulled into ePlanner. Within ePlanner this coverage is mapped back to the planned coverage.

  11. Plan Driven Verification:Example – Verification of Analog ADC The vPlan now ensures the function was fully tested But what verifies whether it is correct? The answer is the reference model! Real number voltage values seen on the port pins are stored in a queue

  12. Plan Driven Verification:Example – Verification of Analog ADC The reference model checks the number of samples in the queue and calculates the expected ADC average result The reference model will error if the number of samples is too small Voltage samples are retrieved from the queue and used to calculate a rolling average The final average is then checked against the value in the DUT to be within a fixed margin of error (quantization error) The reference model will flag an error if the check fails

  13. Take away: This type of failure would be impossible to catch with visual inspection Impossible to reliably count 64 ADC samples that access the particular port being checked by visual inspection. Random voltage stimulus provides a second check that is impossible to visually check Successfully apply UVM-MS to verify MS-SoC Design Plan Driven Verification:Example – Verification of Analog ADC

  14. Summary • Our Verification team at Maxim has successfully applied UVM-MS to verify complex Mixed-Signal SoC • Results have been outstanding • The methodology is proven and it really works!

More Related