实例介绍
AADL Model-Based Engineering
AADL: Components and connections Component type identifier r……… Component Category ·data subprogram component category · thread application extends [component type] features · thread group features ·port process flow specification port group properties parameter memory device atform access subprog ocessor/virt processor bus/virt bus implements · systen abstract composite type is one of Properties Package standard Component implementation publ user defined component classifier identifier private extends icomponent implementation component classifier refines type subcomponents Propel rty set connections m■■■a口 call sequences Connections property types modes◆ data property definitions flow implementation end-to-end flows event property values properties, event data port group access modes mode transitions mode configurations more details ■■■■■■■■■■■■■■■ A Software Engineering Institute Carnegie Mellon AADL Introduction Peter Feiler, June 2009 c 2009 Carnegie P ellon University Application Components System hierarchical organization of components System Process: protected address space process Thread group: organization of threads in processes Thread group Thread: a schedulable unit of concurrent execution Thread冖气 Data: potentially sharable data data typing data Subprogram: callable unit of sequential code < Subprogram AADL Introduction Software Engineering Institute CarnegieMellon Peter Feiler,'une 2009 c 2009 Carnegie Mellon University Execution Platform Components Processor- provides thread scheduling and execution services rocessor Virtual processor -hierarchical schedulers partitions rtual Processor Memory -provides storage for data and source code Memory Bus provides physical connectivity between hardware components (Bus Virtual bus-virtual channels& protocols irt Bus Device -interface to external environment, physical components levice A Software Engineering Institute Carnegie Mellon AADL Introduction Peter Feiler, June 2009 c 2009 Carnegie P ellon University System Type System system GPS features speed data: in data port metric_speed ISEI:: BaseType = UInt16ii geo_db: requires data access realtime geoDB s__control_data: out data port state controli flows speed control: flow path [type] extends speed data ->control_datai features properties sEI:: redundancy = duali flows end gPS; properties speed data GPS s control data geo db AADL Introduction Software Engineering Institute CarnegieMellon Peter Feiler, June 2009 c 2009 Carnegie Mellon University System Implementation system implementation GPS secure implementation] extends subcomponents refines type decoder: system PGP_ decoder basici subcomponents encoder: system PGP_encoder basici calIs connections receiver: system GPsreceiver basici flows connec七i。ns modes cl: data port speed data decoder. ini properties C2: data port decoder. out recelver·1n c3: data port receiver out encoder. ini C4: data port encoder. out-> control datai flows speed_control: flow path speed_data - cl decoder. fs1 ->c2 -> receiver. fs1 c3 - decoder. fs1 >C4->s control datai modes none properties arch: redundancy scheme = Primary Backup end GPSi Software Engineering Institute Carnegie Mellon AADL Introduction Peter Feiler, June 2009 c 2009 Carnegie Mellon University Some Standard Properties Dispatch_Protocol=> Periodic Thread Period => 100 ms Compute Deadline => value(Period) Compute Execution Time=> 10 ms. 20 ms Code to be executed on dispatch Compute Entrypoint=> speed control Source Text = "waypoint. java Source Code size=>12 KB File containing the application code Thread Swap Execution Time = 5 us. 10 us; Processor Clock Jitter=>5 ps Allowed_Message Size=>1 KB Protocols is a user Bus Propagation Delay=>1ps. 2ps, defined property Bus Properties: Protocols=> CSMA, 2 AADL Introduction Software Engineering Institute CarnegieMellon Peter Feiler, June 2009 8 c 2009 Carnegie Mellon University Latency Impact of Partitions Sensor Request for new page New page content display ············· anager Latency contribution ge Conten Manager Partition period per partition hop Flight Manager Flight Director Software Engineering Institute Carnegie Mellon AADL Introduction Peter Feiler, June 2009 c 2009 Carnegie Mellon University Flow Sources, paths, sinks Brake Cruise Control Throttle Pedal actuator device brake pedal £ eatures brake_status: out data port bopl_typei f1。ws 1Ow1:f1。ws。 urce brake_ status; encs system cruise control features brake status: in data port i throttle_setting: out data port f1。ws brake flow 1: flow path brake status throttle_ setting end device throttle actuator Features throttle_setting: in data port float/typei flows Flowl: flow sink throttle_setting A Software Engineering Institute Carnegie Mellon AADL Introduction Peter Feiler,{u∷e2009 c 2009 Carnegie Me!on University 【实例截图】
【核心代码】
标签:
小贴士
感谢您为本站写下的评论,您的评论对其它用户来说具有重要的参考价值,所以请认真填写。
- 类似“顶”、“沙发”之类没有营养的文字,对勤劳贡献的楼主来说是令人沮丧的反馈信息。
- 相信您也不想看到一排文字/表情墙,所以请不要反馈意义不大的重复字符,也请尽量不要纯表情的回复。
- 提问之前请再仔细看一遍楼主的说明,或许是您遗漏了。
- 请勿到处挖坑绊人、招贴广告。既占空间让人厌烦,又没人会搭理,于人于己都无利。
关于好例子网
本站旨在为广大IT学习爱好者提供一个非营利性互相学习交流分享平台。本站所有资源都可以被免费获取学习研究。本站资源来自网友分享,对搜索内容的合法性不具有预见性、识别性、控制性,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,平台无法对用户传输的作品、信息、内容的权属或合法性、安全性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论平台是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二与二十三条之规定,若资源存在侵权或相关问题请联系本站客服人员,点此联系我们。关于更多版权及免责申明参见 版权及免责申明
网友评论
我要评论