中国半导体行业协会封装分会会刊

中国电子学会电子制造与封装技术分会会刊

导航

电子与封装 ›› 2018, Vol. 18 ›› Issue (5): 41 -44. doi: 10.16257/j.cnki.1681-1070.2018.0057

• 电路设计 • 上一篇    下一篇

利用TCL实现用户约束文件的解析

李卿,惠锋,董志丹   

  1. 无锡中微亿芯有限公司,江苏无锡 214072
  • 收稿日期:2018-01-05 出版日期:2018-05-20 发布日期:2018-05-20
  • 作者简介:李 卿(1984—),女,江苏省徐州市人,硕士学历,工程师,现从事EDA工具软件的开发,主要负责界面程序的设计与开发工作。

Implementation of User Constrained File Parsing with TCL

LI Qing,HUI Feng,DONG Zhidan   

  1. East Technologies Inc.,Wuxi 214072,China
  • Received:2018-01-05 Online:2018-05-20 Published:2018-05-20

摘要: 用户约束在EDA工具使用中至关重要,是其重要组成部分。针对用户约束规则复杂、多变的问题,该文讲述了一种利用TCL实现用户约束文件解析的方法。首先声明约束规则,然后定义解析规则,最后读取用户约束文件并逐行解析。当约束规则更改或者添加新的约束规则时只需要修改或添加相应的声明、解析规则即可,从而达到设计的简洁性、灵活性、可扩展性,在自主研发EDA工具中具有较大的实际应用价值。

关键词: 用户约束, TCL语言, 文件解析, 电子设计自动化

Abstract: User constraints are critical in the use of EDA tool.It is an important part of the tool.In view of the complex and changeable problem of user constrained rules,this paper describes a method of using TCL to implement user constrained file parsing.First,user constrained rules are declared,and then the parsing rules are defined.Finally,user constrained files are read and parsed line by line.When user constrained rules are changed or added,we only need to modify or add corresponding declarations and parsing rules.As a result,it has very high conciseness,extensibility and portability.Itis valuable in practicalapplication in the EDA tools.

Key words: userconstraints, TCL, file parsing, EDA

中图分类号: