• 中国计算机学会会刊
  • 中国科技核心期刊
  • 中文核心期刊

J4 ›› 2008, Vol. 30 ›› Issue (8): 124-127.

• 论文 • Previous Articles     Next Articles

  

  • Online:2008-08-01 Published:2010-05-19

Abstract:

As the complexity of hardware systems increases, it is necessary to describe the hardware system at a higher level named system level to simplify the   software-hardware codesign. The system-level hardware description language SpecC was proposed to describe the design of hardware systems. The SpecC lexi cal analyzer is the basic module of the SpecC synthesizer, and its efficiency is one of the most important factors that affect the efficiency of the Spe cC synthesizer. In this paper, we present a SpecC lexical analyzer implemented under the Linux operating system. The lexical analyzer is called SpecC _L   exer. It can correctly preprocess and analyze the SpecC source file and produce error reports on lexical errors which exist in the source file.

Key words: system-level, SpecC, lexical analyzer, synthesizer