ensure model quality improve vp debugging unleash more value fileensure model quality improve vp...

18
Ensure Model Quality Improve VP Debugging Unleash More Value Eugene Zhang JEDA Technologies ESCUG, March 11, 2008

Upload: doanmien

Post on 22-Aug-2019

213 views

Category:

Documents


0 download

TRANSCRIPT

Ensure Model Quality Improve VP Debugging

Unleash More Value

Eugene Zhang

JEDA TechnologiesESCUG, March 11, 2008

2ESL Verification Automation™ - © 2008 JEDA Technologies, Inc

Virtual platform factsProblems and challengesObjectivesMethodology proposal► IP/Models with built-in checker►Reusable at system level

Methodology benefitsA TLM2 exampleSummary

Agenda

3ESL Verification Automation™ - © 2008 JEDA Technologies, Inc

Users spend ~70% time ► Debugging models, IP’s, adapters

► Communicating about bug owner between platform provider and IP providers

► Building in-house capabilities on top of a VP

Unknown quality of the IP and platform models

Stable platform comes too late

Virtual Platform Development Facts

4ESL Verification Automation™ - © 2008 JEDA Technologies, Inc

Lack of quantifiable quality measurementNeed for high quality IP models for fast platform developmentNeed for debug support to quickly identify problems Lack of effective IP interface/connectivity debugging mechanismLack of accuracy and correctness definitions at TLM

Problems and Challenges

5ESL Verification Automation™ - © 2008 JEDA Technologies, Inc

Quickly assemble platform to explore alternative scenariosPerformance validationIdentify communication bottlenecks before committing RTL architecture Reuse platform and IP models for RTL verificationEarly SW developing and testing

Objectives for Virtual Platforms

It’s critical to have high quality, bug free IP and platform modelsMore analysis and debugging automation!

6ESL Verification Automation™ - © 2008 JEDA Technologies, Inc

IP/model level► Introduce quantifiable IP quality metric

►Build assertion checker&coverage with IP core

►Make checker reusable for RTL verification

Platform level ►Reuse IP level checker for platform debugging

►Provide mechanism to switch checker on/off

►Make checker reusable for system level RTL verification

MethodologyQuality Control from IP to platform

7ESL Verification Automation™ - © 2008 JEDA Technologies, Inc

Methodology Flow Model Creation and Testing

IP/Model

model testing env

IP release model

IP/ModelIntelligent Test Gen checker

coverage

coverage

checker

8ESL Verification Automation™ - © 2008 JEDA Technologies, Inc

Methodology Flow Reuse at system level - an example

SoC Interconnect IP

MEMinput display2Dgfx

DSP uPDMAITG

checker

coverage

ON

OFF

9ESL Verification Automation™ - © 2008 JEDA Technologies, Inc

Ease debugging at platform level

Identify protocol and communication bugs faster

Provide stable VP for SW development earlier

Users gets quality metric for IP models

Unleash the value of virtual platforms

Methodology Benefits

10ESL Verification Automation™ - © 2008 JEDA Technologies, Inc

System Architects►Can explore more architectures in less time,

instead of debugging the platform models

SW developers►Can develop and integrate SW faster, instead

of debugging the platform models

RTL designer►Can re-use a high quality IP and platform as

a reference

Unleash the Value

11ESL Verification Automation™ - © 2008 JEDA Technologies, Inc

Unleash the Valuesimplistic view

time

VP develop and debug until mature

arch design

SW development

RTL design tapeout

SW/HW integration

too little, too late

VP develop and debug until mature

Time savings!

12ESL Verification Automation™ - © 2008 JEDA Technologies, Inc

A basic model quality metric►Transaction/data coverage

►SystemC code coverage

► ( Assertion checker is not included )

Testing -> measure -> improve testing -> measure again

A TLM2 Example

13ESL Verification Automation™ - © 2008 JEDA Technologies, Inc

The TLM2 ExampleLT Temporal Decoupling

Two initiators, two targets on a bus

initiator

14ESL Verification Automation™ - © 2008 JEDA Technologies, Inc

Transaction Coverage HighlightReport for traffic_generatorInstance: m_lt_initiator_1m_traffic_genSummary:Coverage: 87.5

Item Coverage ========================traffic_g_command 100 traffic_g_address 100 traffic_g_data_ptr 100traffic_g_response_status 50

SummaryCoverage: 50At Least: 1

Bin hits at least============================TLM_OK_RESPONSE 0 1TLM_INCOMPLETE_RESPONSE 29 1

15ESL Verification Automation™ - © 2008 JEDA Technologies, Inc

Code Coverage Highlight

16ESL Verification Automation™ - © 2008 JEDA Technologies, Inc

TLM2 coverage paper download:

www.jedatechnologies.net

Complete coverage report on OSCI TLM2 examples and Doulos examples:► [email protected]

More Details

17ESL Verification Automation™ - © 2008 JEDA Technologies, Inc

Discussed a quality control/debugging methodology from IP to platforms

Make virtual platform stable early to unleash more value

Showed a TLM2 Example to measure model quality

Still many outstanding questions to be addressed by SystemC community

Summary

IP release model IP/Model

coverage

checker

Questions ?