...
首页> 外文期刊>ACM transactions on software engineering and methodology >Automatically Generating SystemC Code from HCSP Formal Models
【24h】

Automatically Generating SystemC Code from HCSP Formal Models

机译:从HCSP正式模型自动生成SystemC代码

获取原文
获取原文并翻译 | 示例
           

摘要

In model-driven design of embedded systems, how to generate code from high-level control models seamlessly and correctly is challenging. This is because hybrid systems are involved with continuous evolution, discrete jumps, and the complicated entanglement between them, while code only contains discrete actions. In this article, we investigate the code generation from Hybrid Communicating Sequential Processes (HCSP), a formal hybrid control model, to SystemC. We first introduce the notion of approximate bisimulation as a criterion to check the consistency between two different systems, especially between the original control model and the final generated code. We prove that it is decidable whether two HCSPs are approximately bisimilar in bounded time and unbounded time with some conditions, respectively. For both the cases, we present two sets of rules correspondingly for discretizing HCSPs and prove that the original HCSP model and the corresponding discretization are approximately bisimilar. Furthermore, based on the discretization, we define a transformation function to map a discretized HCSP model to SystemC code such that they are also approximately bisimilar. We finally implement a tool to automatically realize the translation from HCSP to SystemC code and illustrate our approach through some case studies.
机译:在嵌入式系统的模型驱动设计中,如何无缝,正确地从高级控制模型生成代码是一项挑战。这是因为混合系统涉及连续进化,离散跳跃以及它们之间的复杂纠缠,而代码仅包含离散动作。在本文中,我们研究了从混合通信顺序过程(HCSP)(一种正式的混合控制模型)到SystemC的代码生成。我们首先介绍近似双仿真的概念,作为检查两个不同系统之间,尤其是原始控制模型与最终生成的代码之间一致性的标准。我们证明,在某些条件下,两个HCSP的有界时间和无界时间分别是近似双相似的是可以确定的。对于这两种情况,我们分别提出了两组用于离散化HCSP的规则,并证明了原始HCSP模型和相应的离散化是近似双相似的。此外,基于离散化,我们定义了一个转换函数,以将离散化的HCSP模型映射到SystemC代码,以使它们也近似双相似。我们最终实现了一种工具,可以自动实现从HCSP到SystemC代码的转换,并通过一些案例研究来说明我们的方法。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号