检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
机构地区:[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[自动化与计算机技术—计算机软件与理论]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:216.73.216.222