首页> 外国专利> Automatic compilation of model equations into a gradient based analog simulator

Automatic compilation of model equations into a gradient based analog simulator

机译:将模型方程式自动编译到基于梯度的模拟模拟器中

摘要

A method allows analog device model descriptions to be described in a suitable language and then automatically converted into the language of the simulator in a form that facilitates gradient-based calculations. The method can include the steps of: entering a high-level description of the component model by naming the model, declaring parameters, specifying argument-independent equations, describing a topology of the model, declaring arguments, and specifying argument-dependent equations. Then, compiling the high-level description to produce model behavior code parse trees and model structure data, analyzing the data-flow of the model behavior code parse trees to produce verified parse trees and error messages for those variables referenced but not defined, debugging the model behavior code parse trees and model structure data, translating the verified parse trees to produce scalar-code parse trees according to a selected translation mode, the scalar code parse trees including objects that manipulate expressions containing derivatives with respect to an argument, checking the argument dependence of the scalar-code parse trees to produce repartitioned scalar code parse trees, and filling in the data required by simulator model templates to convert the repartitioned scalar code parse trees into code in the computer programming language used by the simulator.
机译:一种方法允许以合适的语言描述模拟设备模型描述,然后以有助于基于梯度的计算的形式自动转换为模拟器的语言。该方法可以包括以下步骤:通过命名模型,声明参数,指定与参数无关的方程式,描述模型的拓扑结构,声明参数以及指定与参数相关的方程式来输入组件模型的高级描述。然后,编译高级描述以生成模型行为代码解析树和模型结构数据,分析模型行为代码解析树的数据流,以生成经过验证的解析树和针对所引用但未定义的那些变量的错误消息,调试模型行为代码解析树和模型结构数据,根据选定的转换模式翻译经过验证的解析树,以生成标量代码解析树,该标量代码解析树包括对象,该对象操作针对参数的包含导数的表达式,并检查参数依赖标量代码解析树以生成重新划分的标量代码解析树,并填充模拟器模型模板所需的数据,以将重新划分的标量代码解析树转换为模拟器所使用的计算机编程语言中的代码。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号