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

一种高效的Verilog预处理工具的实现
引用本文:蒋辉,张宇弘.一种高效的Verilog预处理工具的实现[J].江南大学学报(自然科学版),2008,7(5).
作者姓名:蒋辉  张宇弘
作者单位:浙江大学,超大规模集成电路设计研究所,浙江,杭州,310027
摘    要:使用Perl语言,采用面向对象的编程(OOP)方法,讨论了一种Verilog预处理工具的设计.这种设计,使该预处理工具能支持多进程预处理,允许同时处理多个文件,从而提高了预处理的效率.本设计由多个函数构成,并且采用Package形式对预处理工具进行封装,外界环境通过调用Package里面的函数进行预处理,以及间接访问Package的内部数据结构.实验结果表明,该预处理工具能完全实现Verilog预处理的功能,与非OOP设计的预处理工具比较,OOP方法明显提高了预处理工具的效率.

关 键 词:编译预处理    Verilog硬件描述语言    面向对象的编程

Effective Way of Implementation of Verilog Preprocessing Tool
JIANG Hui,ZHANG Yu-hong.Effective Way of Implementation of Verilog Preprocessing Tool[J].Journal of Southern Yangtze University:Natural Science Edition,2008,7(5).
Authors:JIANG Hui  ZHANG Yu-hong
Abstract:This paper presents a Verilog preprocessing tool implemented in OOP methodology which is written in Perl language.The OOP methodology enables the preprocessing tool supporting multi-threads which could process multiple files at the same time and improves the efficiency.The design wraps all the functions into a package and the environment can preprocess the Verilog files by using these functions as well as using the internal data structure indirectly.The result of experiment shows that this preprocessing tool can fully implement the function of Verilog preprocessing,and the OOP methodology can highly improve the efficiency of preprocessing compared with the methodology without OOP.
Keywords:preprocess  package  verilog  class  OOP
本文献已被 CNKI 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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