Sei sulla pagina 1di 2

Hybrid Functional Verification Methodology for Video/Audio SoC

Sandeep Gupta
Mentor Emulation Division
Mentor Graphics (India) Pvt. Ltd.
Sandeep_g@mentor.com

Abstract unlikely that pseudo-random and system-level environments


Functional verification (namely early verification of have essentially no chance of producing it.
multimedia processing capabilities) is one of the main
challenges in developing SoC-based products, such as Both observability and controllability become worse as
consumer electronic devices and portables that incorporate the design size grows, which is why functional verification of
complex audio and video interfaces. Due to rising design monster SOC designs is such a big problem. Verification of
complexity, increasingly intricate hardware/software multi-million-gates design with traditional black-box methods
interactions and rising demand for lower power operation are is very much error prone.
putting pressure on SoC functional verification strategies. III. Hybrid functional verification methodology
These trends are the threats to SoC predictability and product The hybrid functional verification uses both hardware-
development schedules. In this paper I am discussing hybrid software capabilities thus this new interactive methodology
functional verification methodology well suited for offers an answer to the escalating challenges. The hardware
Video/Audio SoC. accelerator could be used for emulating the SoC prototype.
Keywords And the software model generates, exercises, captures &
analyzes the video and audio streams to/from design RTL
Hybrid Verification, Emulation, Audio-Video SoC, Cage running in verification accelerators (Emulator).
Architecture, Capture-Analyzer-Generator-Exerciser.
I. Introduction Customer Analyzer
It is now more critical than ever that verification solution Designs
not only be fast, but also comprehensive especially for (RTL) Translator
Multimedia SoC.
The hybrid function verification methodology discussed HW Host
here delivers real-world test data and analysis tools to ensure Accelerators machine
that the verification of the SoC has been checked thoroughly
for compliance and conformance to standards, along with Video & Audio Out Data Out over USB
verifying complex interoperability issues in both software and
hardware. It reduces the problems faced by many designers Fig. 1: Hardware-Software verification Model (Analyzer)
who require the accurate generation and analysis of long data
streams for multiple protocols and standards, such as Exerciser Customer
video/audio data for multimedia applications, and remove the Designs
need for complicated test benches. Translator (RTL)

II. Traditional functional verification methodologies Host HW


The traditional functional verification methodologies are machine Accelerator
"black-box." That is, they apply stimulus to the inputs of an
RTL design and compare the outputs to expected values. Such
an end-to-end approach ignores the details of the internal Data Out over USB Video & Audio
implementation. Black-box methods include directed, pseudo-
random, and system-level simulation. These methods are Fig. 2: Hardware-Software verification Model (Exerciser)
inadequate for thorough functional verification of large SOC
designs for two reasons: This system is designed to handle data streams at full
emulation speeds for maximum performance. The new
Poor observability: The effects of a bug often take so approach promises to simplify the adoption and proliferation
many cycles and require such special sensitization of the of new verification technologies and improves interfacing and
circuit to reach the design's outputs that the bug goes reuse across functional groups. It easy to deploy,
undetected by the end-to-end test. incorporating stimuli generation and results analysis features,
Poor controllability: The stimulus sequence required to ensuring that SoC designs are right the first time while saving
trigger a bug is often so complex that test writers can't the time and expertise otherwise spent on creating complex
deliberately generate it. Also, this sequence is often so test-benches.

978-1-4244-4952-1/09/$25.00 2009 IEEE 264 1st Int'l Symposium on Quality Electronic Design-Asia
Functional verification using the software based Analyzer Analyzer (A): It parses/renders the data send by the
solution, together with hardware emulators, delivers nearly Capture (C). And uses advanced analysis to determine the
1,000 to 10000X speed improvement over software accuracy of the multimedia data by examining pixel-level
simulation, saving weeks or even months of regression testing. video and utilizing audio spectrum analysis tools. By the
Hence this methodology helps the design teams to run billions visualization of the multimedia data, early design flaws can be
of real-world cycles on their SoC before tape-out, meeting detected, thus reducing risk of design re-spins and
customer delivery schedules and rigorous project goals. significantly increasing productivity. The output can be saved
It has capability to validate both contents and protocol for as the AVI & WAV files directly.
Audio out and Video out. The design engineer could test and
analyze the functionality of their designs by; real time Generator (G): allows design engineer to generate
visualization, content capture and compare, and real time various Audio/Video Formats data files (DB).
content generation. Thus it allows identifying and fixing the
system bugs in both hardware and software. Design teams can The various video/audio formats/protocols covered are
also perform true system-level verification and address described as below.
important interoperability and performance issues. Video/Graphics: RGB, YUV, 4:2:2, 4:4:4. (All formats
IV. Software Model & Cage Architecture can be any frame size, up to 5600 x 4300, interlaced or
The software model proposed here utilized cage progressive)
architecture. It has capability of supporting all the existing Mobile Applications: Raw Bayer video (8/10-bit)
video/audio formats/protocols and can extend easily for newer [SMIA 1.0]
formats/protocols. This CAGE architecture comprises four
different software applications namely Capture, Analyzer, Audio: I2S, S/PDIF, and 32-bit linear PCM
Generator and exerciser.
High-Definition: HDMI 1.2
Capture (C): It captures multimedia signals from a
design under test (DUT) by reading IOs data coming out from Exerciser (E): The Exerciser stream-in the data as
the Hardware accelerator through an IO Translator and stores generated by Generator on the DUT.
it into database and/or sends data to the Analyzer application V. Conclusion
via USB bus. 1. Fast, easy set-up A simple connection to any
verification accelerator.
2. Supports major industry standards Improves potential
Emulation Domain for design reuse and helps ensure product interoperability
for audio & video.
Hardware 3. Investigate SoC video output Visualization of design
Accelerator output to analyze video artifacts.
4. Investigate SoC audio output Listen to audio output
from the design
5. Regression testing Recorded video and audio data can
DB DB be compared to reference data.
6. User-friendly GUI Provides access to Multimedia-
Analyzer Software via the host PC.
7. Reduces overall verification time Design verification at
Software
MHz speeds using the capabilities of hardware-assisted
verification.
Domain
VI.References
AVI WAV AVI WAV
1. Digital Video Standards - ITU601-656.
2. High- definition Multimedia Interface Specification 1.3.
Analyzer Exerciser 3. A DTV Profile for uncompressed high speed digital
interface DEA-861-C.
Fig. 3: Cage Architecture 4. SMIA CCP2 Specification.

Potrebbero piacerti anche