JP7156094B2 - 自動コード生成方法、及び自動コード生成プログラム - Google Patents
自動コード生成方法、及び自動コード生成プログラム Download PDFInfo
- Publication number
- JP7156094B2 JP7156094B2 JP2019039499A JP2019039499A JP7156094B2 JP 7156094 B2 JP7156094 B2 JP 7156094B2 JP 2019039499 A JP2019039499 A JP 2019039499A JP 2019039499 A JP2019039499 A JP 2019039499A JP 7156094 B2 JP7156094 B2 JP 7156094B2
- Authority
- JP
- Japan
- Prior art keywords
- code
- block
- unsupported
- automatic
- targetlink
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/30—Creation or generation of source code
- G06F8/35—Creation or generation of source code model driven
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Stored Programmes (AREA)
Description
本発明の目的は、極力簡便にCコードを自動生成できるようにした自動コード生成方法及び自動コード生成プログラムを提供することにある。
Claims (8)
- 自動コード生成装置は、Simulink(登録商標)のモデルからC言語のソースコード(以下、Cコードと称す)を自動生成するツールとしてTargetLink(登録商標)を用い、前記TargetLinkにより前記Cコードを自動生成不可能な未対応のSimulinkのブロック(以下、未対応ブロック)が存在するか否かを判定し(S2)、
前記自動コード生成装置が、前記未対応ブロックが存在すると判定されたときには前記未対応ブロックを抽出し前記未対応ブロックを含むモデルから前記Simulinkに備わる自動コード生成機能により前記未対応ブロックの前記Cコードを自動コード生成する(S3~S5)自動コード生成方法。 - 前記自動コード生成装置が、複数の前記未対応ブロックが存在するときには、前記未対応ブロックごとに前記Cコードを自動コード生成する請求項1記載の自動コード生成方法。
- 前記自動コード生成装置が、前記未対応ブロックごとに生成された前記Cコードを、前記TargetLinkのユーザにより自由にブロックを生成可能にするカスタムコードブロック(136)に登録する(S6)請求項2記載の自動コード生成方法。
- 前記自動コード生成装置が、前記未対応ブロックを前記カスタムコードブロックに置換し、前記TargetLinkにより自動コード生成する(S7、S8)請求項3記載の自動コード生成方法。
- SimulinkのモデルからC言語のソースコード(以下、Cコードと称す)を自動生成するツールとしてTargetLinkを用いて自動コード生成する自動コード生成装置(1)に、
前記TargetLinkにより前記Cコードを自動生成不可能な未対応のSimulinkのブロック(以下、未対応ブロック)が存在するか否かを判定する(S2)手順と、
前記未対応ブロックが存在すると判定されたときには前記未対応ブロックを抽出し前記未対応ブロックを含むモデルから前記Simulinkに備わる自動コード生成機能により前記未対応ブロックの前記Cコードを自動コード生成する(S3~S5)手順と、
を実行させる自動コード生成プログラム。 - 前記未対応ブロックの前記Cコードを自動コード生成する(S3~S5)手順では、
複数の前記未対応ブロックが存在するときには、前記未対応ブロックごとに前記Cコードを自動コード生成する請求項5記載の自動コード生成プログラム。 - 前記未対応ブロックごとに生成された前記Cコードを、前記TargetLinkのユーザにより自由にブロックを生成可能なカスタムコードブロック(136)に登録する(S6)手順をさらに備える請求項6記載の自動コード生成プログラム。
- 前記未対応ブロックを前記カスタムコードブロックに置換し、前記TargetLinkにより自 動コード生成する(S7、S8)手順、をさらに備える請求項7記載の自動コード生成プログラム。
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2019039499A JP7156094B2 (ja) | 2019-03-05 | 2019-03-05 | 自動コード生成方法、及び自動コード生成プログラム |
DE102020202723.4A DE102020202723A1 (de) | 2019-03-05 | 2020-03-03 | Automatische-Codeerzeugung-Verfahren und computerlesbares Speichermedium, das ein Automatische-Codeerzeugung-Programm speichert |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2019039499A JP7156094B2 (ja) | 2019-03-05 | 2019-03-05 | 自動コード生成方法、及び自動コード生成プログラム |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2020144509A JP2020144509A (ja) | 2020-09-10 |
JP7156094B2 true JP7156094B2 (ja) | 2022-10-19 |
Family
ID=72146785
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2019039499A Active JP7156094B2 (ja) | 2019-03-05 | 2019-03-05 | 自動コード生成方法、及び自動コード生成プログラム |
Country Status (2)
Country | Link |
---|---|
JP (1) | JP7156094B2 (ja) |
DE (1) | DE102020202723A1 (ja) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112162746B (zh) * | 2020-10-29 | 2022-07-05 | 中国人民解放军国防科技大学 | 一种基于网络知识汇聚和迭代式搜索的程序自动构造方法 |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2007524156A (ja) | 2003-12-22 | 2007-08-23 | ザ マスワークス, インク | グラフィカルプログラミング環境における入力データのブロック処理 |
JP2013161219A (ja) | 2012-02-03 | 2013-08-19 | Denso Corp | コード生成装置、及びコード生成プログラム |
-
2019
- 2019-03-05 JP JP2019039499A patent/JP7156094B2/ja active Active
-
2020
- 2020-03-03 DE DE102020202723.4A patent/DE102020202723A1/de active Pending
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2007524156A (ja) | 2003-12-22 | 2007-08-23 | ザ マスワークス, インク | グラフィカルプログラミング環境における入力データのブロック処理 |
JP2013161219A (ja) | 2012-02-03 | 2013-08-19 | Denso Corp | コード生成装置、及びコード生成プログラム |
Non-Patent Citations (1)
Title |
---|
Reactive Systems, Inc.,Testing TargetLink Models and C Code with Reactis,Reactis White Papers,2015年02月15日,https://reactive-systems.com/papers/reactis_targetlink.pdf,[2022年6月21日検索] |
Also Published As
Publication number | Publication date |
---|---|
JP2020144509A (ja) | 2020-09-10 |
DE102020202723A1 (de) | 2020-09-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
Bouchet et al. | ICARE software components for rapidly developing multimodal interfaces | |
US11175895B2 (en) | Code generation and simulation for graphical programming | |
JPH11513512A (ja) | ディジタル信号プロセッサの製造方法 | |
US8527254B2 (en) | Simulator engine development system and simulator engine development method | |
US20070240100A1 (en) | Computer software adaptation method and system | |
JPH09259153A (ja) | バッチ実行制御プログラム作成装置及び方法 | |
US20070038947A1 (en) | Method and device for generation of a parametric model associated with a 3D geometry | |
JP5162530B2 (ja) | ロボットのタスクモデルの生成及び実行方法と装置 | |
JP7156094B2 (ja) | 自動コード生成方法、及び自動コード生成プログラム | |
KR102300005B1 (ko) | 소프트웨어 컴포넌트를 표현하는 각각의 그래픽 객체 간의 연결 조작을 이용한 소프트웨어 개발 어시스트 방법 및 그 시스템 | |
US10394529B2 (en) | Development platform of mobile native applications | |
US8650517B1 (en) | Automatically documenting circuit designs | |
Utkin et al. | Automated construction of software configuration tables for real-time systems in avionics | |
US9558305B1 (en) | Automatic modeling, mapping, and code generation for homogeneous and heterogeneous platforms | |
CN106126213A (zh) | 一种基于IFML的Android开发建模方法 | |
JP2005222221A (ja) | 組込コントローラ開発ツール、組込コントローラ、及び組込コントローラ開発プロセス | |
JP2008305021A (ja) | 情報処理装置及びアプリケーション管理方法 | |
JP2002091762A (ja) | プログラム生成装置 | |
KR20200022254A (ko) | 자기 정의 명세서 기반 os 설정 장치 및 방법 | |
JP2011165051A (ja) | 開発支援装置及び方法並びにプログラム | |
US20230176832A1 (en) | Program creation assistance device | |
US10353363B1 (en) | Function receive block, function send block, and computer-implemented method for computer-aided generation of an executable control program | |
JP4895374B2 (ja) | ソフトウェア成果物生成方法及びそのシステム | |
US7885800B1 (en) | Synchronous models in modeling environments | |
KR20240009757A (ko) | 오토사 스택 가상화를 통한 윈도우 기반의 차량용 소프트웨어 시뮬레이션 장치 및 방법 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20210716 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20220617 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20220628 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20220713 |
|
TRDD | Decision of grant or rejection written | ||
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20220906 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20220919 |
|
R151 | Written notification of patent or utility model registration |
Ref document number: 7156094 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R151 |