用方面化特征模块开发OpenRISC1200软核  

Re-development of OpenRISC1200 Soft Core with Aspectual Feature Module

在线阅读下载全文

作  者:吴斌[1] 叶俊[1] 

机构地区:[1]国防科技大学计算机学院

出  处:《计算机与现代化》2011年第7期130-135,共6页Computer and Modernization

摘  要:对OpenCores上的OpenRISC1200项目(简称OR1200)的统计发现,条件编译指令的使用高达714次,嵌入在条件编译指令间的代码占代码总量的61.60%。条件编译在硬件开发中被大量使用,但在软件开发时却并不提倡。因此,本文提出用方面化特征模块(AFM)开发硬件系统,以避免条件编译指令的使用。作为案例,本文给出用AFM重新开发OR1200项目的过程,它使得OR1200各features的开发从同时开发变为顺序开发,使得服务于各feature的代码从纠缠在一起变为相互独立,有利于OR1200的维护和调试。最后,基于OR1200的开发过程,本文建立了一套AFM开发方法下的硬件系统的形式化模型,它是进一步的形式化验证工作的基础。The statistics on the OpenRISC1200 project(OR1200 for short) shows that the use of conditional compilation directives reaches up to 714 times,and the lines of code embedded in conditional compilation directives account for 61.60% of the total.Conditional compilation has been widely used in hardware development;however in software development it is not advocated.Therefore,the paper proposes to develop hardware system with Aspectual Feature Module(AFM) so as to avoid the use of conditional compilation.As an example,this paper presents the process of our re-development of OR1200 with AFM.AFM changes the simultaneous development of all features of OR1200 to one-by-one development,and turns the code serving for each feature from tangled to mutual separated.Therefore,it helps a lot for the development and maintenance of OR1200.The paper provides an evident that AFM really can be used in practical hardware design.

关 键 词:方面化特征模块 OpenRISC1200 

分 类 号:TP311[自动化与计算机技术—计算机软件与理论]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象