摘要
用户约束在EDA工具使用中至关重要,是其重要组成部分。针对用户约束规则复杂、多变的问题,该文讲述了一种利用TCL实现用户约束文件解析的方法。首先声明约束规则,然后定义解析规则,最后读取用户约束文件并逐行解析。当约束规则更改或者添加新的约束规则时只需要修改或添加相应的声明、解析规则即可,从而达到设计的简洁性、灵活性、可扩展性,在自主研发EDA工具中具有较大的实际应用价值。
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. It is valuable in practical application in the EDA tools.
作者
李卿
惠锋
董志丹
LI Qing;HUI Feng;DONG Zhidan(East Technologies Irtc., Wuxi 214072, Chirta)
出处
《电子与封装》
2018年第5期41-44,共4页
Electronics & Packaging