by thang nguyen, dipl.-ing.-dr. and dieter haerle, dipl.-ing

13
Mixed-abstraction Modeling Approach with Fault Injection for Hardware-Firmware Co- design and Functional Co-verification of an Automotive Airbag System on Chip Product by Thang Nguyen, Dipl.-Ing.-Dr. and Dieter Haerle, Dipl.-Ing. System Integration and Rapid Prototype Infineon Technologies Austria AG

Upload: rafi

Post on 24-Feb-2016

95 views

Category:

Documents


2 download

DESCRIPTION

Mixed-abstraction Modeling Approach with Fault Injection for Hardware-Firmware Co-design and Functional Co-verification of an Automotive Airbag System on Chip Product. by Thang Nguyen, Dipl.-Ing.-Dr. and Dieter Haerle, Dipl.-Ing. System Integration and Rapid Prototype - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: by Thang Nguyen, Dipl.-Ing.-Dr.  and Dieter Haerle, Dipl.-Ing

Mixed-abstraction Modeling Approach with Fault Injection for Hardware-Firmware Co-design and Functional Co-verification of an Automotive Airbag System on Chip Product

byThang Nguyen, Dipl.-Ing.-Dr. and Dieter Haerle, Dipl.-

Ing. System Integration and Rapid Prototype

Infineon Technologies Austria AG

Page 2: by Thang Nguyen, Dipl.-Ing.-Dr.  and Dieter Haerle, Dipl.-Ing

Sponsored By:

2 of 11

Agenda• Automotive Airbag System Overview• Challenges of Airbag SoC Design and Verification• The Mixed-abstraction Modeling Approach• Model Coverage Evaluation• Fault Injection Simulation using Global Signaling

Concept• Summary of Results/Conclusions

Page 3: by Thang Nguyen, Dipl.-Ing.-Dr.  and Dieter Haerle, Dipl.-Ing

Sponsored By:

3 of 11 Page ‹#›

Stricter safety requirements for airbag controllers More airbags in the car Higher safety at lower cost

New safety architecture for system-on-chip solution is compliant with the new ISO 26262 standard

Prevention of false triggering of airbags

Optimization of self tests

Drivers

Solution

Functional Safety innovation projectbrings airbag safety to new heights

Page 4: by Thang Nguyen, Dipl.-Ing.-Dr.  and Dieter Haerle, Dipl.-Ing

Sponsored By:

4 of 11

Automotive Airbag System - I

Airbag SoC

MainµC

Satellite Sensors (upfront & side impact, g-sensor,

buckle switches...)

Airbag ECU

Actuators (Squibs)

Airbag System Overview(Sensors <--> Controller <--> Actuators)

…a typical airbag system from bird’s eye view

Page 5: by Thang Nguyen, Dipl.-Ing.-Dr.  and Dieter Haerle, Dipl.-Ing

Sponsored By:

5 of 11

Automotive Airbag System - II

ModuleReg_IF

ModuleDigital Logic

Sub-System Digital (RTL)

A/D

_IFDCORESPI

HW

DCORE FW

Digital_TOP (RTL)

CENTRAL_Dig (RTL)

(RTL)

SoC Power SupplyModels SoC_PWR

SE_ Safing_Engine

SE_Dig CORE

SPIHW

SE_AFEModel(VHDL)

(RTL) A/D

_IF

SMPS Modules(Buck/Boost

Converter)(VHDL)

iPSG(VHDL)

CENTRAL_AFE(Diagnostic and

Monitoring)Model(VHDL)

LVRs(VHDL)

Supply_net

rese

t

Sup

ply

_net

Sup

ply

_net

Airbag SoC Chipset TL Architecture

clk

72

M

iLVRs(VHDL)

Modules AFE(VHDL)

Remote Sensor_IF

SQB_Driver x Loops HS&LS

Vol

tage

M

easu

rem

ent

Wat

chd

og Buckle SW

PWR_Train IF (CAN/LIN)

MainµC

SPI _ I FMCU XC23XX16/32bits

On-Board Sensors

SMPS_Dig and LVRs_Dig (RTL)

Page 6: by Thang Nguyen, Dipl.-Ing.-Dr.  and Dieter Haerle, Dipl.-Ing

Sponsored By:

6 of 11

Challenges of Airbag SoC Design• Factors that drive design complexity:

– Based on modern sub-micron logic and PWR technology– integration of high complexity digital circuits with high

voltage power driving modules new architecture approach with distributed

functionalities in D/A/_HW and embedded FW– Compliance to ISO 26262 safety standard

• The system covers real-time embedded mixed-signal domains with high number of modules

• Time-to-Market and first time right design

leads to verification challenges

Page 7: by Thang Nguyen, Dipl.-Ing.-Dr.  and Dieter Haerle, Dipl.-Ing

Sponsored By:

7 of 11

Modeling Requirements & Analysis• A complete airbag SoC chip model:

– Top-level functional simulation = HW, FW, and co-verification

– “Accuracy” vs. “Speed”– Interface consistency between analogue/digital and also

with top-level schematic

• HW (A+D) behavior model for HW/FW co-verification at chip toplevel at early stage of the design phase.

• Effort vs. Time vs. Accuracy

Page 8: by Thang Nguyen, Dipl.-Ing.-Dr.  and Dieter Haerle, Dipl.-Ing

Sponsored By:

8 of 11

The Mixed-abstraction Modeling Approach

Reuse !

Reuse !

Reuse !

„The Marriage“

s1280a11_topTO SchematicVHDL Netlist

• Reuse of the chip digital RTL code

• Analogue circuit is modelled using VHDL with support of real value for the analog behavior

• Model integration using top-level tape-out schematic netlist

• Firmware ROM Mask content is used directly with the digital RTL of the model

Page 9: by Thang Nguyen, Dipl.-Ing.-Dr.  and Dieter Haerle, Dipl.-Ing

Sponsored By:

9 of 11

Example of analogue circuit modeling• Resolution function and example of supply_check

module:

supply_chk

ibias_chk

D2A_LevelShifter

A2D_LevelShifter

Vdd1v5_i

Vdd5v0_i

ibias_10uA_i

gnd_ana_i

supply_ok_s

bias_ok_s

drv_ctrl_i

vgate_i G

D

S

gnd_ana_i

drv_ocl_mon

supply_ok_sbias_ok_s

supply_ok_sbias_ok_s

Driver Over Current Monitoring

Slew_rate_ctrl_i

Vbatt_s

GND

iload_s

Output_slew_rate_ctrl

Slew_rate_ctrl_s

bias_ok_ssupply_ok_s VDRV_out

rload_s

· This is a part of the DRV_MOS model, specially implemented for the toplevel verification

· Vbatt_s and rload_s are global signals and used for fault injection simulation

(0V...12.5V...40.0V)

drv_cl_o

drv_cl_s

drv_cl_sInterface to

Lamp driver

Logic part

MOS Model with Over current

limitation function

Page 10: by Thang Nguyen, Dipl.-Ing.-Dr.  and Dieter Haerle, Dipl.-Ing

Sponsored By:

10 of 11

Model Coverage Evaluation

SoC Top Level

Dig_top

AFE1

AFEn

External component

External component

SPI command Stimulus

SoC ReactionSPI response

• Functional coverage: – Hardware (ANA + DIG) behavior– Firmware behavior – PWR Chip Gobal functional

• Physical Impelmentation coverage: – Digital_Hardware (RTL)– ROM Mask– Interfaces between DIG

and ANA hardware domain– Top-level LVS

connectivities

Page 11: by Thang Nguyen, Dipl.-Ing.-Dr.  and Dieter Haerle, Dipl.-Ing

Sponsored By:

11 of 11

The Mixed-abstraction Modeling Approach – Advantages/Limitations+ Event based simulation @ chip top-level:

– significantly gain in speed complexity and clk rate) – et. Convergency

+ still guarantee the accuracy for functional verification purpose.

+ Effort (integration and maintenance) vs. Time (in a very short) vs. Accuracy (High)

- For chip TL model integration: it is strongly dependent on the DIG_TOP level

• Modeling of external load (capacitive and inductive) is limited workaround: „Global Signalling Concept“

Page 12: by Thang Nguyen, Dipl.-Ing.-Dr.  and Dieter Haerle, Dipl.-Ing

Sponsored By:

12 of 11

Global Signaling ConceptTest case1

Test case2

Test case nGlobal Signal Package

Remote Sensor Stimuli

SoC Stimuli

Test Bench1

Test Bench2

Test Bench n

Remote Sensors

SoC

Rem

ote

Sens

or

Stim

uli

…for external load modeling …for fault injection simulation

SoC

External Circuit

SoC

Sub-block1

GLOBAL SIGNALS PACKAGE

Sub-block2

Sub-blockN

External Circuit

Sub-blockN-1

Page 13: by Thang Nguyen, Dipl.-Ing.-Dr.  and Dieter Haerle, Dipl.-Ing

Sponsored By:

13 of 11

Summary of Results/Conclusions• Virtual „prototype“ of the airbag SoC product at an

early phase for firmware develop. and verification

• Simulation performance: less than 1h (for a typical functional simulation run at chip top-level)

• Bridging the gap between “Speed” and “Accuracy”

• Project could significantly gain time-to-market and achieve design target