跨多语言的与制造技术

技术编号:39662434 阅读:13 留言:0更新日期:2023-12-11 18:25
本发明专利技术涉及一种跨多语言的与

【技术实现步骤摘要】
跨多语言的与EDA软件SystemVue集成调度的方法


[0001]本专利技术涉及一种跨多语言的与
EDA
软件
SystemVue
集成调度的方法,属于软件集成



技术介绍

[0002]SystemVue
是一款电子设计自动化
(EDA)
软件,专门运用在电子系统层级设计,让使用者快速模拟并验证自己设计的通讯系统

在实际设计使用过程中,存在与其它建模

设计

仿真工具的集成调度应用场景,由于
SystemVue
的二次开发接口主要基于
VBScript
脚本语言,而其它建模仿真工具一般由
C++、JAVA、Python
等编程语言实现,对应的二次开发接口一般也以
C++、JAVA、Python
语言为主,这就带来了异构语言之间数据交互及集成调度所带来的开发复杂度和学习成本


技术实现思路

[0003]为了解决上述技术问题,本专利技术公开了一种跨多语言的与
EDA
软件
SystemVue
集成调度的方法,其具体技术方案如下:
[0004]跨多语言的与
EDA
软件
SystemVue
集成调度的方法,包括:
[0005]步骤
S1
:编写
SystemVueCaller.exe
驱动程序
[0006]步骤
S11
:通过
C#
语言编写
SystemVueCaller.exe
驱动程序:通过
Visual Studio
编程工具,新建
SystemVueCaller
项目工程,引入
SystemVue
二次开发
dll
依赖库,编写
C#
程序,在
C#
程序中调用
SystemVue
软件的二次开发编程
API
接口,在相应接口中编写具体的
VBScript
脚本,实现驱动程序的具体逻辑的实现

[0007]步骤
S12
:定义待调用的
SystemVue
软件的核心功能调用函数接口及入参,
SystemVue
软件是一款
EDA
软件,
SystemVueCaller.exe
是本专利开发出来用于调用
SystemVue
软件的驱动程序;
[0008]SystemVueCaller.exe
驱动程序与
SystemVue
软件具体调用方式如下:
[0009]SystemVue
软件提供了
c#
的二次开发
dll
依赖库,
SystemVueCaller.exe
驱动程序通过编写
C#
代码,在代码中调用
SystemVue
软件
dll
依赖库中的相关编程
API
接口,来实现与
SystemVue
软件的集成;
[0010]步骤
S13
:通过
VBScript
脚本语言调用
SystemVue
软件的核心功能调用函数接口,
SystemVue
软件提供了
dll
依赖库,其中依赖库里面提供了
RunScript
方法,该方法入参就是
VBScript
脚本字符串,
SystemVueCall.exe
程序调用该方法,传入带有业务逻辑的
VBScript
脚本字符串,实现与
SystemVue
软件的集成;
[0011]步骤
S14
:若调用成功,则输出调用结果信息;若调用不成功,则返回步骤
S11

[0012]步骤
S2
:编译
SystemVueCaller.exe
驱动程序源码,生成
SystemVueCaller.exe
驱动程序:
[0013]安装
.net framework4.0
运行环境,
[0014]安装
Visual Studio IDE
开发工具,
[0015]使用
Visual Studio IDE
开发工具导入
SystemVueCaller.exe
驱动程序的源码,
[0016]通过
Visual Studio IDE
开发工具进行编译源码,
[0017]若编译源码成功,则生成
SystemVueCaller.exe
驱动程序,
[0018]若编译源码不成功,则先修复编译错误,直到编译源码成功;
[0019]修复编译错误的过程为:程序员修复,编译失败,
Visual Studio IDE
开发工具会提示具体的出错信息和出错位置,由程序员根据提示信息进行代码修改,修改完再次编译直到成功为止

[0020]步骤
S3
:调用
SystemVueCaller.exe
驱动程序,实现与
SystemVue
软件的集成调度:
[0021]其中调用
SystemVueCaller.exe
驱动程序,包括:
[0022]步骤
S31
:调用命令行程序的程序接口,
[0023]步骤
S32
:在程序接口中调用
SystemVueCaller.exe
驱动程序,
[0024]步骤
S33
:通过调用
SystemVueCaller.exe
驱动程序的核心功能调用函数及入参,实现与
SystemVue
软件的集成调度

[0025]进一步的,所述步骤
S11
:通过
C#
语言编写
SystemVueCaller.exe
驱动程序,第三方应用程序
(
此处第三方应用程序是泛称,任何需要调用
SystemVue
软件并与之进行集成的软件,都可称为第三方应用程序,具体包括一些建模工具软件

仿真工具软件

设计工具软件等等
)
通过命令行代码调用
SystemVueCaller.exe
驱动程序,间接与
SystemVue...

【技术保护点】

【技术特征摘要】
1.
跨多语言的与
EDA
软件
SystemVue
集成调度的方法,其特征在于,包括:步骤
S1
:编写
SystemVueCaller.exe
驱动程序:步骤
S11
:通过
C#
语言编写
SystemVueCaller.exe
驱动程序:通过
VisualStudio
编程工具,新建
SystemVueCaller
项目工程,引入
SystemVue
二次开发
dll
依赖库,编写
C#
程序,在
C#
程序中调用
SystemVue
软件的二次开发编程
API
接口,在相应接口中编写具体的
VBScript
脚本,实现驱动程序的具体逻辑的实现;步骤
S12
:定义待调用的
SystemVue
软件的核心功能调用函数接口及入参,
SystemVue
软件是一款
EDA
软件,
SystemVueCaller.exe
是本专利开发出来用于调用
SystemVue
软件的驱动程序;
SystemVueCaller.exe
驱动程序与
SystemVue
软件具体调用方式如下:
SystemVue
软件提供了
c#
的二次开发
dll
依赖库,
SystemVueCaller.exe
驱动程序通过编写
C#
代码,在代码中调用
SystemVue
软件
dll
依赖库中的相关编程
API
接口,来实现与
SystemVue
软件的集成;步骤
S13
:通过
VBScript
脚本语言调用
SystemVue
软件的核心功能调用函数接口,
SystemVue
软件提供了
dll
依赖库,其中
dll
依赖库里面提供了
RunScript
方法,该方法入参就是
VBScript
脚本字符串,
SystemVueCall.exe
程序调用该方法,传入带有业务逻辑的
VBScript
脚本字符串,实现与
SystemVue
软件的集成;步骤
S14
:若调用成功,则输出调用结果信息;若调用不成功,则返回步骤
S11
;步骤
S2
:编译
SystemVueCaller.exe
驱动程序源码,生成
SystemVueCaller.exe
驱动程序:安装
.net framework4.0
运行环境,安装
Visual Studio IDE
开发工具,使用
Visual Studio IDE
开发工具导入
SystemVueCaller.exe
驱动程序的源码,通过
Visual Studio IDE
开发工具进行编译源码,若编译源码成功,则生成
SystemVueCaller.exe
驱动程序,若编译源码不成功,则先修复编译错误,直到编译源码成功;步骤
S3
:调用
SystemVueCaller.exe
驱动程序,实现与
SystemVue
软件的集成调度:其中调用
SystemVueCaller.exe
驱动程序,包括:步骤
S31
:调用命令行程序的程序接口,步骤
S32
:在程序接口中调用
SystemVueCaller.exe
驱动程序,步骤
S33
:通过调用
SystemVueCaller.exe
驱动程序的核心功能调用函数及入参,实现与
SystemVue
软件的集成调度
。2.
根据权利要求1所述的跨多语言的与
EDA
软件
SystemVue
集成调度的方法,其特征在于,所述步骤
S11
:通过
C#
语言编写
SystemVueCaller.exe
驱动程序,第三方应用程序通过命令行代码调用
SystemVueCaller.exe
驱动程序,间接与
SystemVue
进行集成调度,包括:获取
SystemVueCaller.exe
驱动程序的功能函数
API
列表及入参,第三方应用程序是通过命令行代码的方式来调用
SystemVueCaller.exe
驱动程序,此时第三方应用程序可以通过代码查看
SystemVueCaller.exe
驱动程序提供的所有功能函数
API
,调用具体的功能函数
SystemVueCaller.exe
驱动程序判断所调用函数及入参是否合法;
若函数及入参合法,则调用
SystemVueCaller.exe
驱动程序提供的核心功能函数所对应的具体功能实现;若函数及入参不合法,则
SystemVueCaller.exe
驱动程序抛异常提示函数不存在或参数不合法
。3.
根据权利要求1所述的跨多语言的与
EDA
软件
SystemVue
集成调度的方法,其特征在于,所述步骤
S12
中所述
SystemVueCaller.exe
驱动程序提供了核心功能函数包括
RunScri...

【专利技术属性】
技术研发人员:余洋陈超余翔刘锴刘若琳胡亮兵闫小明
申请(专利权)人:南京国睿信维软件有限公司
类型:发明
国别省市:

网友询问留言 已有0条评论
  • 还没有人留言评论。发表了对其他浏览者有用的留言会获得科技券。

1