找回密码
 注册
关于网站域名变更的通知

写了一个skill,在一个板子中可以运行,在另一个板子中会报错,为什么?

查看数: 885 | 评论数: 7 | 收藏 1
关灯 | 提示:支持键盘翻页<-左 右->
    组图打开中,请稍候......
发布时间: 2015-8-15 20:18

正文摘要:

如题,求路过的高人指点一下,为什么同样的skill在一个板子中可以运行,而在另一个板子中会报错?报错的信息是某函数的语法有误,很是郁闷啊...

回复

scc_yangy 发表于 2015-8-17 18:30
程序前面加一句:axlDBControl('maxNameLength 255)
scc_yangy 发表于 2015-8-17 17:38
感谢各位的解答,我是在修改过allegro_long_name_size之后没有效果才问的问题。
现在原因找到了:allegro_long_name_size这个东西在setup->user Preferences和setup->design parameters中都有,按help说到design parameters中没发现(可能是眼力太差),就直接写在了env里,其实这个参数写在env中对当前的设计文件是没有效果的,所以程序还是有问题,现在解决了,再次感谢各位的热心解答,以后还要多多学习啊。
deargds 发表于 2015-8-17 14:56
楼上正解,默认为31,最长可以通过设置allegro_long_name_size变量来实现255的最大值
talient 发表于 2015-8-17 14:05
我只是想说....楼主你要把资料看全阿....你图里的31^4中的4只是一个上标而已,在资料下面有1~4的说明....
我来贴一下内容...

1 Allows lower case for general text unless on a special layer where it may adhere to more restrictive rules; for example, many layers show Refdes.

2 File names adhere to operating systems restrictions except if they are stored in the database, where they assume the least common denominator. For example, a .psm file becomes a package symbol in the database so its least common denominator is the package name restriction. Spaces in the name are not supported. It is strongly suggested that you use lower case, especially for those names stored in the tool database.

3 Directory names follow operating system limitations. The layout editor supports spaces in directory names on Windows.

4 The default maximum number of characters is 31. You can set the initial length for new designs to a maximum length of 255 by using the allegro_long_name_size environment variable (choose Setup - User Preferences (enved command)). You can change the size in existing designs by choosing Setup - Design Parameters (prmed command) and specifying a new maximum for the Long Name Size parameter in the Design tab.

已经说了很清楚了,就是限制值就是31啊。。
motofatfat 发表于 2015-8-17 13:46
學習了
deargds 发表于 2015-8-17 09:51
可以把代码贴上来看下

点评

用axlRenameNet()修改网络名,修改后的长度大于31位有的板子就不行,可是help文件中说net name的最大长度支持31^4啊。 请问这个可以在哪里设置吗?有的板子net name可以超过31位,而有的不行,图片是在help中找到  详情 回复 发表于 2015-8-17 13:22
关闭

推荐内容上一条 /1 下一条

EDA365公众号

关于我们|手机版|EDA365电子论坛网 ( 粤ICP备18020198号-1 )

GMT+8, 2025-11-23 13:39 , Processed in 0.171875 second(s), 30 queries , Gzip On.

深圳市墨知创新科技有限公司

地址:深圳市南山区科技生态园2栋A座805 电话:19926409050

快速回复 返回顶部 返回列表