Domain-specific programming assistance in an embedded DSL for generating processor emulators
Domain-specific programming assistance in an embedded DSL for generating processor emulators
复制标题
嵌入式 DSL 中用于生成处理器仿真器的特定领域编程帮助
DOI:
10.1145/3412841.3442000
复制
发表时间:
2021
期刊:
影响因子:
--
通讯作者:
Chiba Shigeru
中科院分区:
文献类型:
--
作者:
Okuda Katsumi;Chiba Shigeru
This paper presents a design approach for developing an embedded domain-specific language (DSL) with domain-specific programming assistance. To demonstrate the proposed approach, we describe the design of our processor description language called MELTRANS, which is an embedded DSL hosted by Java. MELTRANS is used to generate a fast processor emulator with dynamic binary translation. Although such embedded DSLs have provided only poor domain-specific assistance for programming, MELTRANS improves this poorness. Our idea is to let the integrated development environment (IDE) of the host language provide better programming assistance using domain-specific knowledge. To this end, we decompose a program in MELTRANS into several Java classes corresponding to a different concern and set a rule for the description order. The language runtime takes each class and generates not only the code for processor emulators but also superclasses for classes written later. The user writes each class describing a concern as the subclasses of a generated class. The generated classes enable the user to benefit from programming assistance by Java IDEs in a more domain-specific style. While MELTRANS is hosted in Java, the generated emulators are written in C++. To validate our design, we implement several emulators in MELTRANS and perform experiments with them. The results show that our domain-specific programming assistance can effectively reduce the amount of code that needs to be written by the user, and the generated emulators achieve over 1,000 MIPS.
登录
查看更多内容
DOI:
10.1145/1151074.1151083
发表时间:
2006
期刊:
ACM Trans. Embed. Comput. Syst.
影响因子:
--
作者:
Mehrdad Reshadi;N. Dutt;P. Mishra
通讯作者:
P. Mishra
DOI:
10.1109/dac.1997.597162
发表时间:
1997
期刊:
Proceedings of the 34th Design Automation Conference
影响因子:
--
作者:
M. Hartoog;J. Rowson;P. D. Reddy;S. Desai;D. Dunlop;Edwin A. Harcourt;Neeti Khullar
通讯作者:
Neeti Khullar
DOI:
10.1109/hsc.2000.843720
发表时间:
2000
期刊:
Proceedings of the Eighth International Workshop on Hardware/Software Codesign. CODES 2000 (IEEE Cat. No.00TH8518)
影响因子:
--
作者:
F. Engel;J. Nührenberg;G. Fettweis
通讯作者:
G. Fettweis
DOI:
10.1145/2093157.2093161
发表时间:
2011
期刊:
--
影响因子:
--
作者:
M. Kaufmann;Matthias Häsing;Thomas B. Preußer;R. Spallek
通讯作者:
R. Spallek
DOI:
--
发表时间:
2015
期刊:
IEEE International Symposium on Performance Analysis of Systems and Software
影响因子:
--
作者:
Derek Lockhart;Berkin Ilbeyi;C. Batten
通讯作者:
C. Batten