首页> 外国专利> Automatic generation of hardware simulation interface code using pre-processor macros

Automatic generation of hardware simulation interface code using pre-processor macros

机译:使用预处理器宏自动生成硬件仿真接口代码

摘要

A memory map wrapper may be used to provide an interface between a model and a system with which the model interacts. The memory map wrapper may be designed to provide an interface for source code implementing the model. The memory-map wrapper may include a source code section that describes a mapping between memory regions corresponding to first and second sets of signals and between the source code implementing the model, the mapping defined using macros in memory map wrapper code in which configuration information describing the first and second signals is provided as one or more parameters associated with the source code section. Additionally, a preprocessor component may expand the macros in the memory map wrapper code based on the provided one or more parameters to output expanded memory map wrapper code.
机译:存储器映射包装器可用于提供模型与模型交互的系统之间的接口。存储器映射包装器可以被设计为提供用于实现模型的源代码的接口。存储器映射包装器可以包括源代码部分,该源代码部分描述了与第一和第二组信号相对应的存储器区域之间以及实现模型的源代码之间的映射,该映射使用存储器映射包装器代码中的宏定义,其中配置信息描述了提供第一和第二信号作为与源代码部分关联的一个或多个参数。另外,预处理器组件可以基于所提供的一个或多个参数来扩展存储器映射包装器代码中的宏,以输出扩展的存储器映射包装器代码。

著录项

  • 公开/公告号US8839187B1

    专利类型

  • 公开/公告日2014-09-16

    原文格式PDF

  • 申请/专利权人 YING-ON YAN;

    申请/专利号US20090625000

  • 发明设计人 YING-ON YAN;

    申请日2009-11-24

  • 分类号G06F9/44;G06F9/45;

  • 国家 US

  • 入库时间 2022-08-21 16:04:45

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号