-
公开(公告)号:US20160357534A1
公开(公告)日:2016-12-08
申请号:US15170439
申请日:2016-06-01
Applicant: The MathWorks, Inc.
Inventor: Anand KRISHNAMOORTHI , Kiran K. Kintali , Ebrahim Mehran Mestchian , Srinivas Muddana
IPC: G06F9/45
Abstract: A device may receive input code that includes one or more input objects. The input code may be used in connection with generation of output code. The output code, when generated, may include one or more output objects, corresponding to and different than the one or more input objects. The device may receive or determine conversion information identifying a conversion operation to perform to generate the one or more output objects based on the one or more input objects. The conversion information may be received separately from the input code. The device may generate, based on the conversion information and the input code, an intermediate representation. The intermediate representation may include one or more annotations corresponding to the one or more input objects and defining the conversion operation. The device may compile, based on the intermediate representation, the output code. The device may execute or provide the output code.
Abstract translation: 设备可以接收包括一个或多个输入对象的输入代码。 输入代码可以与生成输出代码一起使用。 输出代码在生成时可以包括与一个或多个输入对象相对应且不同于一个或多个输入对象的一个或多个输出对象。 所述设备可以接收或确定标识转换操作的转换信息,以执行以基于所述一个或多个输入对象生成所述一个或多个输出对象。 转换信息可以与输入代码分离地接收。 设备可以基于转换信息和输入代码生成中间表示。 中间表示可以包括对应于一个或多个输入对象的一个或多个注释并且定义转换操作。 该设备可以基于中间表示来编译输出代码。 该设备可以执行或提供输出代码。
-
公开(公告)号:US10089089B2
公开(公告)日:2018-10-02
申请号:US15170439
申请日:2016-06-01
Applicant: The MathWorks, Inc.
Inventor: Anand Krishnamoorthi , Kiran K. Kintali , Ebrahim Mehran Mestchian , Srinivas Muddana
Abstract: A device may receive input code that includes one or more input objects. The input code may be used in connection with generation of output code. The output code, when generated, may include one or more output objects, corresponding to and different than the one or more input objects. The device may receive or determine conversion information identifying a conversion operation to perform to generate the one or more output objects based on the one or more input objects. The conversion information may be received separately from the input code. The device may generate, based on the conversion information and the input code, an intermediate representation. The intermediate representation may include one or more annotations corresponding to the one or more input objects and defining the conversion operation. The device may compile, based on the intermediate representation, the output code. The device may execute or provide the output code.
-
3.
公开(公告)号:US10168990B1
公开(公告)日:2019-01-01
申请号:US14157821
申请日:2014-01-17
Applicant: The MathWorks, Inc.
Inventor: Muthiah Annamalai , Kiran K. Kintali , Srinivas Muddana
Abstract: A device may receive a floating-point function. The floating-point function may be a function described in a programming language that uses floating-point representation. The device may determine that fixed-point program code, associated with the floating-point function, is to be generated. The device may determine that the floating-point function is to be replaced with a replacement construct before the fixed-point program code is generated. The replacement construct may be described in the programming language and may be capable of conversion from the floating-point representation to a fixed-point representation. The device may determine parameters associated with generating the replacement construct. The parameters may be determined based on an evaluation of the floating-point function. The device may generate the replacement construct based on the parameters. The device may replace the floating-point function with the replacement construct. The device may generate the fixed-point program code based on the replacement construct.
-
公开(公告)号:US09436442B1
公开(公告)日:2016-09-06
申请号:US14097942
申请日:2013-12-05
Applicant: The MathWorks, Inc.
Inventor: Kiran Kintali , Anand Krishnamoorthi , Srinivas Muddana , Richard M. McKeever
Abstract: A method and system for enabling a designer to more easily convert a model of a dynamic system instantiated using floating-point representation such as has been created in a high level design language to fixed-point code suitable for execution in a programmable processor or logic array.
Abstract translation: 一种用于使设计者能够更容易地将使用诸如已经以高级设计语言创建的浮点表示实例化的动态系统的模型转换成适于在可编程处理器或逻辑阵列中执行的定点代码的方法和系统 。
-
-
-