Top Banner
Using MIPI Conformance Test Suites for pre-silicon verification Ofir Michaeli MIPI VIP R&D Team Leader Cadence Design Systems, Inc.
17

MIPI DevCon 2016: Using MIPI Conformance Test Suites for Pre-Silicon Verification

Jan 13, 2017

Download

Mobile

MIPI Alliance
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: MIPI DevCon 2016: Using MIPI Conformance Test Suites for Pre-Silicon Verification

Using MIPI Conformance Test Suites for pre-silicon

verification

Ofir Michaeli MIPI VIP R&D Team Leader Cadence Design Systems, Inc.

Page 2: MIPI DevCon 2016: Using MIPI Conformance Test Suites for Pre-Silicon Verification

Agenda •  Compliance Verification Concerns • MIPI CTS – what is it? •  Pre-Silicon verification principles •  The 4 steps for Compliance testing •  Using the MIPI CTS for pre-silicon verification

•  Lesson learned from real life projects

2

Page 3: MIPI DevCon 2016: Using MIPI Conformance Test Suites for Pre-Silicon Verification

Compliance Verification Concerns •  “How do we know that all spec related scenarios have

been covered?” •  “How do we create tests to cover all these scenarios?” •  “After running the tests, some areas are still not

covered. How do I retarget the tests to fill the holes?” •  “The spec has changed, how do I apply the change

while ensuring nothing has broken?”

3

Page 4: MIPI DevCon 2016: Using MIPI Conformance Test Suites for Pre-Silicon Verification

MIPI CTS – what is it? •  List of tests that complements the specification and

enables measurement of conformance •  Used for interoperability testing at official Lab (Post

Silicon) •  Covers all specification main flows •  Product must pass conformance testing to be on the

Integrators List •  NOT a comprehensive verification plan

4

Page 5: MIPI DevCon 2016: Using MIPI Conformance Test Suites for Pre-Silicon Verification

MIPI CTS – what is it?

5

UniProExample

Purpose

Specref

Testscenario

Expectedresults

Page 6: MIPI DevCon 2016: Using MIPI Conformance Test Suites for Pre-Silicon Verification

! SW model, based on the MIPI specification !  Designed to run against RTL implementation at cycle

accurate level

Pre-Silicon Verification of standard interface

Simulation (SW)

Verification/ Design engineer

HW Simulator Engine PCIe model/VIP

‘Physical view’

Copyright © 2012, PCI-SIG, All Rights Reserved

MIPI

Page 7: MIPI DevCon 2016: Using MIPI Conformance Test Suites for Pre-Silicon Verification

The Four Steps to Compliance •  Based on MIPI Specification

7

Defineandrefineyourcompletenesscriteriabasedonthespec/CTS

Createself–checkinglogicinyourtestbench

CreateintelligentsAmuligenerator

AssessandreportstatusofcompletenessDone?

Page 8: MIPI DevCon 2016: Using MIPI Conformance Test Suites for Pre-Silicon Verification

The Four Steps to Compliance •  Based on MIPI Specification

8

Defineandrefineyourcompletenesscriteriabasedonthespec/CTS

Createself–checkinglogicinyourtestbench

CreateintelligentsAmuligenerator

AssessandreportstatusofcompletenessDone?

Page 9: MIPI DevCon 2016: Using MIPI Conformance Test Suites for Pre-Silicon Verification

Defining completeness criteria based on MIPI CTS (MIPI D-PHY example)

9

Whatdoesittaketoverifyit?

Page 10: MIPI DevCon 2016: Using MIPI Conformance Test Suites for Pre-Silicon Verification

Defining completeness criteria based on MIPI CTS (D-PHY example)

10

VerificaAonplanforD-PHY

Escapemodescenarios

AllpermutaAonsrequiredtoensurecompliance

‘Grade’thatshowstheprogressbasedonactualtrafficoverthe

D-PHYinterface

Page 11: MIPI DevCon 2016: Using MIPI Conformance Test Suites for Pre-Silicon Verification

The Four Steps to Compliance •  Based on MIPI Specification

11

Defineandrefineyourcompletenesscriteriabasedonthespec/CTS

Createself–checkinglogicinyourtestbench

CreateintelligentsAmuligenerator

AssessandreportstatusofcompletenessDone?

Page 12: MIPI DevCon 2016: Using MIPI Conformance Test Suites for Pre-Silicon Verification

Self–checking logic: MIPI UniPro Example

12

CTStest

if(result){if(should_set_rreq_bit_on_nac()){CDN_MIPI_UNIPRO_CHECK_THATerror_id=ERR_CDN_MIPI_UNIPRO_DLL108_NO_NAC_WITH_CLEARED_RREQ_WHEN_EXPECTED,condiAon=not(frame.direcAon==TRANSMITandframe.ctrl_id!=NACandshould_send_a_nac(CHECKING)andnac_sending_tolerance_passed()andshould_set_rreq_bit_on_nac()),spec_secAon="UNDEF",relevant_di=frame,err_msg=append("ShouldsendaNACframewithrreqbitcleared,butinsteadsending",frame);};

AutomaAcMonitorcheck

Page 13: MIPI DevCon 2016: Using MIPI Conformance Test Suites for Pre-Silicon Verification

The Four Steps to Compliance •  Based on MIPI Specification

13

Defineandrefineyourcompletenesscriteriabasedonthespec/CTS

Createself–checkinglogicinyourtestbench

CreateintelligentsAmuligenerator

AssessandreportstatusofcompletenessDone?

Page 14: MIPI DevCon 2016: Using MIPI Conformance Test Suites for Pre-Silicon Verification

Intelligent stimuli generator Example – MIPI D-PHY Example

14

TestScenario:

1.  ConfiguretheTestSetuptotransmitavalidimageorvideosequencetotheDUT.

2.  ModifythesequencebyinserBnganLP-11/10/00/01/11invalidEscapeModeEntrysequencebetweenHSburstsontheDataLane(keepingallothernecessaryvideoBmingsintact,asneeded),andre-transmitthesequencetotheDUT.

3.  RepeatthepreviousstepforLP-11/10/11/11/11.

RandomizeInvalidEscapemodeandAming

RandomizeImage/Videosequencecontent

Randomizedifferentorders

Page 15: MIPI DevCon 2016: Using MIPI Conformance Test Suites for Pre-Silicon Verification

The Four Steps to Compliance •  Based on MIPI Specification

15

Defineandrefineyourcompletenesscriteriabasedonthespec/CTS

Createself–checkinglogicinyourtestbench

CreateintelligentsAmuligenerator

AssessandreportstatusofcompletenessDone?

Page 16: MIPI DevCon 2016: Using MIPI Conformance Test Suites for Pre-Silicon Verification

Assess and report status of completeness

16

100%coverage?DONE!

Page 17: MIPI DevCon 2016: Using MIPI Conformance Test Suites for Pre-Silicon Verification

Summary •  CTS are aimed for post silicon interoperability testing •  It can be leveraged for pre-silicon verification •  Use each CTS scenario as reference for the 4 steps for

compliance: •  Completeness criteria: executable and measurable •  Self–checking logic: Based on the expected results of the CTS

test •  Intelligent stimuli generator: to cover all relevant CTS scenarios •  Report status of completeness: To show clear view of the

progress for each CTS test

17