在线咨询
eetop公众号 创芯大讲堂 创芯人才网
切换到宽版

EETOP 创芯网论坛 (原名:电子顶级开发网)

手机号码,快捷登录

手机号码,快捷登录

找回密码

  登录   注册  

快捷导航
搜帖子
查看: 11229|回复: 30

IC6151与Calibre的集成问题

[复制链接]
发表于 2012-1-15 18:54:38 | 显示全部楼层 |阅读模式

马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。

您需要 登录 才可以下载或查看,没有账号?注册

x
问题如题,IC6151里的.cdsinit是在什么地方又如何让它与Calibre集成在一起~
 楼主| 发表于 2012-1-15 19:26:08 | 显示全部楼层
我报了一个这个错,你看看你能不能解决
未命名.jpg
发表于 2012-1-16 09:52:28 | 显示全部楼层
编辑 .cdsinit,加入以下内容:
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

;
; check MGC_HOME
;
mgc_home=getShellEnvVar("MGC_HOME")

if( mgc_home!=nil && isDir(mgc_home) && isReadable(mgc_home) then

    ; Load calibre.skl or calibre.4.3.skl, not both!

    ; Load calibre.skl for Cadence versions 4.4 and greater
    load(strcat(mgc_home "/lib/calibre.skl"))

;;;;Load calibre.4.3.skl for Cadence version 4.3
;;; load(strcat(mgc_home "/lib/calibre.4.3.skl"))

else

    ; MGC_HOME is not set correctly. Report the problem.

    printf("//  Calibre Error: Environment variable ")

    if( mgc_home==nil || mgc_home=="" then
        printf("MGC_HOME is not set.");
    else
        if( !isDir(mgc_home) then
            printf("MGC_HOME does not point to a directory.");
        else
            if( !isReadable(mgc_home) then
                printf("MGC_HOME points to an unreadable directory.");
            )
        )
    )
    printf(" Calibre Skill Interface not loaded.\n")

    ; Display a dialog box message about load failure.

    hiDisplayAppDBox(
        ?name           'MGCHOMEErrorDlg
        ?dboxBanner     "Calibre Error"
        ?dboxText       "Calibre Skill Interface not loaded."
        ?dialogType     hicErrorDialog
        ?dialogStyle    'modal
        ?buttonLayout   'Close
    )
)

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
 楼主| 发表于 2012-1-16 18:30:25 | 显示全部楼层
非常感谢year2004问题已经解决~
发表于 2012-2-21 11:40:01 | 显示全部楼层
谢谢二楼!!!
发表于 2012-2-21 11:41:15 | 显示全部楼层
顶一个!!!
发表于 2012-2-21 20:02:55 | 显示全部楼层
回复 3# year2004


    多谢,你的回复很强大~~~~
发表于 2012-3-23 00:30:44 | 显示全部楼层
三楼貌似很熟悉skill啊,我通常就加一句话完事儿
发表于 2012-3-23 08:27:09 | 显示全部楼层
二楼的厉害,俺对skill根本不懂!
发表于 2012-3-24 00:12:14 | 显示全部楼层
多謝.正好在使用IC6151
您需要登录后才可以回帖 登录 | 注册

本版积分规则

关闭

站长推荐 上一条 /3 下一条

小黑屋| 关于我们| 联系我们| 在线咨询| 隐私声明| EETOP 创芯网
( 京ICP备:10050787号 京公网安备:11010502037710 )

GMT+8, 2024-4-20 10:55 , Processed in 0.030605 second(s), 8 queries , Gzip On, Redis On.

eetop公众号 创芯大讲堂 创芯人才网
快速回复 返回顶部 返回列表