AUTOMATED INTEGRATION OF SIMULINK MODELS INTO … · automated integration of simulink models into...

37
AUTOMATED INTEGRATION OF SIMULINK MODELS INTO VIRTUAL PLATFORMS ANDREAS MAUDERER ROBERT BOSCH GMBH – AUTOMOTIVE ELECTRONICS ALEXANDER SCHREIBER THE MATHWORKS GMBH MATLAB EXPO JUNE 27 TH , 2017 MUNICH, GERMANY This work has been funded by the German Federal Ministry for Education and Research (BMBF) under the grant 01IS13022A (project EffektiV). The content of this publication lies within the responsibility of the authors.

Transcript of AUTOMATED INTEGRATION OF SIMULINK MODELS INTO … · automated integration of simulink models into...

Page 1: AUTOMATED INTEGRATION OF SIMULINK MODELS INTO … · automated integration of simulink models into virtual platforms andreas mauderer robert bosch gmbh –automotive electronics alexander

AUTOMATED INTEGRATION OF SIMULINK MODELS INTO VIRTUAL PLATFORMS

ANDREAS MAUDERERROBERT BOSCH GMBH – AUTOMOTIVE ELECTRONICS

ALEXANDER SCHREIBERTHE MATHWORKS GMBH

MATLAB EXPOJUNE 27TH, 2017MUNICH, GERMANY

This work has been funded by the German Federal Ministry for Education and Research (BMBF) under the grant 01IS13022A (project EffektiV). The content of this publication lies within the responsibility of the authors.

Page 2: AUTOMATED INTEGRATION OF SIMULINK MODELS INTO … · automated integration of simulink models into virtual platforms andreas mauderer robert bosch gmbh –automotive electronics alexander

Automotive Electronics | Andreas Mauderer (AE/EID2), Alexander Schreiber (MathWorks) | 27.06.2017© Robert Bosch GmbH 2017. All rights reserved, also regarding any disposal, exploitation, reproduction, editing, distribution, as well as in the event of applications for industrial property rights.

2

Agenda

The Application: Automotive Mixed-Signal ASICs

The Current Workflow and its Challenges

The Improved Workflow

Summary & Conclusion

Page 3: AUTOMATED INTEGRATION OF SIMULINK MODELS INTO … · automated integration of simulink models into virtual platforms andreas mauderer robert bosch gmbh –automotive electronics alexander

Automotive Electronics | Andreas Mauderer (AE/EID2), Alexander Schreiber (MathWorks) | 27.06.2017© Robert Bosch GmbH 2017. All rights reserved, also regarding any disposal, exploitation, reproduction, editing, distribution, as well as in the event of applications for industrial property rights.

3

Agenda

The Application: Automotive Mixed-Signal ASICs

The Current Workflow and its Challenges

The Improved Workflow

Summary & Conclusion

Page 4: AUTOMATED INTEGRATION OF SIMULINK MODELS INTO … · automated integration of simulink models into virtual platforms andreas mauderer robert bosch gmbh –automotive electronics alexander

Integration of Simulink Models into Virtual Platforms

Automotive Electronics | Andreas Mauderer (AE/EID2), Alexander Schreiber (MathWorks) | 27.06.2017© Robert Bosch GmbH 2017. All rights reserved, also regarding any disposal, exploitation, reproduction, editing, distribution, as well as in the event of applications for industrial property rights.

4

Automotive Mixed-Signal ASICs

� Bosch accelerates progress of automotive technology with continued innovations like ESP or autonomous driving solutions

� Integral part for these solutions are automotive sensors

� Example: Inertial sensor system for ESP

Page 5: AUTOMATED INTEGRATION OF SIMULINK MODELS INTO … · automated integration of simulink models into virtual platforms andreas mauderer robert bosch gmbh –automotive electronics alexander

Integration of Simulink Models into Virtual Platforms

Automotive Electronics | Andreas Mauderer (AE/EID2), Alexander Schreiber (MathWorks) | 27.06.2017© Robert Bosch GmbH 2017. All rights reserved, also regarding any disposal, exploitation, reproduction, editing, distribution, as well as in the event of applications for industrial property rights.

5

Automotive Mixed-Signal ASICs

� System-in-Package (SiP)� Sensor� Heterogeneous SoC:

� Analog Hardware� Digital Non-Programmable

Hardware� Processors

Source: Karsten Funk

Page 6: AUTOMATED INTEGRATION OF SIMULINK MODELS INTO … · automated integration of simulink models into virtual platforms andreas mauderer robert bosch gmbh –automotive electronics alexander

Integration of Simulink Models into Virtual Platforms

Automotive Electronics | Andreas Mauderer (AE/EID2), Alexander Schreiber (MathWorks) | 27.06.2017© Robert Bosch GmbH 2017. All rights reserved, also regarding any disposal, exploitation, reproduction, editing, distribution, as well as in the event of applications for industrial property rights.

6

Sensor ASIC – Architecture Example

� Signal path for sensor signal processing

� General Purpose Processor (GPP) subsystem for� safety monitoring� communication protocols� etc.

� Several interfaces

� On-Chip Architecture

GPPRAM

SPIInterface

CANInterface

ROM

Bridge

PSIInterface

SignalPath

Page 7: AUTOMATED INTEGRATION OF SIMULINK MODELS INTO … · automated integration of simulink models into virtual platforms andreas mauderer robert bosch gmbh –automotive electronics alexander

Integration of Simulink Models into Virtual Platforms

Automotive Electronics | Andreas Mauderer (AE/EID2), Alexander Schreiber (MathWorks) | 27.06.2017© Robert Bosch GmbH 2017. All rights reserved, also regarding any disposal, exploitation, reproduction, editing, distribution, as well as in the event of applications for industrial property rights.

7

Sensor ASIC – Signal Path Example

Signal Path (ASIC)

MEMSSensor

phys. Force

Noise

ADC

ΔΣMod.

Dec. Filter

DSP

Digital Filter

SensorSignal Processing

Page 8: AUTOMATED INTEGRATION OF SIMULINK MODELS INTO … · automated integration of simulink models into virtual platforms andreas mauderer robert bosch gmbh –automotive electronics alexander

Automotive Electronics | Andreas Mauderer (AE/EID2), Alexander Schreiber (MathWorks) | 27.06.2017© Robert Bosch GmbH 2017. All rights reserved, also regarding any disposal, exploitation, reproduction, editing, distribution, as well as in the event of applications for industrial property rights.

8

Agenda

The Application: Automotive Mixed-Signal ASICs

The Current Workflow and its Challenges

The Improved Workflow

Summary & Conclusion

Page 9: AUTOMATED INTEGRATION OF SIMULINK MODELS INTO … · automated integration of simulink models into virtual platforms andreas mauderer robert bosch gmbh –automotive electronics alexander

Automotive Electronics | Andreas Mauderer (AE/EID2), Alexander Schreiber (MathWorks) | 27.06.2017© Robert Bosch GmbH 2017. All rights reserved, also regarding any disposal, exploitation, reproduction, editing, distribution, as well as in the event of applications for industrial property rights.

9

Agenda

The Application: Automotive Mixed-Signal ASICs

The Current Workflow and its Challenges

The Improved Workflow

Summary & Conclusion

Page 10: AUTOMATED INTEGRATION OF SIMULINK MODELS INTO … · automated integration of simulink models into virtual platforms andreas mauderer robert bosch gmbh –automotive electronics alexander

Integration of Simulink Models into Virtual Platforms

Automotive Electronics | Andreas Mauderer (AE/EID2), Alexander Schreiber (MathWorks) | 27.06.2017© Robert Bosch GmbH 2017. All rights reserved, also regarding any disposal, exploitation, reproduction, editing, distribution, as well as in the event of applications for industrial property rights.

10

Current Workflow - IP-XACT-Centric Tool Environment

� IP-XACT description as single source

� Generation of various design, test and documentation outputs

� Ensures consistency throughout the whole design flow

Documentation

HTML

Production Test

Test Descriptions

IP-XACT Description

SW-Development

C/C++ Header Files

ASIC Design

RTL Bus Slaves (VHDL)

On-Chip Architectures(VHDL)

Virtual PrototypingModule Wrappers

(SystemC)

On-Chip-Architectures

Page 11: AUTOMATED INTEGRATION OF SIMULINK MODELS INTO … · automated integration of simulink models into virtual platforms andreas mauderer robert bosch gmbh –automotive electronics alexander

Integration of Simulink Models into Virtual Platforms

Automotive Electronics | Andreas Mauderer (AE/EID2), Alexander Schreiber (MathWorks) | 27.06.2017© Robert Bosch GmbH 2017. All rights reserved, also regarding any disposal, exploitation, reproduction, editing, distribution, as well as in the event of applications for industrial property rights.

11

Current Workflow - IP-XACT-Centric VP Generation

� Description of architecture and register interfaces in IP-XACT

� Automated generation of VP architectures and TLM register interfaces

� Signal processing algorithm design using Model-Based Design

� Manual behavioural description of control-and signal-flow oriented designs

AlgorithmDesign(MBD)

RegisterDesign

ArchitectureDesign

VP ArchitectureGeneration

SystemC TLMWrapper Gen.

ASIC Requirements

RegistersArchitecture

IP-XACT Description

Virtual Platform

Manualbehav. Description

Control-Flow Design

Manualbehav. Description

Page 12: AUTOMATED INTEGRATION OF SIMULINK MODELS INTO … · automated integration of simulink models into virtual platforms andreas mauderer robert bosch gmbh –automotive electronics alexander

Integration of Simulink Models into Virtual Platforms

Automotive Electronics | Andreas Mauderer (AE/EID2), Alexander Schreiber (MathWorks) | 27.06.2017© Robert Bosch GmbH 2017. All rights reserved, also regarding any disposal, exploitation, reproduction, editing, distribution, as well as in the event of applications for industrial property rights.

12

Architecture Design - Magillem® IP-XACT Packager (MIP)

� Design of On-Chip Architecture in Magillem® IP-XACT Packager

� Saved as IP-XACT Design description

GPP Subsystem

Interfaces

Signal Path

Page 13: AUTOMATED INTEGRATION OF SIMULINK MODELS INTO … · automated integration of simulink models into virtual platforms andreas mauderer robert bosch gmbh –automotive electronics alexander

Integration of Simulink Models into Virtual Platforms

Automotive Electronics | Andreas Mauderer (AE/EID2), Alexander Schreiber (MathWorks) | 27.06.2017© Robert Bosch GmbH 2017. All rights reserved, also regarding any disposal, exploitation, reproduction, editing, distribution, as well as in the event of applications for industrial property rights.

13

Register Interface Design - Magillem® Register View (MRV)

� Design of register interfaces in Magillem® Register View

� Saved as IP-XACT Component description

Page 14: AUTOMATED INTEGRATION OF SIMULINK MODELS INTO … · automated integration of simulink models into virtual platforms andreas mauderer robert bosch gmbh –automotive electronics alexander

Integration of Simulink Models into Virtual Platforms

Automotive Electronics | Andreas Mauderer (AE/EID2), Alexander Schreiber (MathWorks) | 27.06.2017© Robert Bosch GmbH 2017. All rights reserved, also regarding any disposal, exploitation, reproduction, editing, distribution, as well as in the event of applications for industrial property rights.

14

Current Workflow - IP-XACT-Centric VP Generation

� Automated generation of VP architectures and TLM register interfaces

AlgorithmDesign(MBD)

RegisterDesign

ArchitectureDesign

VP ArchitectureGeneration

SystemC TLMWrapper Gen.

ASIC Requirements

RegistersArchitecture

IP-XACT Description

Virtual Platform

Manualbehav. Description

Control-Flow Design

Manualbehav. Description

Page 15: AUTOMATED INTEGRATION OF SIMULINK MODELS INTO … · automated integration of simulink models into virtual platforms andreas mauderer robert bosch gmbh –automotive electronics alexander

Integration of Simulink Models into Virtual Platforms

Automotive Electronics | Andreas Mauderer (AE/EID2), Alexander Schreiber (MathWorks) | 27.06.2017© Robert Bosch GmbH 2017. All rights reserved, also regarding any disposal, exploitation, reproduction, editing, distribution, as well as in the event of applications for industrial property rights.

15

Virtual Platforms (VP)

� SoC architecture-centric� Highspeed pre-silicon development

environment� Abstracting communication interfaces through

Transaction Level Modelling (TLM)

� Benefits� SoC concept validation and architectural

exploration� Concurrent SW and HW development� Validation of HW/SW interfaces� Optimization of SW

Virtual Platform

GPP Memory

TLM-based Communication Channel

ComponentLibrary

SignalPath Peripheral

Page 16: AUTOMATED INTEGRATION OF SIMULINK MODELS INTO … · automated integration of simulink models into virtual platforms andreas mauderer robert bosch gmbh –automotive electronics alexander

Integration of Simulink Models into Virtual Platforms

Automotive Electronics | Andreas Mauderer (AE/EID2), Alexander Schreiber (MathWorks) | 27.06.2017© Robert Bosch GmbH 2017. All rights reserved, also regarding any disposal, exploitation, reproduction, editing, distribution, as well as in the event of applications for industrial property rights.

16

System Simulation and SW Dev. in Synopsys® Virtualizer™

� Tool for construction and simulation of Virtual Prototypes

� Large module library

� Comprehensive debugging capabilities

� Export of development kits for SW development

Page 17: AUTOMATED INTEGRATION OF SIMULINK MODELS INTO … · automated integration of simulink models into virtual platforms andreas mauderer robert bosch gmbh –automotive electronics alexander

Integration of Simulink Models into Virtual Platforms

Automotive Electronics | Andreas Mauderer (AE/EID2), Alexander Schreiber (MathWorks) | 27.06.2017© Robert Bosch GmbH 2017. All rights reserved, also regarding any disposal, exploitation, reproduction, editing, distribution, as well as in the event of applications for industrial property rights.

17

Current Workflow - IP-XACT-Centric VP Generation

� Signal processing algorithm design using Model-Based Design

AlgorithmDesign(MBD)

RegisterDesign

ArchitectureDesign

VP ArchitectureGeneration

SystemC TLMWrapper Gen.

ASIC Requirements

RegistersArchitecture

IP-XACT Description

Virtual Platform

Manualbehav. Description

Control-Flow Design

Manualbehav. Description

Page 18: AUTOMATED INTEGRATION OF SIMULINK MODELS INTO … · automated integration of simulink models into virtual platforms andreas mauderer robert bosch gmbh –automotive electronics alexander

Integration of Simulink Models into Virtual Platforms

Automotive Electronics | Andreas Mauderer (AE/EID2), Alexander Schreiber (MathWorks) | 27.06.2017© Robert Bosch GmbH 2017. All rights reserved, also regarding any disposal, exploitation, reproduction, editing, distribution, as well as in the event of applications for industrial property rights.

18

Model-Based Design (MBD)

� Algorithm-centric� Signal flow-oriented multi-domain simulation

� Differential equation, transfer function, physical network level

� Time-continuous, time-discrete� Value-continuous, value-discrete

� Benefits� Mathematical algorithm design� Early verification of its functional correctness and

performance in its environment� Implementation through automatic code generation

ALGORITHM INTEGRATION

ALGORITHM IMPLEMENTATION

ALGO

RITH

M TEST & VER

IFICATIO

N

RFAnalogHDL

TransistorMCU DSP FPGA ASIC

C/C++

ALGORITHM DESIGN

Environment Models

Timing and Control Logic

Digital Models RF ModelsAnalog Models

Algorithms

REQUIREMENTSRESEARCH

Page 19: AUTOMATED INTEGRATION OF SIMULINK MODELS INTO … · automated integration of simulink models into virtual platforms andreas mauderer robert bosch gmbh –automotive electronics alexander

Integration of Simulink Models into Virtual Platforms

Automotive Electronics | Andreas Mauderer (AE/EID2), Alexander Schreiber (MathWorks) | 27.06.2017© Robert Bosch GmbH 2017. All rights reserved, also regarding any disposal, exploitation, reproduction, editing, distribution, as well as in the event of applications for industrial property rights.

19

Example: Lowpass Filter Design with DSP System Toolbox™

Specification:� Filter response: FIR� Design Method: Equiripple� 6dB-cutoff frequency: 0.25� Stopband attenuation: 60 dB� Passband ripple: 1 dB

Page 20: AUTOMATED INTEGRATION OF SIMULINK MODELS INTO … · automated integration of simulink models into virtual platforms andreas mauderer robert bosch gmbh –automotive electronics alexander

Integration of Simulink Models into Virtual Platforms

Automotive Electronics | Andreas Mauderer (AE/EID2), Alexander Schreiber (MathWorks) | 27.06.2017© Robert Bosch GmbH 2017. All rights reserved, also regarding any disposal, exploitation, reproduction, editing, distribution, as well as in the event of applications for industrial property rights.

20

Signal-Flow-based Simulation with Simulink®

Time domain:

Frequency domain:

Page 21: AUTOMATED INTEGRATION OF SIMULINK MODELS INTO … · automated integration of simulink models into virtual platforms andreas mauderer robert bosch gmbh –automotive electronics alexander

Integration of Simulink Models into Virtual Platforms

Automotive Electronics | Andreas Mauderer (AE/EID2), Alexander Schreiber (MathWorks) | 27.06.2017© Robert Bosch GmbH 2017. All rights reserved, also regarding any disposal, exploitation, reproduction, editing, distribution, as well as in the event of applications for industrial property rights.

21

Gap Analysis

� Benefits of Model-Based Design� Verified algorithm meeting signal processing

characteristics

� Workflow Gap� Manual behavioural description of algorithm� Manual integration into SystemC TLM wrapper

� Potential Issue� Mismatch between manual behavioural

description and implementation

AlgorithmDesign(MBD)

RegisterDesign

ArchitectureDesign

VP ArchitectureGeneration

SystemC TLMWrapper Gen.

ASIC Requirements

RegistersArchitecture

IP-XACT Description

Virtual Platform

Manualbehav. Description

Control-Flow Design

Manualbehav. Description

Page 22: AUTOMATED INTEGRATION OF SIMULINK MODELS INTO … · automated integration of simulink models into virtual platforms andreas mauderer robert bosch gmbh –automotive electronics alexander

Exte

nded

Wor

kflo

w

Integration of Simulink Models into Virtual Platforms

Automotive Electronics | Andreas Mauderer (AE/EID2), Alexander Schreiber (MathWorks) | 27.06.2017© Robert Bosch GmbH 2017. All rights reserved, also regarding any disposal, exploitation, reproduction, editing, distribution, as well as in the event of applications for industrial property rights.

22

Gap Analysis

Solution:

�Automatic generation of SystemCTLM component� Behavioural algorithmic model� Integration in SystemC TLM wrapper

�IP-XACT register definition as input

�Support of SCML register

AlgorithmDesign(MBD)

RegisterDesign

ArchitectureDesign

VP ArchitectureGeneration

SystemC TLMWrapper Gen.

ASIC Requirements

RegistersArchitecture

IP-XACT Description

Virtual Platform

Manualbehav. Description

Control-Flow Design

Autom. GenerationSystemC TLM &

behav. Model

Page 23: AUTOMATED INTEGRATION OF SIMULINK MODELS INTO … · automated integration of simulink models into virtual platforms andreas mauderer robert bosch gmbh –automotive electronics alexander

Automotive Electronics | Andreas Mauderer (AE/EID2), Alexander Schreiber (MathWorks) | 27.06.2017© Robert Bosch GmbH 2017. All rights reserved, also regarding any disposal, exploitation, reproduction, editing, distribution, as well as in the event of applications for industrial property rights.

23

Agenda

The Application: Automotive Mixed-Signal ASICs

The Current Workflow and its Challenges

The Improved Workflow

Summary & Conclusion

Page 24: AUTOMATED INTEGRATION OF SIMULINK MODELS INTO … · automated integration of simulink models into virtual platforms andreas mauderer robert bosch gmbh –automotive electronics alexander

Automotive Electronics | Andreas Mauderer (AE/EID2), Alexander Schreiber (MathWorks) | 27.06.2017© Robert Bosch GmbH 2017. All rights reserved, also regarding any disposal, exploitation, reproduction, editing, distribution, as well as in the event of applications for industrial property rights.

24

Agenda

The Application: Automotive Mixed-Signal ASICs

The Current Workflow and its Challenges

The Improved Workflow

Summary & Conclusion

Page 25: AUTOMATED INTEGRATION OF SIMULINK MODELS INTO … · automated integration of simulink models into virtual platforms andreas mauderer robert bosch gmbh –automotive electronics alexander

Integration of Simulink Models into Virtual Platforms

Automotive Electronics | Andreas Mauderer (AE/EID2), Alexander Schreiber (MathWorks) | 27.06.2017© Robert Bosch GmbH 2017. All rights reserved, also regarding any disposal, exploitation, reproduction, editing, distribution, as well as in the event of applications for industrial property rights.

25

Algorithm Design & Model Generation

� Extended Model-Based Design Workflow� Model Generation

� Additional code generation targets� Virtual platforms (e.g. SystemC TLM 2.0)� Verification environments (e.g. SystemVerilog

DPI-C)

� Benefits� Integrated, automated workflow� Functional equivalence between ..

‒ Algorithm design‒ Virtual Platform model‒ Algorithm implementation

Extension to classic MBD Workflow

SoC-LEVEL INTEGRATION

SoC

-LEV

EL T

EST

& V

ERIF

ICA

TIO

N

ALGORITHM INTEGRATION

ALGORITHM IMPLEMENTATION

ALG

OR

ITHM

TEST & V

ERIFIC

ATIO

N

RFAnalogHDL

TransistorMCU DSP FPGA ASIC

C/C++

ALGORITHM INTEGRATION

ALGORITHM IMPLEMENTATION

ALG

OR

ITHM

TEST & V

ERIFIC

ATIO

N

RFAnalogHDL

TransistorMCU DSP FPGA ASIC

MODEL GENERATION

SystemC DPI-C

Virtual Platform SPICE

DPI-C

Virtual Platform SPICESim.

SystemC C/C++

ALGORITHM DESIGN

Environment Models

Timing and Control Logic

Digital Models RF ModelsAnalog

Models

Algorithms

ALGORITHM DESIGN

Environment Models

Timing and Control Logic

Digital Models

RFModels

Analog Models

Algorithms

REQUIREMENTSRESEARCH

ALGORITHM DESIGN

Environment Models

Timing and Control Logic

Digital Models RF ModelsAnalog Models

Algorithms

ALGORITHM DESIGN

Environment Models

Timing and Control Logic

Digital Models RF ModelsAnalog Models

Algorithms

REQUIREMENTSRESEARCH

Timing and Control Logic

Algorithms

SystemC HDL

Page 26: AUTOMATED INTEGRATION OF SIMULINK MODELS INTO … · automated integration of simulink models into virtual platforms andreas mauderer robert bosch gmbh –automotive electronics alexander

Integration of Simulink Models into Virtual Platforms

Automotive Electronics | Andreas Mauderer (AE/EID2), Alexander Schreiber (MathWorks) | 27.06.2017© Robert Bosch GmbH 2017. All rights reserved, also regarding any disposal, exploitation, reproduction, editing, distribution, as well as in the event of applications for industrial property rights.

26

Algorithm Design & Model Generation

� Algorithm Design� Mathematical representation� Multi-domain simulation environment

‒ Early algorithm verification within its environment

� Model Generation� Automatic code generation (SystemC TLM)� IP-XACT register description as input� Behavioural description integrated in SystemC TLM

wrapper� Self-testing SystemC TLM testbench� IP-XACT register description as output

SimulinkTestBench

SignalPath

SimulinkCoder /EmbeddedCoderHDLVerifier

DUT.cppDUT_tlm.cppDUT_scml.cpp

MATLABSimulink

IP-XACTRegister

Description

TLM GeneratorTarget

Selection

Page 27: AUTOMATED INTEGRATION OF SIMULINK MODELS INTO … · automated integration of simulink models into virtual platforms andreas mauderer robert bosch gmbh –automotive electronics alexander

Integration of Simulink Models into Virtual Platforms

Automotive Electronics | Andreas Mauderer (AE/EID2), Alexander Schreiber (MathWorks) | 27.06.2017© Robert Bosch GmbH 2017. All rights reserved, also regarding any disposal, exploitation, reproduction, editing, distribution, as well as in the event of applications for industrial property rights.

27

Model Generation - IP-XACT Register Mapping (I/O, Parameters)

Input: IP-XACT Register Mapping

SCML Register SupportInterface mapping between

IP-XACT and Simulink

Page 28: AUTOMATED INTEGRATION OF SIMULINK MODELS INTO … · automated integration of simulink models into virtual platforms andreas mauderer robert bosch gmbh –automotive electronics alexander

Integration of Simulink Models into Virtual Platforms

Automotive Electronics | Andreas Mauderer (AE/EID2), Alexander Schreiber (MathWorks) | 27.06.2017© Robert Bosch GmbH 2017. All rights reserved, also regarding any disposal, exploitation, reproduction, editing, distribution, as well as in the event of applications for industrial property rights.

28

Model Generation - SystemC TLM/SCML Adaptor Architecture

Signal Path

SystemC TLM/SCML AdaptorInterface Processing

SCML Memory MapACC_1_In

ACC_2_In Inpu

ts

COEF_1:

COEF_5 Para

met

ers

ACC1_OutACC2_Out O

utpu

ts

BehaviouralAlgorithm

Description

Timing Synchronisation

Timing Sync.

T

Data Set

Data Set

Data Set

StartW

R/W

R

DUT_scml_def.h DUT.hDUT.cpp

DUT_scml.hDUT_scml.cpp

Page 29: AUTOMATED INTEGRATION OF SIMULINK MODELS INTO … · automated integration of simulink models into virtual platforms andreas mauderer robert bosch gmbh –automotive electronics alexander

Integration of Simulink Models into Virtual Platforms

Automotive Electronics | Andreas Mauderer (AE/EID2), Alexander Schreiber (MathWorks) | 27.06.2017© Robert Bosch GmbH 2017. All rights reserved, also regarding any disposal, exploitation, reproduction, editing, distribution, as well as in the event of applications for industrial property rights.

29

Integration and Simulation - Manual Import of SystemC Module

Page 30: AUTOMATED INTEGRATION OF SIMULINK MODELS INTO … · automated integration of simulink models into virtual platforms andreas mauderer robert bosch gmbh –automotive electronics alexander

Integration of Simulink Models into Virtual Platforms

Automotive Electronics | Andreas Mauderer (AE/EID2), Alexander Schreiber (MathWorks) | 27.06.2017© Robert Bosch GmbH 2017. All rights reserved, also regarding any disposal, exploitation, reproduction, editing, distribution, as well as in the event of applications for industrial property rights.

30

Integration and Simulation - SystemC Module in Synopsys® Virtualizer™

Page 31: AUTOMATED INTEGRATION OF SIMULINK MODELS INTO … · automated integration of simulink models into virtual platforms andreas mauderer robert bosch gmbh –automotive electronics alexander

Integration of Simulink Models into Virtual Platforms

Automotive Electronics | Andreas Mauderer (AE/EID2), Alexander Schreiber (MathWorks) | 27.06.2017© Robert Bosch GmbH 2017. All rights reserved, also regarding any disposal, exploitation, reproduction, editing, distribution, as well as in the event of applications for industrial property rights.

31

Integration and Simulation – Simulation in Synopsys® VPExplorer

Page 32: AUTOMATED INTEGRATION OF SIMULINK MODELS INTO … · automated integration of simulink models into virtual platforms andreas mauderer robert bosch gmbh –automotive electronics alexander

Automotive Electronics | Andreas Mauderer (AE/EID2), Alexander Schreiber (MathWorks) | 27.06.2017© Robert Bosch GmbH 2017. All rights reserved, also regarding any disposal, exploitation, reproduction, editing, distribution, as well as in the event of applications for industrial property rights.

32

Agenda

The Application: Automotive Mixed-Signal ASICs

The Current Workflow and its Challenges

The Improved Workflow

Summary & Conclusion

Page 33: AUTOMATED INTEGRATION OF SIMULINK MODELS INTO … · automated integration of simulink models into virtual platforms andreas mauderer robert bosch gmbh –automotive electronics alexander

Automotive Electronics | Andreas Mauderer (AE/EID2), Alexander Schreiber (MathWorks) | 27.06.2017© Robert Bosch GmbH 2017. All rights reserved, also regarding any disposal, exploitation, reproduction, editing, distribution, as well as in the event of applications for industrial property rights.

33

Agenda

The Application: Automotive Mixed-Signal ASICs

The Current Workflow and its Challenges

The Improved Workflow

Summary & Conclusion

Page 34: AUTOMATED INTEGRATION OF SIMULINK MODELS INTO … · automated integration of simulink models into virtual platforms andreas mauderer robert bosch gmbh –automotive electronics alexander

Integration of Simulink Models into Virtual Platforms

Automotive Electronics | Andreas Mauderer (AE/EID2), Alexander Schreiber (MathWorks) | 27.06.2017© Robert Bosch GmbH 2017. All rights reserved, also regarding any disposal, exploitation, reproduction, editing, distribution, as well as in the event of applications for industrial property rights.

34

Summary – Bosch Workflow

AlgorithmDesign(MBD)

RegisterDesign

ArchitectureDesign

VP ArchitectureGeneration

SystemC TLMWrapper Gen.

ASIC Requirements

RegistersArchitecture

IP-XACT Description

Virtual Platform

Manualbehav. Description

Control-Flow Design

Autom. GenerationSystemC TLM &

behav. Model

MATLAB®,Simulink®,DSP System Toolbox™

Simulink® Coder™ /Embedded Coder®,HDL Verifier™

Page 35: AUTOMATED INTEGRATION OF SIMULINK MODELS INTO … · automated integration of simulink models into virtual platforms andreas mauderer robert bosch gmbh –automotive electronics alexander

Integration of Simulink Models into Virtual Platforms

Automotive Electronics | Andreas Mauderer (AE/EID2), Alexander Schreiber (MathWorks) | 27.06.2017© Robert Bosch GmbH 2017. All rights reserved, also regarding any disposal, exploitation, reproduction, editing, distribution, as well as in the event of applications for industrial property rights.

35

Summary & Conclusion

� Developed method:Automated integration of Simulink signal processing behaviour modules into Virtual Platforms

� Generated artefacts:� Functional core� SystemC TLM2.0 Wrapper with SCML registers based on IP-XACT description� Code connecting wrapper and functional core

� Benefits:� Increase of efficiency for integration signal processing behaviour into VPs� Earlier availability of functional VPs of signal processing ASICs� Inherent consistency between Simulink model and VP

Page 36: AUTOMATED INTEGRATION OF SIMULINK MODELS INTO … · automated integration of simulink models into virtual platforms andreas mauderer robert bosch gmbh –automotive electronics alexander

Automotive Electronics | Andreas Mauderer (AE/EID2), Alexander Schreiber (MathWorks) | 27.06.2017© Robert Bosch GmbH 2017. All rights reserved, also regarding any disposal, exploitation, reproduction, editing, distribution, as well as in the event of applications for industrial property rights.

36

Integration of Simulink Models into Virtual PlatformsTrademark Attribution

� Accelera, SystemC and IP-XACT are trademarks of Accellera Systems Initiative Inc.

� BOSCH is a trademark of Robert Bosch GmbH.

� IEEE and IEEE 1685: IP-XACT are registered trademarks or trademarks of IEEE.

� Magillem is a registered trademark of Magillem S.A.

� MathWorks, MATLAB, Simulink, Stateflow, DSP System Toolbox, Simulink Coder, Embedded Coder, HDL Coder and HDL Verifier are trademarks or registered trademarks of The MathWorks Inc.

� Oracle and Java are registered trademarks of Oracle and/or its affiliates.

� Synopsys, Virtualizer, Platform Architect and VCS are trademarks or registered trademarks of Synopsys Inc.

� Other product or brand names may be trademarks or registered trademarks of their respective holders.

Page 37: AUTOMATED INTEGRATION OF SIMULINK MODELS INTO … · automated integration of simulink models into virtual platforms andreas mauderer robert bosch gmbh –automotive electronics alexander

THANKYOU