Item type |
Symposium(1) |
公開日 |
2016-08-24 |
タイトル |
|
|
タイトル |
ハードウェア記述言語におけるコードクローンの調査 |
タイトル |
|
|
言語 |
en |
|
タイトル |
Investigation for Code Clone in Hardware Description Language |
言語 |
|
|
言語 |
jpn |
キーワード |
|
|
主題Scheme |
Other |
|
主題 |
プログラム解析 |
資源タイプ |
|
|
資源タイプ識別子 |
http://purl.org/coar/resource_type/c_5794 |
|
資源タイプ |
conference paper |
著者所属 |
|
|
|
奈良先端科学技術大学院大学 |
著者所属 |
|
|
|
豊田工業高等専門学校 |
著者所属 |
|
|
|
奈良先端科学技術大学院大学 |
著者所属 |
|
|
|
奈良先端科学技術大学院大学 |
著者所属(英) |
|
|
|
en |
|
|
Nara Institute of Science and Technology |
著者所属(英) |
|
|
|
en |
|
|
National Institute of Technology, Toyota College |
著者所属(英) |
|
|
|
en |
|
|
Nara Institute of Science and Technology |
著者所属(英) |
|
|
|
en |
|
|
Nara Institute of Science and Technology |
著者名 |
上村, 恭平
藤原, 賢二
崔, 恩瀞
飯田, 元
|
論文抄録 |
|
|
内容記述タイプ |
Other |
|
内容記述 |
本論文はハードウェア記述言語 (HDL) におけるコードクローンの特徴を明らかにすることを目的とする.類似あるいは一致するコードの断片であるコードクローンは,ソフトウェアにおいて品質や保守性を低下させる要因の一つであると言われている.ソフトウェアと同様に,HDL コードにおいてもコードクローンが存在し,品質や保守性に悪影響を与えている可能性があるが,HDL におけるコードクローンに着目した研究は報告されていない.本論文では代表的な HDL である Verilog HDL コードを擬似的な C++ コードに変換することで,既存のツールを用いてコードクローンを検出する簡易な手法を提案する.加えて,オープンソースで開発されている回路を対象としたケーススタディによる調査結果を報告する.調査の結果,3 つのプロジェクトに含まれる 1 万 9 千行のコード中から 364 組のクローンセットが検出された.また,検出されたコードクローンを観察した結果,Verilog HDL におけるコードクローンは回路の性能と言語の仕様上の制約により作られており,また,除去することが困難であることが確認された. |
論文抄録(英) |
|
|
内容記述タイプ |
Other |
|
内容記述 |
The purpose of this study is to investigate the existence of code clones (i.e. code fragments that have similar or identical code fragments in the source code) and affectabillity to its quality for Hardware Description Language (HDL). There is a high possibility that code clones in software systems present a negative impact to the source code. Since HDL is similar to programming languages, code clones in HDL code may cause bugs. This paper proposes a technique that detects code clones from Verilog HDL, which is one of the most commonly used HDL. Basic idea of the technique is converting Verilog HDL code to Pseudo-C++ code so that CCFinderX can take and parse them. In addition, we conducted a case study to investigate the characteristics of the code clones in the three open source hardware projects. As a result, 364 clone sets are detected from 19 kLoC Verilog HDL code. The case study shows that merging these code clones is difficult, because of circuit performance and specification of Verilog HDL. |
書誌情報 |
ソフトウェアエンジニアリングシンポジウム2016論文集
巻 2016,
p. 78-85,
発行日 2016-08-24
|
出版者 |
|
|
言語 |
ja |
|
出版者 |
情報処理学会 |