中国科学技术大学:《嵌入式系统设计方法》课程教学资源(课件讲稿,第二版)嵌入式系统形式化规范与建模(FSM,KPN,SDF)

中围种学技本大学 嵌入式系统形式化规范与建模 李曦 llxx@ustc.edu.cn 计算机系、计算机应用研究室
嵌入式系统形式化规范与建模 李曦 llxx@ustc.edu.cn 计算机系、计算机应用研究室

true 离散系统(discrete system) true /pedestrian waiting sigG sigR ·离散系统 crossing 一系统状态只在有限的时间点或可数的时间点上由随 机事件驱动的系统 ·由异步、突发的事件驱动状态演化 一行为:用其演化过程的状态序列和事件序列来刻画 。7 变迁系统(transition system) 一状态:通常只取有限个离散值 一迁移:系统状态的变化在一个时间点上瞬间完成 ·有标记,无标记 ·离散事件系统、离散事件动态系统 一事件->动作->状态 2/112
离散系统(discrete system) • 离散系统 – 系统状态只在有限的时间点或可数的时间点上由随 机事件驱动的系统 • 由异步、突发的事件驱动状态演化 – 行为:用其演化过程的 用其演化过程的状态序列和事件序列来刻画 • 变迁系统( transition system ) – 状态:通常只取有限个离散值 – 迁移:系统状态的变化在一个时间点上瞬间完成 • 有标记,无标记 • 离散事件系统、离散事件动态系统 – 事件->动作->状态 2/112

ABC:从行为映射到结构 Transport Decode Implemented Behavior vs.Architecture as Software Task Running what does it do?vs.How it is constructed on Microcontroller Communication External DSP Over Bus Processor 12 lo Synch onrol MPEG SP RAM Rate Video Frame Video Front Ead 1 Decode 6 Outpat 8 Peripheral Control Processor Audio Derode Audio Decode System RAM 11 GPPs SPPs Audio Decode Behavior Implemented on Dedicated Hardware
ABC:从行为映射到结构 Behavior vs. Architecture what does it do?vs. How it is constructed llxx@ustc.edu.cn 3/71 GPPs + SPPs

从行为映射到结构:Synthesis悬 ·将一个或多个进程映射到一个或多个处理器 基本步骤 Transformation ·合并、分解一些过程 ·进行一些高层优化:Procedure inlining,Loop unrolling Allocation ·处理器、存储器和总线的选择 controller control panel -Mapping/binding processes Real-time ASIC ucontroller OS UI ·确定过程与处理器间的映射 processes ·确定存储器的容量 DSP ·确定总线间的通讯 Programmable Programmable DSP Assembly DSP DSP Assembly Code - Scheduling Code Dual-ported ·在一个处理器上的多个任务的调度 CODEC RAM ·存储器访问的调度 ·总线通信的调度 ·由设计约束驱动的综合 llxx@ustc.edu.cn 4/71
从行为映射到结构:Synthesis • 将一个或多个进程映射到一个或多个处理器 • 基本步骤 – Transformation • 合并、分解一些过程 • 进行一些高层优化:Procedure inlining,Loop unrolling – Allocation • 处理器、存储器和总线的选择 llxx@ustc.edu.cn 4/71 • 处理器、存储器和总线的选择 – Mapping/binding • 确定过程与处理器间的映射 • 确定存储器的容量 • 确定总线间的通讯 – Scheduling • 在一个处理器上的多个任务的调度 • 存储器访问的调度 • 总线通信的调度 • 由设计约束驱动的综合

RTES系统设计过程:top-down USTC V&V,Analysis! Specification/modeling Requirement Specification H/W&S/W partitioning De ned into chins to extract Scheduling resource allocations reg Reg0si Control Design H/W&S/W implementation Verification debugging FD (HwA Functional Software Architecture HW Arch.Design HW Pwr/ Mod/sim w、旦 Perf Est Somponent Design Arch Mod/Sim Paran Code Gen. Verif. Latency/RT Analysis Alloc./Sched Analysis 5W Deployment
RTES系统设计过程: top-down • Specification/modeling • H/W & S/W partitioning • Scheduling & resource allocations • H/W & S/W implementation • Verification & debugging V & V,Analysis!!!

V&V 。验证Verification vs.确认Validation -验证:Design=Specification? ·保证设计是正确的和完备的 -正确:指精确地实现了SPEC定义的功能、性能等要求 -完备性:描述与所有输入相关的输出 -确认:Design==Requirement? ·形式化验证(Formal verification) 一困难:仅适合于小的设计,或验证某些关键的属性 。 模拟(Simulation)与测试(Testing) 一大多数情况下都采用这种方法 -仅增加了正确性和完备性的可信度 llxx@ustc.edu.cn 6/71
V&V • 验证Verification vs. 确认Validation – 验证:Design == Specification? • 保证设计是正确的和完备的 – 正确:指精确地实现了SPEC定义的功能、性能等要求 – 完备性:描述与所有输入相关的输出 – 确认: Design == Requirement? llxx@ustc.edu.cn 6/71 – 确认: Design == Requirement? • 形式化验证(Formal verification) – 困难:仅适合于小的设计,或验证某些关键的属性 • 模拟(Simulation)与测试(Testing) – 大多数情况下都采用这种方法 – 仅增加了正确性和完备性的可信度

Verification/Validation/Test USTC Verification Testing Validation It focuses on the Hardware It focuses on the correctness of the Revlews Integration functionality of the algorithm,its outputs Fault. product in the real analysis,and SILtest inJection environment according consistency in context Walkthroughs test Uaer to the user of the design Software PiL test HIL Test system Inspection requirements using specifications using Integration Acceptance actual system test iterative test and System test Simulations test components analysis procedures goal simulators and testing for product quality Model analyels procedures for quality improvement checking/ control Static analysls Prototyping Inspectlon llxx@ustc.edu.cn 7/71
Verification/Validation/Test llxx@ustc.edu.cn 7/71

“Y-Chart”Approach for Model--Based Analysis Applications,Platform,Allocation Application Platform Model Model Applic.Constraints Resources QoS .Environment Params .Capacity,speed.etc. .Quality Requirements Reliability(avallabillty .Design Constraints fault tolerance,etc.) Allocation Alloc.Information put Files for .Applic.to Platform Analysis mapping .Allocation-specific properties Analysis Tools Analysis Results Specification of Non-Functional Properties! Generated Code
“Y-Chart” Approach for Model-Based Analysis • Applications,Platform,Allocation

Collaborative Environments CASE Tool Model Checking Code Generation 44 Requirements Manag. Common Repository Analyze Build Code Validate Requirem. Verify Design Integration of V&V Information Reliability Analysis Schedulability Analysis WCET Analysis Performance Simulation
Collaborative Environments

内容提要 Modeling Design Analysis ·系统规约、建模、实现、分析方法:ABC -CBD:分治,结构 -MBD:抽象,分析 Integrate Models to DESIGN-BUILD-VALIDATE-VERIFY 。可视化模型语言 -变迁系统:FSM/HCFSM,Timed Automata -数据流系统:CDFG,数据流进程网络(KPN,SDF) ·应用与工具 到 ·Peter Marwedel,.TU Dortmund教授 战入式系统设计一入式 信息物理系统基础■ -《嵌入式系统设计,嵌入式CPS系统基础》,第2版2011 -第二章:规范与建模 llxx@ustc.edu.cn
内容提要 • 系统规约、建模、实现、分析方法:ABC – CBD:分治,结构 – MBD:抽象,分析 • Integrate Models to DESIGN-BUILD-VALIDATE-VERIFY • 可视化模型语言 llxx@ustc.edu.cn 10/71 – 变迁系统:FSM/HCFSM,Timed Automata – 数据流系统:CDFG,数据流进程网络(KPN,SDF) • 应用与工具 • Peter Marwedel,TU Dortmund教授 – 《嵌入式系统设计·嵌入式CPS系统基础》,第2版2011 – 第二章:规范与建模
按次数下载不扣除下载券;
注册用户24小时内重复下载只扣除一次;
顺序:VIP每日次数-->可用次数-->下载券;
- 中国科学技术大学:《嵌入式系统设计方法》课程教学资源(课件讲稿,第二版)嵌入式操作系统(uC、OSII).pdf
- 中国科学技术大学:《嵌入式系统设计方法》课程教学资源(课件讲稿,第二版)实时调度(多处理器、调度异常、WCET).pdf
- 中国科学技术大学:《嵌入式系统设计方法》课程教学资源(课件讲稿,第二版)实时调度理论(任务调度、可调度性).pdf
- 中国科学技术大学:《嵌入式系统设计方法》课程教学资源(课件讲稿,第二版)嵌入式操作系统(概述).pdf
- 中国科学技术大学:《嵌入式系统设计方法》课程教学资源(课件讲稿,第二版)ARM体系结构与Cortex-M3(Advanced RISC Machines).pdf
- 中国科学技术大学:《嵌入式系统设计方法》课程教学资源(课件讲稿,第二版)嵌入式处理器体系结构.pdf
- 中国科学技术大学:《嵌入式系统设计方法》课程教学资源(课件讲稿,第二版)嵌入式实时系统及设计方法概述(主讲:李曦).pdf
- 中国科学技术大学:《嵌入式系统设计方法》课程教学资源(课件讲稿,第一版)07 低功耗系统设计.pdf
- 中国科学技术大学:《嵌入式系统设计方法》课程教学资源(课件讲稿,第一版)06 分布式DRE系统(时钟同步-TTP).pdf
- 中国科学技术大学:《嵌入式系统设计方法》课程教学资源(课件讲稿,第一版)05 RTE设计方法之CBD与MBD.pdf
- 中国科学技术大学:《嵌入式系统设计方法》课程教学资源(课件讲稿,第一版)05 嵌入式系统的描述与验证.pdf
- 中国科学技术大学:《嵌入式系统设计方法》课程教学资源(课件讲稿,第一版)05 嵌入式系统设计方法——软硬件协同设计方法.pdf
- 中国科学技术大学:《嵌入式系统设计方法》课程教学资源(课件讲稿,第一版)04 实时系统设计(软件设计、控制系统、EA、语言).pdf
- 中国科学技术大学:《嵌入式系统设计方法》课程教学资源(课件讲稿,第一版)04 实时系统设计(实时任务调度).pdf
- 中国科学技术大学:《嵌入式系统设计方法》课程教学资源(课件讲稿,第一版)03 嵌入式操作系统 μC/OS-I分析.pdf
- 中国科学技术大学:《嵌入式系统设计方法》课程教学资源(课件讲稿,第一版)03 嵌入式操作系统.pdf
- 中国科学技术大学:《嵌入式系统设计方法》课程教学资源(课件讲稿,第一版)02 ARM指令集.pdf
- 中国科学技术大学:《嵌入式系统设计方法》课程教学资源(课件讲稿,第一版)02 ARM体系结构(Advanced RISC Machines).pdf
- 中国科学技术大学:《嵌入式系统设计方法》课程教学资源(课件讲稿,第一版)01 嵌入式实时系统设计方法概论(主讲:李曦)Embedded real-time systems(Embedded Computing).pdf
- 中国科学技术大学:《计算机组成原理》课程教学资源(课件讲稿,2023)15 IO系统——外设、输入输出系统.pdf
- 中国科学技术大学:《嵌入式系统设计方法》课程教学资源(课件讲稿,第二版)设计验证与需求确认(嵌入式系统的属性与验证).pdf
- 中国科学技术大学:《嵌入式系统设计方法》课程教学资源(课件讲稿,第二版)实时嵌入式软件设计(控制系统,DARTS,EA,语言).pdf
- 中国科学技术大学:《嵌入式系统设计方法》课程教学资源(课件讲稿,第二版)RTE规范与建模方法之 Domain Specific Modeling Languages(MARTE、AADL、Autosar).pdf
- 佛山开放大学:《SQL Server 2000 程序设计》课程教学资源(PPT课件)第12章 ODBC数据库应用程序开发.ppt
- 佛山开放大学:《SQL Server 2000 程序设计》课程教学资源(PPT课件)第2章 数据库文件管理.ppt
- 佛山开放大学:《SQL Server 2000 程序设计》课程教学资源(PPT课件)第10章 服务器性能和活动监视.ppt
- 佛山开放大学:《SQL Server 2000 程序设计》课程教学资源(PPT课件)第1章 SQL Sever2000概述(教师:孟艳敏).ppt
- 佛山开放大学:《SQL Server 2000 程序设计》课程教学资源(PPT课件)第3章 表和表数据的操作.ppt
- 佛山开放大学:《SQL Server 2000 程序设计》课程教学资源(PPT课件)第4章 约束、默认和规则.ppt
- 佛山开放大学:《SQL Server 2000 程序设计》课程教学资源(PPT课件)第5章 关系、索引和视图.ppt
- 佛山开放大学:《SQL Server 2000 程序设计》课程教学资源(PPT课件)第6章 T-SQL程序设计.ppt
- 佛山开放大学:《SQL Server 2000 程序设计》课程教学资源(PPT课件)第7章 存储过程和触发器.ppt
- 佛山开放大学:《SQL Server 2000 程序设计》课程教学资源(PPT课件)第8章 数据的备份和恢复.ppt
- 佛山开放大学:《SQL Server 2000 程序设计》课程教学资源(PPT课件)第9章 安全管理.ppt
- 中国信通院:勒索病毒安全防护手册(2021年9月).pdf
- 全国信息安全标准化技术委员会:大数据安全标准化白皮书(2018版).pdf
- 中国科学技术大学:Non-Uniform Recursive Doo-Sabin Surfaces.pdf
- 中国科学技术大学:Non-Uniform Recursive Doo-Sabin Surfaces.pdf
- 中国科学技术大学:Distance Between a Catmull-Clark Subdivision Surface and Its Limit Mesh.ppt
- 中国科学技术大学:Distance Between a Catmull-Clark Subdivision Surface and Its Limit Mesh.pdf