首页 > 其他 > 详细

Skill 解决 Design Library 被识别成 Technology Library 的问题

时间:2020-06-16 21:51:08      阅读:121      评论:0      收藏:0      [点我收藏+]

https://www.cnblogs.com/yeungchie/

  • code
procedure(ycTechLibToDesign(libName attachLibName)
	prog((libId techId attachLibId attachTechId)
		unless(libId = ddGetObj(libName)
			error("Could not access library %s\n" libName)
		)
		techId = techGetTechFile(libId)
		unless(techId~>libName == libName
			error("Library is already attached to tech library %s\n" techId~>libName)
		)
		unless(attachLibId = ddGetObj(attachLibName)
			error("Could not access library %s\n" attachLibName)
		)
		attachTechId = techGetTechFile(attachLibId)
		techDeleteTechFile(techId)
		techBindTechFile(libId attachTechId~>libName attachTechId~>fileName)
		return(t)
	)
)
  • describe
ycTechLibToDesign(t_libName t_attachLibName)

将被识别成 Technology Library 的 t_libName 库 Attach 到 t_attachLibName 上。
这会让 t_libName 重新识别为 Design Library 。

  • example
ycTechLibToDesign("project_layout" "pdk_library")
=>t

Skill 解决 Design Library 被识别成 Technology Library 的问题

原文:https://www.cnblogs.com/yeungchie/p/13144402.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!