首页 | 本学科首页   官方微博 | 高级检索  
     

基于元编程技术的硬件设计模式研究
引用本文:锁志海,赵季中,吕青. 基于元编程技术的硬件设计模式研究[J]. 西安交通大学学报, 2006, 40(12): 1397-1399,1409
作者姓名:锁志海  赵季中  吕青
作者单位:1. 西安交通大学软件学院,710049,西安
2. 西安交通大学电子与信息工程学院,710049,西安
基金项目:国家科技攻关计划;高等学校博士学科点专项科研项目
摘    要:针对硬件设计的复杂性和自动化效率低等问题,提出了一种基于时钟处理的硬件设计模式.该模式充分考虑了软、硬件模式设计的互通性,并结合元编程技术,将成熟的软件设计模式的思路应用于硬件设计之中.它的核心是:用高速集成电路硬件描述语言(VHDL)解析器分析已知器件的接口,构造语法树,抽取生成器的变量值;将生成器用元程序封装在域实体之中;按照设计模式的作用和具体的变量值生成详细的VHDL代码.应用实例表明,所提模式生成的代码有效性高,设计过程可行性强,可广泛应用于复杂的时钟控制系统的设计领域.

关 键 词:设计模式  元编程技术  硬件描述语言  时钟信号
文章编号:0253-987X(2006)12-1397-03
收稿时间:2006-03-10
修稿时间:2006-03-10

Research on Hardware Design Patterns Based on Metaprogramming Techniques
Suo Zhihai,Zhao Jizhong,Lü Qing. Research on Hardware Design Patterns Based on Metaprogramming Techniques[J]. Journal of Xi'an Jiaotong University, 2006, 40(12): 1397-1399,1409
Authors:Suo Zhihai  Zhao Jizhong  Lü Qing
Abstract:Focusing on the problems of hardware design complexity and low efficiency,a clock signal hardware design pattern based on metaprogramming techniques is proposed,in which the interoperability between software and hardware design patterns is considered sufficiently and the(idea) of mature software design pattern is applied to the hardware design combined with metaprogramming techniques.The core of the proposed design pattern is to use the parser of VHDL(very high speed integrated circuit hardware description language) to analyze the known device interfaces,construct a syntax tree,extract variable values of generator which is wrapped in a domain entity using metaprograms,and the detailed VHDL code is therefore generated according to the design pattern and concrete variable values.Application examples show that the code generated by the proposed design pattern has high validity and strong feasibility in the design process,and can be applied widely to designing of complicated clock signal control systems.
Keywords:design pattern   metaprogramming techniques   hardware description language   clock signal
本文献已被 CNKI 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号