没有合适的资源?快使用搜索试试~ 我知道了~
ASAM XIL 是测试自动化工具和测试台之间通信的 API 标准。 该标准支持开发和测试过程所有阶段的测试台 - 最突出的是模型在环 (MIL)、软件在环 (SIL) 和硬件在环 (HIL)。符号“XIL”表示该标准可用于所有“在环”系统。这样做的好处是,它使用户能够根据自己的需求自由选择测试产品,并轻松集成它们。 使用符合 ASAM XIL 的产品,测试系统用户可以混合搭配来自不同供应商的最佳组件,而无需进行昂贵的集成工作。
资源推荐
资源详情
资源评论
ASAM AE XIL-MA
Generic Simulator Interface (for Simulation
Model Access)
Version 2.1.0
Date: 2017-08-10
Associated Standard
© by ASAM e.V., 2017
Disclaimer
This document is the copyrighted property of ASAM e.V.
Any use is limited to the scope described in the license terms. The license
terms can be viewed at www.asam.net/license. In alteration to the regular
license terms, ASAM allows unrestricted distribution of this standard. §2 (1)
of ASAM's regular license terms is therefore substituted by the following
clause: "The licensor grants everyone a basic, non-exclusive and unlimited
license to use the standard ASAM XIL-MA".
Table of Contents
ASAM AE XIL Simulation Model Access Version 2.1.0
3
Table of Contents
Foreword 6
1 Introduction 7
1.1 Overview .......................................................................................................... 7
1.2 Motivation ........................................................................................................ 7
1.3 What is Hardware in the Loop Simulation ..................................................... 8
1.4 Technical Approach ........................................................................................ 9
1.5 Technology Independence ............................................................................. 9
2 Relations to Other Standards 10
2.1 Backward Compatibility to Earlier Releases ............................................... 10
2.2 References to Other Standards .................................................................... 10
2.3 Versioning ...................................................................................................... 10
3 General Concepts 11
3.1 XIL-MA Test System Architecture ................................................................ 11
3.2 Overview Testbench ...................................................................................... 12
3.2.1 General ................................................................................................ 12
3.3 ASAM Data Types .......................................................................................... 12
3.4 Instance Creation .......................................................................................... 12
3.4.1 Implementation Manifest File ............................................................... 13
3.4.1.1 File content ......................................................................................... 13
3.4.1.2 File Naming convention and storage location .................................... 15
3.4.2 Testbench Factory ............................................................................... 16
4 Testbench 17
4.1 Common Functionalities ............................................................................... 17
4.1.1 Valuecontainer ..................................................................................... 17
4.1.1.1 Overview............................................................................................. 17
4.1.1.2 General Value Container Classes ...................................................... 18
4.1.1.3 Application Oriented Value Container Classes .................................. 20
4.1.1.4 Attributes ............................................................................................ 20
4.1.2 Document Handling .............................................................................. 21
4.1.3 Script.................................................................................................... 22
4.1.3.1 Overview............................................................................................. 22
4.1.3.2 States of Script ................................................................................... 23
4.1.3.3 Script Parameters ............................................................................... 26
4.1.4 TargetScript ......................................................................................... 27
4.1.4.1 Overview............................................................................................. 27
4.1.4.2 Parameters ......................................................................................... 27
4.1.4.3 Custom Properties .............................................................................. 28
4.1.4.4 Usage of TargetScript ........................................................................ 28
4.1.5 Signal Descriptions .............................................................................. 29
Table of Contents
ASAM AE XIL Simulation Model Access Version 2.1.0
4
4.1.5.1 General Remarks about Segment-Based Signals ............................. 32
4.1.5.2 Signal Segments ................................................................................ 34
4.1.5.3 Using Signal Descriptions .................................................................. 52
4.1.5.4 Signal Description File ........................................................................ 58
4.1.5.5 Usage of Parameterized SignalDescriptions...................................... 59
4.1.6 SignalGenerator ................................................................................... 61
4.1.6.1 Parameters ......................................................................................... 62
4.1.6.2 Custom Properties .............................................................................. 62
4.1.6.3 Usage of SignalGenerator (Stimulating Model Variables) ................. 62
4.1.7 Document Handling for SignalGenerator and SignalDescriptionSet ..... 64
4.1.8 Watcher ............................................................................................... 66
4.1.8.1 General ............................................................................................... 66
4.1.8.2 Using the TimeOut ............................................................................. 67
4.1.9 Duration ............................................................................................... 68
4.1.10 Meta Info .............................................................................................. 68
4.1.11 Data Capturing ..................................................................................... 68
4.1.11.1 Introduction ......................................................................................... 68
4.1.11.2 Capturing ............................................................................................ 68
4.1.11.3 Modes of Capturing ............................................................................ 71
4.1.11.4 Untriggered Capturing ........................................................................ 72
4.1.11.5 triggered Capturing ............................................................................. 73
4.1.11.6 Re-triggered Capturing ....................................................................... 75
4.1.11.7 Different ways to access the acquired data of a Capture object ........ 76
4.1.11.8 Capture Result ................................................................................... 77
4.1.11.9 Capture Results, trigger delays and capture events .......................... 78
4.1.11.10 Document Handling for Capture Data ................................................ 85
4.1.11.11 Usage of Capturing ............................................................................ 86
4.2 Model access Port ......................................................................................... 89
4.2.1 User Concept ....................................................................................... 89
4.2.1.1 General ............................................................................................... 89
4.2.1.2 Model Access Port class .................................................................... 89
4.2.1.3 States of the MAPort .......................................................................... 90
4.2.2 Usage of this Port ................................................................................ 92
4.2.2.1 Creation and Configuration ................................................................ 92
4.2.2.2 Reading & Writing Model Variables ................................................... 94
4.2.2.3 Relation between MAPort and Capturing / SignalGenerator ............. 97
4.2.2.4 Pausing and stepwise execution of the simulation ............................ 98
5 Symbols and Abbreviated Terms 100
6 Bibliography 101
Appendix A. Syntax of Watcher Conditions 102
A.1. Other restrictions ........................................................................................ 104
A.2. Syntax Overview .......................................................................................... 104
Appendix B. Syntax of ConstSymbol Expressions 107
B.1. Other restrictions ........................................................................................ 109
B.2. Syntax Overview .......................................................................................... 109
Appendix C. Key Value Pairs in CaptureResult MetaData 111
Table of Contents
ASAM AE XIL Simulation Model Access Version 2.1.0
5
Appendix D. Storage of Data in MDF4 112
D.1. Testbench Capture Data ............................................................................. 112
D.1.1. Storage of Client Events .................................................................... 112
Appendix E. Deprecated Elements 114
Figure Directory 115
Table Directory 117
剩余117页未读,继续阅读
资源评论
Jacholy
- 粉丝: 5
- 资源: 7
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功