170 likes | 348 Views
Automated Generation of Functional Verification for MPSoC. April 30, 2014. Marcela Šimková Head of Verification and Testing, Codasip Ltd. Motivation. MPSoC ( Multi-Processor Systems on Chip ): Functional verification is time-demanding: implementation of verification environments,
E N D
Automated Generation of Functional Verification for MPSoC April 30, 2014 Marcela Šimková Head of Verification and Testing, Codasip Ltd.
Motivation • MPSoC (Multi-Processor Systems on Chip): • Functional verification is time-demanding: • implementation of verification environments, • preparation of different test scenarios, • preparation of reference models, • long verification runs. • Demand for verification tools, which are: • Increase in design complexity = increase in verification complexity SOFTWARE AWARE TIME-EFFECTIVE AUTOMATED
MPSoCDesign • Processors(general purpose, ASIPs, combination) + peripherals: • IP cores, • in-house development. • MPSoCdescription languages: • Hardware Description Languages (HDL), like VHDL, Verilog, • Architecture Description Languages (ADL), like CodAL, nML.
MPSoCVerification • Different verification approaches: functional, formal, ABV, CDV, verification IPs, emulation, etc. • Incremental verification: • TREND: system-level verification (hardware + software).
ProposedSolution MPSoC Design • Support of several frontends for HDL, ADL, etc. • Library of available processors. • Intermediate representation in IP-XACT standard: • complex architecture description, • interconnections, • extendibility. MPSoC Verification • Automated generation of UVM verification environments: • flexible (processors with SW, peripherals) • complete (UVM basic components, scoreboarding structures, coverage monitors) • Automated generation of reference models.
Extraction • For automatedgeneration of UVM environments, we need to extract information about: • interconnection of components, • direction of interface signals (driver vs. monitor), • stimulation of input interface signals. • Two approaches:
UVM Generation Challenges • Generating reference models. • From high-level ADL description (top-down approach). • Instruction-set simulators for processors, simulation models for components. • DPI connection to reference model for all components of MPSoC or a sub-set of them. • Setting coverage targets, assertions. • Basic set of coverage targets and assertions is pre-generated. • Support of functional, assertions, and code coverage. • High-level verification management. • 1:1 or 1:N mapping of software applications to processors.
UVM Generation • Sobel edge detection MPSoCdesigned in Codasip Framework [1]. • 16-bit low-power cache-less Codix-STREAM [2] processors.
Verification OK GM Output Picture Input Picture DUT Output Picture
Verification Failure GM Output Picture Input Picture DUT Output Picture
Conclusion • Automatedgeneration of MPSoC functional verification environments. • Two approaches for extraction of information: • analysis of ADL components, • analysis of RTL/Netlist components. • Generating reference models, coverage scenarios and assertions. • High-level verification management (SW aware MPSoC verification).